@nuxt/module-builder 0.3.0 → 0.3.1
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/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import mri from 'mri';
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
|
-
import { b as buildModule } from './shared/module-builder.
|
|
4
|
+
import { b as buildModule } from './shared/module-builder.0966342c.mjs';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'url';
|
|
7
7
|
import 'consola';
|
package/dist/index.mjs
CHANGED
|
@@ -94,6 +94,10 @@ ${schemaShims.length ? `declare module '@nuxt/schema' {
|
|
|
94
94
|
${schemaShims.join("\n")}
|
|
95
95
|
}
|
|
96
96
|
` : ""}
|
|
97
|
+
${schemaShims.length ? `declare module 'nuxt/schema' {
|
|
98
|
+
${schemaShims.join("\n")}
|
|
99
|
+
}
|
|
100
|
+
` : ""}
|
|
97
101
|
|
|
98
102
|
export { ${typeExports[0].names.join(", ")} } from './module'
|
|
99
103
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/module-builder",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Complete solution to build Nuxt Modules",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,24 +25,26 @@
|
|
|
25
25
|
"nuxt-module-build": "jiti ./src/cli.ts",
|
|
26
26
|
"prepack": "pnpm build",
|
|
27
27
|
"release": "pnpm test && standard-version && git push --follow-tags && npm publish",
|
|
28
|
-
"test": "pnpm
|
|
28
|
+
"test": "pnpm vitest"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"consola": "^3.0
|
|
31
|
+
"consola": "^3.1.0",
|
|
32
32
|
"mlly": "^1.2.0",
|
|
33
33
|
"mri": "^1.2.0",
|
|
34
34
|
"pathe": "^1.1.0",
|
|
35
|
-
"unbuild": "^1.2.
|
|
35
|
+
"unbuild": "^1.2.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@nuxt/kit": "^3.4.
|
|
39
|
-
"@nuxt/schema": "^3.4.
|
|
38
|
+
"@nuxt/kit": "^3.4.3",
|
|
39
|
+
"@nuxt/schema": "^3.4.3",
|
|
40
40
|
"@nuxtjs/eslint-config-typescript": "^12.0.0",
|
|
41
41
|
"@types/mri": "^1.1.1",
|
|
42
|
-
"@types/node": "^18.
|
|
43
|
-
"
|
|
42
|
+
"@types/node": "^18.16.3",
|
|
43
|
+
"@vitest/coverage-c8": "^0.30.1",
|
|
44
|
+
"eslint": "^8.39.0",
|
|
44
45
|
"jiti": "^1.18.2",
|
|
45
|
-
"nuxt": "^3.4.
|
|
46
|
-
"standard-version": "^9.5.0"
|
|
46
|
+
"nuxt": "^3.4.3",
|
|
47
|
+
"standard-version": "^9.5.0",
|
|
48
|
+
"vitest": "^0.30.1"
|
|
47
49
|
}
|
|
48
50
|
}
|