Skip to content

Commit

Permalink
fix: update to latest @nuxt/module-builder (#144)
Browse files Browse the repository at this point in the history
* fix: update to latest `@nuxt/module-builder`

* [autofix.ci] apply automated fixes

* chore: upgrade ci

* chore: ci

* fix: build

* fix: build

* fix: build

* chore: upgrade lock
  • Loading branch information
danielroe authored Nov 29, 2024
1 parent f1546b5 commit e66b631
Show file tree
Hide file tree
Showing 5 changed files with 7,456 additions and 5,787 deletions.
35 changes: 6 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,39 +27,16 @@ jobs:
os: [ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v3
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@v4
with:
path: |
./.eslintcache
${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-cache
restore-keys: |
${{ runner.os }}-cache
node-version: '22'
cache: pnpm

- name: 📦 Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: 👀 Lint
run: pnpm lint
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@productdevbook/chatwoot",
"type": "module",
"version": "1.6.0",
"packageManager": "pnpm@8.15.3",
"packageManager": "pnpm@9.12.2",
"description": "Chatwoot Vue or Nuxt library.",
"author": "Mehmet - productdevbook <hi@productdevbook.com>",
"license": "MIT",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"./vue": {
"types": "./dist/runtime/vue/index.d.ts",
"import": "./dist/runtime/vue/index.mjs"
"import": "./dist/runtime/vue/index.js"
},
"./*": "./*"
},
Expand All @@ -57,7 +57,7 @@
"dev": "pnpm nuxi dev playground-nuxt",
"build": "pnpm dev:prepare && pnpm nuxt-module-build build",
"dev:build": "nuxi build playground-nuxt",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground-nuxt",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground-nuxt",
"play": "pnpm --filter playground-nuxt dev",
"play:vue": "pnpm --filter playground-vue dev",
"prepublishOnly": "pnpm run build",
Expand All @@ -72,27 +72,27 @@
"vue": ">=3.3.0"
},
"dependencies": {
"@nuxt/kit": "^3.11.2",
"@nuxt/kit": "^3.14.1592",
"defu": "^6.1.4"
},
"devDependencies": {
"@antfu/eslint-config": "2.18.1",
"@nuxt/module-builder": "^0.6.0",
"@nuxt/schema": "^3.11.2",
"@nuxt/test-utils": "^3.13.1",
"@types/node": "^20.12.13",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.14.1592",
"@nuxt/test-utils": "^3.14.4",
"@types/node": "^20.17.9",
"@vitest/coverage-v8": "^1.6.0",
"@vue/test-utils": "^2.4.6",
"bumpp": "^9.4.2",
"bumpp": "^9.8.1",
"eslint": "^8.57.1",
"happy-dom": "^14.11.4",
"nuxt": "^3.12.4",
"tsx": "^4.10.5",
"typescript": "^5.4.5",
"happy-dom": "^14.12.3",
"nuxt": "^3.14.1592",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"unbuild": "^2.0.0",
"unconfig": "^0.4.5",
"vitest": "^1.6.0",
"vue": "^3.4.38"
"vue": "^3.5.13"
},
"resolutions": {
"@productdevbook/chatwoot": "link:."
Expand Down
2 changes: 1 addition & 1 deletion playground-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"dependencies": {
"@productdevbook/chatwoot": "link:..",
"nuxt": "^3.12.4"
"nuxt": "^3.14.1592"
},
"devDependencies": {
"@nuxtjs/partytown": "^1.5.0"
Expand Down
10 changes: 5 additions & 5 deletions playground-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.4.38"
"vue": "^3.5.13"
},
"devDependencies": {
"@productdevbook/chatwoot": "link:..",
"@vitejs/plugin-vue": "^5.0.5",
"typescript": "^5.4.5",
"vite": "^5.2.13",
"vue-tsc": "^2.0.29"
"@vitejs/plugin-vue": "^5.2.1",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
}
}
Loading

0 comments on commit e66b631

Please sign in to comment.