@eui/tools 5.0.0-rc.9 → 5.1.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/.version.properties +1 -1
- package/CHANGELOG.md +848 -21
- package/bin/eui-scripts.js +6 -6
- package/bin/scripts/build-package-sub.js +20 -0
- package/bin/scripts/version.js +12 -0
- package/global.test.js +61 -45
- package/package.json +14 -13
- package/sandbox.js +229 -6
- package/scripts/csdr/audit/audit-utils.js +2 -2
- package/scripts/csdr/cli/app.js +43 -5
- package/scripts/csdr/cli/package.js +93 -9
- package/scripts/csdr/cli/skeletons/app-eui10/angular-config.json +20 -0
- package/scripts/csdr/cli/skeletons/app-eui10/dependencies-base.json +2 -0
- package/scripts/csdr/cli/skeletons/app-eui10/dependencies-composite.json +5 -0
- package/scripts/csdr/cli/skeletons/app-eui10/gitignore_TO_REPLACE +63 -0
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/models/user.js +8 -0
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/index.js +5 -0
- package/scripts/csdr/cli/skeletons/app-eui10/mock/app/routes/user_routes.js +24 -0
- package/scripts/csdr/cli/skeletons/app-eui10/mock/db/db.json +12 -0
- package/scripts/csdr/cli/skeletons/app-eui10/mock/server.js +16 -0
- package/scripts/csdr/cli/skeletons/app-eui10/package.json +6 -0
- package/scripts/csdr/cli/skeletons/app-eui10/scripts.json +5 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-routing.module.ts +18 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app-starter.service.ts +68 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.html +29 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.component.ts +55 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/app.module.ts +27 -0
- package/scripts/{utils/pre-build/translations/common.js → csdr/cli/skeletons/app-eui10/src/app/core/components/.gitkeep} +0 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/core.module.ts +84 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/core/reducers/index.ts +33 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home-routing.module.ts +15 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.html +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.component.ts +19 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/home/home.module.ts +18 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.html +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page1/page1.component.ts +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.html +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/components/page2/page2.component.ts +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1-routing.module.ts +18 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.html +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.component.ts +8 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module1/module1.module.ts +21 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2-routing.module.ts +16 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.html +8 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.component.ts +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/features/module2/module2.module.ts +17 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/shared.module.ts +21 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/app/shared/testing/router.mock.ts +18 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/config/env-json-config.json +8 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/en.json +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/assets/i18n/fr.json +7 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/global.ts +20 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/index.ts +8 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/config/modules.ts +4 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.prod.ts +9 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/environments/environment.ts +9 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/index.html +21 -0
- package/scripts/csdr/cli/skeletons/app-eui10/src/styles.scss +1 -0
- package/scripts/csdr/cli/skeletons/app-eui10/tslint.json +17 -0
- package/scripts/csdr/cli/skeletons/app-showcase/angular-config.json +98 -28
- package/scripts/csdr/cli/skeletons/app-showcase/dependencies-composite.json +1 -1
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.component.html +16 -18
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/app.routes.ts +1 -1
- package/scripts/csdr/cli/skeletons/app-showcase/src/app/features/_home/home.module.ts +2 -2
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/angular-config.json +33 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/dependencies-composite.json +5 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/gitignore_TO_REPLACE +50 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/package.json +6 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/scripts.json +3 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app-routing.module.ts +21 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.html +26 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.component.ts +19 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/app.routes.ts +7 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home-routing.module.ts +15 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.html +7 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.component.ts +8 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/app/features/_home/home.module.ts +17 -0
- package/scripts/csdr/cli/skeletons/{app-showcase → app-showcase-eui13}/src/app/features/shared/shared.module.ts +0 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/app-metadata.json +8 -0
- package/scripts/csdr/cli/skeletons/app-showcase-eui13/src/assets/config/env-json-config.json +41 -0
- package/scripts/csdr/cli/skeletons/{app-showcase → app-showcase-eui13}/src/index.html +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/assets/i18n/en.json +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/assets/i18n/fr.json +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/gitignore_TO_REPLACE +46 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/karma.conf.js +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/ng-package.json +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/package.json +4 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/dummy.spec.ts.TO_REPLACE +5 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/index.ts +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/lib/module.ts +11 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/src/test.ts.TO_REPLACE +21 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/tsconfig.lib.json +32 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/tsconfig.spec.json +17 -0
- package/scripts/csdr/cli/skeletons/package/frontend-eui10/tslint.json +17 -0
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.html +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.spec.ts.TO_REPLACE +25 -0
- package/scripts/csdr/cli/skeletons/package/frontend-option-route/src/lib/components/cmp1/cmp1.component.ts +14 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/angular.json +3 -3
- package/scripts/csdr/cli/skeletons/package/frontend-remote/dependencies-composite.json +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/dummy.scss +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/dummy.spec.ts +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/module.component.ts +62 -28
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/module.ts +44 -39
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/app/routing.module.ts +23 -9
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/assets/i18n-compiled/en.json +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/assets/i18n-compiled/fr.json +1 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/config/global.ts +6 -5
- package/scripts/csdr/cli/skeletons/package/frontend-remote/src/index.html +1 -1
- package/scripts/csdr/cli/skeletons/package/frontend-remote/tsconfig.app.json +3 -1
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/angular.json +90 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/browserslist +10 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-base.json +2 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/dependencies-composite.json +6 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/gitignore_TO_REPLACE +64 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/karma.conf.js +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/package.json_TO_REPLACE +8 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/dummy.scss +3 -0
- package/scripts/csdr/cli/skeletons/package/{frontend-remote/src/app/dummy.spec.ts.TO_REPLACE → frontend-remote-eui10/src/app/dummy.spec.ts} +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/fallback.component.ts +11 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.component.ts +90 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/module.ts +219 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/custom-route-serializer.ts +28 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/reducers/index.ts +42 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/app/routing.module.ts +55 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/assets/.gitkeep +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/global.ts +31 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/index.ts +20 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/config/modules.ts +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.prod.ts +3 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/environments/environment.ts +15 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/favicon.ico +0 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/index.html +10 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/main.ts +12 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/polyfills.ts +86 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/src/test.ts.TO_REPLACE +20 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.app.json +20 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tsconfig.spec.json +18 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint-remote.json +7 -0
- package/scripts/csdr/cli/skeletons/package/frontend-remote-eui10/tslint.json +17 -0
- package/scripts/csdr/cli/skeletons/package/{frontend-remote → frontend-remote-eui10}/webpack.extra.js +0 -0
- package/scripts/csdr/config/angular.js +724 -83
- package/scripts/csdr/config/global.js +43 -6
- package/scripts/csdr/config/packages.js +64 -1
- package/scripts/csdr/config/projects.js +24 -6
- package/scripts/csdr/config/projects.test.js +11 -9
- package/scripts/csdr/config/sync.js +6 -3
- package/scripts/csdr/init/init-utils.js +108 -0
- package/scripts/csdr/init/init.js +11 -0
- package/scripts/csdr/init/prompt.js +3 -1
- package/scripts/csdr/init/resources/10.x/yarn.lock +16428 -0
- package/scripts/csdr/init/resources/13.x/browserslistrc +6 -0
- package/scripts/csdr/init/resources/13.x/resolutions.json +6 -0
- package/scripts/csdr/init/resources/14.x/browserslistrc +6 -0
- package/scripts/csdr/init/resources/14.x/resolutions.json +5 -0
- package/scripts/csdr/init/resources/nodejs-10.x/resolutions.json +8 -0
- package/scripts/csdr/install/build-app.js +6 -38
- package/scripts/csdr/install/build-package.js +16 -157
- package/scripts/csdr/install/common.js +19 -10
- package/scripts/csdr/install/composite-core.js +256 -0
- package/scripts/csdr/install/install-utils.js +8 -4
- package/scripts/csdr/install/local-dev.js +6 -4
- package/scripts/csdr/install/packages.js +90 -0
- package/scripts/csdr/install/projects.js +77 -0
- package/scripts/csdr/install/{remote.js → remotes.js} +46 -51
- package/scripts/csdr/metadata/app-envs.js +0 -39
- package/scripts/csdr/metadata/app-history.js +0 -66
- package/scripts/csdr/metadata/app-versions.js +2 -12
- package/scripts/csdr/metadata/app.js +49 -9
- package/scripts/csdr/metadata/common.js +23 -47
- package/scripts/csdr/metadata/metadata-utils.js +2 -0
- package/scripts/csdr/metadata/package-envs.js +71 -0
- package/scripts/csdr/metadata/package-history.js +5 -0
- package/scripts/csdr/metadata/package-versions.js +79 -0
- package/scripts/csdr/metadata/package.js +95 -105
- package/scripts/csdr/metadata/stats.js +9 -5
- package/scripts/csdr/metadata/v2/app/_app.js +21 -0
- package/scripts/csdr/metadata/v2/app/app.js +25 -0
- package/scripts/csdr/metadata/v2/app/index.js +3 -0
- package/scripts/csdr/metadata/v2/global/_global.js +21 -0
- package/scripts/csdr/metadata/v2/global/global.js +25 -0
- package/scripts/csdr/metadata/v2/global/index.js +3 -0
- package/scripts/csdr/metadata/v2/index.js +5 -0
- package/scripts/csdr/metadata/v2/migrate-devops-metadata.js +207 -0
- package/scripts/csdr/metadata/v2/package/_package.js +21 -0
- package/scripts/csdr/metadata/v2/package/index.js +3 -0
- package/scripts/csdr/metadata/v2/package/package.js +25 -0
- package/scripts/csdr/release/app/release-app.js +16 -21
- package/scripts/csdr/release/package/backend.js +26 -0
- package/scripts/csdr/release/package/common.js +220 -18
- package/scripts/csdr/release/package/release-package.js +28 -10
- package/scripts/csdr/release/package/remote.js +2 -17
- package/scripts/csdr/release/package/ui.js +86 -3
- package/scripts/csdr/sync/sync-utils.js +6 -0
- package/scripts/csdr/templates/maven-settings.template +13 -0
- package/scripts/csdr/version/app-common.js +32 -0
- package/scripts/csdr/version/app-env-target.js +5 -295
- package/scripts/csdr/version/app.js +5 -3
- package/scripts/csdr/version/common.js +282 -0
- package/scripts/csdr/version/{app-env-target.test.js → common.test.js} +48 -36
- package/scripts/csdr/version/package-common.js +158 -0
- package/scripts/csdr/version/package-default.js +144 -0
- package/scripts/csdr/version/package-remote.js +51 -0
- package/scripts/csdr/version/package.js +16 -270
- package/scripts/csdr/version/version-utils.js +12 -7
- package/scripts/utils/api-utils.js +126 -0
- package/scripts/utils/build/app/build-app-utils.js +11 -9
- package/scripts/utils/build/package/angular.js +4 -30
- package/scripts/utils/build/package/build-package-utils.js +50 -1
- package/scripts/utils/build/package/element.js +17 -18
- package/scripts/utils/build/package/nodeJs.js +2 -1
- package/scripts/utils/build/package/skeletons/elements/index.html +9 -0
- package/scripts/utils/build/package/styles.js +92 -92
- package/scripts/utils/git-utils.js +76 -6
- package/scripts/utils/index.js +3 -4
- package/scripts/utils/notification/common.js +5 -0
- package/scripts/utils/notification/mail-utils.js +3 -0
- package/scripts/utils/notification/mailstack.js +3 -5
- package/scripts/utils/notification/package.js +0 -2
- package/scripts/utils/notification/slack-utils.js +6 -7
- package/scripts/utils/pre-build/elements.js +8 -4
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton/src/_generated/app/app.module.ts +1 -1
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton/tsconfig.app.json +1 -2
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/app/app.module.ts +52 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/app/core/reducers/index.ts +40 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/config/global.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/config/index.ts +8 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/config/modules.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/environments/environment.dev.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/environments/environment.prod.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/environments/environment.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/favicon.ico +0 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/karma.conf.js +7 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/main.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/polyfills.ts +86 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/src/_generated/tst.ts +33 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/tsconfig.app.json +19 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/tsconfig.spec.json +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui13/tslint.json +17 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/app/app.module.ts +52 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/app/core/reducers/index.ts +40 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/config/global.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/config/index.ts +8 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/config/modules.ts +4 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/environments/environment.dev.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/environments/environment.prod.ts +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/environments/environment.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/favicon.ico +0 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/karma.conf.js +7 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/main.ts +21 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/polyfills.ts +86 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/src/_generated/tst.ts +33 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/tsconfig.app.json +19 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/tsconfig.spec.json +9 -0
- package/scripts/utils/pre-build/injection/app-sources-full-skeleton-eui14/tslint.json +17 -0
- package/scripts/utils/pre-build/injection/config.js +30 -31
- package/scripts/utils/pre-build/injection/externals.js +70 -72
- package/scripts/utils/pre-build/injection/injection-utils.js +2 -0
- package/scripts/utils/pre-build/injection/routes-replacement.js +322 -0
- package/scripts/utils/pre-build/injection/skeletons.js +9 -3
- package/scripts/utils/pre-build/projects.js +20 -15
- package/scripts/utils/pre-build/translations/elements.js +21 -11
- package/scripts/utils/serve/app.js +7 -4
- package/scripts/utils/test/test-utils.js +39 -1
- package/scripts/utils/tools.js +402 -290
- package/bin/scripts/csdr-jira-update.js +0 -12
- package/bin/scripts/csdr-migrate-package.js +0 -17
- package/bin/scripts/e2e-app.js +0 -62
- package/scripts/csdr/install/composite-utils.js +0 -292
- package/scripts/csdr/jira/jira-utils.js +0 -169
- package/scripts/csdr/jira/update.js +0 -153
- package/scripts/migration/eui8-migration.js +0 -94
- package/scripts/migration/migrate-utils.js +0 -191
- package/scripts/utils/confluence-utils.js +0 -126
|
@@ -85,7 +85,7 @@ const angularProjectDef = {
|
|
|
85
85
|
{
|
|
86
86
|
"type": "initial",
|
|
87
87
|
"maximumWarning": "2mb",
|
|
88
|
-
"maximumError": "
|
|
88
|
+
"maximumError": "7mb"
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
91
|
},
|
|
@@ -109,7 +109,7 @@ const angularProjectDef = {
|
|
|
109
109
|
{
|
|
110
110
|
"type": "initial",
|
|
111
111
|
"maximumWarning": "2mb",
|
|
112
|
-
"maximumError": "
|
|
112
|
+
"maximumError": "7mb"
|
|
113
113
|
}
|
|
114
114
|
]
|
|
115
115
|
},
|
|
@@ -132,14 +132,7 @@ const angularProjectDef = {
|
|
|
132
132
|
"with": "node_modules/@eui/base/assets/openid/openid-login.js"
|
|
133
133
|
}
|
|
134
134
|
],
|
|
135
|
-
"optimization":
|
|
136
|
-
"scripts": true,
|
|
137
|
-
"styles": {
|
|
138
|
-
"minify": false,
|
|
139
|
-
"inlineCritical": false
|
|
140
|
-
},
|
|
141
|
-
"fonts": true
|
|
142
|
-
},
|
|
135
|
+
"optimization": true,
|
|
143
136
|
"outputHashing": "all",
|
|
144
137
|
"sourceMap": false,
|
|
145
138
|
"extractCss": true,
|
|
@@ -152,7 +145,7 @@ const angularProjectDef = {
|
|
|
152
145
|
{
|
|
153
146
|
"type": "initial",
|
|
154
147
|
"maximumWarning": "2mb",
|
|
155
|
-
"maximumError": "
|
|
148
|
+
"maximumError": "7mb"
|
|
156
149
|
}
|
|
157
150
|
]
|
|
158
151
|
},
|
|
@@ -163,14 +156,7 @@ const angularProjectDef = {
|
|
|
163
156
|
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
164
157
|
}
|
|
165
158
|
],
|
|
166
|
-
"optimization":
|
|
167
|
-
"scripts": true,
|
|
168
|
-
"styles": {
|
|
169
|
-
"minify": false,
|
|
170
|
-
"inlineCritical": false
|
|
171
|
-
},
|
|
172
|
-
"fonts": true
|
|
173
|
-
},
|
|
159
|
+
"optimization": true,
|
|
174
160
|
"outputHashing": "all",
|
|
175
161
|
"sourceMap": false,
|
|
176
162
|
"extractCss": true,
|
|
@@ -183,7 +169,7 @@ const angularProjectDef = {
|
|
|
183
169
|
{
|
|
184
170
|
"type": "initial",
|
|
185
171
|
"maximumWarning": "2mb",
|
|
186
|
-
"maximumError": "
|
|
172
|
+
"maximumError": "7mb"
|
|
187
173
|
}
|
|
188
174
|
]
|
|
189
175
|
},
|
|
@@ -213,32 +199,611 @@ const angularProjectDef = {
|
|
|
213
199
|
}
|
|
214
200
|
}
|
|
215
201
|
},
|
|
216
|
-
"serve": {
|
|
217
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
218
|
-
"options": {
|
|
219
|
-
"browserTarget": "@project.name@:build"
|
|
202
|
+
"serve": {
|
|
203
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
204
|
+
"options": {
|
|
205
|
+
"browserTarget": "@project.name@:build"
|
|
206
|
+
},
|
|
207
|
+
"configurations": {
|
|
208
|
+
"proxy-mock": {
|
|
209
|
+
"browserTarget": "@project.name@:build",
|
|
210
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
211
|
+
},
|
|
212
|
+
"local-openid": {
|
|
213
|
+
"browserTarget": "@project.name@:build:local-openid"
|
|
214
|
+
},
|
|
215
|
+
"local-mwp-dev-openid": {
|
|
216
|
+
"browserTarget": "@project.name@:build:local-mwp-dev-openid"
|
|
217
|
+
},
|
|
218
|
+
"production": {
|
|
219
|
+
"browserTarget": "@project.name@:build:production"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
const angularProjectDefV13 = {
|
|
227
|
+
"root": "",
|
|
228
|
+
"sourceRoot": "apps/@project.name@/src",
|
|
229
|
+
"projectType": "application",
|
|
230
|
+
"prefix": "app",
|
|
231
|
+
"schematics": {
|
|
232
|
+
"@schematics/angular:component": {
|
|
233
|
+
"style": "scss"
|
|
234
|
+
},
|
|
235
|
+
"@schematics/angular:application": {
|
|
236
|
+
"strict": true
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"architect": {
|
|
240
|
+
"build": {
|
|
241
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
242
|
+
"options": {
|
|
243
|
+
"outputPath": "apps/@project.name@/dist",
|
|
244
|
+
"index": "apps/@project.name@/src/index.html",
|
|
245
|
+
"main": "apps/@project.name@/src/main.ts",
|
|
246
|
+
"polyfills": "apps/@project.name@/src/polyfills.ts",
|
|
247
|
+
"tsConfig": "apps/@project.name@/tsconfig.app.json",
|
|
248
|
+
"assets": [
|
|
249
|
+
"apps/@project.name@/src/favicon.ico",
|
|
250
|
+
"apps/@project.name@/src/assets",
|
|
251
|
+
{
|
|
252
|
+
"glob": "**/*",
|
|
253
|
+
"input": "node_modules/@eui/core/assets/",
|
|
254
|
+
"output": "./assets"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"styles": [
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"configurations": {
|
|
261
|
+
"production": {
|
|
262
|
+
"fileReplacements": [
|
|
263
|
+
{
|
|
264
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
265
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"optimization": false,
|
|
269
|
+
"outputHashing": "all",
|
|
270
|
+
"sourceMap": false,
|
|
271
|
+
"namedChunks": true,
|
|
272
|
+
"aot": true,
|
|
273
|
+
"extractLicenses": true,
|
|
274
|
+
"vendorChunk": false,
|
|
275
|
+
"buildOptimizer": false,
|
|
276
|
+
"budgets": [
|
|
277
|
+
{
|
|
278
|
+
"type": "initial",
|
|
279
|
+
"maximumWarning": "2mb",
|
|
280
|
+
"maximumError": "6mb"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"production-optimized": {
|
|
285
|
+
"fileReplacements": [
|
|
286
|
+
{
|
|
287
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
288
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"optimization": {
|
|
292
|
+
"scripts": true,
|
|
293
|
+
"styles": {
|
|
294
|
+
"minify": false,
|
|
295
|
+
"inlineCritical": true
|
|
296
|
+
},
|
|
297
|
+
"fonts": true
|
|
298
|
+
},
|
|
299
|
+
"outputHashing": "all",
|
|
300
|
+
"sourceMap": false,
|
|
301
|
+
"namedChunks": true,
|
|
302
|
+
"aot": true,
|
|
303
|
+
"extractLicenses": true,
|
|
304
|
+
"vendorChunk": false,
|
|
305
|
+
"buildOptimizer": true,
|
|
306
|
+
"budgets": [
|
|
307
|
+
{
|
|
308
|
+
"type": "initial",
|
|
309
|
+
"maximumWarning": "2mb",
|
|
310
|
+
"maximumError": "6mb"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
"development": {
|
|
315
|
+
"buildOptimizer": false,
|
|
316
|
+
"optimization": false,
|
|
317
|
+
"vendorChunk": true,
|
|
318
|
+
"extractLicenses": false,
|
|
319
|
+
"sourceMap": true,
|
|
320
|
+
"namedChunks": true
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"defaultConfiguration": "production"
|
|
324
|
+
},
|
|
325
|
+
"serve": {
|
|
326
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
327
|
+
"options": {
|
|
328
|
+
"browserTarget": "@project.name@:build"
|
|
329
|
+
},
|
|
330
|
+
"configurations": {
|
|
331
|
+
"proxy-mock": {
|
|
332
|
+
"browserTarget": "@project.name@:build",
|
|
333
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
334
|
+
},
|
|
335
|
+
"production": {
|
|
336
|
+
"browserTarget": "@project.name@:build:production"
|
|
337
|
+
},
|
|
338
|
+
"development": {
|
|
339
|
+
"browserTarget": "@project.name@:build:development"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"defaultConfiguration": "development"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
const angularProjectDefV14 = {
|
|
349
|
+
"root": "",
|
|
350
|
+
"sourceRoot": "apps/@project.name@/src",
|
|
351
|
+
"projectType": "application",
|
|
352
|
+
"prefix": "app",
|
|
353
|
+
"schematics": {
|
|
354
|
+
"@schematics/angular:component": {
|
|
355
|
+
"style": "scss"
|
|
356
|
+
},
|
|
357
|
+
"@schematics/angular:application": {
|
|
358
|
+
"strict": true
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"architect": {
|
|
362
|
+
"build": {
|
|
363
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
364
|
+
"options": {
|
|
365
|
+
"outputPath": "apps/@project.name@/dist",
|
|
366
|
+
"index": "apps/@project.name@/src/index.html",
|
|
367
|
+
"main": "apps/@project.name@/src/main.ts",
|
|
368
|
+
"polyfills": "apps/@project.name@/src/polyfills.ts",
|
|
369
|
+
"tsConfig": "apps/@project.name@/tsconfig.app.json",
|
|
370
|
+
"assets": [
|
|
371
|
+
"apps/@project.name@/src/favicon.ico",
|
|
372
|
+
"apps/@project.name@/src/assets",
|
|
373
|
+
{
|
|
374
|
+
"glob": "**/*",
|
|
375
|
+
"input": "node_modules/@eui/core/assets/",
|
|
376
|
+
"output": "./assets"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"styles": [
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
"configurations": {
|
|
383
|
+
"production": {
|
|
384
|
+
"fileReplacements": [
|
|
385
|
+
{
|
|
386
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
387
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"optimization": false,
|
|
391
|
+
"outputHashing": "all",
|
|
392
|
+
"sourceMap": false,
|
|
393
|
+
"namedChunks": true,
|
|
394
|
+
"aot": true,
|
|
395
|
+
"extractLicenses": true,
|
|
396
|
+
"vendorChunk": false,
|
|
397
|
+
"buildOptimizer": false,
|
|
398
|
+
"budgets": [
|
|
399
|
+
{
|
|
400
|
+
"type": "initial",
|
|
401
|
+
"maximumWarning": "2mb",
|
|
402
|
+
"maximumError": "6mb"
|
|
403
|
+
}
|
|
404
|
+
]
|
|
405
|
+
},
|
|
406
|
+
"production-optimized": {
|
|
407
|
+
"fileReplacements": [
|
|
408
|
+
{
|
|
409
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
410
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"optimization": {
|
|
414
|
+
"scripts": true,
|
|
415
|
+
"styles": {
|
|
416
|
+
"minify": false,
|
|
417
|
+
"inlineCritical": true
|
|
418
|
+
},
|
|
419
|
+
"fonts": true
|
|
420
|
+
},
|
|
421
|
+
"outputHashing": "all",
|
|
422
|
+
"sourceMap": false,
|
|
423
|
+
"namedChunks": true,
|
|
424
|
+
"aot": true,
|
|
425
|
+
"extractLicenses": true,
|
|
426
|
+
"vendorChunk": false,
|
|
427
|
+
"buildOptimizer": true,
|
|
428
|
+
"budgets": [
|
|
429
|
+
{
|
|
430
|
+
"type": "initial",
|
|
431
|
+
"maximumWarning": "2mb",
|
|
432
|
+
"maximumError": "6mb"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
"development": {
|
|
437
|
+
"buildOptimizer": false,
|
|
438
|
+
"optimization": false,
|
|
439
|
+
"vendorChunk": true,
|
|
440
|
+
"extractLicenses": false,
|
|
441
|
+
"sourceMap": true,
|
|
442
|
+
"namedChunks": true
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
"defaultConfiguration": "production"
|
|
446
|
+
},
|
|
447
|
+
"serve": {
|
|
448
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
449
|
+
"options": {
|
|
450
|
+
"browserTarget": "@project.name@:build"
|
|
451
|
+
},
|
|
452
|
+
"configurations": {
|
|
453
|
+
"proxy-mock": {
|
|
454
|
+
"browserTarget": "@project.name@:build",
|
|
455
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
456
|
+
},
|
|
457
|
+
"production": {
|
|
458
|
+
"browserTarget": "@project.name@:build:production"
|
|
459
|
+
},
|
|
460
|
+
"development": {
|
|
461
|
+
"browserTarget": "@project.name@:build:development"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"defaultConfiguration": "development"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
const angularProjectLightDef = {
|
|
472
|
+
"root": "",
|
|
473
|
+
"sourceRoot": "apps/@project.name@/src",
|
|
474
|
+
"projectType": "application",
|
|
475
|
+
"prefix": "app",
|
|
476
|
+
"schematics": {
|
|
477
|
+
"@schematics/angular:component": {
|
|
478
|
+
"styleext": "scss"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"architect": {
|
|
482
|
+
"build": {
|
|
483
|
+
"builder": "ngx-build-plus:build",
|
|
484
|
+
"options": {
|
|
485
|
+
"outputPath": "apps/@project.name@/dist",
|
|
486
|
+
"index": "apps/@project.name@/src/index.html",
|
|
487
|
+
"main": "apps/@project.name@/src/main.ts",
|
|
488
|
+
"polyfills": "apps/@project.name@/src/polyfills.ts",
|
|
489
|
+
"tsConfig": "apps/@project.name@/tsconfig.app.json",
|
|
490
|
+
"assets": [
|
|
491
|
+
"apps/@project.name@/src/favicon.ico",
|
|
492
|
+
"apps/@project.name@/src/assets",
|
|
493
|
+
{
|
|
494
|
+
"glob": "**/*",
|
|
495
|
+
"input": "node_modules/@eui/core/assets/",
|
|
496
|
+
"output": "./assets"
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"styles": [
|
|
500
|
+
"node_modules/@eui/styles/dist/assets/fonts/webfont/Roboto/Roboto.css",
|
|
501
|
+
"node_modules/@eui/styles/dist/styles/eui-primeng.css",
|
|
502
|
+
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
503
|
+
"node_modules/@eui/styles/dist/styles/eui-shell-extended.css",
|
|
504
|
+
"apps/@project.name@/src/styles.scss"
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
"configurations": {
|
|
508
|
+
"production": {
|
|
509
|
+
"fileReplacements": [
|
|
510
|
+
{
|
|
511
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
512
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
"optimization": false,
|
|
516
|
+
"outputHashing": "all",
|
|
517
|
+
"sourceMap": false,
|
|
518
|
+
"extractCss": true,
|
|
519
|
+
"namedChunks": true,
|
|
520
|
+
"aot": true,
|
|
521
|
+
"extractLicenses": true,
|
|
522
|
+
"vendorChunk": false,
|
|
523
|
+
"buildOptimizer": false,
|
|
524
|
+
"budgets": [
|
|
525
|
+
{
|
|
526
|
+
"type": "initial",
|
|
527
|
+
"maximumWarning": "2mb",
|
|
528
|
+
"maximumError": "7mb"
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
"production-optimized": {
|
|
533
|
+
"fileReplacements": [
|
|
534
|
+
{
|
|
535
|
+
"replace": "apps/@project.name@/src/environments/environment.ts",
|
|
536
|
+
"with": "apps/@project.name@/src/environments/environment.prod.ts"
|
|
537
|
+
},
|
|
538
|
+
],
|
|
539
|
+
"optimization": true,
|
|
540
|
+
"outputHashing": "all",
|
|
541
|
+
"sourceMap": false,
|
|
542
|
+
"extractCss": true,
|
|
543
|
+
"namedChunks": true,
|
|
544
|
+
"aot": true,
|
|
545
|
+
"extractLicenses": true,
|
|
546
|
+
"vendorChunk": false,
|
|
547
|
+
"buildOptimizer": true,
|
|
548
|
+
"budgets": [
|
|
549
|
+
{
|
|
550
|
+
"type": "initial",
|
|
551
|
+
"maximumWarning": "2mb",
|
|
552
|
+
"maximumError": "7mb"
|
|
553
|
+
}
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"serve": {
|
|
559
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
560
|
+
"options": {
|
|
561
|
+
"browserTarget": "@project.name@:build"
|
|
562
|
+
},
|
|
563
|
+
"configurations": {
|
|
564
|
+
"proxy-mock": {
|
|
565
|
+
"browserTarget": "@project.name@:build",
|
|
566
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
567
|
+
},
|
|
568
|
+
"production": {
|
|
569
|
+
"browserTarget": "@project.name@:build:production"
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
const angularProjectDefFullSkeleton = {
|
|
583
|
+
"root": "",
|
|
584
|
+
"sourceRoot": "apps/@project.name@/src",
|
|
585
|
+
"projectType": "application",
|
|
586
|
+
"prefix": "app",
|
|
587
|
+
"schematics": {
|
|
588
|
+
"@schematics/angular:component": {
|
|
589
|
+
"styleext": "scss"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"architect": {
|
|
593
|
+
"build": {
|
|
594
|
+
"builder": "ngx-build-plus:build",
|
|
595
|
+
"options": {
|
|
596
|
+
"outputPath": "apps/@project.name@/dist",
|
|
597
|
+
"index": "apps/@project.name@/src/index.html",
|
|
598
|
+
"main": "apps/@project.name@/src/_generated/main.ts",
|
|
599
|
+
"polyfills": "apps/@project.name@/src/_generated/polyfills.ts",
|
|
600
|
+
"tsConfig": "apps/@project.name@/tsconfig.app.json",
|
|
601
|
+
"assets": [
|
|
602
|
+
"apps/@project.name@/src/favicon.ico",
|
|
603
|
+
"apps/@project.name@/src/assets",
|
|
604
|
+
{
|
|
605
|
+
"glob": "**/*",
|
|
606
|
+
"input": "node_modules/@eui/core/assets/",
|
|
607
|
+
"output": "./assets"
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
"styles": [
|
|
611
|
+
"node_modules/@eui/styles/dist/styles/eui.css",
|
|
612
|
+
"node_modules/@eui/styles/dist/styles/eui-next.css"
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
"configurations": {
|
|
616
|
+
"production": {
|
|
617
|
+
"fileReplacements": [
|
|
618
|
+
{
|
|
619
|
+
"replace": "apps/@project.name@/src/_generated/environments/environment.ts",
|
|
620
|
+
"with": "apps/@project.name@/src/_generated/environments/environment.prod.ts"
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"optimization": false,
|
|
624
|
+
"outputHashing": "all",
|
|
625
|
+
"sourceMap": false,
|
|
626
|
+
"extractCss": true,
|
|
627
|
+
"namedChunks": true,
|
|
628
|
+
"aot": true,
|
|
629
|
+
"extractLicenses": true,
|
|
630
|
+
"vendorChunk": false,
|
|
631
|
+
"buildOptimizer": false,
|
|
632
|
+
"budgets": [
|
|
633
|
+
{
|
|
634
|
+
"type": "initial",
|
|
635
|
+
"maximumWarning": "2mb",
|
|
636
|
+
"maximumError": "7mb"
|
|
637
|
+
}
|
|
638
|
+
]
|
|
639
|
+
},
|
|
640
|
+
"production-optimized-no-openid": {
|
|
641
|
+
"fileReplacements": [
|
|
642
|
+
{
|
|
643
|
+
"replace": "apps/@project.name@/src/_generated/environments/environment.ts",
|
|
644
|
+
"with": "apps/@project.name@/src/_generated/environments/environment.prod.ts"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"optimization": true,
|
|
648
|
+
"outputHashing": "all",
|
|
649
|
+
"sourceMap": false,
|
|
650
|
+
"extractCss": true,
|
|
651
|
+
"namedChunks": true,
|
|
652
|
+
"aot": true,
|
|
653
|
+
"extractLicenses": true,
|
|
654
|
+
"vendorChunk": false,
|
|
655
|
+
"buildOptimizer": true,
|
|
656
|
+
"budgets": [
|
|
657
|
+
{
|
|
658
|
+
"type": "initial",
|
|
659
|
+
"maximumWarning": "2mb",
|
|
660
|
+
"maximumError": "7mb"
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"serve": {
|
|
667
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
668
|
+
"options": {
|
|
669
|
+
"browserTarget": "@project.name@:build"
|
|
670
|
+
},
|
|
671
|
+
"configurations": {
|
|
672
|
+
"proxy-mock": {
|
|
673
|
+
"browserTarget": "@project.name@:build",
|
|
674
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
675
|
+
},
|
|
676
|
+
"production": {
|
|
677
|
+
"browserTarget": "@project.name@:build:production"
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
const angularProjectDefFullSkeletonV13 = {
|
|
686
|
+
"root": "",
|
|
687
|
+
"sourceRoot": "apps/@project.name@/src",
|
|
688
|
+
"projectType": "application",
|
|
689
|
+
"prefix": "app",
|
|
690
|
+
"schematics": {
|
|
691
|
+
"@schematics/angular:component": {
|
|
692
|
+
"style": "scss"
|
|
693
|
+
},
|
|
694
|
+
"@schematics/angular:application": {
|
|
695
|
+
"strict": true
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"architect": {
|
|
699
|
+
"build": {
|
|
700
|
+
"builder": "@angular-devkit/build-angular:browser",
|
|
701
|
+
"options": {
|
|
702
|
+
"outputPath": "apps/@project.name@/dist",
|
|
703
|
+
"index": "apps/@project.name@/src/index.html",
|
|
704
|
+
"main": "apps/@project.name@/src/_generated/main.ts",
|
|
705
|
+
"polyfills": "apps/@project.name@/src/_generated/polyfills.ts",
|
|
706
|
+
"tsConfig": "apps/@project.name@/tsconfig.app.json",
|
|
707
|
+
"assets": [
|
|
708
|
+
"apps/@project.name@/src/favicon.ico",
|
|
709
|
+
"apps/@project.name@/src/assets",
|
|
710
|
+
{
|
|
711
|
+
"glob": "**/*",
|
|
712
|
+
"input": "node_modules/@eui/core/assets/",
|
|
713
|
+
"output": "./assets"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"styles": [
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
"configurations": {
|
|
720
|
+
"production": {
|
|
721
|
+
"fileReplacements": [
|
|
722
|
+
{
|
|
723
|
+
"replace": "apps/@project.name@/src/_generated/environments/environment.ts",
|
|
724
|
+
"with": "apps/@project.name@/src/_generated/environments/environment.prod.ts"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"optimization": false,
|
|
728
|
+
"outputHashing": "all",
|
|
729
|
+
"sourceMap": false,
|
|
730
|
+
"namedChunks": true,
|
|
731
|
+
"aot": true,
|
|
732
|
+
"extractLicenses": true,
|
|
733
|
+
"vendorChunk": false,
|
|
734
|
+
"buildOptimizer": false,
|
|
735
|
+
"budgets": [
|
|
736
|
+
{
|
|
737
|
+
"type": "initial",
|
|
738
|
+
"maximumWarning": "2mb",
|
|
739
|
+
"maximumError": "6mb"
|
|
740
|
+
}
|
|
741
|
+
]
|
|
742
|
+
},
|
|
743
|
+
"production-optimized-no-openid": {
|
|
744
|
+
"fileReplacements": [
|
|
745
|
+
{
|
|
746
|
+
"replace": "apps/@project.name@/src/_generated/environments/environment.ts",
|
|
747
|
+
"with": "apps/@project.name@/src/_generated/environments/environment.prod.ts"
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"optimization": {
|
|
751
|
+
"scripts": true,
|
|
752
|
+
"styles": {
|
|
753
|
+
"minify": false,
|
|
754
|
+
"inlineCritical": true
|
|
755
|
+
},
|
|
756
|
+
"fonts": true
|
|
757
|
+
},
|
|
758
|
+
"outputHashing": "all",
|
|
759
|
+
"sourceMap": false,
|
|
760
|
+
"namedChunks": true,
|
|
761
|
+
"aot": true,
|
|
762
|
+
"extractLicenses": true,
|
|
763
|
+
"vendorChunk": false,
|
|
764
|
+
"buildOptimizer": true,
|
|
765
|
+
"budgets": [
|
|
766
|
+
{
|
|
767
|
+
"type": "initial",
|
|
768
|
+
"maximumWarning": "2mb",
|
|
769
|
+
"maximumError": "6mb"
|
|
770
|
+
}
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
"development": {
|
|
774
|
+
"buildOptimizer": false,
|
|
775
|
+
"optimization": false,
|
|
776
|
+
"vendorChunk": true,
|
|
777
|
+
"extractLicenses": false,
|
|
778
|
+
"sourceMap": true,
|
|
779
|
+
"namedChunks": true
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"defaultConfiguration": "production"
|
|
220
783
|
},
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
784
|
+
"serve": {
|
|
785
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
786
|
+
"options": {
|
|
787
|
+
"browserTarget": "@project.name@:build"
|
|
788
|
+
},
|
|
789
|
+
"configurations": {
|
|
790
|
+
"proxy-mock": {
|
|
791
|
+
"browserTarget": "@project.name@:build",
|
|
792
|
+
"proxyConfig": "apps/@project.name@/proxy-mock.conf.json"
|
|
793
|
+
},
|
|
794
|
+
"production": {
|
|
795
|
+
"browserTarget": "@project.name@:build:production"
|
|
796
|
+
},
|
|
797
|
+
"development": {
|
|
798
|
+
"browserTarget": "@project.name@:build:development"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"defaultConfiguration": "development"
|
|
235
802
|
}
|
|
236
|
-
}
|
|
237
803
|
}
|
|
238
804
|
};
|
|
239
805
|
|
|
240
|
-
|
|
241
|
-
const angularProjectDefFullSkeleton = {
|
|
806
|
+
const angularProjectDefFullSkeletonV14 = {
|
|
242
807
|
"root": "",
|
|
243
808
|
"sourceRoot": "apps/@project.name@/src",
|
|
244
809
|
"projectType": "application",
|
|
@@ -359,6 +924,10 @@ const angularProjectDefFullSkeleton = {
|
|
|
359
924
|
}
|
|
360
925
|
};
|
|
361
926
|
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
362
931
|
const angularProjectDefConfiguration = {
|
|
363
932
|
"fileReplacements": [
|
|
364
933
|
{
|
|
@@ -407,14 +976,7 @@ const angularProjectDefConfigurationOptimized = {
|
|
|
407
976
|
"with": "node_modules/@eui/base/assets/openid/openid-login.js"
|
|
408
977
|
}
|
|
409
978
|
],
|
|
410
|
-
"optimization":
|
|
411
|
-
"scripts": true,
|
|
412
|
-
"styles": {
|
|
413
|
-
"minify": false,
|
|
414
|
-
"inlineCritical": true
|
|
415
|
-
},
|
|
416
|
-
"fonts": true
|
|
417
|
-
},
|
|
979
|
+
"optimization": true,
|
|
418
980
|
"outputHashing": "all",
|
|
419
981
|
"sourceMap": false,
|
|
420
982
|
"extractCss": true,
|
|
@@ -427,7 +989,7 @@ const angularProjectDefConfigurationOptimized = {
|
|
|
427
989
|
{
|
|
428
990
|
"type": "initial",
|
|
429
991
|
"maximumWarning": "2mb",
|
|
430
|
-
"maximumError": "
|
|
992
|
+
"maximumError": "7mb"
|
|
431
993
|
}
|
|
432
994
|
]
|
|
433
995
|
}
|
|
@@ -435,7 +997,7 @@ const angularProjectDefConfigurationOptimized = {
|
|
|
435
997
|
|
|
436
998
|
const angularPackageDef = {
|
|
437
999
|
"root": "@path@/@module.name@",
|
|
438
|
-
"sourceRoot": "@path@/@module.name
|
|
1000
|
+
"sourceRoot": "@path@/@module.name@/src",
|
|
439
1001
|
"projectType": "library",
|
|
440
1002
|
"prefix": "lib",
|
|
441
1003
|
"architect": {
|
|
@@ -454,7 +1016,58 @@ const angularPackageDef = {
|
|
|
454
1016
|
"test": {
|
|
455
1017
|
"builder": "@angular-devkit/build-angular:karma",
|
|
456
1018
|
"options": {
|
|
457
|
-
"main": "@path@/@module.name
|
|
1019
|
+
"main": "@path@/@module.name@/src/test.ts",
|
|
1020
|
+
"tsConfig": "@path@/@module.name@/tsconfig.spec.json",
|
|
1021
|
+
"karmaConfig": "@path@/@module.name@/karma.conf.js"
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
const angularPackageSubEntryDef = {
|
|
1028
|
+
"root": "packages/eui/packages/components/@subEntry.path@",
|
|
1029
|
+
"sourceRoot": "packages/eui/packages/components/@subEntry.path@",
|
|
1030
|
+
"projectType": "library",
|
|
1031
|
+
"prefix": "lib",
|
|
1032
|
+
"architect": {
|
|
1033
|
+
"build": {
|
|
1034
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
1035
|
+
"options": {
|
|
1036
|
+
"tsConfig": "packages/eui/packages/components/tsconfig.lib.json",
|
|
1037
|
+
"project": "packages/eui/packages/components/@subEntry.path@/@subEntry.package.name@"
|
|
1038
|
+
},
|
|
1039
|
+
"configurations": {
|
|
1040
|
+
"production": {
|
|
1041
|
+
"tsConfig": "packages/eui/packages/components/tsconfig.lib.json"
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
const angularPackageDefV13 = {
|
|
1050
|
+
"root": "@path@/@module.name@",
|
|
1051
|
+
"sourceRoot": "@path@/@module.name@@srcRoot@",
|
|
1052
|
+
"projectType": "library",
|
|
1053
|
+
"prefix": "lib",
|
|
1054
|
+
"architect": {
|
|
1055
|
+
"build": {
|
|
1056
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
1057
|
+
"options": {
|
|
1058
|
+
"tsConfig": "@path@/@module.name@/tsconfig.lib.json",
|
|
1059
|
+
"project": "@path@/@module.name@/ng-package.json"
|
|
1060
|
+
},
|
|
1061
|
+
"configurations": {
|
|
1062
|
+
"production": {
|
|
1063
|
+
"tsConfig": "@path@/@module.name@/tsconfig.lib.prod.json"
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"test": {
|
|
1068
|
+
"builder": "@angular-devkit/build-angular:karma",
|
|
1069
|
+
"options": {
|
|
1070
|
+
"main": "@path@/@module.name@@srcRoot@@srcRootTesting@/test.ts",
|
|
458
1071
|
"tsConfig": "@path@/@module.name@/tsconfig.spec.json",
|
|
459
1072
|
"karmaConfig": "@path@/@module.name@/karma.conf.js"
|
|
460
1073
|
}
|
|
@@ -463,7 +1076,7 @@ const angularPackageDef = {
|
|
|
463
1076
|
};
|
|
464
1077
|
|
|
465
1078
|
|
|
466
|
-
const
|
|
1079
|
+
const angularPackageDefV14 = {
|
|
467
1080
|
"root": "@path@/@module.name@",
|
|
468
1081
|
"sourceRoot": "@path@/@module.name@@srcRoot@",
|
|
469
1082
|
"projectType": "library",
|
|
@@ -484,7 +1097,7 @@ const angularPackageDefv13 = {
|
|
|
484
1097
|
"test": {
|
|
485
1098
|
"builder": "@angular-devkit/build-angular:karma",
|
|
486
1099
|
"options": {
|
|
487
|
-
"main": "@path@/@module.name@@srcRoot@/
|
|
1100
|
+
"main": "@path@/@module.name@@srcRoot@@srcRootTesting@/test.ts",
|
|
488
1101
|
"tsConfig": "@path@/@module.name@/tsconfig.spec.json",
|
|
489
1102
|
"karmaConfig": "@path@/@module.name@/karma.conf.js"
|
|
490
1103
|
}
|
|
@@ -492,6 +1105,9 @@ const angularPackageDefv13 = {
|
|
|
492
1105
|
}
|
|
493
1106
|
};
|
|
494
1107
|
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
495
1111
|
const angularElementProjectDef = {
|
|
496
1112
|
"root": "@module.name@/",
|
|
497
1113
|
"sourceRoot": "@module.name@/src",
|
|
@@ -573,7 +1189,8 @@ const tsConfigDef = {
|
|
|
573
1189
|
],
|
|
574
1190
|
"lib": [
|
|
575
1191
|
"es2017",
|
|
576
|
-
"dom"
|
|
1192
|
+
"dom",
|
|
1193
|
+
"dom.iterable"
|
|
577
1194
|
],
|
|
578
1195
|
"paths": {}
|
|
579
1196
|
}
|
|
@@ -633,50 +1250,50 @@ module.exports.registerAngularPackage = (pkg, isReset) => {
|
|
|
633
1250
|
let projectDef = JSON.stringify(angularPackageDef);
|
|
634
1251
|
|
|
635
1252
|
if (pkg.build && pkg.build.euiVersion === '13.x') {
|
|
636
|
-
projectDef = JSON.stringify(
|
|
1253
|
+
projectDef = JSON.stringify(angularPackageDefV13);
|
|
1254
|
+
}
|
|
1255
|
+
if (pkg.build && pkg.build.euiVersion === '14.x') {
|
|
1256
|
+
projectDef = JSON.stringify(angularPackageDefV14);
|
|
637
1257
|
}
|
|
638
1258
|
|
|
639
|
-
|
|
1259
|
+
|
|
1260
|
+
let srcRoot = '/src', srcRootTesting = '';
|
|
640
1261
|
if (pkg.build && typeof pkg.build.srcRootDefault === 'boolean' && pkg.build.srcRootDefault === false) {
|
|
641
1262
|
srcRoot = '';
|
|
1263
|
+
srcRootTesting = '/testing'
|
|
642
1264
|
}
|
|
643
1265
|
|
|
644
1266
|
const replaceModule = tools.replaceAll(projectDef, '@module.name@', pkg.folder || pkg.name);
|
|
645
1267
|
const replacePath = tools.replaceAll(replaceModule, '@path@', pathBase);
|
|
646
1268
|
const replaceSrcRoot = tools.replaceAll(replacePath, '@srcRoot@', srcRoot);
|
|
1269
|
+
const replaceSrcRootTesting = tools.replaceAll(replaceSrcRoot, '@srcRootTesting@', srcRootTesting);
|
|
647
1270
|
|
|
648
|
-
jsonFile['projects'][pkg.name] = JSON.parse(
|
|
1271
|
+
jsonFile['projects'][pkg.name] = JSON.parse(replaceSrcRootTesting);
|
|
649
1272
|
|
|
650
1273
|
tools.writeJsonFileSync(file, jsonFile);
|
|
651
1274
|
}
|
|
652
1275
|
|
|
653
1276
|
|
|
654
|
-
module.exports.
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
pathBase = path.join('packages', pkg.parentPkg, 'packages', pkg.folder);
|
|
658
|
-
}
|
|
1277
|
+
module.exports.registerAngularPackageSubEntry = (subEntryName, subEntryPath) => {
|
|
1278
|
+
const file = path.join(process.cwd(), 'angular.json');
|
|
1279
|
+
const jsonFile = require(file);
|
|
659
1280
|
|
|
660
|
-
|
|
661
|
-
tools.logInfo(`Generating ${filePath}`);
|
|
662
|
-
if (!tools.isFileExists(filePath)) {
|
|
663
|
-
tools.writeJsonFileSync(filePath, tsConfigProdDef);
|
|
664
|
-
tools.logSuccess();
|
|
1281
|
+
let projectDef = JSON.stringify(angularPackageSubEntryDef);
|
|
665
1282
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
// tools.logSuccess('OK - file already exists and unchanged');
|
|
675
|
-
// }
|
|
676
|
-
}
|
|
1283
|
+
let replacePath = tools.replaceAll(projectDef, '@subEntry.path@', subEntryPath)
|
|
1284
|
+
replacePath = tools.replaceAll(replacePath, '@subEntry.package.name@', 'ng-package.json');
|
|
1285
|
+
|
|
1286
|
+
jsonFile['projects'][subEntryName] = JSON.parse(replacePath);
|
|
1287
|
+
|
|
1288
|
+
console.log(jsonFile['projects'][subEntryName]);
|
|
1289
|
+
|
|
1290
|
+
tools.writeJsonFileSync(file, jsonFile);
|
|
677
1291
|
}
|
|
678
1292
|
|
|
679
1293
|
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
680
1297
|
module.exports.registerAngularProjectDef = (project, build = false) => {
|
|
681
1298
|
|
|
682
1299
|
// checking if root angular.json exists, create if not
|
|
@@ -707,9 +1324,26 @@ module.exports.registerAngularProjectDef = (project, build = false) => {
|
|
|
707
1324
|
tools.logInfo('Processing angular config...');
|
|
708
1325
|
let projectDef;
|
|
709
1326
|
if (project.csdrFullSkeleton) {
|
|
710
|
-
|
|
1327
|
+
if (project.build && project.build.euiVersion === '13.x') {
|
|
1328
|
+
projectDef = JSON.stringify(angularProjectDefFullSkeletonV13);
|
|
1329
|
+
} else if (project.build && project.build.euiVersion === '14.x') {
|
|
1330
|
+
projectDef = JSON.stringify(angularProjectDefFullSkeletonV14);
|
|
1331
|
+
} else {
|
|
1332
|
+
projectDef = JSON.stringify(angularProjectDefFullSkeleton);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
711
1335
|
} else {
|
|
712
|
-
|
|
1336
|
+
if (project.build && project.build.euiVersion === '13.x') {
|
|
1337
|
+
projectDef = JSON.stringify(angularProjectDefV13);
|
|
1338
|
+
} else if (project.build && project.build.euiVersion === '14.x') {
|
|
1339
|
+
projectDef = JSON.stringify(angularProjectDefV14);
|
|
1340
|
+
} else {
|
|
1341
|
+
if (project.build && project.build.csdrFileReplacement === true) {
|
|
1342
|
+
projectDef = JSON.stringify(angularProjectLightDef);
|
|
1343
|
+
} else {
|
|
1344
|
+
projectDef = JSON.stringify(angularProjectDef);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
713
1347
|
}
|
|
714
1348
|
let replaceProject = tools.replaceAll(projectDef, '@project.name@', project.name);
|
|
715
1349
|
replaceProject = JSON.parse(replaceProject);
|
|
@@ -773,6 +1407,13 @@ module.exports.registerAngularProjectDef = (project, build = false) => {
|
|
|
773
1407
|
jsonFile['projects'][project.name].architect.serve.configurations[confKey] = serveConf;
|
|
774
1408
|
})
|
|
775
1409
|
}
|
|
1410
|
+
|
|
1411
|
+
// checking pwa additional injection
|
|
1412
|
+
if (project.build && project.build.pwa) {
|
|
1413
|
+
jsonFile['projects'][project.name].architect.build.options.serviceWorker = true;
|
|
1414
|
+
jsonFile['projects'][project.name].architect.build.options.ngswConfigPath = "ngsw-config.json";
|
|
1415
|
+
jsonFile['projects'][project.name].architect.build.options.assets.push(`apps/${project.name}/src/manifest.webmanifest`);
|
|
1416
|
+
}
|
|
776
1417
|
}
|
|
777
1418
|
|
|
778
1419
|
tools.writeJsonFileSync(file, jsonFile);
|
|
@@ -846,8 +1487,8 @@ module.exports.registerModulePaths = (pkg, isReset) => {
|
|
|
846
1487
|
jsonFileDev['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/*`];
|
|
847
1488
|
jsonFileBuild['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}/dist`];
|
|
848
1489
|
jsonFileBuild['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/dist/*`];
|
|
849
|
-
jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}
|
|
850
|
-
jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}
|
|
1490
|
+
jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}`] = [`${pathBase}/${pkg.folder || pkg.name}`];
|
|
1491
|
+
jsonFileBuildSpec['compilerOptions']['paths'][`${pkg.npmPkgScope}/${pkg.npmPkgName}/*`] = [`${pathBase}/${pkg.folder || pkg.name}/*`];
|
|
851
1492
|
}
|
|
852
1493
|
|
|
853
1494
|
|