@ihk-gfi/lux-components-update 15.0.2 → 15.0.4

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 (88) hide show
  1. package/@angular-devkit/schematics-cli/schematic/files/README.md +28 -0
  2. package/@angular-devkit/schematics-cli/schematic/files/__dot__gitignore +18 -0
  3. package/@angular-devkit/schematics-cli/schematic/files/__dot__npmignore +3 -0
  4. package/@angular-devkit/schematics-cli/schematic/files/package.json +25 -0
  5. package/@angular-devkit/schematics-cli/schematic/files/src/collection.json +36 -0
  6. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test2 +6 -0
  7. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/files/test__INDEX__ +2 -0
  8. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index.ts +53 -0
  9. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/index_spec.ts +24 -0
  10. package/@angular-devkit/schematics-cli/schematic/files/src/my-full-schematic/schema.json +16 -0
  11. package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index.ts +27 -0
  12. package/@angular-devkit/schematics-cli/schematic/files/src/my-other-schematic/index_spec.ts +14 -0
  13. package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index.ts +26 -0
  14. package/@angular-devkit/schematics-cli/schematic/files/src/my-schematic/index_spec.ts +14 -0
  15. package/@angular-devkit/schematics-cli/schematic/files/tsconfig.json +23 -0
  16. package/@schematics/angular/application/files/src/favicon.ico.template +0 -0
  17. package/@schematics/angular/application/files/src/index.html.template +13 -0
  18. package/@schematics/angular/application/files/src/main.ts.template +13 -0
  19. package/@schematics/angular/application/files/src/styles.__style__.template +1 -0
  20. package/@schematics/angular/application/files/tsconfig.app.json.template +14 -0
  21. package/@schematics/angular/application/files/tsconfig.spec.json.template +14 -0
  22. package/@schematics/angular/class/files/__name@dasherize____type__.spec.ts.template +7 -0
  23. package/@schematics/angular/class/files/__name@dasherize____type__.ts.template +2 -0
  24. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template +6 -0
  25. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template +1 -0
  26. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +23 -0
  27. package/@schematics/angular/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +27 -0
  28. package/@schematics/angular/config/files/karma.conf.js.template +39 -0
  29. package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.spec.ts.template +8 -0
  30. package/@schematics/angular/directive/files/__name@dasherize@if-flat__/__name@dasherize__.directive.ts.template +11 -0
  31. package/@schematics/angular/e2e/files/protractor.conf.js.template +37 -0
  32. package/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template +23 -0
  33. package/@schematics/angular/e2e/files/src/app.po.ts.template +11 -0
  34. package/@schematics/angular/e2e/files/tsconfig.json.template +13 -0
  35. package/@schematics/angular/enum/files/__name@dasherize____type__.ts.template +2 -0
  36. package/@schematics/angular/interface/files/__name@dasherize____type__.ts.template +2 -0
  37. package/@schematics/angular/library/files/README.md.template +24 -0
  38. package/@schematics/angular/library/files/ng-package.json.template +7 -0
  39. package/@schematics/angular/library/files/package.json.template +12 -0
  40. package/@schematics/angular/library/files/src/__entryFile__.ts.template +7 -0
  41. package/@schematics/angular/library/files/tsconfig.lib.json.template +14 -0
  42. package/@schematics/angular/library/files/tsconfig.lib.prod.json.template +10 -0
  43. package/@schematics/angular/library/files/tsconfig.spec.json.template +14 -0
  44. package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template +11 -0
  45. package/@schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts.template +19 -0
  46. package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.spec.ts.template +8 -0
  47. package/@schematics/angular/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +13 -0
  48. package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.spec.ts.template +16 -0
  49. package/@schematics/angular/service/files/__name@dasherize@if-flat__/__name@dasherize__.service.ts.template +9 -0
  50. package/@schematics/angular/service-worker/files/ngsw-config.json.template +30 -0
  51. package/@schematics/angular/universal/files/root/tsconfig.server.json.template +14 -0
  52. package/@schematics/angular/universal/files/src/__main@stripTsExtension__.ts.template +2 -0
  53. package/@schematics/angular/universal/files/src/app/__rootModuleFileName__.template +14 -0
  54. package/@schematics/angular/web-worker/files/worker/__name@dasherize__.worker.ts.template +6 -0
  55. package/@schematics/angular/web-worker/files/worker-tsconfig/tsconfig.worker.json.template +15 -0
  56. package/@schematics/angular/workspace/files/README.md.template +27 -0
  57. package/@schematics/angular/workspace/files/__dot__editorconfig.template +16 -0
  58. package/@schematics/angular/workspace/files/__dot__gitignore.template +42 -0
  59. package/@schematics/angular/workspace/files/__dot__vscode/extensions.json.template +4 -0
  60. package/@schematics/angular/workspace/files/__dot__vscode/launch.json.template +20 -0
  61. package/@schematics/angular/workspace/files/__dot__vscode/tasks.json.template +42 -0
  62. package/@schematics/angular/workspace/files/angular.json.template +10 -0
  63. package/@schematics/angular/workspace/files/package.json.template +37 -0
  64. package/@schematics/angular/workspace/files/tsconfig.json.template +33 -0
  65. package/add-lux-components/files/app/base/license-hint/license-hint.component.html +8 -0
  66. package/add-lux-components/files/app/base/license-hint/license-hint.component.ts +24 -0
  67. package/add-lux-components/files/app/error/error.component.html +10 -0
  68. package/add-lux-components/files/app/error/error.component.scss +3 -0
  69. package/add-lux-components/files/app/error/error.component.spec.ts +49 -0
  70. package/add-lux-components/files/app/error/error.component.ts +17 -0
  71. package/add-lux-components/files/app/home/home.component.html +11 -0
  72. package/add-lux-components/files/app/home/home.component.scss +7 -0
  73. package/add-lux-components/files/app/home/home.component.ts +13 -0
  74. package/add-lux-components/files/app/profil/profil.component.html +1 -0
  75. package/add-lux-components/files/app/profil/profil.component.scss +0 -0
  76. package/add-lux-components/files/app/profil/profil.component.spec.ts +24 -0
  77. package/add-lux-components/files/app/profil/profil.component.ts +11 -0
  78. package/add-lux-components/files/assets/svg/Example.svg +6 -0
  79. package/add-lux-components/files/assets/svg/android.svg +2 -0
  80. package/add-lux-components/files/assets/svg/box.svg +690 -0
  81. package/add-lux-components/files/assets/svg/demoAppLogo.svg +1 -0
  82. package/add-lux-components/files/assets/svg/red_power_button.svg +67 -0
  83. package/add-lux-components/files/assets/svg/svg2009.svg +57457 -0
  84. package/package.json +3 -3
  85. package/update-dependencies/index.js +1 -1
  86. package/updates/15.0.0/files/src/main.ts +17 -0
  87. package/updates/15.0.0/files/src/test.ts +4 -0
  88. package/updates/15.0.0/index.js +1 -1
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@ihk-gfi/lux-components-update",
3
- "version": "15.0.2",
3
+ "version": "15.0.4",
4
4
  "description": "Schematics für die Aktualisierung von LUX-Applikationen",
5
5
  "scripts": {
6
6
  "build": "npm run clean && tsc -p tsconfig.json",
7
7
  "clean": "del-cli --force dist/",
8
8
  "husky-init": "husky install",
9
9
  "pack-copy-base-files": "copyfiles package.json README.md LICENSE ./dist",
10
- "pack-copy-template-dirs": "copyfiles -u 1 ./src/**/files/**/*.* ./dist",
10
+ "pack-copy-template-dirs": "copyfiles -e ./node_modules/** -u 1 ./**/files/** ./dist",
11
11
  "pack-update-colletion-path": "replace --silent './collection.json' './collection.json' dist/package.json",
12
12
  "pack": "npm run build && npm run pack-copy-base-files && npm run pack-copy-template-dirs && npm run pack-update-colletion-path",
13
13
  "security": "npm audit --registry=https://registry.npmjs.org --audit-level high",
14
14
  "smoketest": "npm run test && npm run pack",
15
- "test": "npm run build && tsc -p tsconfig.spec.json && jasmine dist/**/*.spec.js"
15
+ "test": "npm run build && tsc -p tsconfig.spec.json && npm run pack-copy-template-dirs && jasmine dist/**/*.spec.js"
16
16
  },
17
17
  "keywords": [
18
18
  "schematics",
@@ -38,7 +38,7 @@ function updateDependencies() {
38
38
  updateDep('pdfjs-dist', '2.13.216', addOrUpdate),
39
39
  updateDep('ngx-cookie-service', '15.0.0', addOrUpdate),
40
40
  updateDep('ngx-build-plus', '15.0.0', addOrUpdate),
41
- updateDevDep('@ihk-gfi/lux-components-update', '15.0.0', addOrUpdate),
41
+ updateDevDep('@ihk-gfi/lux-components-update', '^15.0.0', addOrUpdate),
42
42
  updateDevDep('@angular-eslint/builder', '15.2.1', updateIfExists),
43
43
  updateDevDep('@angular-eslint/eslint-plugin', '15.2.1', updateIfExists),
44
44
  updateDevDep('@angular-eslint/eslint-plugin-template', '15.2.1', updateIfExists),
@@ -0,0 +1,17 @@
1
+ /***************************************************************************************************
2
+ * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
3
+ */
4
+ import '@angular/localize/init';
5
+
6
+ import { enableProdMode } from '@angular/core';
7
+ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
8
+ import { AppModule } from './app/app.module';
9
+ import { environment } from './environments/environment';
10
+
11
+ if (environment.production) {
12
+ enableProdMode();
13
+ }
14
+
15
+ platformBrowserDynamic()
16
+ .bootstrapModule(AppModule)
17
+ .catch((err) => console.log(err));
@@ -0,0 +1,4 @@
1
+ /***************************************************************************************************
2
+ * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates.
3
+ */
4
+ import '@angular/localize/init';
@@ -107,7 +107,7 @@ function removeLuxMasterDetailMobileHelperService(options) {
107
107
  function copyAppFiles(options) {
108
108
  return (0, schematics_1.chain)([
109
109
  (0, util_1.messageInfoRule)(`Dateien werden kopiert...`),
110
- (0, files_1.moveFilesToDirectory)(options, 'files/src', '/src'),
110
+ (0, files_1.moveFilesToDirectory)(options, '/files/src', '/src'),
111
111
  (0, util_1.messageSuccessRule)(`Dateien wurden kopiert.`)
112
112
  ]);
113
113
  }