@coolon/angular-ui-powerups 2.0.1 → 2.0.2

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.
Files changed (19) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +11 -14
  3. package/schematics/bootstrap-app/index.js +1 -1
  4. package/schematics/bootstrap-app/index.js.map +1 -1
  5. package/schematics/bootstrap-app/templates/app/auth/{auth.module.ts → auth.module.ts.template} +1 -1
  6. package/schematics/bootstrap-app/templates/app/places/home/{home.component.spec.ts → home.component.spec.ts.template} +1 -1
  7. package/schematics/bootstrap-app/templates/app/places/home/{home.component.ts → home.component.ts.template} +1 -1
  8. package/schematics/bootstrap-app/templates/app/auth/auth.guard.spec.ts +0 -15
  9. /package/schematics/bootstrap-app/templates/app/{app-routing.module.ts → app-routing.module.ts.template} +0 -0
  10. /package/schematics/bootstrap-app/templates/app/auth/{auth.guard.ts → auth.guard.ts.template} +0 -0
  11. /package/schematics/bootstrap-app/templates/app/auth/{auth.service.ts → auth.service.ts.template} +0 -0
  12. /package/schematics/bootstrap-app/templates/app/{i18n.ts → i18n.ts.template} +0 -0
  13. /package/schematics/bootstrap-app/templates/app/places/home/{home.component.html → home.component.html.template} +0 -0
  14. /package/schematics/bootstrap-app/templates/app/places/home/{home.component.scss → home.component.scss.template} +0 -0
  15. /package/schematics/bootstrap-app/templates/app/places/{place-routes.ts → place-routes.ts.template} +0 -0
  16. /package/schematics/bootstrap-app/templates/app/places/{places.json5 → places.json5.template} +0 -0
  17. /package/schematics/bootstrap-app/templates/i18n/{config.json → config.json.template} +0 -0
  18. /package/schematics/bootstrap-app/templates/i18n/{notifications.yml → notifications.yml.template} +0 -0
  19. /package/schematics/bootstrap-app/templates/i18n/places/{home.yml → home.yml.template} +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.0.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.1...v2.0.2) (2020-09-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fixed schematic packaging issue ([7c0c5c6](https://bitbucket.org/coolon/angular-ui-powerups/commit/7c0c5c60ea457eae2b689ca947000dd86a698d5e))
11
+
5
12
  ### [2.0.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0...v2.0.1) (2020-09-12)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,24 +1,13 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "dependencies": {
6
6
  "@coolon/typescript-utilities": "^2.0.0",
7
7
  "@typescript-plus/fast-memoize-decorator": "^0.1.0",
8
8
  "json5": "^2.1.0",
9
9
  "ts-morph": "^7.0.3",
10
- "@angular/router": "^9.1.9",
11
- "@coolon/angular-ui-powerups": "file:dist/libs/angular-ui-powerups",
12
- "@angular/forms": "^9.1.9",
13
- "@angular/platform-browser": "^9.1.9",
14
- "typescript-string-enums": "^1.0.0",
15
- "factory.ts": "^0.5.1",
16
- "faker": "^4.1.0",
17
- "@angular/platform-browser-dynamic": "^9.1.9",
18
- "@angular/flex-layout": "^9.0.0-beta.31",
19
- "rxjs": "~6.5.5",
20
- "reflect-metadata": "^0.1.13",
21
- "zone.js": "~0.10.2"
10
+ "typescript-string-enums": "^1.0.0"
22
11
  },
23
12
  "peerDependencies": {
24
13
  "@angular/common": "^9.1.9",
@@ -26,11 +15,19 @@
26
15
  "@angular/material": "^9.2.4",
27
16
  "@angular/animations": "^9.1.9",
28
17
  "@angular/cdk": "^9.2.4",
29
- "@coolon/pectin": ">=3.0.0-alpha.27",
18
+ "@coolon/pectin": ">=3.0.0",
30
19
  "resize-observer-polyfill": "^1.5.1",
31
20
  "@fortawesome/angular-fontawesome": "^0.6.1",
32
21
  "@fortawesome/fontawesome-svg-core": "^1.2.28",
33
22
  "@fortawesome/free-solid-svg-icons": "^5.13.0",
23
+ "@angular/forms": "^9.1.9",
24
+ "@angular/platform-browser": "^9.1.9",
25
+ "@angular/platform-browser-dynamic": "^9.1.9",
26
+ "@angular/flex-layout": "^9.0.0-beta.31",
27
+ "@angular/router": "^9.1.9",
28
+ "rxjs": "~6.5.5",
29
+ "reflect-metadata": "^0.1.13",
30
+ "zone.js": "~0.10.2",
34
31
  "tslib": "^1.10.0"
35
32
  },
36
33
  "main": "bundles/coolon-angular-ui-powerups.umd.js",
@@ -18,7 +18,7 @@ function bootstrapApp(_options) {
18
18
  _options.project = workspace.defaultProject;
19
19
  }
20
20
  const templateSource = schematics_1.apply(schematics_1.url('./templates'), [
21
- schematics_1.template(Object.assign(Object.assign({}, _options), core_1.strings)),
21
+ schematics_1.applyTemplates(Object.assign(Object.assign({}, _options), core_1.strings)),
22
22
  schematics_1.move(`apps/${_options.project}/src`),
23
23
  ]);
24
24
  const fileMerge = schematics_1.mergeWith(templateSource, schematics_1.MergeStrategy.Overwrite);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/bootstrap-app/index.ts"],"names":[],"mappings":";;AAAA,+CAA6D;AAC7D,2DAUoC;AACpC,kDAAoD;AAGpD,yFAAyF;AAEzF,SAAgB,YAAY,CAAC,QAAgB;IAE3C,OAAO,CAAC,IAAU,EAAE,QAA0B,EAAE,EAAE;QAGhD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;SACnE;QAED,8BAA8B;QAC9B,MAAM,gBAAgB,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAC;QAEpD,0CAA0C;QAC1C,MAAM,SAAS,GAA2C,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAEvF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AAE;AACF,yDAAyD;AACzD,EAAE;AACF,qDAAqD;AACrD,8CAA8C;AAC9C,UAAU;AACV,4EAA4E;AAC5E,EAAE;AACF,2BAA2B;AAC3B,kBAAkB;AAClB,UAAU;AACV,EAAE;AACF,2CAA2C;AAC3C,OAAO;AACP,IAAI;AAGJ,oDAAoD;AACpD,yDAAyD;AACzD,2EAA2E;AAC3E,mBAAmB;AACnB,OAAO;AACP,IAAI;AACJ,EAAE;AACF,qDAAqD;AACrD,yDAAyD;AACzD,oEAAoE;AACpE,mBAAmB;AACnB,OAAO;AACP,IAAI"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/bootstrap-app/index.ts"],"names":[],"mappings":";;AAAA,+CAA6D;AAC7D,2DAUoC;AACpC,kDAAoD;AAGpD,yFAAyF;AAEzF,SAAgB,YAAY,CAAC,QAAgB;IAE3C,OAAO,CAAC,IAAU,EAAE,QAA0B,EAAE,EAAE;QAGhD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;SACnE;QAED,8BAA8B;QAC9B,MAAM,gBAAgB,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAC;QAEpD,0CAA0C;QAC1C,MAAM,SAAS,GAA2C,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAEvF,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE;YACrB,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC,cAAc,CAAC;SAC7C;QAED,MAAM,cAAc,GAAG,kBAAK,CAC1B,gBAAG,CAAC,aAAa,CAAC,EAAE;YAClB,2BAAc,iCAAM,QAAQ,GAAK,cAAO,EAAG;YAC3C,iBAAI,CAAC,QAAQ,QAAQ,CAAC,OAAO,MAAM,CAAC;SACrC,CAAC,CAAC;QACL,MAAM,SAAS,G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ACzD,oEAAoE;AACpE,mBAAmB;AACnB,OAAO;AACP,IAAI"}
@@ -1,5 +1,5 @@
1
1
  import { NgModule } from '@angular/core';
2
- import { AuthGuard } from './auth.guard';
2
+ import { AuthGuard } from './auth.guard.ts.template';
3
3
 
4
4
  @NgModule({
5
5
  declarations: [],
@@ -1,6 +1,6 @@
1
1
  import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2
2
 
3
- import { HomeComponent } from './home.component';
3
+ import { HomeComponent } from './home.component.ts.template';
4
4
 
5
5
  describe('HomeComponent', () => {
6
6
  let component: HomeComponent;
@@ -1,6 +1,6 @@
1
1
  import { Component, OnInit } from '@angular/core';
2
2
  import { Place, PlaceComponent } from '@coolon/angular-ui-powerups';
3
- import { I18n } from '../../i18n';
3
+ import { I18n } from '../../i18n.ts.template';
4
4
 
5
5
  @Place({
6
6
  path: 'home',
@@ -1,15 +0,0 @@
1
- import { TestBed, async, inject } from '@angular/core/testing';
2
-
3
- import { AuthGuard } from './auth.guard';
4
-
5
- describe('AuthGuard', () => {
6
- beforeEach(() => {
7
- TestBed.configureTestingModule({
8
- providers: [AuthGuard]
9
- });
10
- });
11
-
12
- it('should ...', inject([AuthGuard], (guard: AuthGuard) => {
13
- expect(guard).toBeTruthy();
14
- }));
15
- });