Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish npm-shrinkwrap.json #604

Merged
merged 5 commits into from
Mar 6, 2024
Merged
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
node_modules

oclif.lock
oclif.manifest.json
oclif.manifest.json
npm-shrinkwrap.json
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.json": ["prettier --write"],
"*.md": ["prettier --write"],
"+(src|test)/**/*.+(ts|js)": ["eslint --fix", "prettier --write"]
"+(src|test|bin)/**/*.+(ts|js)": ["eslint --fix", "prettier --write"]
}
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"lodash.uniqby": "^4.7.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@oclif/plugin-help": "^5.2.20",
"@commitlint/config-conventional": "^18",
"@oclif/plugin-help": "^6",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.1",
"@types/chai": "^4.3.11",
Expand All @@ -22,19 +22,16 @@
"@types/lodash.template": "^4.5.3",
"@types/lodash.uniqby": "^4.7.9",
"@types/mocha": "^10.0.6",
"@types/nock": "^11.1.0",
"@types/node": "^18",
"chai": "^4.4.1",
"commitlint": "^17.8.1",
"commitlint": "^18",
"eslint": "^8.56.0",
"eslint-config-oclif": "^5.0.4",
"eslint-config-oclif-typescript": "^3.0.48",
"eslint-config-prettier": "^9.1.0",
"globby": "^11",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"nock": "^13.5.4",
"nyc": "^15.1.0",
"oclif": "^4.4.19",
"prettier": "^3.2.5",
Expand All @@ -49,8 +46,8 @@
"files": [
"/lib",
"/oclif.manifest.json",
"/yarn.lock",
"/oclif.lock"
"npm-shrinkwrap.json",
"oclif.lock"
],
"homepage": "https://github.com/oclif/plugin-commands",
"keywords": [
Expand All @@ -68,13 +65,15 @@
"repository": "oclif/plugin-commands",
"scripts": {
"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json oclif.lock",
"compile": "tsc",
"lint": "eslint . --ext .ts",
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
"postpack": "yarn run clean",
"posttest": "yarn lint",
"prepack": "shx rm -rf lib && tsc && oclif lock && oclif manifest . && oclif readme",
"prepare": "husky install && yarn build",
"pretest": "yarn build && tsc -p test --noEmit",
"test": "mocha \"test/**/*.test.ts\"",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
"prepare": "husky && yarn build",
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
"type": "module"
Expand Down
Loading
Loading