Skip to content

Commit d9ee237

Browse files
committed
updated clean script
1 parent 9fa8a75 commit d9ee237

File tree

10 files changed

+13
-10
lines changed

10 files changed

+13
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
},
1111
"private": true,
1212
"scripts": {
13-
"clean": "pnpm -r --filter './packages/*' run clean",
13+
"clean:packages": "pnpm -r --filter './packages/*' run clean",
1414
"build": "pnpm -r --filter './packages/*' run build",
1515
"test": "pnpm -r --filter './packages/*' run test",
1616
"prepack": "pnpm -r --filter './packages/*' run prepack",
1717
"bootstrap": "pnpm install",
1818
"clean:modules": "rm -rf node_modules packages/**/node_modules",
1919
"clean:lock": "rm -f pnpm-lock.yaml",
20-
"clean:all": "pnpm store prune && rm -rf node_modules && pnpm run clean",
20+
"clean:all": "pnpm store prune && rm -rf node_modules && pnpm run clean:packages",
2121
"setup": "pnpm run clean:all && pnpm run bootstrap && pnpm run build",
2222
"prepare": "npx husky && chmod +x .husky/pre-commit"
2323
},

packages/contentstack-auth/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ node_modules
1010
coverage
1111
.talismanrc
1212
.env
13+
tsconfig.tsbuildinfo

packages/contentstack-auth/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-command/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "pnpm compile",
1010
"prepack": "pnpm compile",
11-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
11+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1212
"compile": "tsc -b tsconfig.json",
1313
"test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
1414
"pretest": "tsc -p test",

packages/contentstack-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Contentstack",
66
"scripts": {
77
"build": "pnpm compile",
8-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
8+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
99
"compile": "tsc -b tsconfig.json",
1010
"postpack": "rm -f oclif.manifest.json",
1111
"prepack": "pnpm compile && oclif manifest && oclif readme",

packages/contentstack-dev-dependencies/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
/yarn.lock
88
node_modules
99
.DS_Store
10-
coverage
10+
coverage
11+
tsconfig.tsbuildinfo

packages/contentstack-dev-dependencies/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"build": "pnpm compile",
99
"prepack": "npm run clean && npm run compile",
10-
"clean": "rm -rf ./lib tsconfig.build.tsbuildinfo",
10+
"clean": "rm -rf ./lib tsconfig.tsbuildinfo",
1111
"compile": "tsc -b tsconfig.json",
1212
"lint": "eslint src/**/*.ts",
1313
"format": "eslint src/**/*.ts --fix"

packages/contentstack-utilities/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
/yarn.lock
88
node_modules
99
.DS_Store
10-
coverage
10+
coverage
11+
tsconfig.tsbuildinfo

packages/contentstack-utilities/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"prepack": "pnpm compile",
99
"build": "pnpm compile",
10-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
10+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1111
"compile": "tsc -b tsconfig.json",
1212
"test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
1313
"pretest": "tsc -p test",

packages/contentstack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"types": "lib/index.d.ts",
1111
"scripts": {
1212
"build": "pnpm compile",
13-
"clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo",
13+
"clean": "rm -rf ./lib ./node_modules tsconfig.tsbuildinfo",
1414
"compile": "tsc -b tsconfig.json",
1515
"postpack": "rm -f oclif.manifest.json",
1616
"version": "oclif readme && git add README.md",

0 commit comments

Comments
 (0)