@configdirector/nuxt-sdk 1.7.0 → 1.8.0
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 +34 -0
- package/dist/module.d.mts +26 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +12 -7
- package/dist/runtime/app/composables/useConfigDirectorClient.d.mts +1 -1
- package/dist/runtime/app/composables/useConfigDirectorClient.d.ts +1 -1
- package/dist/runtime/app/composables/useConfigDirectorClientHooks.d.mts +1 -1
- package/dist/runtime/app/composables/useConfigDirectorClientHooks.d.ts +1 -1
- package/dist/runtime/app/composables/useConfigDirectorContext.mjs +8 -3
- package/dist/runtime/nitro/plugin.d.mts +1 -1
- package/dist/runtime/nitro/plugin.d.ts +1 -1
- package/dist/runtime/nitro/plugin.mjs +149 -68
- package/dist/runtime/plugin.client.mjs +186 -84
- package/dist/runtime/plugin.server.mjs +8 -3
- package/dist/runtime/server/composables/useConfigDirectorClient.d.mts +1 -1
- package/dist/runtime/server/composables/useConfigDirectorClient.d.ts +1 -1
- package/dist/runtime/server/composables/useConfigDirectorServerHooks.d.mts +1 -1
- package/dist/runtime/server/composables/useConfigDirectorServerHooks.d.ts +1 -1
- package/dist/runtime/{types-C54FjC1D.d.mts → types-Bgx2-3dY.d.mts} +1 -0
- package/dist/runtime/{types-BPvGEzJY.d.mts → types-CvmjergQ.d.mts} +6 -2
- package/dist/testing.d.mts +352 -0
- package/dist/testing.mjs +1645 -0
- package/package.json +11 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configdirector/nuxt-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Nuxt SDK for ConfigDirector. ConfigDirector is a remote configuration and feature flag service.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ConfigDirector",
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
".": {
|
|
26
26
|
"types": "./dist/module.d.mts",
|
|
27
27
|
"import": "./dist/module.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./testing": {
|
|
30
|
+
"types": "./dist/testing.d.mts",
|
|
31
|
+
"import": "./dist/testing.mjs"
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
"main": "./dist/module.mjs",
|
|
@@ -32,6 +36,9 @@
|
|
|
32
36
|
"*": {
|
|
33
37
|
".": [
|
|
34
38
|
"./dist/module.d.mts"
|
|
39
|
+
],
|
|
40
|
+
"testing": [
|
|
41
|
+
"./dist/testing.d.mts"
|
|
35
42
|
]
|
|
36
43
|
}
|
|
37
44
|
},
|
|
@@ -39,9 +46,9 @@
|
|
|
39
46
|
"dist"
|
|
40
47
|
],
|
|
41
48
|
"scripts": {
|
|
42
|
-
"build": "nuxt prepare && tsdown",
|
|
49
|
+
"build": "nuxt prepare && tsdown && tsdown --config tsdown.testing.config.js",
|
|
43
50
|
"verify:dist": "node ../../scripts/verify-dist-version.mjs",
|
|
44
|
-
"prepack": "nuxt prepare && tsdown",
|
|
51
|
+
"prepack": "nuxt prepare && tsdown && tsdown --config tsdown.testing.config.js",
|
|
45
52
|
"release": "nuxt prepare && yarn lint && yarn ci:test && yarn build && yarn verify:dist && npm publish --access public",
|
|
46
53
|
"lint": "eslint .",
|
|
47
54
|
"ci:test": "vitest run",
|
|
@@ -50,7 +57,6 @@
|
|
|
50
57
|
"typecheck": "tsc --noEmit"
|
|
51
58
|
},
|
|
52
59
|
"dependencies": {
|
|
53
|
-
"@jsonjoy.com/json-pointer": "^18.1.0",
|
|
54
60
|
"@nuxt/kit": "^3.7.0 || ^4.0.0",
|
|
55
61
|
"consola": "^3.4.2",
|
|
56
62
|
"defu": "^6.1.7",
|
|
@@ -65,6 +71,7 @@
|
|
|
65
71
|
"@types/node": "^24.13.3",
|
|
66
72
|
"changelogen": "^0.6.2",
|
|
67
73
|
"eslint": "^10.7.0",
|
|
74
|
+
"jsdom": "^30.0.1",
|
|
68
75
|
"nuxt": "^4.5.2",
|
|
69
76
|
"playwright": "^1.60.0",
|
|
70
77
|
"rimraf": "^6.1.3",
|