0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(cli): remove rimraf (#3015)

This commit is contained in:
Gao Sun 2023-01-30 12:41:06 +08:00 committed by GitHub
parent 8fe02a0059
commit 21e53e1528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -24,8 +24,8 @@
"scripts": { "scripts": {
"precommit": "lint-staged", "precommit": "lint-staged",
"prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts", "prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts",
"build": "rimraf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json", "build": "rm -rf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json",
"build:test": "rimraf lib/ && pnpm prepare:package-json && tsc -p tsconfig.test.json --sourcemap", "build:test": "rm -rf lib/ && pnpm prepare:package-json && tsc -p tsconfig.test.json --sourcemap",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
"start": "node .", "start": "node .",
"start:dev": "pnpm build && node .", "start:dev": "pnpm build && node .",
@ -80,7 +80,6 @@
"jest": "^29.3.1", "jest": "^29.3.1",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"prettier": "^2.8.1", "prettier": "^2.8.1",
"rimraf": "^3.0.2",
"sinon": "^15.0.0", "sinon": "^15.0.0",
"typescript": "^4.9.4" "typescript": "^4.9.4"
}, },

View file

@ -54,7 +54,6 @@ importers:
p-limit: ^4.0.0 p-limit: ^4.0.0
p-retry: ^5.1.2 p-retry: ^5.1.2
prettier: ^2.8.1 prettier: ^2.8.1
rimraf: ^3.0.2
roarr: ^7.11.0 roarr: ^7.11.0
semver: ^7.3.8 semver: ^7.3.8
sinon: ^15.0.0 sinon: ^15.0.0
@ -102,7 +101,6 @@ importers:
jest: 29.3.1_@types+node@18.11.18 jest: 29.3.1_@types+node@18.11.18
lint-staged: 13.0.0 lint-staged: 13.0.0
prettier: 2.8.1 prettier: 2.8.1
rimraf: 3.0.2
sinon: 15.0.0 sinon: 15.0.0
typescript: 4.9.4 typescript: 4.9.4