Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
11 changes: 4 additions & 7 deletions packages/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/@[email protected]/node_modules/@codemirror/state'
),
'@': path.resolve(__dirname, './src'),
'@core': path.resolve(__dirname, './src/core'),
'@components': path.resolve(__dirname, './src/components'),
Expand Down
2 changes: 1 addition & 1 deletion packages/nightwatch-devtools/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading