Skip to content

Commit

Permalink
fix: Changeset release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wottpal committed Oct 14, 2023
1 parent 6c0c70a commit effccb5
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .changeset/clean-lemons-cough.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@inkathon/contracts': patch
'@inkathon/contracts': minor
---

Add `contract/scripts/script.template.ts` template script and simplify script initialization in general.
2 changes: 1 addition & 1 deletion .changeset/famous-eyes-beg.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@inkathon/contracts': patch
'@inkathon/contracts': minor
---

Auto-detect available contracts in build & test shell scripts
4 changes: 2 additions & 2 deletions .changeset/gold-mangos-tell.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@inkathon/contracts': patch
'@inkathon/frontend': patch
'@inkathon/contracts': minor
'@inkathon/frontend': minor
---

Add contributor guidelines at `CONTRIBUTING.md`.
2 changes: 1 addition & 1 deletion .changeset/lazy-bags-learn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@inkathon/contracts': patch
'@inkathon/contracts': minor
---

Add pnpm/npm shorthand script for JS/TS script execution (i.e. `pnpm run script deploy`)
4 changes: 2 additions & 2 deletions .changeset/polite-starfishes-allow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@inkathon/contracts': patch
'@inkathon/frontend': patch
'@inkathon/contracts': minor
'@inkathon/frontend': minor
---

Switch from `husky` to `simple-git-hooks` pre-commit hooks
4 changes: 2 additions & 2 deletions .changeset/rare-gifts-beam.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@inkathon/contracts': patch
'@inkathon/frontend': patch
'@inkathon/contracts': minor
'@inkathon/frontend': minor
---

Add compatability for using yarn (stable only, not classic v1) as the package manager. Note: npm is still not compatible as it lacks support for the workspace import protocol.
2 changes: 1 addition & 1 deletion .changeset/thick-countries-cheat.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@inkathon/frontend': patch
'@inkathon/frontend': minor
---

Auto-create `.env.local` files upon first package install if non-existent
4 changes: 2 additions & 2 deletions .changeset/wild-phones-repair.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
'@inkathon/contracts': patch
'@inkathon/frontend': patch
'@inkathon/contracts': minor
'@inkathon/frontend': minor
---

Setup changeset integration for version, release, and changelog management.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node-version: [18]
pnpm-version: [8]
pnpm-version: [8.8]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand All @@ -36,7 +36,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: pnpm install --lockfile-only
run: pnpm install --frozen-lockfile

- name: Create Release Pull Request
uses: changesets/action@v1
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Full-Stack DApp Boilerplate for ink! Smart Contracts",
"homepage": "https://inkathon.xyz",
"private": true,
"version": "0.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/scio-labs/inkathon"
Expand All @@ -22,7 +21,9 @@
"start": "pnpm run -F frontend start",
"lint": "pnpm run -F '*' lint",
"lint:fix": "pnpm run -F '*' lint:fix",
"lint:format": "pnpm run -F '*' lint:format"
"lint:format": "pnpm run -F '*' lint:format",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
Expand Down

1 comment on commit effccb5

@vercel
Copy link

@vercel vercel bot commented on effccb5 Oct 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.