@stencil/angular-output-target
Advanced tools
Comparing version 0.7.2-dev.11691592740.18e8ffbc to 0.7.2-dev.11691677969.1304fff5
@@ -511,2 +511,3 @@ 'use strict'; | ||
let validatedOutputTarget; | ||
const angularOutputTarget = (outputTarget) => ({ | ||
@@ -516,7 +517,7 @@ type: 'custom', | ||
validate(config) { | ||
return normalizeOutputTarget(config, outputTarget); | ||
validatedOutputTarget = normalizeOutputTarget(config, outputTarget); | ||
}, | ||
async generator(config, compilerCtx, buildCtx) { | ||
const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true); | ||
await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config); | ||
await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config); | ||
timespan.finish(`generate angular proxies finished`); | ||
@@ -523,0 +524,0 @@ }, |
@@ -503,2 +503,3 @@ import path from 'path'; | ||
let validatedOutputTarget; | ||
const angularOutputTarget = (outputTarget) => ({ | ||
@@ -508,7 +509,7 @@ type: 'custom', | ||
validate(config) { | ||
return normalizeOutputTarget(config, outputTarget); | ||
validatedOutputTarget = normalizeOutputTarget(config, outputTarget); | ||
}, | ||
async generator(config, compilerCtx, buildCtx) { | ||
const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true); | ||
await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config); | ||
await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config); | ||
timespan.finish(`generate angular proxies finished`); | ||
@@ -515,0 +516,0 @@ }, |
import { OutputTypes, normalizePath } from './utils'; | ||
import { angularDirectiveProxyOutput } from './output-angular'; | ||
import path from 'path'; | ||
let validatedOutputTarget; | ||
export const angularOutputTarget = (outputTarget) => ({ | ||
@@ -8,7 +9,7 @@ type: 'custom', | ||
validate(config) { | ||
return normalizeOutputTarget(config, outputTarget); | ||
validatedOutputTarget = normalizeOutputTarget(config, outputTarget); | ||
}, | ||
async generator(config, compilerCtx, buildCtx) { | ||
const timespan = buildCtx.createTimeSpan(`generate angular proxies started`, true); | ||
await angularDirectiveProxyOutput(compilerCtx, outputTarget, buildCtx.components, config); | ||
await angularDirectiveProxyOutput(compilerCtx, validatedOutputTarget, buildCtx.components, config); | ||
timespan.finish(`generate angular proxies finished`); | ||
@@ -15,0 +16,0 @@ }, |
@@ -26,3 +26,3 @@ /** | ||
* - `component` - Generate many component wrappers tied to a single Angular module (lazy/hydrated approach). | ||
* - `scam` - @experimental Generate a Single Component Angular Module for each component. | ||
* - `scam` - **Experimental** - Generate a Single Component Angular Module for each component. | ||
* - `standalone` - Generate a component with the `standalone` flag set to `true`. | ||
@@ -29,0 +29,0 @@ */ |
{ | ||
"name": "@stencil/angular-output-target", | ||
"version": "0.7.2-dev.11691592740.18e8ffbc", | ||
"version": "0.7.2-dev.11691677969.1304fff5", | ||
"description": "Angular output target for @stencil/core components.", | ||
@@ -61,3 +61,3 @@ "main": "dist/index.cjs.js", | ||
}, | ||
"gitHead": "8e8ffbccb48cd9a2584e09710677d47e1ffce5b9", | ||
"gitHead": "304fff5690890bd3baf8fd4ea5041f544889b1ee", | ||
"volta": { | ||
@@ -64,0 +64,0 @@ "extends": "../../package.json" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100132
1943