Skip to content

Commit

Permalink
disable incremental build until fix it.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaomeng1900 committed Dec 3, 2021
1 parent d8ccd6c commit 70bb15a
Show file tree
Hide file tree
Showing 83 changed files with 185 additions and 134 deletions.
3 changes: 2 additions & 1 deletion examples/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"rootDir": ".",
"baseUrl": ".",
"composite": true
"composite": true,
"incremental": true
},
"include": ["./", "typings"],
"exclude": ["dist", "node_modules", "packages"],
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/gl2/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/gl2/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/backend/gl2/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/gl2/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/gl2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/gltf2/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/gltf2/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/backend/gltf2/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/gltf2/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/gltf2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/threelite/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/threelite/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/backend/threelite/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/backend/threelite/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/threelite/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/gltf2/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/frontend/gltf2/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/frontend/gltf2/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/frontend/gltf2/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/gltf2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/ts/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/frontend/ts/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/frontend/ts/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/frontend/ts/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/core/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/schema/core/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/schema/core/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/schema/core/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/schema/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/ext-scene/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

npx tsc --project tsconfig.build.json --incremental
npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/schema/ext-scene/scripts/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

pwd

rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist
rm -rf tsconfig.build.tsbuildinfo && rm -f ./tsconfig.tsbuildinfo && rm -rf ./dist

echo "warn: A rebuild is nessesary!"
10 changes: 6 additions & 4 deletions packages/schema/ext-scene/scripts/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
# DO NOT EDIT
# AUTO COPIED FROM ROOT/shared

pwd
# pwd

npx tsc -v
# npx tsc -v

rm -rf tsconfig.build.tsbuildinfo
# rm -rf tsconfig.build.tsbuildinfo

tsc --project tsconfig.build.json --incremental
# tsc --project tsconfig.build.json --incremental

npx tsc --project tsconfig.build.json
2 changes: 1 addition & 1 deletion packages/schema/ext-scene/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"strictPropertyInitialization": false,
"noImplicitAny": false, // TODO 改成 true,所有 any 必须显式
"experimentalDecorators": true,
"incremental": true,
"incremental": false,
// "skipLibCheck": true,
"typeRoots": ["./node_modules/@types/"] // 这样来避免所有 上级目录的 @types 都被包含进去
},
Expand Down
3 changes: 2 additions & 1 deletion packages/schema/ext-scene/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"composite": true
"composite": true,
"incremental": true
},
"include": ["src", "typings"],
"exclude": ["dist"],
Expand Down
Loading

0 comments on commit 70bb15a

Please sign in to comment.