Skip to content

Commit

Permalink
ci: update package.json scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecasar committed Jan 19, 2024
1 parent e5a7953 commit 109f77a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: changesets/action@v1
with:
publish: npm run release
commit: "chore: version packages"
commit: 'chore: version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@
"url": "git+https://github.com/sngular/javascript.git"
},
"scripts": {
"lint": "npm run lint:check",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format": "npm run format:check",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"types": "npm run types:check",
"types:build": "tsc --build --pretty",
"types:check": "tsc --pretty",
"prepare": "husky install",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"format": "npm run format:prettier && npm run format:eslint",
"format:eslint": "npm run lint:eslint -- --fix",
"format:prettier": "npm run lint:prettier -- --write",
"update-versions": "npx changeset version && npm install",
"types": "tsc --build --pretty",
"release": "changeset publish"
"prepublishOnly": "npm run types:build",
"release": "changeset publish",
"check": "npm run lint:check && npm run format:check && npm run types:check && npm test"
},
"author": {
"name": "SNGULAR"
Expand Down

0 comments on commit 109f77a

Please sign in to comment.