Skip to content

Commit

Permalink
chore(scripts): scripts renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
Celtian committed Feb 10, 2024
1 parent c7a507f commit 372de37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

# Publish to GitHub Package Registry
- name: 🛠️ Set up package for GPR
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, 'beta') == false
run: yarn gpr:setup
run: yarn script:gpr-setup

- name: 🛠️ Use GPR
if: startsWith(github.ref, 'refs/tags/v') && contains(github.ref, 'beta') == false
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"builders": "builders.json",
"scripts": {
"build": "rimraf dist && tsc",
"postbuild": "copyfiles --up 1 ./src/**/*.json ./dist && copyfiles ./package.json ./builders.json ./README.md ./LICENSE ./dist && yarn prepare-dist",
"postbuild": "copyfiles --up 1 ./src/**/*.json ./dist && copyfiles ./package.json ./builders.json ./README.md ./LICENSE ./dist && yarn script:prepare-dist",
"build:watch": "tsc-watch --onSuccess 'yarn postbuild'",
"publish:npmjs": "yarn build && npm publish --folder dist",
"prepare-dist": "yarn tsx ./scripts/prepare-dist.ts",
"gpr:setup": "yarn tsx ./scripts/gpr-setup.ts",
"script:gpr-setup": "yarn tsx scripts/gpr-setup.ts",
"script:prepare-dist": "yarn tsx scripts/prepare-dist.ts",
"prepare": "husky install",
"version": "auto-changelog -p && git add CHANGELOG.md",
"postversion": "git push && git push --follow-tags",
Expand Down

0 comments on commit 372de37

Please sign in to comment.