Skip to content

Commit 1f66218

Browse files
committed
fix: github actions
1 parent b1bfbf0 commit 1f66218

File tree

8 files changed

+948
-1258
lines changed

8 files changed

+948
-1258
lines changed

.github/workflows/publish-preview.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ jobs:
3232
- name: Install dependencies
3333
run: pnpm install
3434

35+
- name: Prepare playground
36+
run: pnpm dev:prepare
37+
3538
- name: Build package
36-
run: pnpm build --filter=@simpleanalytics/next
39+
run: pnpm build --filter=@simpleanalytics/nuxt
3740

3841
- name: Publish package
39-
run: pnpx pkg-pr-new publish './packages/analytics'
42+
run: pnpx pkg-pr-new publish './packages/nuxt'

.github/workflows/publish.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,14 @@ jobs:
4040
- name: Install dependencies
4141
run: pnpm install
4242

43+
- name: Prepare playground
44+
run: pnpm dev:prepare
45+
4346
- name: Build package
44-
run: pnpm build --filter=@simpleanalytics/next
47+
run: pnpm build --filter=@simpleanalytics/nuxt
4548

4649
- name: Publish package
4750
shell: bash
48-
run: pnpm publish --filter=@simpleanalytics/next --access public --no-git-checks
51+
run: pnpm publish --filter=@simpleanalytics/nuxt --access public --no-git-checks
4952
env:
5053
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./packages/nuxt/README.md

examples/nuxt-v3/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
export default defineNuxtConfig({
33
compatibilityDate: "2025-05-15",
44
devtools: { enabled: true },
5-
modules: ["@simpleanalytics/nuxt"],
5+
// modules: ["@simpleanalytics/nuxt"],
66
simpleAnalytics: {
77
hostname: "test.example.com", // Replace with your actual domain
88
},

examples/nuxt-v4/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
export default defineNuxtConfig({
33
compatibilityDate: "2025-07-15",
44
devtools: { enabled: true },
5-
modules: ["@simpleanalytics/nuxt"],
5+
// modules: ["@simpleanalytics/nuxt"],
66
});

packages/nuxt/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@
3636
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
3737
},
3838
"dependencies": {
39-
"@nuxt/kit": "^4.0.2",
39+
"@nuxt/kit": "^4.0.3",
4040
"simple-analytics-vue": "^3.0.3"
4141
},
4242
"devDependencies": {
4343
"@nuxt/devtools": "^2.6.2",
44-
"@nuxt/eslint-config": "^1.7.1",
44+
"@nuxt/eslint-config": "^1.8.0",
4545
"@nuxt/module-builder": "^1.0.2",
46-
"@nuxt/schema": "^4.0.2",
46+
"@nuxt/schema": "^4.0.3",
4747
"@nuxt/test-utils": "^3.19.2",
48-
"@types/node": "^24.2.0",
48+
"@types/node": "^24.2.1",
4949
"changelogen": "^0.6.2",
50-
"eslint": "^9.32.0",
50+
"eslint": "^9.33.0",
5151
"nuxt": "^4",
5252
"typescript": "~5.9.2",
5353
"vitest": "^3.2.4",

pnpm-lock.yaml

Lines changed: 930 additions & 1245 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
packages:
2-
- "apps/*"
32
- "examples/*"
43
- "packages/*"

0 commit comments

Comments
 (0)