@uipkge/nuxt 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -14,20 +14,18 @@ Nuxt module for [i18now](https://i18now.com) — loads translations from the i18
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- npm install @uipkge/nuxt
17
+ npm install @uipkge/nuxt @nuxtjs/i18n
18
18
  # or
19
- pnpm add @uipkge/nuxt
19
+ pnpm add @uipkge/nuxt @nuxtjs/i18n
20
20
  ```
21
21
 
22
- `@nuxtjs/i18n` is a dependency and will be installed automatically.
23
-
24
22
  ## Setup
25
23
 
26
24
  Add the module to `nuxt.config.ts`:
27
25
 
28
26
  ```ts
29
27
  export default defineNuxtConfig({
30
- modules: ['@uipkge/nuxt'],
28
+ modules: ['@nuxtjs/i18n', '@uipkge/nuxt'],
31
29
 
32
30
  i18now: {
33
31
  projectId: process.env.I18NOW_PROJECT_ID ?? '',
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.1.2",
7
+ "version": "0.1.4",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipkge/nuxt",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,19 +12,9 @@
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
- "scripts": {
16
- "build": "nuxt-module-build build",
17
- "dev": "nuxt-module-build prepare",
18
- "dev:playground": "nuxi dev playground",
19
- "prepack": "nuxt-module-build build",
20
- "test": "vitest run",
21
- "test:watch": "vitest",
22
- "test:coverage": "vitest run --coverage",
23
- "release": "vitest run && nuxt-module-build build && npm publish --access public"
24
- },
25
15
  "dependencies": {
26
16
  "@nuxt/kit": "^3.0.0",
27
- "@uipkge/core": "workspace:*"
17
+ "@uipkge/core": "0.1.1"
28
18
  },
29
19
  "peerDependencies": {
30
20
  "vue-i18n": "^9.0.0 || ^10.0.0 || ^11.0.0",
@@ -40,8 +30,17 @@
40
30
  },
41
31
  "devDependencies": {
42
32
  "@nuxt/module-builder": "^1.0.0",
43
- "happy-dom": "^17.0.0",
33
+ "happy-dom": "^17.0.0",
44
34
  "nuxt": "^3.0.0",
45
35
  "vitest": "^4.0.0"
36
+ },
37
+ "scripts": {
38
+ "build": "nuxt-module-build build",
39
+ "dev": "nuxt-module-build prepare",
40
+ "dev:playground": "nuxi dev playground",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest",
43
+ "test:coverage": "vitest run --coverage",
44
+ "release": "vitest run && nuxt-module-build build && pnpm publish --access public --no-git-checks"
46
45
  }
47
- }
46
+ }