Skip to content

Commit

Permalink
fix: publish npm-shrinkwrap.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 22, 2024
1 parent 6ca3cbc commit ebbd508
Show file tree
Hide file tree
Showing 5 changed files with 313 additions and 291 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"]
}
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"@oclif/core": "^3.19.2"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/config-conventional": "^18",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.1.16",
"@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.56.0",
"eslint-config-oclif": "^5.0.0",
"eslint-config-oclif-typescript": "^3.0.47",
"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.13",
"prettier": "^3.2.5",
Expand All @@ -36,7 +36,7 @@
"files": [
"oclif.manifest.json",
"/lib",
"/oclif.lock"
"npm-shrinkwrap.json"
],
"homepage": "https://github.com/oclif/plugin-help",
"keywords": [
Expand All @@ -52,13 +52,16 @@
"repository": "oclif/plugin-help",
"scripts": {
"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json",
"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",
"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
Loading

0 comments on commit ebbd508

Please sign in to comment.