Skip to content

Commit

Permalink
Merge pull request #653 from oclif/mdonnalley/shrinkwrap
Browse files Browse the repository at this point in the history
feat: publish npm-shrinkwrap.json
  • Loading branch information
shetzel committed Mar 6, 2024
2 parents 224e982 + 95d25f1 commit ff0bcb7
Show file tree
Hide file tree
Showing 5 changed files with 342 additions and 300 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
/tmp

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"]
}
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@
"author": "Salesforce",
"bugs": "https://github.com/oclif/plugin-help/issues",
"dependencies": {
"@oclif/core": "^3.20.0"
"@oclif/core": "^3.21.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/config-conventional": "^18",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.1",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^18",
"chai": "^4.4.1",
"commitlint": "^17.8.1",
"commitlint": "^18",
"eslint": "^8.57.0",
"eslint-config-oclif": "^5.0.3",
"eslint-config-oclif-typescript": "^3.0.48",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"oclif": "^4.4.19",
"prettier": "^3.2.5",
Expand All @@ -36,7 +36,8 @@
"files": [
"oclif.manifest.json",
"/lib",
"/oclif.lock"
"npm-shrinkwrap.json",
"oclif.lock"
],
"homepage": "https://github.com/oclif/plugin-help",
"keywords": [
Expand All @@ -52,13 +53,16 @@
"repository": "oclif/plugin-help",
"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 oclif.manifest.json oclif.lock",
"postpack": "yarn run clean",
"posttest": "yarn lint",
"prepack": "yarn run build && oclif manifest . && oclif lock",
"prepare": "husky install && yarn build",
"pretest": "yarn build && tsc --noEmit",
"test": "mocha --forbid-only \"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",
"types": "./lib/index.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"noUnusedParameters": true,
"outDir": "lib",
"pretty": true,
"rootDir": "src",
"rootDirs": ["src"],
"strict": true,
"target": "ES2022",
"moduleResolution": "Node16"
Expand Down

0 comments on commit ff0bcb7

Please sign in to comment.