Skip to content

Commit

Permalink
feat: publish npm-shrinkwrap.json (#742)
Browse files Browse the repository at this point in the history
* fix: publish npm-shrinkwrap.json

* chore: add back oclif.lock
  • Loading branch information
mdonnalley authored Mar 6, 2024
1 parent c2f7a71 commit f807417
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 595 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ oclif.manifest.json
/.idea

oclif.lock
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"]
}
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Salesforce",
"bugs": "https://github.com/oclif/plugin-update/issues",
"dependencies": {
"@oclif/core": "^3.20.0",
"@oclif/core": "^3.21.0",
"chalk": "^5",
"cross-spawn": "^7.0.3",
"debug": "^4.3.1",
Expand All @@ -16,38 +16,35 @@
"tar-fs": "^2.1.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@oclif/plugin-help": "^5.2.17",
"@commitlint/config-conventional": "^18",
"@oclif/plugin-help": "^6",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3",
"@types/chai": "^4.3.11",
"@types/cross-spawn": "^6.0.6",
"@types/debug": "^4.1.12",
"@types/execa": "^0.9.0",
"@types/glob": "^7.1.3",
"@types/inquirer": "^9.0.7",
"@types/lodash.throttle": "^4.1.9",
"@types/mocha": "^10",
"@types/node": "^18",
"@types/semver": "^7.5.7",
"@types/supports-color": "^7.2.0",
"@types/tar-fs": "^2.0.2",
"chai": "^4.4.1",
"commitlint": "^17.8.1",
"eslint": "^8.57.0",
"eslint-config-oclif": "^5.0.2",
"commitlint": "^18",
"eslint-config-oclif-typescript": "^3.0.48",
"eslint-config-oclif": "^5.0.2",
"eslint-config-prettier": "^9.1.0",
"eslint": "^8.57.0",
"got": "^13.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"nock": "^13.5.4",
"oclif": "^4",
"prettier": "^3.2.5",
"qqjs": "^0.3.11",
"quibble": "^0.9.1",
"sinon": "^16.1.3",
"shx": "^0.3.4",
"sinon": "^17",
"strip-ansi": "^7.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
Expand All @@ -58,7 +55,8 @@
"files": [
"oclif.manifest.json",
"/dist",
"/oclif.lock"
"npm-shrinkwrap.json",
"oclif.lock"
],
"homepage": "https://github.com/oclif/plugin-update",
"keywords": [
Expand All @@ -79,12 +77,14 @@
},
"repository": "oclif/plugin-update",
"scripts": {
"build": "rm -rf lib && tsc",
"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": "rm -f oclif.manifest.json",
"postpack": "yarn run clean",
"posttest": "yarn lint",
"prepack": "yarn build && oclif lock && oclif manifest . && oclif lock",
"prepare": "husky install && yarn build",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
"prepare": "husky && yarn build",
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
"test:integration:sf": "mocha --forbid-only \"test/integration/sf.integration.ts\" --timeout 900000",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
Expand Down
Loading

0 comments on commit f807417

Please sign in to comment.