Skip to content

Commit 7ffb340

Browse files
committed
chore: format
1 parent 30f0e10 commit 7ffb340

File tree

10 files changed

+222
-239
lines changed

10 files changed

+222
-239
lines changed

.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

example/babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const path = require("path");
1+
const path = require("node:path");
22
const pak = require("../package.json");
33

4-
module.exports = function (api) {
4+
module.exports = (api) => {
55
api.cache(true);
66

77
return {

example/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const path = require("path");
1+
const path = require("node:path");
22
const escapeStringRegExp = require("escape-string-regexp");
33
const { getDefaultConfig } = require("@expo/metro-config");
44
const exclusionList = require("metro-config/src/defaults/exclusionList");

example/package.json

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"name": "example",
3-
"version": "1.0.0",
4-
"main": "node_modules/expo/AppEntry.js",
5-
"scripts": {
6-
"start": "expo start",
7-
"android": "expo start --android",
8-
"ios": "expo start --ios",
9-
"web": "expo start --web"
10-
},
11-
"dependencies": {
12-
"expo": "~48.0.15",
13-
"expo-status-bar": "~1.4.4",
14-
"react": "18.2.0",
15-
"react-dom": "18.2.0",
16-
"react-native": "0.71.8",
17-
"react-native-safe-area-context": "4.5.0",
18-
"react-native-web": "~0.18.10",
19-
"react-syntax-highlighter": "15.5.0",
20-
"webpack": "5.94.0"
21-
},
22-
"devDependencies": {
23-
"@babel/core": "7.22.1",
24-
"@babel/preset-env": "7.22.4",
25-
"@expo/webpack-config": "18.0.1",
26-
"@types/react": "18.2.8",
27-
"@types/react-native": "0.72.2",
28-
"@types/react-syntax-highlighter": "15.5.7",
29-
"babel-loader": "9.0.0",
30-
"babel-plugin-module-resolver": "5.0.0",
31-
"react-test-renderer": "18.2.0"
32-
},
33-
"private": true
2+
"name": "example",
3+
"version": "1.0.0",
4+
"main": "node_modules/expo/AppEntry.js",
5+
"scripts": {
6+
"start": "expo start",
7+
"android": "expo start --android",
8+
"ios": "expo start --ios",
9+
"web": "expo start --web"
10+
},
11+
"dependencies": {
12+
"expo": "~48.0.15",
13+
"expo-status-bar": "~1.4.4",
14+
"react": "18.2.0",
15+
"react-dom": "18.2.0",
16+
"react-native": "0.71.8",
17+
"react-native-safe-area-context": "4.5.0",
18+
"react-native-web": "~0.18.10",
19+
"react-syntax-highlighter": "15.5.0",
20+
"webpack": "5.94.0"
21+
},
22+
"devDependencies": {
23+
"@babel/core": "7.22.1",
24+
"@babel/preset-env": "7.22.4",
25+
"@expo/webpack-config": "18.0.1",
26+
"@types/react": "18.2.8",
27+
"@types/react-native": "0.72.2",
28+
"@types/react-syntax-highlighter": "15.5.7",
29+
"babel-loader": "9.0.0",
30+
"babel-plugin-module-resolver": "5.0.0",
31+
"react-test-renderer": "18.2.0"
32+
},
33+
"private": true
3434
}

example/tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"extends": "../tsconfig",
3-
"compilerOptions": {
4-
// Avoid expo-cli auto-generating a tsconfig
5-
}
2+
"extends": "../tsconfig",
3+
"compilerOptions": {
4+
// Avoid expo-cli auto-generating a tsconfig
5+
}
66
}

example/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
const path = require("path");
1+
const path = require("node:path");
22
const createExpoWebpackConfigAsync = require("@expo/webpack-config");
33
const { resolver } = require("./metro.config");
44

55
const root = path.resolve(__dirname, "..");
66
const node_modules = path.join(__dirname, "node_modules");
77

8-
module.exports = async function (env, argv) {
8+
module.exports = async (env, argv) => {
99
const config = await createExpoWebpackConfigAsync(env, argv);
1010

1111
config.module.rules.push({

0 commit comments

Comments
 (0)