From 354f18c6dc05427e40d4d80b51c7c1bff846ad5e Mon Sep 17 00:00:00 2001 From: Reuben Tier Date: Sat, 11 Jan 2025 16:10:35 +0000 Subject: [PATCH] Fixes --- .changeset/config.json | 2 +- .github/workflows/changeset.yml | 3 +-- .npmrc | 1 - README.md | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .npmrc diff --git a/.changeset/config.json b/.changeset/config.json index 6a43ee0..c0ffe1a 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -4,7 +4,7 @@ "commit": false, "fixed": [], "linked": [], - "access": "restricted", + "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", "ignore": ["docs"] diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index d26f927..76e0e75 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -21,8 +21,6 @@ jobs: node-version: 20 - name: install pnpm run: npm i pnpm@latest -g - - name: Setup npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - name: setup pnpm config run: pnpm config set store-dir $PNPM_CACHE_FOLDER - name: install dependencies @@ -36,3 +34,4 @@ jobs: publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index d71e7ed..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -prefer-workspace-packages=true \ No newline at end of file diff --git a/README.md b/README.md index 8874ddf..78a5f41 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Follow these steps to create your new Starlight theme. - [ ] Add your custom styles to [packages/theme/styles/theme.css](packages/theme/styles/theme.css). - [ ] Take a fancy screenshot of your theme and place it in [assets/preview.png](assets/preview.png) - [ ] Deploy the docs to you favorite hosting provider. +- [ ] Add an `NPM_TOKEN` env variable to your GitHub repo. - [ ] Run `pnpm changeset` and give your project a major bump for an initial release. - [ ] Push/merge to main, and publish a release by merging the changeset PR. - [ ] Delete this file, and run `ln -s packages/theme/README.md README2.md` to create a symlink to your package README, and share your theme with the world!