@baloise/angular-output-target 1.2.4 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.7](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.6...@baloise/angular-output-target@1.2.7) (2022-03-10)
7
+
8
+ **Note:** Version bump only for package @baloise/angular-output-target
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.2.6](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.5...@baloise/angular-output-target@1.2.6) (2022-03-09)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **angular:** export directives ([317dc94](https://github.com/baloise/stencil-ds-output-targets/commit/317dc94636c6b01930ec849ea810ca0eff2c9a33))
20
+
21
+
22
+
23
+
24
+
25
+ ## [1.2.5](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.4...@baloise/angular-output-target@1.2.5) (2022-03-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * add shared module ([1869046](https://github.com/baloise/stencil-ds-output-targets/commit/1869046d76f85b6d5916412ff7a17c0ef9cc66ff))
31
+
32
+
33
+
34
+
35
+
6
36
  ## [1.2.4](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.2.3...@baloise/angular-output-target@1.2.4) (2022-03-07)
7
37
 
8
38
 
@@ -42,9 +42,9 @@ ${declarationImports.join('\n ')}
42
42
 
43
43
  @NgModule({
44
44
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
45
- exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
45
+ imports: [BalSharedModule],
46
+ exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}, BalSharedModule],
46
47
  providers: [${providers.join(', ')}],
47
- imports: [CommonModule],
48
48
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
49
49
  })
50
50
  export class ${tagNameAsPascal}Module {
package/dist/index.cjs.js CHANGED
@@ -278,9 +278,9 @@ ${declarationImports.join('\n ')}
278
278
 
279
279
  @NgModule({
280
280
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
281
- exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
281
+ imports: [BalSharedModule],
282
+ exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}, BalSharedModule],
282
283
  providers: [${providers.join(', ')}],
283
- imports: [CommonModule],
284
284
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
285
285
  })
286
286
  export class ${tagNameAsPascal}Module {
@@ -328,7 +328,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
328
328
  const imports = `/* tslint:disable */
329
329
  /* auto-generated angular directive proxies */
330
330
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
331
- import { CommonModule } from '@angular/common';
331
+ import { BalSharedModule } from '../shared';
332
332
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
333
333
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
334
334
  const typeImports = !outputTarget.componentCorePackage
package/dist/index.js CHANGED
@@ -269,9 +269,9 @@ ${declarationImports.join('\n ')}
269
269
 
270
270
  @NgModule({
271
271
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
272
- exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
272
+ imports: [BalSharedModule],
273
+ exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}, BalSharedModule],
273
274
  providers: [${providers.join(', ')}],
274
- imports: [CommonModule],
275
275
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
276
276
  })
277
277
  export class ${tagNameAsPascal}Module {
@@ -319,7 +319,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
319
319
  const imports = `/* tslint:disable */
320
320
  /* auto-generated angular directive proxies */
321
321
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
322
- import { CommonModule } from '@angular/common';
322
+ import { BalSharedModule } from '../shared';
323
323
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
324
324
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
325
325
  const typeImports = !outputTarget.componentCorePackage
@@ -41,7 +41,7 @@ export function generateProxies(components, pkgData, outputTarget, rootDir) {
41
41
  const imports = `/* tslint:disable */
42
42
  /* auto-generated angular directive proxies */
43
43
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
44
- import { CommonModule } from '@angular/common';
44
+ import { BalSharedModule } from '../shared';
45
45
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
46
46
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
47
47
  const typeImports = !outputTarget.componentCorePackage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baloise/angular-output-target",
3
- "version": "1.2.4",
3
+ "version": "1.2.7",
4
4
  "description": "Angular output target for @stencil/core components.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -61,5 +61,5 @@
61
61
  ],
62
62
  "testURL": "http://localhost"
63
63
  },
64
- "gitHead": "f6ae78217f91317c0580c9e2ad60f8ac76c160b5"
64
+ "gitHead": "685a9448a61974dc25c73aeb12e197b5a3220a49"
65
65
  }