Skip to content

Commit 19a2dd2

Browse files
committed
build: fixed pnpm link issue
See witchcraftjs/editor@c4c2648
1 parent c13db88 commit 19a2dd2

6 files changed

Lines changed: 755 additions & 10295 deletions

File tree

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,38 @@
4444
}
4545
},
4646
"dependencies": {
47-
"@alanscodelog/tsconfigs": "^6.2.0",
48-
"@alanscodelog/utils": "^6.0.2",
49-
"@electric-sql/pglite": "~0.2.17",
50-
"@nuxt/kit": "^4.1.2",
51-
"@witchcraft/nuxt-logger": "^0.0.6",
52-
"@witchcraft/nuxt-utils": "^0.3.3",
47+
"@alanscodelog/tsconfigs": "catalog:",
48+
"@alanscodelog/utils": "catalog:",
49+
"@electric-sql/pglite": "catalog:",
50+
"@nuxt/kit": "catalog:",
51+
"@witchcraft/nuxt-logger": "catalog:",
52+
"@witchcraft/nuxt-utils": "catalog:",
5353
"defu": "latest",
54-
"drizzle-kit": "^0.31.4",
55-
"drizzle-orm": "^0.44.5",
56-
"postgres": "^3.4.7",
57-
"unstorage": "^1.17.0",
58-
"vite-plugin-top-level-await": "^1.6.0",
59-
"vite-plugin-wasm": "^3.5.0",
60-
"zod": "^4.1.8"
54+
"drizzle-kit": "catalog:",
55+
"drizzle-orm": "catalog:",
56+
"postgres": "catalog:",
57+
"unstorage": "catalog:",
58+
"vite-plugin-top-level-await": "catalog:",
59+
"vite-plugin-wasm": "catalog:",
60+
"zod": "catalog:"
6161
},
6262
"devDependencies": {
63-
"@alanscodelog/eslint-config": "^6.3.1",
64-
"@alanscodelog/semantic-release-config": "^5.0.4",
65-
"@commitlint/cli": "^20.1.0",
66-
"@nuxt/eslint-config": "^1.9.0",
67-
"@nuxt/module-builder": "^1.0.2",
68-
"@nuxt/schema": "^4.1.2",
69-
"@nuxt/test-utils": "^3.19.2",
63+
"@alanscodelog/eslint-config": "catalog:",
64+
"@alanscodelog/semantic-release-config": "catalog:",
65+
"@commitlint/cli": "catalog:",
66+
"@nuxt/eslint-config": "catalog:",
67+
"@nuxt/module-builder": "catalog:",
68+
"@nuxt/schema": "catalog:",
69+
"@nuxt/test-utils": "catalog:",
7070
"@types/node": "latest",
71-
"changelogen": "^0.5.7",
72-
"cross-env": "^10.0.0",
73-
"eslint": "^9.34.0",
74-
"husky": "^9.1.7",
75-
"nuxt": "^4.1.2",
76-
"typescript": "~5.9.2",
77-
"vitest": "^3.2.4",
78-
"vue-tsc": "^3.0.6"
71+
"changelogen": "catalog:",
72+
"cross-env": "catalog:",
73+
"eslint": "catalog:",
74+
"husky": "catalog:",
75+
"nuxt": "catalog:",
76+
"typescript": "catalog:",
77+
"vitest": "catalog:",
78+
"vue-tsc": "catalog:"
7979
},
8080
"release": {
8181
"extends": [

playground/nuxt.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ export default defineNuxtConfig({
44
modules: [
55
"@witchcraft/nuxt-logger",
66
"../src/module"
7-
// the below also works, just remember to run the update-dep script and uncomment ../src/module above before attempting to use the file: linked module
8-
// "@witchcraft/nuxt-postgres",
97
],
108

119
devtools: { enabled: true },

playground/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
"dev": "nuxi dev",
77
"build": "cross-env-shell DISABLE_POSTGRES_ENSURE_ENV=true 'nuxi build'",
88
"generate": "cross-env-shell DISABLE_POSTGRES_ENSURE_ENV=true 'nuxi generate'",
9-
"prepare": "cross-env-shell DISABLE_POSTGRES_ENSURE_ENV=true 'pnpm nuxi prepare'",
10-
"update-dep": "cd ../ && pnpm build:only && cd playground && pnpm update @witchcraft/nuxt-postgres"
9+
"prepare": "cross-env-shell DISABLE_POSTGRES_ENSURE_ENV=true 'pnpm nuxi prepare'"
1110
},
1211
"dependencies": {
13-
"@witchcraft/nuxt-postgres": "file:..",
14-
"nuxt": "^4.0.3"
12+
"@witchcraft/nuxt-postgres": "workspace:*",
13+
"nuxt": "catalog:"
1514
},
1615
"devDependencies": {
17-
"cross-env": "^10.0.0"
16+
"cross-env": "catalog:"
1817
}
1918
}

0 commit comments

Comments
 (0)