@stencil/angular-output-target 0.7.2-dev.11691592740.18e8ffbc → 0.7.2-dev.11691677969.1304fff5

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/index.cjs.js CHANGED
@@ -508,15 +508,16 @@ ${createImportStatement(componentLibImports, './angular-component-lib/utils')}\n
508
508
  const GENERATED_DTS = 'components.d.ts';
509
509
  const IMPORT_TYPES = 'Components';
510
510
 
511
+ let validatedOutputTarget;
511
512
  const angularOutputTarget = (outputTarget) => ({
512
513
  type: 'custom',
513
514
  name: 'angular-library',
514
515
  validate(config) {
515
- return normalizeOutputTarget(config, outputTarget);
516
+ validatedOutputTarget = normalizeOutputTarget(config, outputTarget);
516
517
  },
517
518
  async generator(config, compilerCtx, buildCtx) {
518
519
  const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true);
519
- await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config);
520
+ await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config);
520
521
  timespan.finish(`generate angular proxies finished`);
521
522
  },
522
523
  });
package/dist/index.js CHANGED
@@ -500,15 +500,16 @@ ${createImportStatement(componentLibImports, './angular-component-lib/utils')}\n
500
500
  const GENERATED_DTS = 'components.d.ts';
501
501
  const IMPORT_TYPES = 'Components';
502
502
 
503
+ let validatedOutputTarget;
503
504
  const angularOutputTarget = (outputTarget) => ({
504
505
  type: 'custom',
505
506
  name: 'angular-library',
506
507
  validate(config) {
507
- return normalizeOutputTarget(config, outputTarget);
508
+ validatedOutputTarget = normalizeOutputTarget(config, outputTarget);
508
509
  },
509
510
  async generator(config, compilerCtx, buildCtx) {
510
511
  const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true);
511
- await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config);
512
+ await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config);
512
513
  timespan.finish(`generate angular proxies finished`);
513
514
  },
514
515
  });
package/dist/plugin.js CHANGED
@@ -1,15 +1,16 @@
1
1
  import { OutputTypes, normalizePath } from './utils';
2
2
  import { angularDirectiveProxyOutput } from './output-angular';
3
3
  import path from 'path';
4
+ let validatedOutputTarget;
4
5
  export const angularOutputTarget = (outputTarget) => ({
5
6
  type: 'custom',
6
7
  name: 'angular-library',
7
8
  validate(config) {
8
- return normalizeOutputTarget(config, outputTarget);
9
+ validatedOutputTarget = normalizeOutputTarget(config, outputTarget);
9
10
  },
10
11
  async generator(config, compilerCtx, buildCtx) {
11
12
  const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true);
12
- await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config);
13
+ await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config);
13
14
  timespan.finish(`generate angular proxies finished`);
14
15
  },
15
16
  });
package/dist/types.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface OutputTargetAngular {
23
23
  /**
24
24
  * The type of output that should be generated.
25
25
  * - `component` - Generate many component wrappers tied to a single Angular module (lazy/hydrated approach).
26
- * - `scam` - @experimental Generate a Single Component Angular Module for each component.
26
+ * - `scam` - **Experimental** - Generate a Single Component Angular Module for each component.
27
27
  * - `standalone` - Generate a component with the `standalone` flag set to `true`.
28
28
  */
29
29
  outputType?: OutputType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/angular-output-target",
3
- "version": "0.7.2-dev.11691592740.18e8ffbc",
3
+ "version": "0.7.2-dev.11691677969.1304fff5",
4
4
  "description": "Angular output target for @stencil/core components.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -58,7 +58,7 @@
58
58
  ],
59
59
  "testURL": "http://localhost"
60
60
  },
61
- "gitHead": "8e8ffbccb48cd9a2584e09710677d47e1ffce5b9",
61
+ "gitHead": "304fff5690890bd3baf8fd4ea5041f544889b1ee",
62
62
  "volta": {
63
63
  "extends": "../../package.json"
64
64
  }