Skip to content

Commit 1b24a0a

Browse files
committed
build script
1 parent cd9386b commit 1b24a0a

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"node": "v20.11.1"
1010
},
1111
"scripts": {
12+
"build": "turbo run build",
1213
"format": "concurrently 'yarn:format:*'",
1314
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm') --style file:.config/.clang-format",
1415
"format:js": "prettier --write $(git ls-files '*.js' '*.json' '*.ts' '*.tsx' '*.yml' 'README.md')",

Diff for: packages/default-storage/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"directory": "packages/default-storage-backend"
3939
},
4040
"scripts": {
41-
"prepare": "bob build",
41+
"prepack": "yarn build",
42+
"build": "bob build",
4243
"start": "react-native start",
4344
"start:android": "react-native run-android",
4445
"start:ios": "react-native run-ios",

Diff for: turbo.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
"$schema": "https://turbo.build/schema.json",
33
"pipeline": {
44
"test:lint": {},
5-
"test:ts": {}
5+
"test:ts": {},
6+
"build": {
7+
"outputs": ["lib/**"]
8+
},
9+
"async-storage-website#build": {
10+
"outputs": ["build/**"]
11+
}
612
}
713
}

0 commit comments

Comments
 (0)