@arcgis/lumina-compiler 4.33.0-next.97 → 4.33.0-next.99
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/discover.d.ts +1 -0
- package/dist/dependencies/lumina.d.ts +2 -1
- package/dist/dependencies/stencil.d.ts +2 -1
- package/dist/index.js +1621 -1604
- package/dist/publicTypes.d.ts +8 -2
- package/dist/testing/wrapController.d.ts +1 -2
- package/package.json +5 -5
- package/dist/types/failOnJsonImport.d.ts +0 -2
package/dist/publicTypes.d.ts
CHANGED
|
@@ -249,7 +249,13 @@ export type ServeEnvironmentOptions = {
|
|
|
249
249
|
* `index.html`.
|
|
250
250
|
* In such case, you can set `extraDependencies: ["@arcgis/map-components"]`
|
|
251
251
|
*/
|
|
252
|
-
readonly extraDependencies?: string[];
|
|
252
|
+
readonly extraDependencies?: (DetailedExtraDependency | string)[];
|
|
253
|
+
};
|
|
254
|
+
export type DetailedExtraDependency = {
|
|
255
|
+
/** @example "@arcgis/map-config-components" */
|
|
256
|
+
name: string;
|
|
257
|
+
/** @example ():string => `https://example.com/arcgis-components/builds/main/cdn/map-config-components/` */
|
|
258
|
+
getCdnUrl: (context: CompilerContext) => string;
|
|
253
259
|
};
|
|
254
260
|
export type PuppeteerTestingOptions = {
|
|
255
261
|
/**
|
|
@@ -340,7 +346,7 @@ export type GenerateTypesOptions = Omit<VitePluginDtsOptions, "beforeWriteFile"
|
|
|
340
346
|
* This transformer is used only on .d.ts files of your components. Any
|
|
341
347
|
* .d.ts files for utility files or other non-entrypoint files are not
|
|
342
348
|
* affected by this transformer. For those, you can use the
|
|
343
|
-
* `
|
|
349
|
+
* `declarationTextTransformers` option.
|
|
344
350
|
*/
|
|
345
351
|
readonly declarationAstTransformers?: FileTransformer[];
|
|
346
352
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LitElement } from '@arcgis/lumina';
|
|
2
|
-
import { BaseComponent, ControllerHost } from '@arcgis/lumina/controllers';
|
|
3
2
|
/**
|
|
4
3
|
* Wrap a controller in a small component - useful when you are interested in
|
|
5
4
|
* only testing the controller behavior.
|
|
@@ -22,7 +21,7 @@ import { BaseComponent, ControllerHost } from '@arcgis/lumina/controllers';
|
|
|
22
21
|
* expect(controller.a).toEqual("a");
|
|
23
22
|
* ```
|
|
24
23
|
*/
|
|
25
|
-
export declare function wrapController<T>(controller: ((component:
|
|
24
|
+
export declare function wrapController<T>(controller: ((component: LitElement) => T) | (new (component: LitElement) => T),
|
|
26
25
|
/**
|
|
27
26
|
* An optional callback to call right after controller constructor
|
|
28
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina-compiler",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.99",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
],
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@arcgis/api-extractor": "4.33.0-next.
|
|
22
|
-
"@arcgis/components-build-utils": "4.33.0-next.
|
|
23
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
21
|
+
"@arcgis/api-extractor": "4.33.0-next.99",
|
|
22
|
+
"@arcgis/components-build-utils": "4.33.0-next.99",
|
|
23
|
+
"@arcgis/components-utils": "4.33.0-next.99",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"esbuild": "^0.24.0",
|
|
26
26
|
"glob": "^11.0.0",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"vitest-fail-on-console": "^0.7.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@arcgis/lumina": "~4.33.0-next.
|
|
40
|
+
"@arcgis/lumina": "~4.33.0-next.99"
|
|
41
41
|
}
|
|
42
42
|
}
|