From 57c6cb2991704047ec1c277a9c3ff6c9a8bae39d Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Mon, 17 Jun 2024 22:52:11 -0700 Subject: [PATCH] build: config changesets (#222) --- .changeset/config.json | 4 ++-- .github/workflows/changeset.yaml | 9 ++++++--- package.json | 3 +-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 8639ae567..5f0afdd10 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -4,8 +4,8 @@ "commit": false, "fixed": [], "linked": [], - "access": "restricted", + "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["@assistant-ui/www", "with-react-hook-form", "with-vercel-ai-rsc"] } diff --git a/.github/workflows/changeset.yaml b/.github/workflows/changeset.yaml index 515dbcb29..808b5aa05 100644 --- a/.github/workflows/changeset.yaml +++ b/.github/workflows/changeset.yaml @@ -15,10 +15,12 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: setup node.js uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 20 + - name: install pnpm run: npm i pnpm@latest -g - name: Setup npmrc @@ -27,12 +29,13 @@ jobs: run: pnpm config set store-dir $PNPM_CACHE_FOLDER - name: install dependencies run: pnpm install + - name: create and publish versions uses: changesets/action@v1 with: - version: pnpm ci:version + version: pnpm changeset version commit: "chore: update versions" title: "chore: update versions" - publish: pnpm ci:publish + publish: pnpm publish -r env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index 46abc698b..2a8f7a946 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,7 @@ "name": "assistant-ui", "private": "true", "scripts": { - "lint": "biome lint .", - "ci:publish": "pnpm publish -r" + "lint": "biome lint ." }, "devDependencies": { "@biomejs/biome": "1.8.1",