@eui/tools 6.2.33 → 6.2.34

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 (69) hide show
  1. package/.version.properties +1 -1
  2. package/CHANGELOG.md +9 -0
  3. package/package.json +1 -1
  4. package/scripts/csdr/cli/constants.js +43 -0
  5. package/scripts/csdr/cli/package-build-backend.js +70 -0
  6. package/scripts/csdr/cli/package-build-frontend.js +300 -0
  7. package/scripts/csdr/cli/package-prompt.js +123 -0
  8. package/scripts/csdr/cli/package.js +21 -438
  9. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui15/src/app/eui-components.ts +3 -3
  10. package/scripts/csdr/cli/skeletons/virtual-remote/15.x/angular-config.json +8 -0
  11. package/scripts/csdr/cli/skeletons/virtual-remote/15.x/dependencies.json +20 -0
  12. package/scripts/csdr/config/config-utils.js +1 -0
  13. package/scripts/csdr/config/global.js +0 -170
  14. package/scripts/csdr/config/packages.js +3 -3
  15. package/scripts/csdr/config/register.js +166 -0
  16. package/scripts/csdr/init/remotes.js +4 -2
  17. package/scripts/index.js +5 -0
  18. package/scripts/csdr/cli/skeletons/package/frontend/assets/i18n/en.json +0 -3
  19. package/scripts/csdr/cli/skeletons/package/frontend/assets/i18n/fr.json +0 -3
  20. package/scripts/csdr/cli/skeletons/package/frontend/gitignore_TO_REPLACE +0 -46
  21. package/scripts/csdr/cli/skeletons/package/frontend/karma.conf.js +0 -7
  22. package/scripts/csdr/cli/skeletons/package/frontend/ng-package.json +0 -7
  23. package/scripts/csdr/cli/skeletons/package/frontend/package.json +0 -4
  24. package/scripts/csdr/cli/skeletons/package/frontend/src/index.ts +0 -7
  25. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/components/cmp1/cmp1.component.html +0 -1
  26. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/components/cmp1/cmp1.component.spec.ts.TO_REPLACE +0 -25
  27. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/components/cmp1/cmp1.component.ts +0 -14
  28. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/core/module.service.spec.ts.TO_REPLACE +0 -12
  29. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/core/module.service.ts +0 -8
  30. package/scripts/csdr/cli/skeletons/package/frontend/src/lib/module.module.ts +0 -14
  31. package/scripts/csdr/cli/skeletons/package/frontend/src/test.ts.TO_REPLACE +0 -22
  32. package/scripts/csdr/cli/skeletons/package/frontend/tsconfig.lib.json +0 -32
  33. package/scripts/csdr/cli/skeletons/package/frontend/tsconfig.spec.json +0 -17
  34. package/scripts/csdr/cli/skeletons/package/frontend/tslint.json +0 -17
  35. package/scripts/csdr/cli/skeletons/package/frontend-eui14/dependencies-composite.json +0 -3
  36. package/scripts/csdr/cli/skeletons/package/frontend-remote/angular.json +0 -76
  37. package/scripts/csdr/cli/skeletons/package/frontend-remote/browserslist +0 -10
  38. package/scripts/csdr/cli/skeletons/package/frontend-remote/dependencies-base.json +0 -2
  39. package/scripts/csdr/cli/skeletons/package/frontend-remote/dependencies-composite.json +0 -7
  40. package/scripts/csdr/cli/skeletons/package/frontend-remote/gitignore_TO_REPLACE +0 -64
  41. package/scripts/csdr/cli/skeletons/package/frontend-remote/karma.conf.js +0 -7
  42. package/scripts/csdr/cli/skeletons/package/frontend-remote/package.json_TO_REPLACE +0 -8
  43. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/dummy.scss +0 -3
  44. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/dummy.spec.ts +0 -6
  45. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/module.component.ts +0 -84
  46. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/module.ts +0 -167
  47. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/reducers/custom-route-serializer.ts +0 -28
  48. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/reducers/index.ts +0 -42
  49. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/routing.module.ts +0 -54
  50. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/assets/.gitkeep +0 -0
  51. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/assets/i18n-compiled/en.json +0 -1
  52. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/assets/i18n-compiled/fr.json +0 -1
  53. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/config/global.ts +0 -8
  54. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/config/index.ts +0 -7
  55. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/config/modules.ts +0 -12
  56. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/environments/environment.prod.ts +0 -3
  57. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/environments/environment.ts +0 -15
  58. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/favicon.ico +0 -0
  59. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/index.html +0 -10
  60. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/main.ts +0 -12
  61. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/polyfills.ts +0 -86
  62. package/scripts/csdr/cli/skeletons/package/frontend-remote/src/test.ts.TO_REPLACE +0 -20
  63. package/scripts/csdr/cli/skeletons/package/frontend-remote/tsconfig.app.json +0 -20
  64. package/scripts/csdr/cli/skeletons/package/frontend-remote/tsconfig.spec.json +0 -18
  65. package/scripts/csdr/cli/skeletons/package/frontend-remote/tslint-remote.json +0 -7
  66. package/scripts/csdr/cli/skeletons/package/frontend-remote/tslint.json +0 -17
  67. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui14/angular.json +0 -84
  68. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui14/dependencies-composite.json +0 -8
  69. package/scripts/csdr/cli/skeletons/package/frontend-remote-eui14/src/app/eui-components.ts +0 -9
@@ -1,3 +0,0 @@
1
- export const environment = {
2
- production: true,
3
- };
@@ -1,15 +0,0 @@
1
- // This file can be replaced during build by using the `fileReplacements` array.
2
- // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
3
- // The list of file replacements can be found in `angular.json`.
4
-
5
- export const environment = {
6
- production: false,
7
- };
8
-
9
- /*
10
- * In development mode, to ignore zone related error stack frames such as
11
- * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can
12
- * import the following file, but please comment it out in production mode
13
- * because it will have performance impact when throw error
14
- */
15
- // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
@@ -1,10 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <base href="/">
6
- </head>
7
- <body>
8
- dummy index.html
9
- </body>
10
- </html>
@@ -1,12 +0,0 @@
1
- import { enableProdMode } from '@angular/core';
2
- import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3
-
4
- import { AppModule } from './app/module';
5
- import { environment } from './environments/environment';
6
-
7
- if (environment.production) {
8
- enableProdMode();
9
- }
10
-
11
- platformBrowserDynamic().bootstrapModule(AppModule)
12
- .catch(err => console.log(err));
@@ -1,86 +0,0 @@
1
- /**
2
- * This file includes polyfills needed by Angular and is loaded before the app.
3
- * You can add your own extra polyfills to this file.
4
- *
5
- * This file is divided into 2 sections:
6
- * 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
7
- * 2. Application imports. Files imported after ZoneJS that should be loaded before your main
8
- * file.
9
- *
10
- * The current setup is for so-called "evergreen" browsers; the last versions of browsers that
11
- * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
12
- * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
13
- *
14
- * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
15
- */
16
-
17
- /***************************************************************************************************
18
- * BROWSER POLYFILLS
19
- */
20
-
21
- /** IE9, IE10 and IE11 requires all of the following polyfills. **/
22
- // import 'core-js/es6/symbol';
23
- // import 'core-js/es6/object';
24
- // import 'core-js/es6/function';
25
- // import 'core-js/es6/parse-int';
26
- // import 'core-js/es6/parse-float';
27
- // import 'core-js/es6/number';
28
- // import 'core-js/es6/math';
29
- // import 'core-js/es6/string';
30
- // import 'core-js/es6/date';
31
- // import 'core-js/es6/array';
32
- // import 'core-js/es6/regexp';
33
- // import 'core-js/es6/map';
34
- // import 'core-js/es6/weak-map';
35
- // import 'core-js/es6/set';
36
-
37
- /** IE10 and IE11 requires the following for NgClass support on SVG elements */
38
- // import 'classlist.js'; // Run `npm install --save classlist.js`.
39
-
40
- /** IE10 and IE11 requires the following for the Reflect API. */
41
- // import 'core-js/es6/reflect';
42
-
43
- /** Evergreen browsers require these. **/
44
- // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
45
- // import 'core-js/es7/reflect';
46
-
47
- /**
48
- * Web Animations `@angular/platform-browser/animations`
49
- * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
50
- * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
51
- **/
52
- // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
53
-
54
- /**
55
- * By default, zone.js will patch all possible macroTask and DomEvents
56
- * user can disable parts of macroTask/DomEvents patch by setting following flags
57
- */
58
-
59
- // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
60
- // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
61
- // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
62
-
63
- /*
64
- * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
65
- * with the following flag, it will bypass `zone.js` patch for IE/Edge
66
- */
67
- // (window as any).__Zone_enable_cross_context_check = true;
68
-
69
- /***************************************************************************************************
70
- * Zone JS is required by default for Angular itself.
71
- */
72
- import 'zone.js/dist/zone'; // Included with Angular CLI.
73
-
74
- /***************************************************************************************************
75
- * APPLICATION IMPORTS
76
- */
77
-
78
- /**
79
- * Date, currency, decimal and percent pipes.
80
- * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
81
- */
82
- // import 'intl'; // Run `npm install --save intl`.
83
- /**
84
- * Need to import at least one locale-data with intl.
85
- */
86
- // import 'intl/locale-data/jsonp/en';
@@ -1,20 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js/dist/zone-testing';
4
- import { getTestBed } from '@angular/core/testing';
5
- import {
6
- BrowserDynamicTestingModule,
7
- platformBrowserDynamicTesting
8
- } from '@angular/platform-browser-dynamic/testing';
9
-
10
- declare const require: any;
11
-
12
- // First, initialize the Angular testing environment.
13
- getTestBed().initTestEnvironment(
14
- BrowserDynamicTestingModule,
15
- platformBrowserDynamicTesting()
16
- );
17
- // Then we find all the tests.
18
- const context = require.context('./', true, /\.spec\.ts$/);
19
- // And load the modules.
20
- context.keys().map(context);
@@ -1,20 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/app",
5
- "module": "es2015",
6
- "target": "es2015",
7
- "types": [
8
- "node"
9
- ],
10
- "paths": {
11
- "os": ["./node_modules/empty-module/index.js"],
12
- "node-fetch": ["./node_modules/empty-module/index.js"],
13
- "zipkin": ["./node_modules/zipkin/dist/zipkin.js"]
14
- }
15
- },
16
- "exclude": [
17
- "src/test.ts",
18
- "**/*.spec.ts"
19
- ]
20
- }
@@ -1,18 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "./out-tsc/spec",
5
- "types": [
6
- "jasmine",
7
- "node"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts",
12
- "src/polyfills.ts"
13
- ],
14
- "include": [
15
- "**/*.spec.ts",
16
- "**/*.d.ts"
17
- ]
18
- }
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "../../tslint-remote.json",
3
- "rulesDirectory": [
4
- "node_modules/codelyzer",
5
- "node_modules/rxjs-tslint"
6
- ]
7
- }
@@ -1,17 +0,0 @@
1
- {
2
- "extends": "./tslint-remote.json",
3
- "rules": {
4
- "directive-selector": [
5
- true,
6
- "attribute",
7
- "app",
8
- "camelCase"
9
- ],
10
- "component-selector": [
11
- true,
12
- "element",
13
- "app",
14
- "kebab-case"
15
- ]
16
- }
17
- }
@@ -1,84 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "newProjectRoot": "apps",
5
- "projects": {
6
- "@module.full.name@": {
7
- "root": ".",
8
- "sourceRoot": "src",
9
- "projectType": "application",
10
- "prefix": "app",
11
- "schematics": {},
12
- "architect": {
13
- "build": {
14
- "builder": "ngx-build-plus:build",
15
- "options": {
16
- "deployUrl": "/mwp/assets/elements/@module.full.name@/bundles/",
17
- "outputPath": "dist",
18
- "index": "src/index.html",
19
- "main": "src/main.ts",
20
- "polyfills": "src/polyfills.ts",
21
- "tsConfig": "tsconfig.app.json",
22
- "scripts": [
23
- "./node_modules/@webcomponents/custom-elements/src/native-shim.js"
24
- ],
25
- "assets": [
26
- "src/assets"
27
- ],
28
- "styles": [
29
- "./node_modules/@eui/styles/dist/styles/eui.css"
30
- ]
31
- },
32
- "configurations": {
33
- "production": {
34
- "fileReplacements": [
35
- {
36
- "replace": "src/environments/environment.ts",
37
- "with": "src/environments/environment.prod.ts"
38
- }
39
- ],
40
- "optimization": true,
41
- "outputHashing": "all",
42
- "sourceMap": false,
43
- "extractCss": true,
44
- "namedChunks": false,
45
- "aot": true,
46
- "extractLicenses": true,
47
- "vendorChunk": false,
48
- "buildOptimizer": true
49
- },
50
- "serve-dist": {
51
- "outputPath": "serve-dist",
52
- "wath": true
53
- }
54
- }
55
- },
56
- "serve": {
57
- "builder": "./node_modules/@angular-devkit/build-angular:dev-server",
58
- "options": {
59
- "deployUrl": "/assets/elements/@module.full.name@/bundles/",
60
- "browserTarget": "@module.full.name@:build:serve-dist"
61
- },
62
- "configurations": {
63
- "production": {
64
- "browserTarget": "@module.full.name@:build:production"
65
- }
66
- }
67
- },
68
- "test": {
69
- "builder": "./node_modules/@angular-devkit/build-angular:karma",
70
- "options": {
71
- "main": "src/test.ts",
72
- "polyfills": "src/polyfills.ts",
73
- "tsConfig": "tsconfig.spec.json",
74
- "karmaConfig": "karma.conf.js",
75
- "scripts": []
76
- }
77
- }
78
- }
79
- }
80
- },
81
- "cli": {
82
- "analytics": false
83
- }
84
- }
@@ -1,8 +0,0 @@
1
- {
2
- "@eui/deps-base": "^14.0.0",
3
-
4
- "@csdr/core": "^3.0.0",
5
- "@csdr/integration": "^3.0.0",
6
-
7
- "@module.scope@/@module.name@": "^1.0.0"
8
- }
@@ -1,9 +0,0 @@
1
- import { EuiBlockContentComponentModule } from '@eui/components/eui-block-content';
2
- import { EuiButtonModule } from '@eui/components/eui-button';
3
- import { EuiLabelModule } from '@eui/components/atoms';
4
-
5
- export const EUI_COMPONENTS_MODULES = [
6
- EuiBlockContentComponentModule,
7
- EuiButtonModule,
8
- EuiLabelModule,
9
- ];