Skip to content

Commit 0a41a86

Browse files
committed
updated clean script
1 parent a7a6b49 commit 0a41a86

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

packages/contentstack-audit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
"lint": "eslint . --ext .ts --config .eslintrc",
7171
"postpack": "shx rm -f oclif.manifest.json",
7272
"posttest": "npm run lint",
73-
"compile": "shx rm -rf lib tsconfig.tsbuildinfo && tsc -b",
73+
"compile": "tsc -b tsconfig.json",
7474
"prepack": "pnpm compile && oclif manifest && oclif readme",
7575
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
7676
"version": "oclif readme && git add README.md",
77-
"clean": "rm -rf ./lib ./node_modules .tsbuildinfo oclif.manifest.json",
77+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
7878
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
7979
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\""
8080
},

packages/contentstack-bootstrap/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"scripts": {
88
"build": "pnpm compile",
9-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
9+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1010
"compile": "tsc -b tsconfig.json",
1111
"postpack": "rm -f oclif.manifest.json",
1212
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-branches/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"scripts": {
3333
"build": "pnpm compile",
34-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
34+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
3535
"compile": "tsc -b tsconfig.json",
3636
"postpack": "rm -f oclif.manifest.json",
3737
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-clone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"repository": "https://github.com/contentstack/cli",
6363
"scripts": {
6464
"build": "pnpm compile",
65-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
65+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
6666
"compile": "tsc -b tsconfig.json",
6767
"postpack": "rm -f oclif.manifest.json",
6868
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-export-to-csv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"repository": "https://github.com/contentstack/cli",
6767
"scripts": {
6868
"build": "pnpm compile",
69-
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo oclif.manifest.json",
69+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
7070
"compile": "tsc -b tsconfig.json",
7171
"lint": "eslint src/**/*.ts",
7272
"lint:fix": "eslint src/**/*.ts --fix",

packages/contentstack-export/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"scripts": {
4949
"build": "pnpm compile",
50-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
50+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
5151
"compile": "tsc -b tsconfig.json",
5252
"postpack": "rm -f oclif.manifest.json",
5353
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-import-setup/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"scripts": {
4343
"build": "pnpm compile",
44-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
44+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
4545
"compile": "tsc -b tsconfig.json",
4646
"postpack": "rm -f oclif.manifest.json",
4747
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-import/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"scripts": {
4848
"build": "pnpm compile",
49-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
49+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
5050
"compile": "tsc -b tsconfig.json",
5151
"postpack": "rm -f oclif.manifest.json",
5252
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-migration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"test:unit": "mocha --timeout 10000 --forbid-only \"test/unit/**/*.test.ts\"",
6464
"test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"",
6565
"version": "oclif readme && git add README.md",
66-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo"
66+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo"
6767
},
6868
"csdxConfig": {
6969
"expiredCommands": {

packages/contentstack-seed/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"postpack": "rm -f oclif.manifest.json",
6868
"prepack": "pnpm compile && oclif manifest && oclif readme",
6969
"version": "oclif readme && git add README.md",
70-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
70+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
7171
"compile": "tsc -b tsconfig.json",
7272
"build": "pnpm compile"
7373
}

0 commit comments

Comments
 (0)