Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@
"packageManager": "pnpm@10.28.0",
"workspaces": [
"packages/*"
]
],
"pnpm": {
"overrides": {
"@types/minimatch": "3.0.5"
}
}
}
7 changes: 3 additions & 4 deletions packages/contentstack-apps-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"eslint": "^8.57.1",
"eslint-config-oclif": "^6.0.157",
"eslint-config-oclif-typescript": "^3.1.14",
"fancy-test": "3.0.16",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"oclif": "^4.23.0",
Expand Down Expand Up @@ -80,11 +79,11 @@
}
},
"scripts": {
"build": "npm run clean && shx rm -rf lib && tsc -b",
"build": "pnpm clean && tsc -b",
"lint": "eslint . --ext .ts --config .eslintrc",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "npm run lint",
"prepack": "npm run build && oclif manifest && oclif readme",
"posttest": "pnpm lint",
"prepack": "pnpm build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md",
"clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json",
Expand Down
12 changes: 5 additions & 7 deletions packages/contentstack-bulk-operations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"eslint-config-oclif-typescript": "^3.1.14",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"fancy-test": "3.0.16",
"husky": "^9.1.7",
"lint-staged": "^17.0.2",
"mocha": "^11.7.5",
Expand Down Expand Up @@ -76,23 +75,22 @@
}
},
"scripts": {
"build": "npm run clean && shx rm -rf lib && tsc -b",
"build": "pnpm clean",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "npm run lint",
"prepack": "npm run build && oclif manifest && oclif readme && npm run changelog",
"posttest": "pnpm lint",
"prepack": "pnpm build && oclif manifest && oclif readme && pnpm changelog",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"test:coverage": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"test:coverage:report": "nyc --reporter=lcov --reporter=text --reporter=clover --reporter=json-summary --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"test:json": "mocha --forbid-only \"test/**/*.test.ts\" --reporter json --reporter-options output=report.json",
"test:safe": "[ -d test ] && npm test || echo 'No test directory found, skipping tests'",
"test:safe": "[ -d test ] && pnpm test || echo 'No test directory found, skipping tests'",
"version": "oclif readme && git add README.md",
"clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json",
"prepare": "npx husky && chmod +x .husky/pre-commit"
"clean": "rm -rf ./lib tsconfig.tsbuildinfo oclif.manifest.json"
},
"engines": {
"node": ">=20.19.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/contentstack-cli-cm-regex-validate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif manifest && oclif readme",
"test": "jest --detectOpenHandles --silent",
"version": "oclif-dev readme && git add README.md",
"prepare": "npx husky && chmod +x .husky/pre-commit"
"version": "oclif-dev readme && git add README.md"
},
"dependencies": {
"@contentstack/cli-command": "^1.8.2",
Expand Down
2 changes: 0 additions & 2 deletions packages/contentstack-migrate-rte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"chai": "^4.5.0",
"eslint": "^8.57.1",
"eslint-config-oclif": "^6.0.165",
"fancy-test": "^2.0.42",
"mocha": "^10.8.2",
"nock": "^13.5.6",
"nyc": "^15.1.0",
Expand Down Expand Up @@ -69,7 +68,6 @@
},
"scripts": {
"build": "oclif manifest",
"prepare": "npx husky && chmod +x .husky/pre-commit",
"postpack": "rm -f oclif.manifest.json",
"prepack": "oclif manifest && oclif readme",
"test": "nyc --check-coverage=false mocha --require test/setup.js --forbid-only \"test/**/*.test.js\"",
Expand Down
Loading
Loading