Skip to content

Commit

Permalink
⚙️ Chore(enviroment): prepare package to npm, change git issue templa…
Browse files Browse the repository at this point in the history
…tes and update packages
  • Loading branch information
INeedJobToStartWork committed Mar 3, 2024
1 parent eb1528e commit 688883c
Show file tree
Hide file tree
Showing 7 changed files with 656 additions and 344 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ body:
- MyError's 💬[Discussion's tab](https://github.com/INeedJobToStartWork/MyError/discussions)
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
- MyError's [Issue's tab]()
- MyError's [closed issues tab]()
- MyError's [Discussions tab]()
- MyError's [Issue's tab](https://github.com/INeedJobToStartWork/MyError/issues)
- MyError's [closed issues tab](https://github.com/INeedJobToStartWork/MyError/issues?q=is%3Aissue+is%3Aclosed+)
- MyError's [Discussions tab](https://github.com/INeedJobToStartWork/MyError/discussions)
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
Expand Down
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ body:
It's good to know you're creative ✨
Before submitting a new feature request, please check the links below to see if there somebody already requested it:
- MyError's [Idea's tab]()
- MyError's [closed ideas tab]()
- MyError's [Discussions tab]()
- MyError's [Issue's tab](https://github.com/INeedJobToStartWork/MyError/issues)
- MyError's [closed issues tab](https://github.com/INeedJobToStartWork/MyError/issues?q=is%3Aissue+is%3Aclosed+)
- MyError's [Discussions tab](https://github.com/INeedJobToStartWork/MyError/discussions)
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
- type: input
Expand Down
7 changes: 3 additions & 4 deletions .github/ISSUE_TEMPLATE/gdocs_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ body:
If you have a question about how to achieve something and are struggling, please post a question
inside of either of the following places:
- MyError's 💬[Discussion's tab](https://github.com/INeedJobToStartWork/MyError/discussions)
Before submitting a new bug/issue, please check the links below to see if there is a solution or question posted there already:
- MyError's [Issue's tab]()
- MyError's [closed issues tab]()
- MyError's [Discussions tab]()
- MyError's [Issue's tab](https://github.com/INeedJobToStartWork/MyError/issues)
- MyError's [closed issues tab](https://github.com/INeedJobToStartWork/MyError/issues?q=is%3Aissue+is%3Aclosed+)
- MyError's [Discussions tab](https://github.com/INeedJobToStartWork/MyError/discussions)
Please fill in as much of the template below as you're able. If you don't know the answer to a question, that's okay, but please try to fill in as much as you can.
Expand Down
Binary file added .nvmrc
Binary file not shown.
2 changes: 1 addition & 1 deletion clean-package.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"indent": 4,
"remove": ["devDependencies", "dependencies", "lint-staged", "bin", "module", "main"],
"remove": ["devDependencies", "dependencies", "lint-staged", "bin", "module", "main", "packageManager"],
"replace": {
"scripts": {
"npm:postpack": "clean-package restore"
Expand Down
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
"name": "oh-my-error",
"version": "0.1.1",
"description": "A simple error handler for nodejs",
"keywords": [
"error",
"handler",
"nodejs",
"typescript"
],
"homepage": "https://github.com/INeedJobToStartWork/MyError#readme",
"bugs": "https://github.com/INeedJobToStartWork/MyError/issues/new/choose",
"repository": {
"type": "git",
"url": "https://github.com/INeedJobToStartWork/MyError"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
Expand All @@ -24,21 +33,14 @@
"dev": "pnpm tsup --config ./config/tsuprc/tsup.dev.ts",
"format": "pnpm prettier . --write && pnpm prettier . --check",
"preinstall": "husky install",
"link-cli": "pnpm unlink --global && pnpm link --global",
"link-cli:dev": "cd lib && pnpm unlink --global && pnpm link --global",
"link-cli:prod": "cd dist && pnpm unlink --global && pnpm link --global",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"npm:postpack": "clean-package restore",
"npm:prepack": "clean-package",
"npm:publish": "npm publish",
"pre": "npx lint-staged",
"pre:husky": "git add . && npx lint-staged",
"start": "node ./dist/index.cjs",
"test": "pnpm vitest",
"unlink-cli": "cd lib && pnpm unlink --global",
"unlink-cli:dev": "cd lib && pnpm unlink --global",
"unlink-cli:prod": "cd dist && pnpm unlink --global"
"test": "pnpm vitest"
},
"lint-staged": {
"*": [
Expand All @@ -50,25 +52,25 @@
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@stylistic/eslint-plugin": "^1.6.0",
"@types/node": "^20.11.16",
"@stylistic/eslint-plugin": "^1.6.3",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"clean-package": "^2.2.0",
"commitsmile": "^0.5.0",
"esbuild-plugin-copy": "^2.1.1",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-pii": "^1.0.2",
"eslint-plugin-security": "^2.1.0",
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"gen-esm-wrapper": "^1.1.3",
"globals": "^13.24.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.4.10",
"prettier-plugin-packagejson": "^2.4.12",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
"vitest": "^1.3.1"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading

0 comments on commit 688883c

Please sign in to comment.