@uipkge/nuxt 0.1.24 ā 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.mjs +1 -1
- package/dist/module.json +1 -1
- package/package.json +12 -13
package/bin/cli.mjs
CHANGED
|
@@ -38,7 +38,7 @@ if (!isInstalled) {
|
|
|
38
38
|
run('npm link @uipkge/nuxt', { cwd: TARGET_DIR })
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
// 4. Create i18n folder structure
|
|
41
|
+
// 4. Create i18n folder structure (inside app/ for Nuxt 4 compatibility)
|
|
42
42
|
const i18nDir = path.join(TARGET_DIR, 'app/i18n/locales')
|
|
43
43
|
if (!fs.existsSync(i18nDir)) {
|
|
44
44
|
console.log('\nš Creating i18n folders...')
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipkge/nuxt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"i18now-nuxt": "./bin/cli.mjs"
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
@@ -18,16 +18,6 @@
|
|
|
18
18
|
"dist",
|
|
19
19
|
"bin"
|
|
20
20
|
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"build": "nuxt-module-build build",
|
|
23
|
-
"dev": "nuxt-module-build prepare",
|
|
24
|
-
"dev:playground": "nuxi dev playground --port 3227",
|
|
25
|
-
"prepack": "nuxt-module-build build",
|
|
26
|
-
"test": "vitest run",
|
|
27
|
-
"test:watch": "vitest",
|
|
28
|
-
"test:coverage": "vitest run --coverage",
|
|
29
|
-
"release": "vitest run && nuxt-module-build build && pnpm publish --access public --no-git-checks"
|
|
30
|
-
},
|
|
31
21
|
"dependencies": {
|
|
32
22
|
"@nuxt/kit": "^3.0.0"
|
|
33
23
|
},
|
|
@@ -48,5 +38,14 @@
|
|
|
48
38
|
"happy-dom": "^17.0.0",
|
|
49
39
|
"nuxt": "^3.0.0",
|
|
50
40
|
"vitest": "^4.0.0"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "nuxt-module-build build",
|
|
44
|
+
"dev": "nuxt-module-build prepare",
|
|
45
|
+
"dev:playground": "nuxi dev playground --port 3227",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"test:coverage": "vitest run --coverage",
|
|
49
|
+
"release": "vitest run && nuxt-module-build build && pnpm publish --access public --no-git-checks"
|
|
51
50
|
}
|
|
52
|
-
}
|
|
51
|
+
}
|