@untestutils/nuxt 0.5.1 → 0.5.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/config/index.d.mts +2 -2
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.mjs +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/runtime/index.d.mts +14 -3
- package/dist/runtime/index.d.ts +14 -3
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/nuxt-root.d.ts.map +1 -1
- package/dist/runtime/nuxt-root.mjs +0 -1
- package/dist/runtime/shared/nuxt.d.ts.map +1 -1
- package/dist/runtime/shared/nuxt.mjs +0 -1
- package/dist/runtime/suspended.d.ts.map +1 -1
- package/dist/runtime/suspended.mjs +0 -1
- package/package.json +2 -2
package/dist/config/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type DotenvOptions } from "c12";
|
|
1
2
|
import type { Nuxt, NuxtConfig, ViteConfig as NuxtViteConfig } from "@nuxt/schema";
|
|
2
|
-
import type
|
|
3
|
-
import type { InlineConfig as VitestConfig } from "vitest/node";
|
|
3
|
+
import { type InlineConfig as VitestConfig } from "vitest/node";
|
|
4
4
|
import type { Plugin, UserConfig as ViteUserConfig } from "vite";
|
|
5
5
|
type NitroRef = {
|
|
6
6
|
current?: {
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { type DotenvOptions } from 'c12';
|
|
1
2
|
import type { Nuxt, NuxtConfig, ViteConfig as NuxtViteConfig } from '@nuxt/schema';
|
|
2
|
-
import type
|
|
3
|
-
import type { InlineConfig as VitestConfig } from 'vitest/node';
|
|
3
|
+
import { type InlineConfig as VitestConfig } from 'vitest/node';
|
|
4
4
|
import type { Plugin, UserConfig as ViteUserConfig } from 'vite';
|
|
5
5
|
type NitroRef = {
|
|
6
6
|
current?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,KAAK,CAAC;AAGtD,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAW,KAAK,YAAY,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,IAAI,cAAc,EAAkB,MAAM,MAAM,CAAC;AAWjF,KAAK,QAAQ,GAAG;IAAE,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE;YAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,CAAC;AACxF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,cAAc,CAAC;IAC3B,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB,CAAC;AACF,KAAK,gBAAgB,GAAG;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;CACjC,CAAC;AACF,KAAK,oBAAoB,GAAG,cAAc,GAAG;IAC3C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,YAAY,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAC7D,M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
4
|
import { resolveModulePath } from "exsolve";
|
|
5
5
|
import process from "node:process";
|
|
6
|
-
import { version } from "vitest/node";
|
|
7
6
|
import { setupDotenv } from "c12";
|
|
8
7
|
import { getPackageInfoSync } from "local-pkg";
|
|
9
8
|
import { fileURLToPath } from "node:url";
|
|
9
|
+
import { version } from "vitest/node";
|
|
10
10
|
|
|
11
11
|
function runtimeFile(rel) {
|
|
12
12
|
return fileURLToPath(new URL(`../runtime/${rel}.mjs`, import.meta.url));
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAML,gBAAgB,EAEhB,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAS3B,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,CAAC;AAElD,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,6FAA6F;IAC7F,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,qEAAqE;IACrE,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAW3C;AAED;;;;GAIG;AACH,iBAAS,gBAAgB,CAAC,OAAO,EAAE,M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,OAAO,iBAAiB,CAAC;IAC5C,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;IACxD,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,OAAO,EAAE,OAAO,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,UAAU,EAAE,aAWxB,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAiH9C;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAE5B,MAAM,MAAM,aAAa,GAAG,OAAO,CACjC,IAAI,CACF,WAAW,EACX,KAAK,GAAG,YAAY,GAAG,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,gBAAgB,GAAG,eAAe,CAC5F,CACF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgCxB;AAED,kGAAkG;AAClG,eAAe,IAAI,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { existsSync } from "node:fs";
|
|
|
3
3
|
import { readdir } from "node:fs/promises";
|
|
4
4
|
import { dirname, join, resolve } from "pathe";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
|
-
import { defineRecipe, loopbackUrl,
|
|
6
|
+
import { assertAppRoot, defineRecipe, loopbackUrl, spawnManaged, staticDir, waitForHttpReady, withQuietLogger } from "@untestutils/core";
|
|
7
7
|
function resolveKit(rootDir) {
|
|
8
8
|
|
|
9
9
|
assertAppRoot(rootDir, "nuxt", { requirePackageJson: false });
|
package/dist/runtime/index.d.mts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* untestutils Nuxt in-process runtime utilities.
|
|
3
|
+
*
|
|
4
|
+
* Hybrid port of `@nuxt/test-utils/runtime`. These helpers run inside the
|
|
5
|
+
* `untestutils` vitest environment (see `vitest-environment-untestutils`) with
|
|
6
|
+
* the `untestutils/module` Nuxt module enabled so that `mockNuxtImport`,
|
|
7
|
+
* `mockComponent` and friends are transformed at build time.
|
|
8
|
+
*
|
|
9
|
+
* `suspended` is loaded dynamically because it imports Nuxt virtual modules
|
|
10
|
+
* (`#imports`, `#build/root-component.mjs`) that only resolve inside the test environment.
|
|
11
|
+
*/
|
|
12
|
+
import { type Component, type VNode } from "vue";
|
|
13
|
+
import { type MountingOptions, type VueWrapper } from "@vue/test-utils";
|
|
3
14
|
import type { render as testingLibraryRender } from "@testing-library/vue";
|
|
4
15
|
type Awaitable<T> = T | Promise<T>;
|
|
5
16
|
type RuntimeH3Event = {
|
|
@@ -17,7 +28,7 @@ type MountSuspendedOptions<T extends Component> = MountingOptions<T> & {
|
|
|
17
28
|
};
|
|
18
29
|
type TestingLibraryRender = typeof testingLibraryRender;
|
|
19
30
|
type RenderSuspendedOptions<T extends Component> = Parameters<TestingLibraryRender>[1] & MountSuspendedOptions<T>;
|
|
20
|
-
type RenderSuspendedResult<
|
|
31
|
+
type RenderSuspendedResult<_T extends Component = Component> = ReturnType<TestingLibraryRender> & {
|
|
21
32
|
rerender: (props?: Record<string, unknown>) => Promise<void>;
|
|
22
33
|
};
|
|
23
34
|
export type SuspendedHelpers = {
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* untestutils Nuxt in-process runtime utilities.
|
|
3
|
+
*
|
|
4
|
+
* Hybrid port of `@nuxt/test-utils/runtime`. These helpers run inside the
|
|
5
|
+
* `untestutils` vitest environment (see `vitest-environment-untestutils`) with
|
|
6
|
+
* the `untestutils/module` Nuxt module enabled so that `mockNuxtImport`,
|
|
7
|
+
* `mockComponent` and friends are transformed at build time.
|
|
8
|
+
*
|
|
9
|
+
* `suspended` is loaded dynamically because it imports Nuxt virtual modules
|
|
10
|
+
* (`#imports`, `#build/root-component.mjs`) that only resolve inside the test environment.
|
|
11
|
+
*/
|
|
12
|
+
import { type Component, type VNode } from 'vue';
|
|
13
|
+
import { type MountingOptions, type VueWrapper } from '@vue/test-utils';
|
|
3
14
|
import type { render as testingLibraryRender } from '@testing-library/vue';
|
|
4
15
|
type Awaitable<T> = T | Promise<T>;
|
|
5
16
|
type RuntimeH3Event = {
|
|
@@ -17,7 +28,7 @@ type MountSuspendedOptions<T extends Component> = MountingOptions<T> & {
|
|
|
17
28
|
};
|
|
18
29
|
type TestingLibraryRender = typeof testingLibraryRender;
|
|
19
30
|
type RenderSuspendedOptions<T extends Component> = Parameters<TestingLibraryRender>[1] & MountSuspendedOptions<T>;
|
|
20
|
-
type RenderSuspendedResult<
|
|
31
|
+
type RenderSuspendedResult<_T extends Component = Component> = ReturnType<TestingLibraryRender> & {
|
|
21
32
|
rerender: (props?: Record<string, unknown>) => Promise<void>;
|
|
22
33
|
};
|
|
23
34
|
export type SuspendedHelpers = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAe,KAAK,SAAS,EAAE,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAC9D,OAAO,EAAS,KAAK,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,KAAK,EAAE,MAAM,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS3E,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AACnC,KAAK,cAAc,GAAG;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC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GAAG,IAAI,CAItE;AAID;;;GAGG;AACH,wBAAsB,cAAc,CAAC,CAAC,SAAS,SAAS,EACtD,SAAS,EAAE,CAAC,EACZ,OAAO,GAAE,qBAAqB,CAAC,CAAC,CAAM,GACrC,OAAO,CAAC,UAAU,CAAC,CAiBrB;AAyCD;;;GAGG;AACH,wBAAsB,eAAe,CAAC,CAAC,SAAS,SAAS,EACvD,SAAS,EAAE,CAAC,EACZ,OAAO,GAAE,sBAAsB,CAAC,CAAC,CAAM,GACtC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CA8BnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt-root.d.ts","sourceRoot":"","sources":["../../src/runtime/nuxt-root.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nuxt-root.d.ts","sourceRoot":"","sources":["../../src/runtime/nuxt-root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,eAAe,EAA2C,MAAM,KAAK,CAAC;AAoCzF,QAAA,MAAM,iBAAiB,EAAE,UAAU,CAAC,OAAO,eAAe,CAkBxD,CAAC;AAEH,OAAO,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuxt.d.ts","sourceRoot":"","sources":["../../../src/runtime/shared/nuxt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nuxt.d.ts","sourceRoot":"","sources":["../../../src/runtime/shared/nuxt.ts"],"names":[],"mappings":"AAOA,kGAAkG;AAClG,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAe/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspended.d.ts","sourceRoot":"","sources":["../../src/runtime/suspended.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"suspended.d.ts","sourceRoot":"","sources":["../../src/runtime/suspended.ts"],"names":[],"mappings":"AAAA,OAAO,EAG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;SAAE,CAAA;KAAE,CAAC;CAC9E,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;KACvB;IAID,IAAI,SAAS,EAAE,SAAS,CAAC;CAC1B;AAyFD;;;GAGG;AACH,iBAAS,oBAAoB,CAC3B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,GACjD,IAAI,CAEN;AACD,iBAAS,UAAU,IAAI,IAAI,CAE1B;AAcD,iBAAS,gBAAgB,CAAC,QAAQ,EAChC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,mBAAmB,GAAG,SAAc,EAC7C,EACE,SAAS,EACT,aAAuC,EACvC,mBAAmB,EACnB,mBAAmB,EACnB,cAAqB,GACtB,EAAE,sBAAsB,GACxB,OAAO,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,CAqJ3C;AAqDD,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@untestutils/nuxt",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Nuxt recipes + in-process unit runtime, config, module, and Vitest environment",
|
|
5
5
|
"homepage": "https://s00d.github.io/untestutils/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"ufo": "^1.6.4",
|
|
93
93
|
"unimport": "^6.5.0",
|
|
94
94
|
"unplugin": "^3.3.0",
|
|
95
|
-
"@untestutils/core": "0.5.
|
|
95
|
+
"@untestutils/core": "0.5.2"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@types/estree": "^1.0.8",
|