@devcoffee/nuxt-core 1.0.0 → 1.0.2
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/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/package.json +64 -68
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useLogger, defineNuxtModule, createResolver, addServerImportsDir, addServerPlugin, addImportsDir, addPlugin } from '@nuxt/kit';
|
|
2
2
|
import { merge } from 'lodash-es';
|
|
3
3
|
|
|
4
|
-
const version = "1.0.
|
|
4
|
+
const version = "1.0.2";
|
|
5
5
|
|
|
6
6
|
const defaultModuleOptions = {
|
|
7
7
|
logging: {
|
|
@@ -59,7 +59,7 @@ const module = defineNuxtModule({
|
|
|
59
59
|
addPlugin({
|
|
60
60
|
mode: "all",
|
|
61
61
|
name: "devcoffee-nuxt-core-logging",
|
|
62
|
-
src: resolver.resolve("./runtime/app/plugins/logging
|
|
62
|
+
src: resolver.resolve("./runtime/app/plugins/logging")
|
|
63
63
|
});
|
|
64
64
|
_nuxt.hook("nitro:prepare:types", (opts) => {
|
|
65
65
|
opts.references.push({ path: resolver.resolve("./runtime/types/global.env.d.ts") });
|
package/package.json
CHANGED
|
@@ -1,69 +1,65 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@devcoffee/nuxt-core",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"@
|
|
49
|
-
"@nuxt/
|
|
50
|
-
"@nuxt/
|
|
51
|
-
"@nuxt/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
"typescript": "~5.9.3",
|
|
66
|
-
"vitest": "^3.2.4",
|
|
67
|
-
"vue-tsc": "^3.1.0"
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@devcoffee/nuxt-core",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"author": "Hieu Nguyen <hieunguyen@devcoffee.tech>",
|
|
5
|
+
"description": "devcoffee core module for Nuxt",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types.d.mts",
|
|
11
|
+
"import": "./dist/module.mjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/module.mjs",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
"*": {
|
|
17
|
+
".": [
|
|
18
|
+
"./dist/types.d.mts"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"nuxt": {
|
|
26
|
+
"module": "src/module.ts"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"dev": "npm run dev:prepare && nuxi dev playground",
|
|
30
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
31
|
+
"dev:build": "nuxi build playground",
|
|
32
|
+
"prepack": "nuxt-module-build build",
|
|
33
|
+
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"test": "vitest run",
|
|
36
|
+
"test:watch": "vitest watch",
|
|
37
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@nuxt/kit": "^4.1.3",
|
|
41
|
+
"consola": "^3.4.2",
|
|
42
|
+
"lodash-es": "^4.17.21"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
46
|
+
"@nuxt/devtools": "^2.6.5",
|
|
47
|
+
"@nuxt/eslint": "^1.9.0",
|
|
48
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
49
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
50
|
+
"@nuxt/schema": "^4.1.3",
|
|
51
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
52
|
+
"@types/lodash-es": "^4.17.12",
|
|
53
|
+
"@types/node": "latest",
|
|
54
|
+
"changelogen": "^0.6.2",
|
|
55
|
+
"cross-env": "^10.1.0",
|
|
56
|
+
"eslint": "^9.37.0",
|
|
57
|
+
"eslint-config-prettier": "^10.1.8",
|
|
58
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
59
|
+
"nuxt": "^4.1.3",
|
|
60
|
+
"prettier": "^3.6.2",
|
|
61
|
+
"typescript": "~5.9.3",
|
|
62
|
+
"vitest": "^3.2.4",
|
|
63
|
+
"vue-tsc": "^3.1.0"
|
|
64
|
+
}
|
|
69
65
|
}
|