Skip to content

Commit 2237677

Browse files
chore: Fix publishing
1 parent bc21b66 commit 2237677

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
lines changed

.changeset/bitter-ducks-chew.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@tcd-devkit/commitlint-config': patch
3+
'@tcd-devkit/eslint-preset-next': patch
4+
'@tcd-devkit/eslint-preset-node': patch
5+
'@tcd-devkit/eslint-preset-react': patch
6+
'@tcd-devkit/eslint-config': patch
7+
'@tcd-devkit/eslint-config-a11y': patch
8+
'@tcd-devkit/eslint-config-import': patch
9+
'@tcd-devkit/eslint-config-import-ts': patch
10+
'@tcd-devkit/eslint-config-next': patch
11+
'@tcd-devkit/eslint-config-react': patch
12+
'@tcd-devkit/eslint-config-react-hooks': patch
13+
'@tcd-devkit/eslint-config-ts': patch
14+
'@tcd-devkit/internal-utils': patch
15+
'@tcd-devkit/prettier-config': patch
16+
'@tcd-devkit/prettier-config-react': patch
17+
'@tcd-devkit/scripts': patch
18+
'@tcd-devkit/tsconfig': patch
19+
'@tcd-devkit/tsup-config': patch
20+
---
21+
22+
Fix publishing

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
${{ runner.os }}-bun-
3535
3636
- name: Install dependencies
37-
run: bun install
37+
run: bun install --frozen-lockfile
3838

3939
- name: Link scripts package binary
4040
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
${{ runner.os }}-bun-
3131
3232
- name: Install dependencies
33-
run: bun install
33+
run: bun install --frozen-lockfile
3434

3535
- name: Run build
3636
run: bun turbo build
@@ -41,6 +41,7 @@ jobs:
4141
with:
4242
publish: bun release
4343
commit: 'chore: Version Packages'
44+
version: bun run version
4445
env:
4546
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4647
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

bun.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"lockfileVersion": 1,
3+
"configVersion": 0,
34
"workspaces": {
45
"": {
56
"name": "devkit",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
"format": "echo 'Starting formatting...'",
2222
"lint": "echo 'Starting linting...'",
2323
"prepare": "husky",
24-
"release": "bun turbo build && bun changeset publish",
24+
"release": "turbo build && bun publish && changeset tag",
2525
"root-format:eslint": "tcd-scripts format --only=eslint",
2626
"root-format:prettier": "tcd-scripts format --only=prettier",
2727
"root-lint:eslint": "tcd-scripts lint --only=eslint",
28-
"root-lint:prettier": "tcd-scripts lint --only=prettier"
28+
"root-lint:prettier": "tcd-scripts lint --only=prettier",
29+
"version": "changeset version && bun update"
2930
},
3031
"devDependencies": {
3132
"@changesets/changelog-github": "0.5.1",

0 commit comments

Comments
 (0)