Skip to content

Commit

Permalink
chore(package-json): Added release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexnortung committed Jan 23, 2024
1 parent f0c0da5 commit 159fc36
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 49 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,5 @@ pnpm run build
## Publishing

```bash
pnpm version # major | minor | patch
pnpm run build
pnpm publish
pnpm run release
```
94 changes: 48 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,50 @@
{
"name": "@oak-digital/types-4-strapi-2",
"version": "1.0.2",
"description": "Typescript interface generator for Strapi 4 models",
"bin": {
"t4s": "./bin/index.js"
},
"scripts": {
"build": "rimraf lib && tsc -p .",
"testtypes": "node ./bin/index.js",
"lint": "eslint src/",
"prettier": "prettier --write \"src/**/*.ts\"",
"t4s": "node ./bin/index.js",
"testdev": "ts-node ./src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Oak-Digital/types-4-strapi-2.git"
},
"keywords": [
"strapi",
"typescript",
"types",
"generator"
],
"author": "Oak digital",
"license": "MIT",
"bugs": {
"url": "https://github.com/Oak-Digital/types-4-strapi-2/issues"
},
"homepage": "https://github.com/Oak-Digital/types-4-strapi-2",
"devDependencies": {
"@types/node": "^18.7.2",
"@types/prettier": "^2.7.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"eslint": "^8.22.0",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"change-case": "^4.1.2",
"commander": "^9.4.0",
"prettier": "^2.7.1",
"zod": "^3.21.4"
}
"name": "@oak-digital/types-4-strapi-2",
"version": "1.0.2",
"description": "Typescript interface generator for Strapi 4 models",
"bin": {
"t4s": "./bin/index.js"
},
"scripts": {
"build": "rimraf lib && tsc -p .",
"testtypes": "node ./bin/index.js",
"lint": "eslint src/",
"prettier": "prettier --write \"src/**/*.ts\"",
"t4s": "node ./bin/index.js",
"testdev": "ts-node ./src/index.ts",
"release": "bumpp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Oak-Digital/types-4-strapi-2.git"
},
"keywords": [
"strapi",
"typescript",
"types",
"generator"
],
"author": "Oak digital",
"license": "MIT",
"bugs": {
"url": "https://github.com/Oak-Digital/types-4-strapi-2/issues"
},
"homepage": "https://github.com/Oak-Digital/types-4-strapi-2",
"devDependencies": {
"@types/node": "^18.7.2",
"@types/prettier": "^2.7.0",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"bumpp": "^9.3.0",
"eslint": "^8.22.0",
"rimraf": "^4.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"change-case": "^4.1.2",
"commander": "^9.4.0",
"prettier": "^2.7.1",
"zod": "^3.21.4"
}
}
Loading

0 comments on commit 159fc36

Please sign in to comment.