Skip to content

Commit 297d19b

Browse files
committed
merge: implement Changesets with TypeScript support from cb4590c
2 parents d74d144 + 58f58ba commit 297d19b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2390
-507
lines changed

.changeset/config.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"fixed": [],
6-
"linked": [
7-
["vue-pivottable", "@vue-pivottable/*"]
8-
],
6+
"linked": [],
97
"access": "public",
108
"baseBranch": "main",
119
"updateInternalDependencies": "patch",

.changeset/initial-changesets-setup.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
"vue-pivottable": patch
3-
"@vue-pivottable/lazy-table-renderer": patch
4-
"@vue-pivottable/plotly-renderer": patch
53
---
64

75
chore: implement Changesets for monorepo release management

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,21 @@ jobs:
4545
- name: Install dependencies
4646
run: pnpm install
4747

48-
- name: Build all packages
49-
run: pnpm build:all
50-
5148
- name: Create Release Pull Request or Publish
5249
id: changesets
5350
uses: changesets/action@v1
5451
with:
5552
# This will create a PR with version bumps and changelog updates
5653
# When the PR is merged, it will publish to npm
57-
publish: pnpm changeset publish
54+
publish: pnpm release:packages
5855
version: pnpm changeset version
5956
commit: "chore: release packages"
6057
title: "chore: release packages"
6158
createGithubReleases: true
6259
env:
6360
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
6461
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62+
NPM_TOKEN_SUMIN: ${{ secrets.NPM_TOKEN_SUMIN }}
6563

6664
# Alternative: Use semantic-release with GitHub App token
6765
# - name: Release

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"dev:all": "concurrently \"pnpm dev\" \"pnpm -r --parallel run dev\"",
5959
"changeset": "changeset",
6060
"version-packages": "changeset version",
61-
"release": "pnpm build:all && changeset publish"
61+
"release": "pnpm build:all && changeset publish",
62+
"release:packages": "node scripts/release-packages.js"
6263
},
6364
"peerDependencies": {
6465
"vue": "^3.2.0"
@@ -74,7 +75,10 @@
7475
"@semantic-release/npm": "^12.0.1",
7576
"@seungwoo321/eslint-plugin-standard-js": "^1.0.1",
7677
"@seungwoo321/prettier-config": "^1.0.1",
78+
"@types/node": "^22.15.21",
79+
"@types/papaparse": "^5.3.16",
7780
"@vitejs/plugin-vue": "^5.2.1",
81+
"@vue/tsconfig": "^0.7.0",
7882
"@vue-pivottable/lazy-table-renderer": "workspace:*",
7983
"@vue-pivottable/plotly-renderer": "workspace:*",
8084
"concurrently": "^9.1.2",
@@ -86,10 +90,13 @@
8690
"papaparse": "^5.5.2",
8791
"rimraf": "^6.0.1",
8892
"semantic-release": "^24.2.3",
93+
"typescript": "^5.8.3",
94+
"typescript-eslint": "^8.33.1",
8995
"vite": "^6.3.4",
9096
"vite-plugin-dts": "^4.5.3",
9197
"vite-plugin-static-copy": "^2.3.1",
92-
"vue": "^3.2.0"
98+
"vue": "^3.2.0",
99+
"vue-tsc": "^2.2.10"
93100
},
94101
"packageManager": "[email protected]"
95102
}

pnpm-lock.yaml

Lines changed: 102 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)