Skip to content

Commit

Permalink
Revert "Build: Remove unused bootstrap --cleanup"
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman authored Aug 22, 2022
1 parent 84919d0 commit 4070bb6
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 5 deletions.
2 changes: 2 additions & 0 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"changelog": "pr-log --sloppy --cherry-pick",
"changelog:next": "pr-log --sloppy --since-prerelease",
"check": "NODE_ENV=production node ../scripts/check-package.js",
"clean:dist": "del **/dist",
"coverage": "codecov",
"create-built-sandboxes-index": "ts-node ../scripts/create-built-sandboxes-index",
"danger": "danger",
Expand Down Expand Up @@ -275,6 +276,7 @@
"core-js": "^3.21.1",
"cross-env": "^7.0.3",
"danger": "^10.6.2",
"del-cli": "^4.0.1",
"detect-port": "^1.3.0",
"dts-bundle-generator": "^6.2.0",
"ejs-lint": "^1.2.2",
Expand Down
124 changes: 120 additions & 4 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9014,6 +9014,7 @@ __metadata:
cross-env: ^7.0.3
cypress: 8.7.0
danger: ^10.6.2
del-cli: ^4.0.1
detect-port: ^1.3.0
dts-bundle-generator: ^6.2.0
ejs-lint: ^1.2.2
Expand Down Expand Up @@ -15632,6 +15633,18 @@ __metadata:
languageName: node
linkType: hard

"camelcase-keys@npm:^7.0.0":
version: 7.0.2
resolution: "camelcase-keys@npm:7.0.2"
dependencies:
camelcase: ^6.3.0
map-obj: ^4.1.0
quick-lru: ^5.1.1
type-fest: ^1.2.1
checksum: ae86a51168643e9e8a2f2c7bfa17850729979ec3dafc5253056a7d97931cbb0e3ef5b4185e59d54b7a56c54405dee2874b0c82033498d8626e512ff9034cb05c
languageName: node
linkType: hard

"camelcase@npm:^2.0.0":
version: 2.1.1
resolution: "camelcase@npm:2.1.1"
Expand All @@ -15653,7 +15666,7 @@ __metadata:
languageName: node
linkType: hard

"camelcase@npm:^6.0.0, camelcase@npm:^6.2.0, camelcase@npm:^6.2.1":
"camelcase@npm:^6.0.0, camelcase@npm:^6.2.0, camelcase@npm:^6.2.1, camelcase@npm:^6.3.0":
version: 6.3.0
resolution: "camelcase@npm:6.3.0"
checksum: 0d701658219bd3116d12da3eab31acddb3f9440790c0792e0d398f0a520a6a4058018e546862b6fba89d7ae990efaeb97da71e1913e9ebf5a8b5621a3d55c710
Expand Down Expand Up @@ -18189,6 +18202,13 @@ __metadata:
languageName: node
linkType: hard

"decamelize@npm:^5.0.0":
version: 5.0.1
resolution: "decamelize@npm:5.0.1"
checksum: 3da71022bc1e85487810fa0833138effb599fa331ca21e179650e93a765d0c4dabeb1ecdd6ad1474fa0bacd2457953c63ea335afb6e53b35f2b4bf779514e2a3
languageName: node
linkType: hard

"decimal.js@npm:^10.2.1, decimal.js@npm:^10.3.1":
version: 10.3.1
resolution: "decimal.js@npm:10.3.1"
Expand Down Expand Up @@ -18462,6 +18482,19 @@ __metadata:
languageName: node
linkType: hard

"del-cli@npm:^4.0.1":
version: 4.0.1
resolution: "del-cli@npm:4.0.1"
dependencies:
del: ^6.0.0
meow: ^10.1.0
bin:
del: cli.js
del-cli: cli.js
checksum: 01d314de214e7d96159f99d385186d90a71e0494a9262d98b8da15d144a22b894e0fae4d99d7c707cf3a50990f0513263c0e5b5b72ce5ad92f1ab1c7140e0f70
languageName: node
linkType: hard

"del@npm:^2.2.0":
version: 2.2.2
resolution: "del@npm:2.2.2"
Expand Down Expand Up @@ -25340,6 +25373,13 @@ __metadata:
languageName: node
linkType: hard

"indent-string@npm:^5.0.0":
version: 5.0.0
resolution: "indent-string@npm:5.0.0"
checksum: 8ee77b57d92e71745e133f6f444d6fa3ed503ad0e1bcd7e80c8da08b42375c07117128d670589725ed07b1978065803fa86318c309ba45415b7fe13e7f170220
languageName: node
linkType: hard

"infer-owner@npm:^1.0.3, infer-owner@npm:^1.0.4":
version: 1.0.4
resolution: "infer-owner@npm:1.0.4"
Expand Down Expand Up @@ -30245,7 +30285,7 @@ __metadata:
languageName: node
linkType: hard

"map-obj@npm:^4.0.0":
"map-obj@npm:^4.0.0, map-obj@npm:^4.1.0":
version: 4.3.0
resolution: "map-obj@npm:4.3.0"
checksum: 1c19e1c88513c8abdab25c316367154c6a0a6a0f77e3e8c391bb7c0e093aefed293f539d026dc013d86219e5e4c25f23b0003ea588be2101ccd757bacc12d43b
Expand Down Expand Up @@ -30801,6 +30841,26 @@ __metadata:
languageName: node
linkType: hard

"meow@npm:^10.1.0":
version: 10.1.3
resolution: "meow@npm:10.1.3"
dependencies:
"@types/minimist": ^1.2.2
camelcase-keys: ^7.0.0
decamelize: ^5.0.0
decamelize-keys: ^1.1.0
hard-rejection: ^2.1.0
minimist-options: 4.1.0
normalize-package-data: ^3.0.2
read-pkg-up: ^8.0.0
redent: ^4.0.0
trim-newlines: ^4.0.2
type-fest: ^1.2.2
yargs-parser: ^20.2.9
checksum: 83370487875a4280268fcffc0d979ce4f90c1c020c6f5523890a5aae363712c00e1f692a81a625b289801a1555f8a2a7101521af498ef89de575aab53c54ef24
languageName: node
linkType: hard

"meow@npm:^3.3.0":
version: 3.7.0
resolution: "meow@npm:3.7.0"
Expand Down Expand Up @@ -31460,7 +31520,7 @@ __metadata:
languageName: node
linkType: hard

"min-indent@npm:^1.0.0":
"min-indent@npm:^1.0.0, min-indent@npm:^1.0.1":
version: 1.0.1
resolution: "min-indent@npm:1.0.1"
checksum: 7e207bd5c20401b292de291f02913230cb1163abca162044f7db1d951fa245b174dc00869d40dd9a9f32a885ad6a5f3e767ee104cf278f399cb4e92d3f582d5c
Expand Down Expand Up @@ -32642,7 +32702,7 @@ __metadata:
languageName: node
linkType: hard

"normalize-package-data@npm:^3.0.0":
"normalize-package-data@npm:^3.0.0, normalize-package-data@npm:^3.0.2":
version: 3.0.3
resolution: "normalize-package-data@npm:3.0.3"
dependencies:
Expand Down Expand Up @@ -37314,6 +37374,17 @@ __metadata:
languageName: node
linkType: hard

"read-pkg-up@npm:^8.0.0":
version: 8.0.0
resolution: "read-pkg-up@npm:8.0.0"
dependencies:
find-up: ^5.0.0
read-pkg: ^6.0.0
type-fest: ^1.0.1
checksum: cf3905ccbe5cd602f23192cc7ca65ed17561bab117eadb9aed817441d5bfc6b9a11215c2a3e9505f501d046818f3c4180dbea61fa83c42083e0b4e407d5cc745
languageName: node
linkType: hard

"read-pkg@npm:^1.0.0":
version: 1.1.0
resolution: "read-pkg@npm:1.1.0"
Expand Down Expand Up @@ -37359,6 +37430,18 @@ __metadata:
languageName: node
linkType: hard

"read-pkg@npm:^6.0.0":
version: 6.0.0
resolution: "read-pkg@npm:6.0.0"
dependencies:
"@types/normalize-package-data": ^2.4.0
normalize-package-data: ^3.0.2
parse-json: ^5.2.0
type-fest: ^1.0.1
checksum: b51ee5eed75324f4fac34c9a40b5e4b403de4c532242be01959c9bbdb1ff9db1c6c2aefaba569622fec49d1ead866e97ba856ab145f6e11039b11f7bec1318ba
languageName: node
linkType: hard

"read@npm:1, read@npm:~1.0.1":
version: 1.0.7
resolution: "read@npm:1.0.7"
Expand Down Expand Up @@ -37569,6 +37652,16 @@ __metadata:
languageName: node
linkType: hard

"redent@npm:^4.0.0":
version: 4.0.0
resolution: "redent@npm:4.0.0"
dependencies:
indent-string: ^5.0.0
strip-indent: ^4.0.0
checksum: a9b640c8f4b2b5b26a1a908706475ff404dd50a97d6f094bc3c59717be922622927cc7d601d4ae2857d897ad243fd979bd76d751a0481cee8be7024e5fb4c662
languageName: node
linkType: hard

"redeyed@npm:~1.0.0":
version: 1.0.1
resolution: "redeyed@npm:1.0.1"
Expand Down Expand Up @@ -41092,6 +41185,15 @@ __metadata:
languageName: node
linkType: hard

"strip-indent@npm:^4.0.0":
version: 4.0.0
resolution: "strip-indent@npm:4.0.0"
dependencies:
min-indent: ^1.0.1
checksum: 6b1fb4e22056867f5c9e7a6f3f45922d9a2436cac758607d58aeaac0d3b16ec40b1c43317de7900f1b8dd7a4107352fa47fb960f2c23566538c51e8585c8870e
languageName: node
linkType: hard

"strip-json-comments@npm:^2.0.0, strip-json-comments@npm:~2.0.1":
version: 2.0.1
resolution: "strip-json-comments@npm:2.0.1"
Expand Down Expand Up @@ -42572,6 +42674,13 @@ __metadata:
languageName: node
linkType: hard

"trim-newlines@npm:^4.0.2":
version: 4.0.2
resolution: "trim-newlines@npm:4.0.2"
checksum: 48d022e9d14f27cf8b71983691af61cd8ce511d159ed0962452d2fa23f58298398d905e1ff982566f9034f93df3ef676868c1c14d13bcd849e7500dbfbd6101b
languageName: node
linkType: hard

"trim-repeated@npm:^1.0.0":
version: 1.0.0
resolution: "trim-repeated@npm:1.0.0"
Expand Down Expand Up @@ -42994,6 +43103,13 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^1.0.1, type-fest@npm:^1.2.1, type-fest@npm:^1.2.2":
version: 1.4.0
resolution: "type-fest@npm:1.4.0"
checksum: a3c0f4ee28ff6ddf800d769eafafcdeab32efa38763c1a1b8daeae681920f6e345d7920bf277245235561d8117dab765cb5f829c76b713b4c9de0998a5397141
languageName: node
linkType: hard

"type-fest@npm:^2.17.0":
version: 2.17.0
resolution: "type-fest@npm:2.17.0"
Expand Down
11 changes: 10 additions & 1 deletion scripts/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ function run() {
},
order: 1,
}),
cleanup: createTask({
name: `Remove compiled dist directories ${chalk.gray('(cleanup)')}`,
defaultValue: false,
option: '--cleanup',
command: () => {
spawn('npm run clean:dist');
},
order: 0,
}),
reset: createTask({
name: `Clean repository ${chalk.red('(reset)')}`,
defaultValue: false,
Expand Down Expand Up @@ -152,7 +161,7 @@ function run() {
const groups = {
main: ['prep', 'core'],
buildtasks: ['install', 'build'],
devtasks: ['dev', 'registry', 'reset'],
devtasks: ['dev', 'registry', 'cleanup', 'reset'],
};

Object.keys(tasks)
Expand Down

0 comments on commit 4070bb6

Please sign in to comment.