ngssm-schematics 14.2.0 → 14.2.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.
package/README.md CHANGED
@@ -87,16 +87,12 @@ Add *@fortawesome/fontawesome-free* to the project.
87
87
 
88
88
  ## add-material
89
89
 
90
- Add *@angular/material* and *@angular/flex-layout* to the project.
90
+ Add *@angular/material* to the project.
91
91
 
92
92
  - [material](https://material.angular.io/)
93
93
  ```
94
94
  ng add @angular/material
95
95
  ```
96
- - [flex-layout](https://tburleson-layouts-demos.firebaseapp.com/#/docs)
97
- ```
98
- npm install @angular/flex-layout --save
99
- ```
100
96
 
101
97
  ## Schematics associated to the state management
102
98
 
@@ -2,10 +2,10 @@ import { NgModule } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class NgssmSchematicsModule {
4
4
  }
5
- NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6
- NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
7
- NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
5
+ NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
6
+ NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
7
+ NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
9
9
  type: NgModule,
10
10
  args: [{
11
11
  declarations: [],
@@ -13,4 +13,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
13
13
  exports: []
14
14
  }]
15
15
  }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdzc20tc2NoZW1hdGljcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3NzbS1zY2hlbWF0aWNzL3NyYy9saWIvbmdzc20tc2NoZW1hdGljcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFPekMsTUFBTSxPQUFPLHFCQUFxQjs7a0hBQXJCLHFCQUFxQjttSEFBckIscUJBQXFCO21IQUFyQixxQkFBcUI7MkZBQXJCLHFCQUFxQjtrQkFMakMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsRUFBRTtvQkFDaEIsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsT0FBTyxFQUFFLEVBQUU7aUJBQ1oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtdLFxuICBpbXBvcnRzOiBbXSxcbiAgZXhwb3J0czogW11cbn0pXG5leHBvcnQgY2xhc3MgTmdzc21TY2hlbWF0aWNzTW9kdWxlIHt9XG4iXX0=
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmdzc20tc2NoZW1hdGljcy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3NzbS1zY2hlbWF0aWNzL3NyYy9saWIvbmdzc20tc2NoZW1hdGljcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFPekMsTUFBTSxPQUFPLHFCQUFxQjs7bUhBQXJCLHFCQUFxQjtvSEFBckIscUJBQXFCO29IQUFyQixxQkFBcUI7NEZBQXJCLHFCQUFxQjtrQkFMakMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsRUFBRTtvQkFDaEIsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsT0FBTyxFQUFFLEVBQUU7aUJBQ1oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtdLFxuICBpbXBvcnRzOiBbXSxcbiAgZXhwb3J0czogW11cbn0pXG5leHBvcnQgY2xhc3MgTmdzc21TY2hlbWF0aWNzTW9kdWxlIHt9XG4iXX0=
@@ -3,10 +3,10 @@ import { NgModule } from '@angular/core';
3
3
 
4
4
  class NgssmSchematicsModule {
5
5
  }
6
- NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
8
- NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
6
+ NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
8
+ NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"ngssm-schematics.mjs","sources":["../../../projects/ngssm-schematics/src/lib/ngssm-schematics.module.ts","../../../projects/ngssm-schematics/src/public-api.ts","../../../projects/ngssm-schematics/src/ngssm-schematics.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: []\n})\nexport class NgssmSchematicsModule {}\n","/*\n * Public API Surface of ngssm-schematics\n */\n\nexport * from './lib/ngssm-schematics.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;mHAArB,qBAAqB,EAAA,CAAA,CAAA;mHAArB,qBAAqB,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;iBACZ,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngssm-schematics.mjs","sources":["../../../projects/ngssm-schematics/src/lib/ngssm-schematics.module.ts","../../../projects/ngssm-schematics/src/public-api.ts","../../../projects/ngssm-schematics/src/ngssm-schematics.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: []\n})\nexport class NgssmSchematicsModule {}\n","/*\n * Public API Surface of ngssm-schematics\n */\n\nexport * from './lib/ngssm-schematics.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;iBACZ,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
@@ -3,10 +3,10 @@ import { NgModule } from '@angular/core';
3
3
 
4
4
  class NgssmSchematicsModule {
5
5
  }
6
- NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
8
- NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule });
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
6
+ NgssmSchematicsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ NgssmSchematicsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
8
+ NgssmSchematicsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImport: i0, type: NgssmSchematicsModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"ngssm-schematics.mjs","sources":["../../../projects/ngssm-schematics/src/lib/ngssm-schematics.module.ts","../../../projects/ngssm-schematics/src/public-api.ts","../../../projects/ngssm-schematics/src/ngssm-schematics.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: []\n})\nexport class NgssmSchematicsModule {}\n","/*\n * Public API Surface of ngssm-schematics\n */\n\nexport * from './lib/ngssm-schematics.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;mHAArB,qBAAqB,EAAA,CAAA,CAAA;mHAArB,qBAAqB,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"ngssm-schematics.mjs","sources":["../../../projects/ngssm-schematics/src/lib/ngssm-schematics.module.ts","../../../projects/ngssm-schematics/src/public-api.ts","../../../projects/ngssm-schematics/src/ngssm-schematics.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: []\n})\nexport class NgssmSchematicsModule {}\n","/*\n * Public API Surface of ngssm-schematics\n */\n\nexport * from './lib/ngssm-schematics.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngssm-schematics",
3
- "version": "14.2.0",
3
+ "version": "14.2.2",
4
4
  "description": "NgSsm - Some schematics to initialize application and for ngssm-store.",
5
5
  "author": "Lion Marc",
6
6
  "license": "MIT",
@@ -1,28 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const schematics_1 = require("@angular-devkit/schematics");
4
- const dependencies_1 = require("@schematics/angular/utility/dependencies");
5
- function addFlexLayoutDependency() {
6
- return (host, context) => {
7
- const dependencies = [{ type: dependencies_1.NodeDependencyType.Default, version: '>=14.0.0-beta', name: '@angular/flex-layout' }];
8
- dependencies.forEach((dependency) => {
9
- (0, dependencies_1.addPackageJsonDependency)(host, dependency);
10
- context.logger.log('info', `"${dependency.name}" added into ${dependency.type}`);
11
- });
12
- return host;
13
- };
14
- }
15
4
  function default_1() {
16
5
  return (_, context) => {
17
- context.logger.info('Starting installation and configuration of @angular/material and @angular/flex-layout');
6
+ context.logger.info('Starting installation and configuration of @angular/material');
18
7
  return (0, schematics_1.chain)([
19
8
  (0, schematics_1.externalSchematic)('@angular/material', 'ng-add', {
20
9
  animations: 'enabled',
21
10
  theme: 'custom',
22
11
  typography: false
23
12
  }),
24
- addFlexLayoutDependency(),
25
- (__, ___) => context.logger.info('✔️ @angular/material and @angular/flex-layout installed and configured')
13
+ (__, ___) => context.logger.info('✔️ @angular/material installed and configured')
26
14
  ]);
27
15
  };
28
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/ngssm-schematics/schematics/add-material/index.ts"],"names":[],"mappings":";;AAAA,2DAAoG;AACpG,2EAAwH;AAExH,SAAS,uBAAuB;IAC9B,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,MAAM,YAAY,GAAqB,CAAC,EAAE,IAAI,EAAE,iCAAkB,CAAC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC;QAEtI,YAAY,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;YAClC,IAAA,uCAAwB,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;YAC3C,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,UAAU,CAAC,IAAI,gBAAgB,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC;QACnF,CAAC,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAED;IACE,OAAO,CAAC,CAAO,EAAE,OAAyB,EAAE,EAAE;QAC5C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,uFAAuF,CAAC,CAAC;QAE7G,OAAO,IAAA,kBAAK,EAAC;YACX,IAAA,8BAAiB,EAAC,mBAAmB,EAAE,QAAQ,EAAE;gBAC/C,UAAU,EAAE,SAAS;gBACrB,KAAK,EAAE,QAAQ;gBACf,UAAU,EAAE,KAAK;aAClB,CAAC;YACF,uBAAuB,EAAE;YACzB,CAAC,EAAQ,EAAE,GAAqB,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,wEAAwE,CAAC;SACnI,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAdD,4BAcC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/ngssm-schematics/schematics/add-material/index.ts"],"names":[],"mappings":";;AAAA,2DAAoG;AAEpG;IACE,OAAO,CAAC,CAAO,EAAE,OAAyB,EAAE,EAAE;QAC5C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,8DAA8D,CAAC,CAAC;QAEpF,OAAO,IAAA,kBAAK,EAAC;YACX,IAAA,8BAAiB,EAAC,mBAAmB,EAAE,QAAQ,EAAE;gBAC/C,UAAU,EAAE,SAAS;gBACrB,KAAK,EAAE,QAAQ;gBACf,UAAU,EAAE,KAAK;aAClB,CAAC;YACF,CAAC,EAAQ,EAAE,GAAqB,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+CAA+C,CAAC;SAC1G,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAbD,4BAaC"}
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
3
  "$id": "SchematicsAddMaterial",
4
- "title": "Material and flex-layout installation",
4
+ "title": "Material installation",
5
5
  "type": "object",
6
- "description": "Install and configure material and flex-layout",
6
+ "description": "Install and configure material",
7
7
  "additionalProperties": false,
8
8
  "properties": {
9
9
  },
@@ -13,7 +13,7 @@
13
13
  "schema": "./add-eslint/schema.json"
14
14
  },
15
15
  "add-material": {
16
- "description": "Add @angular/material and @angular/flex-layout to the project",
16
+ "description": "Add @angular/material to the project",
17
17
  "factory": "./add-material/index",
18
18
  "schema": "./add-material/schema.json"
19
19
  },
@@ -1,7 +1,7 @@
1
1
  export interface Schema {
2
2
  /** Wheter eslint and prettier must be installed and configured */
3
3
  addEslint: boolean;
4
- /** Whether @angular/material and @angular/flex-layout must be installed and configured */
4
+ /** Whether @angular/material must be installed and configured */
5
5
  addMaterial: boolean;
6
6
  /** Whether @fortawesome/fontawesome-free must be installed and configured */
7
7
  addFontawesome: boolean;