Skip to content

Commit

Permalink
解決策が見つかったのでpnpmに戻す
Browse files Browse the repository at this point in the history
  • Loading branch information
mkizka committed Jan 13, 2022
1 parent d03582c commit 8788301
Show file tree
Hide file tree
Showing 8 changed files with 6,921 additions and 7,633 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Expand Up @@ -20,18 +20,18 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 16
cache: "yarn"
cache: "pnpm"

- name: Install Dependencies
run: yarn
run: pnpm i

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
version: yarn version-packages
publish: pnpm release
version: pnpm version-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -9,8 +9,8 @@
"test": "turbo run test",
"dev": "turbo run dev",
"format": "prettier -w .",
"version-packages": "changeset version && yarn format",
"release": "yarn build && changeset publish"
"version-packages": "changeset version && pnpm format",
"release": "pnpm build && pnpm -r publish"
},
"devDependencies": {
"@changesets/cli": "^2.19.0",
Expand Down
10 changes: 0 additions & 10 deletions packages/blogview-vscode/.vscodeignore

This file was deleted.

5 changes: 3 additions & 2 deletions packages/blogview-vscode/package.json
Expand Up @@ -17,9 +17,10 @@
"markdown.markdownItPlugins": true
},
"scripts": {
"vscode:prepublish": "yarn build",
"vscode:prepublish": "pnpm build",
"build": "esbuild ./src/extension.ts --bundle --outdir=out --external:vscode --format=cjs --platform=node",
"dev": "yarn build --watch"
"dev": "pnpm build --watch",
"package": "pnpm vsce package --no-dependencies"
},
"devDependencies": {
"@types/node": "16.x",
Expand Down

0 comments on commit 8788301

Please sign in to comment.