diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f86979..c819e15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,11 +48,12 @@ jobs: - name: Build run: | pnpm --filter "@wdio/devtools-script" build - pnpm --filter "@wdio/devtools-app" build pnpm --filter "@wdio/devtools-backend" build pnpm --filter "@wdio/devtools-service" build + pnpm --filter "@wdio/devtools-app" build pnpm --filter "@wdio/nightwatch-devtools" build - name: Release - run: pnpm -r publish --access public --no-git-checks + run: pnpm -r publish --access public --no-git-checks --tag ${{ github.event.inputs.distTag }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/app/vite.config.ts b/packages/app/vite.config.ts index 5393e52..206e439 100644 --- a/packages/app/vite.config.ts +++ b/packages/app/vite.config.ts @@ -8,14 +8,11 @@ const __dirname = url.fileURLToPath(new URL('.', import.meta.url)) export default defineConfig({ resolve: { + // Force all codemirror packages to use the same @codemirror/state instance, + // preventing the "multiple instances" error when mixing codemirror meta-package + // with direct @codemirror/* imports under pnpm. + dedupe: ['@codemirror/state'], alias: { - // Force all codemirror packages to use the same @codemirror/state instance, - // preventing the "multiple instances" error when mixing codemirror meta-package - // with direct @codemirror/* imports under pnpm. - '@codemirror/state': path.resolve( - __dirname, - '../../node_modules/.pnpm/@codemirror+view@6.41.0/node_modules/@codemirror/state' - ), '@': path.resolve(__dirname, './src'), '@core': path.resolve(__dirname, './src/core'), '@components': path.resolve(__dirname, './src/components'), diff --git a/packages/nightwatch-devtools/package.json b/packages/nightwatch-devtools/package.json index a002f5b..1154b2b 100644 --- a/packages/nightwatch-devtools/package.json +++ b/packages/nightwatch-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/nightwatch-devtools", - "version": "1.0.0", + "version": "1.0.1", "description": "Nightwatch adapter for WebdriverIO DevTools - reuses existing backend, UI, and capture infrastructure", "type": "module", "main": "dist/index.js",