@arcgis/lumina-compiler 4.34.0-next.44 → 4.34.0-next.46
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/dependencies/updateLumina.d.ts +3 -3
- package/dist/index.js +993 -1069
- package/dist/publicTypes.d.ts +0 -27
- package/dist/puppeteerTesting/vitest/matchers/index.d.ts +12 -12
- package/dist/testing/vitestTypes.d.ts +8 -0
- package/package.json +17 -12
- package/dist/plugins/buildStencilHydrate.d.ts +0 -16
package/dist/publicTypes.d.ts
CHANGED
|
@@ -113,7 +113,6 @@ export type BuildOptions = {
|
|
|
113
113
|
* Wrappers to generate.
|
|
114
114
|
*/
|
|
115
115
|
readonly wrappers?: WrappersOptions[];
|
|
116
|
-
readonly ssr?: SsrOptions;
|
|
117
116
|
};
|
|
118
117
|
export type BuildCdnOptions = {
|
|
119
118
|
/**
|
|
@@ -168,32 +167,6 @@ export type CdnChunk = {
|
|
|
168
167
|
* https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/1281
|
|
169
168
|
*/
|
|
170
169
|
export type WrappersOptions = React18WrapperOptions;
|
|
171
|
-
export type SsrOptions = {
|
|
172
|
-
/**
|
|
173
|
-
* Emit output compatible with Stencil's dist-hydrate-script build.
|
|
174
|
-
*
|
|
175
|
-
* @deprecated
|
|
176
|
-
* This option should be used to smooth the migration path from Stencil.
|
|
177
|
-
* You should instruct your SSR users to migrate to Lit's SSR implementation,
|
|
178
|
-
* and then stop using this option.
|
|
179
|
-
*
|
|
180
|
-
* @see https://stenciljs.com/docs/hydrate-app
|
|
181
|
-
* @see https://lit.dev/docs/ssr/overview/
|
|
182
|
-
*/
|
|
183
|
-
readonly stencilCompatibility?: {
|
|
184
|
-
/**
|
|
185
|
-
* @default false
|
|
186
|
-
*/
|
|
187
|
-
enabled?: boolean;
|
|
188
|
-
/**
|
|
189
|
-
* By default, the hydrate directory is output to package root, outside
|
|
190
|
-
* of dist.
|
|
191
|
-
*
|
|
192
|
-
* @default "hydrate"
|
|
193
|
-
*/
|
|
194
|
-
path?: string;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
170
|
/**
|
|
198
171
|
* Options for creating React 18 wrapper.
|
|
199
172
|
*
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const expectExtend: {
|
|
2
|
-
toEqualAttribute: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
3
|
-
toEqualAttributes: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
4
|
-
toEqualText: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
5
|
-
toHaveAttribute: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
6
|
-
toHaveClass: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
2
|
+
toEqualAttribute: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
3
|
+
toEqualAttributes: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
4
|
+
toEqualText: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
5
|
+
toHaveAttribute: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
6
|
+
toHaveClass: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
7
7
|
toHaveClasses: (element: unknown, expectClassNames: string[]) => import('@vitest/expect').SyncExpectationResult;
|
|
8
|
-
toMatchClasses: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
9
|
-
toHaveReceivedEvent: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
10
|
-
toHaveReceivedEventTimes: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
11
|
-
toHaveReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
12
|
-
toHaveFirstReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
13
|
-
toHaveLastReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
14
|
-
toHaveNthReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState>;
|
|
8
|
+
toMatchClasses: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
9
|
+
toHaveReceivedEvent: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
10
|
+
toHaveReceivedEventTimes: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
11
|
+
toHaveReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
12
|
+
toHaveFirstReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
13
|
+
toHaveLastReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
14
|
+
toHaveNthReceivedEventDetail: import('@vitest/expect').RawMatcherFn<import('@vitest/expect').MatcherState, any[]>;
|
|
15
15
|
};
|
|
16
16
|
export interface PuppeteerMatchers<R = unknown> {
|
|
17
17
|
toEqualAttribute: (expectedAttribute: string, expectedValue: unknown) => R;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type VitestBrowserModeProvider = "playwright" | "preview" | "webdriverio" | (string & {}) | undefined;
|
|
2
|
+
export type VitestPartialConfig = {
|
|
3
|
+
globalSetup?: string[] | string;
|
|
4
|
+
runner?: string;
|
|
5
|
+
include?: string[];
|
|
6
|
+
environment?: "edge-runtime" | "happy-dom" | "jsdom" | "node" | (Record<never, never> & string);
|
|
7
|
+
forceRerunTriggers?: string[];
|
|
8
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,23 +18,28 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcgis/api-extractor": "4.34.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.34.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.34.0-next.46",
|
|
22
|
+
"@arcgis/components-build-utils": "4.34.0-next.46",
|
|
23
|
+
"@arcgis/components-utils": "4.34.0-next.46",
|
|
24
24
|
"chalk": "^5.4.1",
|
|
25
|
-
"esbuild": "^0.25.
|
|
26
|
-
"glob": "^11.0.
|
|
25
|
+
"esbuild": "^0.25.5",
|
|
26
|
+
"glob": "^11.0.3",
|
|
27
27
|
"js-beautify": "^1.15.4",
|
|
28
28
|
"mime-types": "^3.0.1",
|
|
29
|
-
"sass-embedded": "^1.79.3",
|
|
30
29
|
"tslib": "^2.8.1",
|
|
31
|
-
"
|
|
32
|
-
"vite": "^6.3.4",
|
|
33
|
-
"vite-plugin-dts": "^4.5.3",
|
|
34
|
-
"vitest": "^3.1.3",
|
|
30
|
+
"vite-plugin-dts": "^4.5.4",
|
|
35
31
|
"vitest-fail-on-console": "^0.7.1"
|
|
36
32
|
},
|
|
37
33
|
"peerDependencies": {
|
|
38
|
-
"@arcgis/lumina": "~4.34.0-next.
|
|
34
|
+
"@arcgis/lumina": "~4.34.0-next.46",
|
|
35
|
+
"lit": "^3.3.0",
|
|
36
|
+
"typescript": "~5.8.3",
|
|
37
|
+
"vite": "^7.0.0",
|
|
38
|
+
"vitest": "^3.2.4"
|
|
39
|
+
},
|
|
40
|
+
"peerDependenciesMeta": {
|
|
41
|
+
"vitest": {
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Plugin } from 'vite';
|
|
2
|
-
import { CompilerContext } from '../context';
|
|
3
|
-
/**
|
|
4
|
-
* Emit output compatible with Stencil's dist-hydrate-script build.
|
|
5
|
-
*
|
|
6
|
-
* Based on https://github.com/ionic-team/stencil/blob/main/src/compiler/output-targets/dist-hydrate-script/write-hydrate-outputs.ts
|
|
7
|
-
*
|
|
8
|
-
* @deprecated
|
|
9
|
-
* This option should be used to smooth the migration path from Stencil.
|
|
10
|
-
* You should instruct your SSR users to migrate to Lit's SSR implementation,
|
|
11
|
-
* and then stop using this option.
|
|
12
|
-
*
|
|
13
|
-
* @see https://stenciljs.com/docs/hydrate-app
|
|
14
|
-
* @see https://lit.dev/docs/ssr/overview/
|
|
15
|
-
*/
|
|
16
|
-
export declare function buildStencilHydrate(context: CompilerContext): Plugin | undefined;
|