@arcgis/lumina-compiler 4.34.0-next.70 → 4.34.0-next.71

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.
@@ -1,6 +1,7 @@
1
1
  import { ModulePath } from '../extractor/helpers/resolveType';
2
2
  import { WebTypes } from '../docs/webTypes/types';
3
3
  import { ApiJson } from '@arcgis/api-extractor';
4
+ import { LuminaOptions } from '../publicTypes';
4
5
  export type ResolvedDependencyComponents = {
5
6
  readonly packageName: string;
6
7
  readonly type: "@arcgis/lumina" | "stencil" | "unknown";
@@ -45,7 +46,7 @@ export type ResolvedDependencyComponent = ModulePath & {
45
46
  * If this does not work for one of your dependencies, provide a custom resolver
46
47
  * to autoAddImports() or useLumina().
47
48
  */
48
- export declare function initializeComponentDependencies(cwd?: string): Promise<readonly ResolvedDependencyComponents[]>;
49
+ export declare function initializeComponentDependencies(cwd?: string, options?: LuminaOptions): Promise<readonly ResolvedDependencyComponents[]>;
49
50
  export declare function retrieveComponentDependencies(): readonly ResolvedDependencyComponents[];
50
51
  export declare function retrieveFlatComponentDependencies(): ResolvedDependencyComponents["components"];
51
52
  export declare let componentDependenciesPromise: Promise<readonly ResolvedDependencyComponents[]> | undefined;
@@ -1,7 +1,7 @@
1
1
  import { DependencyInjectionMode, DependencyInjectionResult } from './utils';
2
2
  import { ResolvedDependencyComponents } from './discover';
3
3
  export declare function makeStencilLoader(baseUrl: string, dependency: ResolvedDependencyComponents, mode: DependencyInjectionMode, index: number): Promise<DependencyInjectionResult[]>;
4
- export declare function findCdnFiles(distDirectory: string): Promise<{
4
+ export declare function findCdnFiles(packageDirectory: string): Promise<{
5
5
  readonly cdnName: string;
6
6
  readonly hasCss: boolean;
7
7
  } | undefined>;