Skip to content

Commit

Permalink
chore: use module builder stub mode
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 21, 2023
1 parent 34c3aa7 commit d77c80f
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 788 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ jobs:
- name: Install Playwright
run: pnpm playwright-core install chromium

- name: Prepare build environment
run: pnpm dev:prepare

- name: Build module
run: pnpm prepack

- name: Prepare module environment
run: pnpm -r dev:prepare

- name: Test examples
run: pnpm test:examples
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
"test:examples": "pnpm -r test",
"prepack": "unbuild",
"dev:prepare": "unbuild --stub",
"dev:prepare": "nuxi prepare && unbuild --stub && pnpm -r dev:prepare",
"release": "pnpm test:examples && pnpm build && changelogen --release --push && pnpm publish"
},
"dependencies": {
Expand Down Expand Up @@ -58,6 +58,7 @@
"devDependencies": {
"@jest/globals": "29.7.0",
"@nuxt/eslint-config": "0.2.0",
"@nuxt/module-builder": "0.5.2",
"@testing-library/vue": "^7.0.0",
"@types/estree": "^1.0.5",
"@vitejs/plugin-vue": "^4.5.0",
Expand All @@ -71,10 +72,10 @@
"eslint-plugin-no-only-tests": "3.1.0",
"eslint-plugin-unicorn": "49.0.0",
"playwright-core": "1.40.0",
"rollup": "^4.5.0",
"rollup": "3.29.4",
"unbuild": "latest",
"unimport": "^3.5.0",
"vite": "^5.0.0",
"vite": "4.5.0",
"vitest": "0.33.0",
"vue-router": "^4.2.5"
},
Expand Down
Loading

0 comments on commit d77c80f

Please sign in to comment.