@arcgis/lumina-compiler 4.33.0-next.117 → 4.33.0-next.119
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/context/index.d.ts +1 -0
- package/dist/context/logger.d.ts +8 -0
- package/dist/extractor/extractor.d.ts +1 -0
- package/dist/index.js +1677 -1592
- package/dist/logger-KpGU2b3R.js +28 -0
- package/dist/plugins/buildCdn.d.ts +2 -0
- package/dist/plugins/updatePackageJson.d.ts +1 -1
- package/dist/publicTypes.d.ts +8 -10
- package/dist/puppeteerTesting/index.js +106 -101
- package/dist/tests/utils.d.ts +1 -1
- package/package.json +13 -13
package/dist/context/index.d.ts
CHANGED
|
@@ -357,5 +357,6 @@ export declare class CompilerContext {
|
|
|
357
357
|
* ```
|
|
358
358
|
*/
|
|
359
359
|
provideAssets(assets: AssetSpec[], transformers?: AssetTransformer[], apply?: CompilerContext["viteCommand"]): void;
|
|
360
|
+
logLintWarning(error: string): void;
|
|
360
361
|
logLintError(rule: keyof LintingOptions["silence"], absoluteFilePath: string, error: string): void;
|
|
361
362
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createLogger } from 'vite';
|
|
2
|
+
export declare const logger: {
|
|
3
|
+
initialize(logger: ReturnType<typeof createLogger>, root: string): void;
|
|
4
|
+
info(scope: string, message: string, file?: string): void;
|
|
5
|
+
warn(scope: string, message: string, file?: string): void;
|
|
6
|
+
error(scope: string, message: string, file?: string): void;
|
|
7
|
+
};
|
|
8
|
+
export declare function formatError<T extends Error | string>(scope: string, messageOrError: T, file?: string): T;
|
|
@@ -30,6 +30,7 @@ export declare class LuminaApiExtractor extends ApiExtractor {
|
|
|
30
30
|
* When doing full API extraction, extract additional details for a field.
|
|
31
31
|
*/
|
|
32
32
|
protected extractComponentFieldDetails(node: ts.AccessorDeclaration | ts.PropertyDeclaration, property: ApiCustomElementField): void;
|
|
33
|
+
static loggedBooleanWarning: boolean;
|
|
33
34
|
/**
|
|
34
35
|
* Find the properties given to the `@property()` decorator.
|
|
35
36
|
*/
|