@baloise/angular-output-target 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.1.1](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.1.0...@baloise/angular-output-target@1.1.1) (2022-01-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **angular:** add common module ([6387334](https://github.com/baloise/stencil-ds-output-targets/commit/63873341511fe0dfe9490fda06bb785df3fc1404))
12
+ * **angular:** add common module ([10798bb](https://github.com/baloise/stencil-ds-output-targets/commit/10798bb22e435a87cf12d0ccd6d868ff0314f685))
13
+
14
+
15
+
16
+
17
+
6
18
  # [1.1.0](https://github.com/baloise/stencil-ds-output-targets/compare/@baloise/angular-output-target@1.0.26...@baloise/angular-output-target@1.1.0) (2022-01-31)
7
19
 
8
20
 
@@ -44,6 +44,7 @@ ${declarationImports.join('\n ')}
44
44
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
45
45
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
46
46
  providers: [${providers.join(', ')}],
47
+ imports: [CommonModule],
47
48
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
48
49
  })
49
50
  export class ${tagNameAsPascal}Module {
package/dist/index.cjs.js CHANGED
@@ -280,6 +280,7 @@ ${declarationImports.join('\n ')}
280
280
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
281
281
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
282
282
  providers: [${providers.join(', ')}],
283
+ imports: [CommonModule],
283
284
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
284
285
  })
285
286
  export class ${tagNameAsPascal}Module {
@@ -334,6 +335,7 @@ function generateAllComponentModule(components, outputTarget) {
334
335
  return `/* tslint:disable */
335
336
  /* auto-generated angular directive proxies */
336
337
  import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'
338
+ import { CommonModule } from '@angular/common';
337
339
  import {
338
340
  ${moduleImports.join('\n')}
339
341
  } from './proxies'
@@ -343,7 +345,7 @@ ${moduleImports.join('\n')}
343
345
  ]
344
346
 
345
347
  @NgModule({
346
- imports: [...modules],
348
+ imports: [CommonModule, ...modules],
347
349
  exports: [...modules],
348
350
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
349
351
  })
@@ -357,6 +359,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
357
359
  const imports = `/* tslint:disable */
358
360
  /* auto-generated angular directive proxies */
359
361
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
362
+ import { CommonModule } from '@angular/common';
360
363
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
361
364
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
362
365
  const typeImports = !outputTarget.componentCorePackage
package/dist/index.js CHANGED
@@ -271,6 +271,7 @@ ${declarationImports.join('\n ')}
271
271
  declarations: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
272
272
  exports: [${[tagNameAsPascal, ...cmpImports, ...declarations].join(', ')}],
273
273
  providers: [${providers.join(', ')}],
274
+ imports: [CommonModule],
274
275
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
275
276
  })
276
277
  export class ${tagNameAsPascal}Module {
@@ -325,6 +326,7 @@ function generateAllComponentModule(components, outputTarget) {
325
326
  return `/* tslint:disable */
326
327
  /* auto-generated angular directive proxies */
327
328
  import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'
329
+ import { CommonModule } from '@angular/common';
328
330
  import {
329
331
  ${moduleImports.join('\n')}
330
332
  } from './proxies'
@@ -334,7 +336,7 @@ ${moduleImports.join('\n')}
334
336
  ]
335
337
 
336
338
  @NgModule({
337
- imports: [...modules],
339
+ imports: [CommonModule, ...modules],
338
340
  exports: [...modules],
339
341
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
340
342
  })
@@ -348,6 +350,7 @@ function generateProxies(components, pkgData, outputTarget, rootDir) {
348
350
  const imports = `/* tslint:disable */
349
351
  /* auto-generated angular directive proxies */
350
352
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
353
+ import { CommonModule } from '@angular/common';
351
354
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
352
355
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
353
356
  const typeImports = !outputTarget.componentCorePackage
@@ -48,6 +48,7 @@ export function generateAllComponentModule(components, outputTarget) {
48
48
  return `/* tslint:disable */
49
49
  /* auto-generated angular directive proxies */
50
50
  import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'
51
+ import { CommonModule } from '@angular/common';
51
52
  import {
52
53
  ${moduleImports.join('\n')}
53
54
  } from './proxies'
@@ -57,7 +58,7 @@ ${moduleImports.join('\n')}
57
58
  ]
58
59
 
59
60
  @NgModule({
60
- imports: [...modules],
61
+ imports: [CommonModule, ...modules],
61
62
  exports: [...modules],
62
63
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
63
64
  })
@@ -71,6 +72,7 @@ export function generateProxies(components, pkgData, outputTarget, rootDir) {
71
72
  const imports = `/* tslint:disable */
72
73
  /* auto-generated angular directive proxies */
73
74
  import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, NgZone, EventEmitter, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
75
+ import { CommonModule } from '@angular/common';
74
76
  import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';\n`;
75
77
  const componentImports = components.map(c => `import { defineCustomElement as define${dashToPascalCase(c.tagName)} } from '${normalizePath(outputTarget.componentCorePackage || '')}/dist/components/${c.tagName}';`);
76
78
  const typeImports = !outputTarget.componentCorePackage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baloise/angular-output-target",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
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": "6074bb9ab1b327fafca6ad13c5bc07366f7d27f2"
64
+ "gitHead": "e8aa34e51d9d5669d6e036c16b17cbcf9d32a617"
65
65
  }