@servicetitan/startup 35.2.0-far-1776.1 → 35.2.0
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/dist/cli/commands/build.d.ts +2 -70
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/build.js +0 -49
- package/dist/cli/commands/build.js.map +1 -1
- package/dist/cli/commands/bundle-package.d.ts +2 -54
- package/dist/cli/commands/bundle-package.d.ts.map +1 -1
- package/dist/cli/commands/bundle-package.js +0 -40
- package/dist/cli/commands/bundle-package.js.map +1 -1
- package/dist/cli/commands/clean.d.ts +2 -3
- package/dist/cli/commands/clean.d.ts.map +1 -1
- package/dist/cli/commands/clean.js +0 -15
- package/dist/cli/commands/clean.js.map +1 -1
- package/dist/cli/commands/convert-eslint-config.d.ts +2 -3
- package/dist/cli/commands/convert-eslint-config.d.ts.map +1 -1
- package/dist/cli/commands/convert-eslint-config.js +0 -2
- package/dist/cli/commands/convert-eslint-config.js.map +1 -1
- package/dist/cli/commands/eslint.d.ts +2 -34
- package/dist/cli/commands/eslint.d.ts.map +1 -1
- package/dist/cli/commands/eslint.js +0 -30
- package/dist/cli/commands/eslint.js.map +1 -1
- package/dist/cli/commands/init.d.ts +2 -16
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +0 -22
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/install.d.ts +2 -36
- package/dist/cli/commands/install.d.ts.map +1 -1
- package/dist/cli/commands/install.js +0 -32
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/kendo-ui-license.d.ts +2 -3
- package/dist/cli/commands/kendo-ui-license.d.ts.map +1 -1
- package/dist/cli/commands/kendo-ui-license.js +0 -15
- package/dist/cli/commands/kendo-ui-license.js.map +1 -1
- package/dist/cli/commands/lint.d.ts +2 -70
- package/dist/cli/commands/lint.d.ts.map +1 -1
- package/dist/cli/commands/lint.js +0 -49
- package/dist/cli/commands/lint.js.map +1 -1
- package/dist/cli/commands/mfe-check.d.ts +2 -44
- package/dist/cli/commands/mfe-check.d.ts.map +1 -1
- package/dist/cli/commands/mfe-check.js +0 -36
- package/dist/cli/commands/mfe-check.js.map +1 -1
- package/dist/cli/commands/mfe-generate-metadata.d.ts +2 -16
- package/dist/cli/commands/mfe-generate-metadata.d.ts.map +1 -1
- package/dist/cli/commands/mfe-generate-metadata.js +1 -28
- package/dist/cli/commands/mfe-generate-metadata.js.map +1 -1
- package/dist/cli/commands/mfe-list.d.ts +2 -70
- package/dist/cli/commands/mfe-list.d.ts.map +1 -1
- package/dist/cli/commands/mfe-list.js +0 -49
- package/dist/cli/commands/mfe-list.js.map +1 -1
- package/dist/cli/commands/mfe-package-clean.d.ts +2 -53
- package/dist/cli/commands/mfe-package-clean.d.ts.map +1 -1
- package/dist/cli/commands/mfe-package-clean.js +3 -51
- package/dist/cli/commands/mfe-package-clean.js.map +1 -1
- package/dist/cli/commands/mfe-package-publish.d.ts +2 -91
- package/dist/cli/commands/mfe-package-publish.d.ts.map +1 -1
- package/dist/cli/commands/mfe-package-publish.js +3 -70
- package/dist/cli/commands/mfe-package-publish.js.map +1 -1
- package/dist/cli/commands/mfe-package-rollback.d.ts +2 -43
- package/dist/cli/commands/mfe-package-rollback.d.ts.map +1 -1
- package/dist/cli/commands/mfe-package-rollback.js +3 -46
- package/dist/cli/commands/mfe-package-rollback.js.map +1 -1
- package/dist/cli/commands/mfe-publish.d.ts +9 -47
- package/dist/cli/commands/mfe-publish.d.ts.map +1 -1
- package/dist/cli/commands/mfe-publish.js +0 -69
- package/dist/cli/commands/mfe-publish.js.map +1 -1
- package/dist/cli/commands/mfe-purge-cache.d.ts +2 -46
- package/dist/cli/commands/mfe-purge-cache.d.ts.map +1 -1
- package/dist/cli/commands/mfe-purge-cache.js +0 -36
- package/dist/cli/commands/mfe-purge-cache.js.map +1 -1
- package/dist/cli/commands/prepare-package.d.ts +2 -14
- package/dist/cli/commands/prepare-package.d.ts.map +1 -1
- package/dist/cli/commands/prepare-package.js +0 -20
- package/dist/cli/commands/prepare-package.js.map +1 -1
- package/dist/cli/commands/registry/build.d.ts +38 -0
- package/dist/cli/commands/registry/build.d.ts.map +1 -0
- package/dist/cli/commands/registry/build.js +50 -0
- package/dist/cli/commands/registry/build.js.map +1 -0
- package/dist/cli/commands/registry/bundle-package.d.ts +29 -0
- package/dist/cli/commands/registry/bundle-package.d.ts.map +1 -0
- package/dist/cli/commands/registry/bundle-package.js +41 -0
- package/dist/cli/commands/registry/bundle-package.js.map +1 -0
- package/dist/cli/commands/registry/clean.d.ts +5 -0
- package/dist/cli/commands/registry/clean.d.ts.map +1 -0
- package/dist/cli/commands/registry/clean.js +17 -0
- package/dist/cli/commands/registry/clean.js.map +1 -0
- package/dist/cli/commands/registry/command-registry.d.ts +509 -0
- package/dist/cli/commands/registry/command-registry.d.ts.map +1 -0
- package/dist/cli/commands/registry/command-registry.js +138 -0
- package/dist/cli/commands/registry/command-registry.js.map +1 -0
- package/dist/cli/commands/registry/convert-eslint-config.d.ts +5 -0
- package/dist/cli/commands/registry/convert-eslint-config.d.ts.map +1 -0
- package/dist/cli/commands/registry/convert-eslint-config.js +17 -0
- package/dist/cli/commands/registry/convert-eslint-config.js.map +1 -0
- package/dist/cli/commands/registry/define-entry.d.ts +7 -0
- package/dist/cli/commands/registry/define-entry.d.ts.map +1 -0
- package/dist/cli/commands/registry/define-entry.js +15 -0
- package/dist/cli/commands/registry/define-entry.js.map +1 -0
- package/dist/cli/commands/registry/eslint.d.ts +19 -0
- package/dist/cli/commands/registry/eslint.d.ts.map +1 -0
- package/dist/cli/commands/registry/eslint.js +31 -0
- package/dist/cli/commands/registry/eslint.js.map +1 -0
- package/dist/cli/commands/registry/index.d.ts +3 -0
- package/dist/cli/commands/registry/index.d.ts.map +1 -0
- package/dist/cli/commands/registry/index.js +13 -0
- package/dist/cli/commands/registry/index.js.map +1 -0
- package/dist/cli/commands/registry/init.d.ts +11 -0
- package/dist/cli/commands/registry/init.d.ts.map +1 -0
- package/dist/cli/commands/registry/init.js +23 -0
- package/dist/cli/commands/registry/init.js.map +1 -0
- package/dist/cli/commands/registry/install.d.ts +21 -0
- package/dist/cli/commands/registry/install.d.ts.map +1 -0
- package/dist/cli/commands/registry/install.js +33 -0
- package/dist/cli/commands/registry/install.js.map +1 -0
- package/dist/cli/commands/registry/kendo-ui-license.d.ts +5 -0
- package/dist/cli/commands/registry/kendo-ui-license.d.ts.map +1 -0
- package/dist/cli/commands/registry/kendo-ui-license.js +17 -0
- package/dist/cli/commands/registry/kendo-ui-license.js.map +1 -0
- package/dist/cli/commands/registry/lint.d.ts +38 -0
- package/dist/cli/commands/registry/lint.d.ts.map +1 -0
- package/dist/cli/commands/registry/lint.js +50 -0
- package/dist/cli/commands/registry/lint.js.map +1 -0
- package/dist/cli/commands/registry/mfe-check.d.ts +25 -0
- package/dist/cli/commands/registry/mfe-check.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-check.js +37 -0
- package/dist/cli/commands/registry/mfe-check.js.map +1 -0
- package/dist/cli/commands/registry/mfe-generate-metadata.d.ts +11 -0
- package/dist/cli/commands/registry/mfe-generate-metadata.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-generate-metadata.js +23 -0
- package/dist/cli/commands/registry/mfe-generate-metadata.js.map +1 -0
- package/dist/cli/commands/registry/mfe-list.d.ts +38 -0
- package/dist/cli/commands/registry/mfe-list.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-list.js +50 -0
- package/dist/cli/commands/registry/mfe-list.js.map +1 -0
- package/dist/cli/commands/registry/mfe-package-clean.d.ts +29 -0
- package/dist/cli/commands/registry/mfe-package-clean.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-package-clean.js +41 -0
- package/dist/cli/commands/registry/mfe-package-clean.js.map +1 -0
- package/dist/cli/commands/registry/mfe-package-publish.d.ts +48 -0
- package/dist/cli/commands/registry/mfe-package-publish.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-package-publish.js +60 -0
- package/dist/cli/commands/registry/mfe-package-publish.js.map +1 -0
- package/dist/cli/commands/registry/mfe-package-rollback.d.ts +24 -0
- package/dist/cli/commands/registry/mfe-package-rollback.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-package-rollback.js +36 -0
- package/dist/cli/commands/registry/mfe-package-rollback.js.map +1 -0
- package/dist/cli/commands/registry/mfe-publish.d.ts +24 -0
- package/dist/cli/commands/registry/mfe-publish.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-publish.js +72 -0
- package/dist/cli/commands/registry/mfe-publish.js.map +1 -0
- package/dist/cli/commands/registry/mfe-purge-cache.d.ts +25 -0
- package/dist/cli/commands/registry/mfe-purge-cache.d.ts.map +1 -0
- package/dist/cli/commands/registry/mfe-purge-cache.js +37 -0
- package/dist/cli/commands/registry/mfe-purge-cache.js.map +1 -0
- package/dist/cli/commands/registry/prepare-package.d.ts +9 -0
- package/dist/cli/commands/registry/prepare-package.d.ts.map +1 -0
- package/dist/cli/commands/registry/prepare-package.js +21 -0
- package/dist/cli/commands/registry/prepare-package.js.map +1 -0
- package/dist/cli/commands/registry/review.d.ts +16 -0
- package/dist/cli/commands/registry/review.d.ts.map +1 -0
- package/dist/cli/commands/registry/review.js +28 -0
- package/dist/cli/commands/registry/review.js.map +1 -0
- package/dist/cli/commands/registry/start.d.ts +30 -0
- package/dist/cli/commands/registry/start.d.ts.map +1 -0
- package/dist/cli/commands/registry/start.js +42 -0
- package/dist/cli/commands/registry/start.js.map +1 -0
- package/dist/cli/commands/registry/stylelint.d.ts +19 -0
- package/dist/cli/commands/registry/stylelint.d.ts.map +1 -0
- package/dist/cli/commands/registry/stylelint.js +31 -0
- package/dist/cli/commands/registry/stylelint.js.map +1 -0
- package/dist/cli/commands/registry/styles-check.d.ts +2 -0
- package/dist/cli/commands/registry/styles-check.d.ts.map +1 -0
- package/dist/cli/commands/registry/styles-check.js +14 -0
- package/dist/cli/commands/registry/styles-check.js.map +1 -0
- package/dist/cli/commands/registry/task.d.ts +19 -0
- package/dist/cli/commands/registry/task.d.ts.map +1 -0
- package/dist/cli/commands/registry/task.js +31 -0
- package/dist/cli/commands/registry/task.js.map +1 -0
- package/dist/cli/commands/registry/test-command.d.ts +22 -0
- package/dist/cli/commands/registry/test-command.d.ts.map +1 -0
- package/dist/cli/commands/registry/test-command.js +38 -0
- package/dist/cli/commands/registry/test-command.js.map +1 -0
- package/dist/cli/commands/registry/upload-sourcemaps.d.ts +15 -0
- package/dist/cli/commands/registry/upload-sourcemaps.d.ts.map +1 -0
- package/dist/cli/commands/registry/upload-sourcemaps.js +27 -0
- package/dist/cli/commands/registry/upload-sourcemaps.js.map +1 -0
- package/dist/cli/commands/review/review.d.ts +2 -26
- package/dist/cli/commands/review/review.d.ts.map +1 -1
- package/dist/cli/commands/review/review.js +0 -14
- package/dist/cli/commands/review/review.js.map +1 -1
- package/dist/cli/commands/review/rules/require-compatible-launch-darkly-sdk.d.ts.map +1 -1
- package/dist/cli/commands/review/rules/require-compatible-launch-darkly-sdk.js +6 -6
- package/dist/cli/commands/review/rules/require-compatible-launch-darkly-sdk.js.map +1 -1
- package/dist/cli/commands/review/types.d.ts +5 -2
- package/dist/cli/commands/review/types.d.ts.map +1 -1
- package/dist/cli/commands/review/types.js.map +1 -1
- package/dist/cli/commands/run-task.d.ts +2 -34
- package/dist/cli/commands/run-task.d.ts.map +1 -1
- package/dist/cli/commands/run-task.js +0 -30
- package/dist/cli/commands/run-task.js.map +1 -1
- package/dist/cli/commands/start.d.ts +2 -54
- package/dist/cli/commands/start.d.ts.map +1 -1
- package/dist/cli/commands/start.js +0 -41
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/commands/stylelint.d.ts +2 -34
- package/dist/cli/commands/stylelint.d.ts.map +1 -1
- package/dist/cli/commands/stylelint.js +0 -30
- package/dist/cli/commands/stylelint.js.map +1 -1
- package/dist/cli/commands/styles-check.d.ts +2 -1
- package/dist/cli/commands/styles-check.d.ts.map +1 -1
- package/dist/cli/commands/styles-check.js.map +1 -1
- package/dist/cli/commands/test/tests.d.ts +2 -38
- package/dist/cli/commands/test/tests.d.ts.map +1 -1
- package/dist/cli/commands/test/tests.js +0 -36
- package/dist/cli/commands/test/tests.js.map +1 -1
- package/dist/cli/commands/types.d.ts +9 -7
- package/dist/cli/commands/types.d.ts.map +1 -1
- package/dist/cli/commands/types.js +0 -4
- package/dist/cli/commands/types.js.map +1 -1
- package/dist/cli/commands/upload-sourcemaps.d.ts +2 -26
- package/dist/cli/commands/upload-sourcemaps.d.ts.map +1 -1
- package/dist/cli/commands/upload-sourcemaps.js +0 -26
- package/dist/cli/commands/upload-sourcemaps.js.map +1 -1
- package/dist/cli/index.js +17 -16
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/tasks/swc-compile-package/swc-compile-package.d.ts.map +1 -1
- package/dist/cli/tasks/swc-compile-package/swc-compile-package.js +1 -7
- package/dist/cli/tasks/swc-compile-package/swc-compile-package.js.map +1 -1
- package/dist/cli/utils/bundle.js +1 -1
- package/dist/cli/utils/bundle.js.map +1 -1
- package/dist/cli/utils/check-startup-location.d.ts +2 -2
- package/dist/cli/utils/check-startup-location.d.ts.map +1 -1
- package/dist/cli/utils/check-startup-location.js +1 -2
- package/dist/cli/utils/check-startup-location.js.map +1 -1
- package/dist/cli/utils/set-node-options.d.ts +3 -3
- package/dist/cli/utils/set-node-options.d.ts.map +1 -1
- package/dist/cli/utils/set-node-options.js +1 -2
- package/dist/cli/utils/set-node-options.js.map +1 -1
- package/dist/utils/find-up.js +4 -4
- package/dist/utils/find-up.js.map +1 -1
- package/dist/utils/get-package-data.d.ts.map +1 -1
- package/dist/utils/get-package-data.js +1 -28
- package/dist/utils/get-package-data.js.map +1 -1
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +0 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/webpack/configs/cache-config.d.ts.map +1 -1
- package/dist/webpack/configs/cache-config.js +14 -1
- package/dist/webpack/configs/cache-config.js.map +1 -1
- package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.d.ts.map +1 -1
- package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.js +11 -1
- package/dist/webpack/configs/utils/get-launchdarkly-sdk-version.js.map +1 -1
- package/dist/webpack/configs/utils/get-web-components-version.d.ts.map +1 -1
- package/dist/webpack/configs/utils/get-web-components-version.js +7 -5
- package/dist/webpack/configs/utils/get-web-components-version.js.map +1 -1
- package/package.json +12 -17
- package/src/cli/commands/__tests__/build.test.ts +2 -1
- package/src/cli/commands/__tests__/clean.test.ts +2 -1
- package/src/cli/commands/__tests__/convert-eslint-config.test.ts +2 -1
- package/src/cli/commands/__tests__/init.test.ts +4 -3
- package/src/cli/commands/__tests__/install.test.ts +2 -1
- package/src/cli/commands/__tests__/kendo-ui-license.test.ts +3 -2
- package/src/cli/commands/__tests__/lint.test.ts +3 -1
- package/src/cli/commands/__tests__/mfe-check.test.ts +2 -1
- package/src/cli/commands/__tests__/mfe-generate-metadata.test.ts +2 -14
- package/src/cli/commands/__tests__/mfe-list.test.ts +2 -1
- package/src/cli/commands/__tests__/mfe-publish.test.ts +8 -7
- package/src/cli/commands/__tests__/start.test.ts +2 -1
- package/src/cli/commands/build.ts +3 -16
- package/src/cli/commands/bundle-package.ts +3 -12
- package/src/cli/commands/clean.ts +2 -4
- package/src/cli/commands/convert-eslint-config.ts +2 -4
- package/src/cli/commands/eslint.ts +3 -10
- package/src/cli/commands/init.ts +3 -10
- package/src/cli/commands/install.ts +3 -12
- package/src/cli/commands/kendo-ui-license.ts +2 -4
- package/src/cli/commands/lint.ts +3 -15
- package/src/cli/commands/mfe-check.ts +3 -28
- package/src/cli/commands/mfe-generate-metadata.ts +4 -19
- package/src/cli/commands/mfe-list.ts +3 -23
- package/src/cli/commands/mfe-package-clean.ts +3 -27
- package/src/cli/commands/mfe-package-publish.ts +3 -46
- package/src/cli/commands/mfe-package-rollback.ts +3 -26
- package/src/cli/commands/mfe-publish.ts +11 -73
- package/src/cli/commands/mfe-purge-cache.ts +3 -27
- package/src/cli/commands/prepare-package.ts +3 -7
- package/src/cli/commands/registry/__tests__/command-registry.test.ts +13 -0
- package/src/cli/commands/registry/build.ts +16 -0
- package/src/cli/commands/registry/bundle-package.ts +13 -0
- package/src/cli/commands/registry/clean.ts +7 -0
- package/src/cli/commands/registry/command-registry.ts +98 -0
- package/src/cli/commands/registry/convert-eslint-config.ts +7 -0
- package/src/cli/commands/registry/define-entry.ts +11 -0
- package/src/cli/commands/registry/eslint.ts +12 -0
- package/src/cli/commands/registry/index.ts +2 -0
- package/src/cli/commands/registry/init.ts +10 -0
- package/src/cli/commands/registry/install.ts +12 -0
- package/src/cli/commands/registry/kendo-ui-license.ts +7 -0
- package/src/cli/commands/registry/lint.ts +17 -0
- package/src/cli/commands/registry/mfe-check.ts +28 -0
- package/src/cli/commands/registry/mfe-generate-metadata.ts +13 -0
- package/src/cli/commands/registry/mfe-list.ts +25 -0
- package/src/cli/commands/registry/mfe-package-clean.ts +27 -0
- package/src/cli/commands/registry/mfe-package-publish.ts +46 -0
- package/src/cli/commands/registry/mfe-package-rollback.ts +26 -0
- package/src/cli/commands/registry/mfe-publish.ts +55 -0
- package/src/cli/commands/registry/mfe-purge-cache.ts +27 -0
- package/src/cli/commands/registry/prepare-package.ts +8 -0
- package/src/cli/commands/registry/review.ts +11 -0
- package/src/cli/commands/registry/start.ts +14 -0
- package/src/cli/commands/registry/stylelint.ts +12 -0
- package/src/cli/commands/registry/styles-check.ts +4 -0
- package/src/cli/commands/registry/task.ts +12 -0
- package/src/cli/commands/registry/test-command.ts +19 -0
- package/src/cli/commands/registry/upload-sourcemaps.ts +14 -0
- package/src/cli/commands/review/__tests__/review.test.ts +2 -1
- package/src/cli/commands/review/review.ts +3 -11
- package/src/cli/commands/review/rules/require-compatible-launch-darkly-sdk.ts +7 -2
- package/src/cli/commands/review/types.ts +8 -3
- package/src/cli/commands/run-task.ts +3 -10
- package/src/cli/commands/start.ts +3 -14
- package/src/cli/commands/stylelint.ts +3 -10
- package/src/cli/commands/styles-check.ts +2 -1
- package/src/cli/commands/test/__tests__/tests.test.ts +2 -1
- package/src/cli/commands/test/tests.ts +3 -16
- package/src/cli/commands/types.ts +8 -6
- package/src/cli/commands/upload-sourcemaps.ts +3 -13
- package/src/cli/index.ts +21 -20
- package/src/cli/tasks/swc-compile-package/__tests__/swc-compile-package.test.ts +1 -8
- package/src/cli/tasks/swc-compile-package/swc-compile-package.ts +1 -11
- package/src/cli/utils/__tests__/bundle.test.ts +17 -0
- package/src/cli/utils/__tests__/check-startup-location.test.ts +5 -17
- package/src/cli/utils/__tests__/set-node-options.test.ts +5 -19
- package/src/cli/utils/bundle.ts +1 -1
- package/src/cli/utils/check-startup-location.ts +5 -3
- package/src/cli/utils/set-node-options.ts +3 -4
- package/src/utils/__tests__/get-package-data.test.ts +26 -97
- package/src/utils/find-up.ts +1 -1
- package/src/utils/get-package-data.ts +2 -27
- package/src/utils/index.ts +0 -3
- package/src/webpack/configs/cache-config.ts +10 -1
- package/src/webpack/configs/utils/__tests__/get-launchdarkly-sdk-version.test.ts +8 -20
- package/src/webpack/configs/utils/__tests__/get-web-components-version.test.ts +10 -30
- package/src/webpack/configs/utils/get-launchdarkly-sdk-version.ts +12 -2
- package/src/webpack/configs/utils/get-web-components-version.ts +5 -8
- package/dist/cli/commands/get-command.d.ts +0 -4
- package/dist/cli/commands/get-command.d.ts.map +0 -1
- package/dist/cli/commands/get-command.js +0 -68
- package/dist/cli/commands/get-command.js.map +0 -1
- package/dist/cli/commands/index.d.ts +0 -15
- package/dist/cli/commands/index.d.ts.map +0 -1
- package/dist/cli/commands/index.js +0 -32
- package/dist/cli/commands/index.js.map +0 -1
- package/dist/utils/find-package-lock.d.ts +0 -2
- package/dist/utils/find-package-lock.d.ts.map +0 -1
- package/dist/utils/find-package-lock.js +0 -26
- package/dist/utils/find-package-lock.js.map +0 -1
- package/dist/utils/get-package-version.d.ts +0 -2
- package/dist/utils/get-package-version.d.ts.map +0 -1
- package/dist/utils/get-package-version.js +0 -26
- package/dist/utils/get-package-version.js.map +0 -1
- package/dist/utils/resolve-package-lock-entry.d.ts +0 -11
- package/dist/utils/resolve-package-lock-entry.d.ts.map +0 -1
- package/dist/utils/resolve-package-lock-entry.js +0 -21
- package/dist/utils/resolve-package-lock-entry.js.map +0 -1
- package/src/cli/commands/__tests__/get-command.test.ts +0 -19
- package/src/cli/commands/get-command.ts +0 -59
- package/src/cli/commands/index.ts +0 -14
- package/src/utils/__tests__/find-package-lock.test.ts +0 -35
- package/src/utils/__tests__/get-package-version.test.ts +0 -129
- package/src/utils/__tests__/resolve-package-lock-entry.test.ts +0 -99
- package/src/utils/find-package-lock.ts +0 -10
- package/src/utils/get-package-version.ts +0 -21
- package/src/utils/resolve-package-lock-entry.ts +0 -25
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
all: {
|
|
15
|
+
boolean: true,
|
|
16
|
+
description: 'Unpublish old versions from all branches',
|
|
17
|
+
defaultDescription: 'false'
|
|
18
|
+
},
|
|
19
|
+
branch: {
|
|
20
|
+
string: true,
|
|
21
|
+
description: 'Branch name of versions to unpublish',
|
|
22
|
+
defaultDescription: 'current git branch'
|
|
23
|
+
},
|
|
24
|
+
count: {
|
|
25
|
+
number: true,
|
|
26
|
+
description: 'Keep the specified number of old versions',
|
|
27
|
+
defaultDescription: '5'
|
|
28
|
+
},
|
|
29
|
+
dry: {
|
|
30
|
+
boolean: true,
|
|
31
|
+
description: 'Take no action and only log what would be unpublished'
|
|
32
|
+
},
|
|
33
|
+
registry: {
|
|
34
|
+
string: true,
|
|
35
|
+
hidden: true,
|
|
36
|
+
description: 'Registry url'
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=mfe-package-clean.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/mfe-package-clean.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n all: {\n boolean: true,\n description: 'Unpublish old versions from all branches',\n defaultDescription: 'false',\n },\n branch: {\n string: true,\n description: 'Branch name of versions to unpublish',\n defaultDescription: 'current git branch',\n },\n count: {\n number: true,\n description: 'Keep the specified number of old versions',\n defaultDescription: '5',\n },\n dry: {\n boolean: true,\n description: 'Take no action and only log what would be unpublished',\n },\n registry: { string: true, hidden: true, description: 'Registry url' },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","all","boolean","description","defaultDescription","branch","string","count","number","dry","registry","hidden"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,KAAK;YACDC,SAAS;YACTC,aAAa;YACbC,oBAAoB;QACxB;QACAC,QAAQ;YACJC,QAAQ;YACRH,aAAa;YACbC,oBAAoB;QACxB;QACAG,OAAO;YACHC,QAAQ;YACRL,aAAa;YACbC,oBAAoB;QACxB;QACAK,KAAK;YACDP,SAAS;YACTC,aAAa;QACjB;QACAO,UAAU;YAAEJ,QAAQ;YAAMK,QAAQ;YAAMR,aAAa;QAAe;IACxE;AACJ"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
options: {
|
|
3
|
+
branch: {
|
|
4
|
+
string: true;
|
|
5
|
+
description: string;
|
|
6
|
+
defaultDescription: string;
|
|
7
|
+
};
|
|
8
|
+
build: {
|
|
9
|
+
string: true;
|
|
10
|
+
description: string;
|
|
11
|
+
defaultDescription: string;
|
|
12
|
+
};
|
|
13
|
+
dry: {
|
|
14
|
+
boolean: true;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
force: {
|
|
18
|
+
boolean: true;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
registry: {
|
|
22
|
+
string: true;
|
|
23
|
+
hidden: true;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
trackHistory: {
|
|
27
|
+
boolean: true;
|
|
28
|
+
description: string;
|
|
29
|
+
defaultDescription: string;
|
|
30
|
+
hidden: true;
|
|
31
|
+
};
|
|
32
|
+
tag: {
|
|
33
|
+
string: true;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
uploadSourcemaps: {
|
|
37
|
+
boolean: true;
|
|
38
|
+
description: string;
|
|
39
|
+
defaultDescription: string;
|
|
40
|
+
};
|
|
41
|
+
purgeCache: {
|
|
42
|
+
boolean: true;
|
|
43
|
+
description: string;
|
|
44
|
+
defaultDescription: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=mfe-package-publish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-package-publish.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/mfe-package-publish.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CO,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
branch: {
|
|
15
|
+
string: true,
|
|
16
|
+
description: 'Branch name to associate with published version',
|
|
17
|
+
defaultDescription: 'current git branch'
|
|
18
|
+
},
|
|
19
|
+
build: {
|
|
20
|
+
string: true,
|
|
21
|
+
description: 'Package version',
|
|
22
|
+
defaultDescription: '<branch_name>.<commit_hash>'
|
|
23
|
+
},
|
|
24
|
+
dry: {
|
|
25
|
+
boolean: true,
|
|
26
|
+
description: 'Take no action and only log what would be published'
|
|
27
|
+
},
|
|
28
|
+
force: {
|
|
29
|
+
boolean: true,
|
|
30
|
+
description: 'Force publishing from an unrecognized branch'
|
|
31
|
+
},
|
|
32
|
+
registry: {
|
|
33
|
+
string: true,
|
|
34
|
+
hidden: true,
|
|
35
|
+
description: 'Registry url'
|
|
36
|
+
},
|
|
37
|
+
trackHistory: {
|
|
38
|
+
boolean: true,
|
|
39
|
+
description: 'Tag the previous release, to support rollbacks',
|
|
40
|
+
defaultDescription: 'true',
|
|
41
|
+
hidden: true
|
|
42
|
+
},
|
|
43
|
+
tag: {
|
|
44
|
+
string: true,
|
|
45
|
+
description: 'Tag to assign to published version'
|
|
46
|
+
},
|
|
47
|
+
uploadSourcemaps: {
|
|
48
|
+
boolean: true,
|
|
49
|
+
description: 'Upload source maps to Datadog?',
|
|
50
|
+
defaultDescription: 'true'
|
|
51
|
+
},
|
|
52
|
+
purgeCache: {
|
|
53
|
+
boolean: true,
|
|
54
|
+
description: 'Purge unpkg cache after publishing?',
|
|
55
|
+
defaultDescription: 'true'
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=mfe-package-publish.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/mfe-package-publish.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n branch: {\n string: true,\n description: 'Branch name to associate with published version',\n defaultDescription: 'current git branch',\n },\n build: {\n string: true,\n description: 'Package version',\n defaultDescription: '<branch_name>.<commit_hash>',\n },\n dry: {\n boolean: true,\n description: 'Take no action and only log what would be published',\n },\n force: {\n boolean: true,\n description: 'Force publishing from an unrecognized branch',\n },\n registry: { string: true, hidden: true, description: 'Registry url' },\n trackHistory: {\n boolean: true,\n description: 'Tag the previous release, to support rollbacks',\n defaultDescription: 'true',\n hidden: true,\n },\n tag: {\n string: true,\n description: 'Tag to assign to published version',\n },\n uploadSourcemaps: {\n boolean: true,\n description: 'Upload source maps to Datadog?',\n defaultDescription: 'true',\n },\n purgeCache: {\n boolean: true,\n description: 'Purge unpkg cache after publishing?',\n defaultDescription: 'true',\n },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","branch","string","description","defaultDescription","build","dry","boolean","force","registry","hidden","trackHistory","tag","uploadSourcemaps","purgeCache"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,QAAQ;YACJC,QAAQ;YACRC,aAAa;YACbC,oBAAoB;QACxB;QACAC,OAAO;YACHH,QAAQ;YACRC,aAAa;YACbC,oBAAoB;QACxB;QACAE,KAAK;YACDC,SAAS;YACTJ,aAAa;QACjB;QACAK,OAAO;YACHD,SAAS;YACTJ,aAAa;QACjB;QACAM,UAAU;YAAEP,QAAQ;YAAMQ,QAAQ;YAAMP,aAAa;QAAe;QACpEQ,cAAc;YACVJ,SAAS;YACTJ,aAAa;YACbC,oBAAoB;YACpBM,QAAQ;QACZ;QACAE,KAAK;YACDV,QAAQ;YACRC,aAAa;QACjB;QACAU,kBAAkB;YACdN,SAAS;YACTJ,aAAa;YACbC,oBAAoB;QACxB;QACAU,YAAY;YACRP,SAAS;YACTJ,aAAa;YACbC,oBAAoB;QACxB;IACJ;AACJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
options: {
|
|
3
|
+
dry: {
|
|
4
|
+
boolean: true;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
registry: {
|
|
8
|
+
string: true;
|
|
9
|
+
hidden: true;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
tag: {
|
|
13
|
+
string: true;
|
|
14
|
+
description: string;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
purgeCache: {
|
|
18
|
+
boolean: true;
|
|
19
|
+
description: string;
|
|
20
|
+
defaultDescription: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=mfe-package-rollback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-package-rollback.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/mfe-package-rollback.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;CAsBO,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
dry: {
|
|
15
|
+
boolean: true,
|
|
16
|
+
description: 'Take no action and only log what would be rolled back'
|
|
17
|
+
},
|
|
18
|
+
registry: {
|
|
19
|
+
string: true,
|
|
20
|
+
hidden: true,
|
|
21
|
+
description: 'Registry url'
|
|
22
|
+
},
|
|
23
|
+
tag: {
|
|
24
|
+
string: true,
|
|
25
|
+
description: 'The tag to rollback to its previous version',
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
purgeCache: {
|
|
29
|
+
boolean: true,
|
|
30
|
+
description: 'Purge unpkg cache after rolling back?',
|
|
31
|
+
defaultDescription: 'true'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=mfe-package-rollback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/mfe-package-rollback.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n dry: {\n boolean: true,\n description: 'Take no action and only log what would be rolled back',\n },\n registry: {\n string: true,\n hidden: true,\n description: 'Registry url',\n },\n tag: {\n string: true,\n description: 'The tag to rollback to its previous version',\n required: true,\n },\n purgeCache: {\n boolean: true,\n description: 'Purge unpkg cache after rolling back?',\n defaultDescription: 'true',\n },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","dry","boolean","description","registry","string","hidden","tag","required","purgeCache","defaultDescription"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,KAAK;YACDC,SAAS;YACTC,aAAa;QACjB;QACAC,UAAU;YACNC,QAAQ;YACRC,QAAQ;YACRH,aAAa;QACjB;QACAI,KAAK;YACDF,QAAQ;YACRF,aAAa;YACbK,UAAU;QACd;QACAC,YAAY;YACRP,SAAS;YACTC,aAAa;YACbO,oBAAoB;QACxB;IACJ;AACJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
description: string;
|
|
3
|
+
options: {
|
|
4
|
+
clean: {
|
|
5
|
+
boolean: true;
|
|
6
|
+
description: string;
|
|
7
|
+
};
|
|
8
|
+
concurrency: {
|
|
9
|
+
number: true;
|
|
10
|
+
description: string;
|
|
11
|
+
defaultDescription: string;
|
|
12
|
+
};
|
|
13
|
+
rollback: {
|
|
14
|
+
boolean: true;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
scope: {
|
|
18
|
+
array: true;
|
|
19
|
+
string: true;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=mfe-publish.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-publish.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/mfe-publish.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;CAsBO,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const _mfepackageclean = require("./mfe-package-clean");
|
|
13
|
+
const _mfepackagepublish = require("./mfe-package-publish");
|
|
14
|
+
const _mfepackagerollback = require("./mfe-package-rollback");
|
|
15
|
+
function publishOptions() {
|
|
16
|
+
return Object.entries(_mfepackagepublish.entry.options).reduce((result, [key, value])=>{
|
|
17
|
+
result[key] = {
|
|
18
|
+
group: 'Publish Options:',
|
|
19
|
+
...value
|
|
20
|
+
};
|
|
21
|
+
return result;
|
|
22
|
+
}, {});
|
|
23
|
+
}
|
|
24
|
+
function cleanOptions() {
|
|
25
|
+
// no-break space suffix prevents key collisions
|
|
26
|
+
return Object.entries(_mfepackageclean.entry.options).reduce((result, [key, value])=>{
|
|
27
|
+
result[`${key}\u00A0`] = {
|
|
28
|
+
group: 'Clean Options:',
|
|
29
|
+
...value
|
|
30
|
+
};
|
|
31
|
+
return result;
|
|
32
|
+
}, {});
|
|
33
|
+
}
|
|
34
|
+
function rollbackOptions() {
|
|
35
|
+
// double no-break space suffix prevents key collisions
|
|
36
|
+
return Object.entries(_mfepackagerollback.entry.options).reduce((result, [key, value])=>{
|
|
37
|
+
const optionProps = Object.fromEntries(Object.entries(value).filter(([k])=>k !== 'required'));
|
|
38
|
+
result[`${key}\u00A0\u00A0`] = {
|
|
39
|
+
group: 'Rollback Options:',
|
|
40
|
+
...optionProps
|
|
41
|
+
};
|
|
42
|
+
return result;
|
|
43
|
+
}, {});
|
|
44
|
+
}
|
|
45
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
46
|
+
description: 'Publish or unpublish MFE packages',
|
|
47
|
+
options: {
|
|
48
|
+
clean: {
|
|
49
|
+
boolean: true,
|
|
50
|
+
description: 'Unpublish old versions'
|
|
51
|
+
},
|
|
52
|
+
concurrency: {
|
|
53
|
+
number: true,
|
|
54
|
+
description: 'Publish/unpublish the specified number of packages concurrently',
|
|
55
|
+
defaultDescription: '1'
|
|
56
|
+
},
|
|
57
|
+
rollback: {
|
|
58
|
+
boolean: true,
|
|
59
|
+
description: 'Rollback specified tag to the previous version'
|
|
60
|
+
},
|
|
61
|
+
scope: {
|
|
62
|
+
array: true,
|
|
63
|
+
string: true,
|
|
64
|
+
description: 'Publish/unpublish only the specified packages'
|
|
65
|
+
},
|
|
66
|
+
...publishOptions(),
|
|
67
|
+
...cleanOptions(),
|
|
68
|
+
...rollbackOptions()
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
//# sourceMappingURL=mfe-publish.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/mfe-publish.ts"],"sourcesContent":["import type { CommandEntry, CommandOptions } from '../types';\nimport { defineEntry } from './define-entry';\nimport { entry as mfePackageClean } from './mfe-package-clean';\nimport { entry as mfePackagePublish } from './mfe-package-publish';\nimport { entry as mfePackageRollback } from './mfe-package-rollback';\n\nfunction publishOptions() {\n return Object.entries(mfePackagePublish.options).reduce((result, [key, value]) => {\n result[key] = { group: 'Publish Options:', ...value };\n return result;\n }, {} as CommandOptions);\n}\n\nfunction cleanOptions() {\n // no-break space suffix prevents key collisions\n return Object.entries(mfePackageClean.options).reduce((result, [key, value]) => {\n result[`${key}\\u00A0`] = { group: 'Clean Options:', ...value };\n return result;\n }, {} as CommandOptions);\n}\n\nfunction rollbackOptions() {\n // double no-break space suffix prevents key collisions\n return Object.entries(mfePackageRollback.options).reduce((result, [key, value]) => {\n const optionProps = Object.fromEntries(\n Object.entries(value).filter(([k]) => k !== 'required')\n );\n result[`${key}\\u00A0\\u00A0`] = { group: 'Rollback Options:', ...optionProps };\n return result;\n }, {} as CommandOptions);\n}\n\nexport const entry = defineEntry({\n description: 'Publish or unpublish MFE packages',\n options: {\n clean: { boolean: true, description: 'Unpublish old versions' },\n concurrency: {\n number: true,\n description: 'Publish/unpublish the specified number of packages concurrently',\n defaultDescription: '1',\n },\n rollback: {\n boolean: true,\n description: 'Rollback specified tag to the previous version',\n },\n scope: {\n array: true,\n string: true,\n description: 'Publish/unpublish only the specified packages',\n },\n ...publishOptions(),\n ...cleanOptions(),\n ...rollbackOptions(),\n },\n} satisfies CommandEntry);\n"],"names":["entry","publishOptions","Object","entries","mfePackagePublish","options","reduce","result","key","value","group","cleanOptions","mfePackageClean","rollbackOptions","mfePackageRollback","optionProps","fromEntries","filter","k","defineEntry","description","clean","boolean","concurrency","number","defaultDescription","rollback","scope","array","string"],"mappings":";;;;+BAgCaA;;;eAAAA;;;6BA/Be;iCACa;mCACE;oCACC;AAE5C,SAASC;IACL,OAAOC,OAAOC,OAAO,CAACC,wBAAiB,CAACC,OAAO,EAAEC,MAAM,CAAC,CAACC,QAAQ,CAACC,KAAKC,MAAM;QACzEF,MAAM,CAACC,IAAI,GAAG;YAAEE,OAAO;YAAoB,GAAGD,KAAK;QAAC;QACpD,OAAOF;IACX,GAAG,CAAC;AACR;AAEA,SAASI;IACL,gDAAgD;IAChD,OAAOT,OAAOC,OAAO,CAACS,sBAAe,CAACP,OAAO,EAAEC,MAAM,CAAC,CAACC,QAAQ,CAACC,KAAKC,MAAM;QACvEF,MAAM,CAAC,GAAGC,IAAI,MAAM,CAAC,CAAC,GAAG;YAAEE,OAAO;YAAkB,GAAGD,KAAK;QAAC;QAC7D,OAAOF;IACX,GAAG,CAAC;AACR;AAEA,SAASM;IACL,uDAAuD;IACvD,OAAOX,OAAOC,OAAO,CAACW,yBAAkB,CAACT,OAAO,EAAEC,MAAM,CAAC,CAACC,QAAQ,CAACC,KAAKC,MAAM;QAC1E,MAAMM,cAAcb,OAAOc,WAAW,CAClCd,OAAOC,OAAO,CAACM,OAAOQ,MAAM,CAAC,CAAC,CAACC,EAAE,GAAKA,MAAM;QAEhDX,MAAM,CAAC,GAAGC,IAAI,YAAY,CAAC,CAAC,GAAG;YAAEE,OAAO;YAAqB,GAAGK,WAAW;QAAC;QAC5E,OAAOR;IACX,GAAG,CAAC;AACR;AAEO,MAAMP,QAAQmB,IAAAA,wBAAW,EAAC;IAC7BC,aAAa;IACbf,SAAS;QACLgB,OAAO;YAAEC,SAAS;YAAMF,aAAa;QAAyB;QAC9DG,aAAa;YACTC,QAAQ;YACRJ,aAAa;YACbK,oBAAoB;QACxB;QACAC,UAAU;YACNJ,SAAS;YACTF,aAAa;QACjB;QACAO,OAAO;YACHC,OAAO;YACPC,QAAQ;YACRT,aAAa;QACjB;QACA,GAAGnB,gBAAgB;QACnB,GAAGU,cAAc;QACjB,GAAGE,iBAAiB;IACxB;AACJ"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
options: {
|
|
3
|
+
host: {
|
|
4
|
+
string: true;
|
|
5
|
+
description: string;
|
|
6
|
+
demandOption: true;
|
|
7
|
+
};
|
|
8
|
+
packageName: {
|
|
9
|
+
string: true;
|
|
10
|
+
description: string;
|
|
11
|
+
demandOption: true;
|
|
12
|
+
};
|
|
13
|
+
tag: {
|
|
14
|
+
string: true;
|
|
15
|
+
description: string;
|
|
16
|
+
demandOption: true;
|
|
17
|
+
};
|
|
18
|
+
token: {
|
|
19
|
+
string: true;
|
|
20
|
+
description: string;
|
|
21
|
+
defaultDescription: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=mfe-purge-cache.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mfe-purge-cache.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/mfe-purge-cache.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;CAuBO,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
host: {
|
|
15
|
+
string: true,
|
|
16
|
+
description: 'Host URL to send purge requests to',
|
|
17
|
+
demandOption: true
|
|
18
|
+
},
|
|
19
|
+
packageName: {
|
|
20
|
+
string: true,
|
|
21
|
+
description: 'Package name to purge',
|
|
22
|
+
demandOption: true
|
|
23
|
+
},
|
|
24
|
+
tag: {
|
|
25
|
+
string: true,
|
|
26
|
+
description: 'Package tag to purge',
|
|
27
|
+
demandOption: true
|
|
28
|
+
},
|
|
29
|
+
token: {
|
|
30
|
+
string: true,
|
|
31
|
+
description: 'X-Purge-Token header value',
|
|
32
|
+
defaultDescription: 'process.env.UNPKG_PURGE_TOKEN'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=mfe-purge-cache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/mfe-purge-cache.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n host: {\n string: true,\n description: 'Host URL to send purge requests to',\n demandOption: true,\n },\n packageName: {\n string: true,\n description: 'Package name to purge',\n demandOption: true,\n },\n tag: {\n string: true,\n description: 'Package tag to purge',\n demandOption: true,\n },\n token: {\n string: true,\n description: 'X-Purge-Token header value',\n defaultDescription: 'process.env.UNPKG_PURGE_TOKEN',\n },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","host","string","description","demandOption","packageName","tag","token","defaultDescription"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,MAAM;YACFC,QAAQ;YACRC,aAAa;YACbC,cAAc;QAClB;QACAC,aAAa;YACTH,QAAQ;YACRC,aAAa;YACbC,cAAc;QAClB;QACAE,KAAK;YACDJ,QAAQ;YACRC,aAAa;YACbC,cAAc;QAClB;QACAG,OAAO;YACHL,QAAQ;YACRC,aAAa;YACbK,oBAAoB;QACxB;IACJ;AACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-package.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/prepare-package.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;CAIO,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
watch: {
|
|
15
|
+
boolean: true,
|
|
16
|
+
hidden: true
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=prepare-package.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/prepare-package.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n watch: { boolean: true, hidden: true },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","watch","boolean","hidden"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,OAAO;YAAEC,SAAS;YAAMC,QAAQ;QAAK;IACzC;AACJ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
allowRunFromGlobal: true;
|
|
3
|
+
description: string;
|
|
4
|
+
options: {
|
|
5
|
+
fix: {
|
|
6
|
+
boolean: true;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
rule: {
|
|
10
|
+
array: true;
|
|
11
|
+
string: true;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=review.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/review.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;CAOO,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
allowRunFromGlobal: true,
|
|
14
|
+
description: 'Check project for configuration errors',
|
|
15
|
+
options: {
|
|
16
|
+
fix: {
|
|
17
|
+
boolean: true,
|
|
18
|
+
description: 'Fix detected problems'
|
|
19
|
+
},
|
|
20
|
+
rule: {
|
|
21
|
+
array: true,
|
|
22
|
+
string: true,
|
|
23
|
+
description: 'Limit checks to specified rule(s)'
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=review.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/review.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n allowRunFromGlobal: true,\n description: 'Check project for configuration errors',\n options: {\n fix: { boolean: true, description: 'Fix detected problems' },\n rule: { array: true, string: true, description: 'Limit checks to specified rule(s)' },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","allowRunFromGlobal","description","options","fix","boolean","rule","array","string"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,oBAAoB;IACpBC,aAAa;IACbC,SAAS;QACLC,KAAK;YAAEC,SAAS;YAAMH,aAAa;QAAwB;QAC3DI,MAAM;YAAEC,OAAO;YAAMC,QAAQ;YAAMN,aAAa;QAAoC;IACxF;AACJ"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
description: string;
|
|
3
|
+
greedy: true;
|
|
4
|
+
options: {
|
|
5
|
+
codeCoverage: {
|
|
6
|
+
boolean: true;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
config: {
|
|
10
|
+
string: true;
|
|
11
|
+
hidden: true;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
ignore: {
|
|
15
|
+
array: true;
|
|
16
|
+
string: true;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
scope: {
|
|
20
|
+
array: true;
|
|
21
|
+
string: true;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
useTsc: {
|
|
25
|
+
boolean: true;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=start.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/start.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUO,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
description: 'Run project in development mode',
|
|
14
|
+
greedy: true,
|
|
15
|
+
options: {
|
|
16
|
+
codeCoverage: {
|
|
17
|
+
boolean: true,
|
|
18
|
+
description: 'Instrument code for coverage analysis?'
|
|
19
|
+
},
|
|
20
|
+
config: {
|
|
21
|
+
string: true,
|
|
22
|
+
hidden: true,
|
|
23
|
+
description: 'Use specified configuration'
|
|
24
|
+
},
|
|
25
|
+
ignore: {
|
|
26
|
+
array: true,
|
|
27
|
+
string: true,
|
|
28
|
+
description: 'Packages to skip'
|
|
29
|
+
},
|
|
30
|
+
scope: {
|
|
31
|
+
array: true,
|
|
32
|
+
string: true,
|
|
33
|
+
description: 'Packages to run and watch'
|
|
34
|
+
},
|
|
35
|
+
useTsc: {
|
|
36
|
+
boolean: true,
|
|
37
|
+
description: 'Use tsc to compile packages?'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=start.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/start.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n description: 'Run project in development mode',\n greedy: true,\n options: {\n codeCoverage: { boolean: true, description: 'Instrument code for coverage analysis?' },\n config: { string: true, hidden: true, description: 'Use specified configuration' },\n ignore: { array: true, string: true, description: 'Packages to skip' },\n scope: { array: true, string: true, description: 'Packages to run and watch' },\n useTsc: { boolean: true, description: 'Use tsc to compile packages?' },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","description","greedy","options","codeCoverage","boolean","config","string","hidden","ignore","array","scope","useTsc"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,aAAa;IACbC,QAAQ;IACRC,SAAS;QACLC,cAAc;YAAEC,SAAS;YAAMJ,aAAa;QAAyC;QACrFK,QAAQ;YAAEC,QAAQ;YAAMC,QAAQ;YAAMP,aAAa;QAA8B;QACjFQ,QAAQ;YAAEC,OAAO;YAAMH,QAAQ;YAAMN,aAAa;QAAmB;QACrEU,OAAO;YAAED,OAAO;YAAMH,QAAQ;YAAMN,aAAa;QAA4B;QAC7EW,QAAQ;YAAEP,SAAS;YAAMJ,aAAa;QAA+B;IACzE;AACJ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
options: {
|
|
3
|
+
_: {
|
|
4
|
+
description: string;
|
|
5
|
+
array: true;
|
|
6
|
+
string: true;
|
|
7
|
+
};
|
|
8
|
+
fix: {
|
|
9
|
+
boolean: true;
|
|
10
|
+
hidden: true;
|
|
11
|
+
};
|
|
12
|
+
paths: {
|
|
13
|
+
array: true;
|
|
14
|
+
string: true;
|
|
15
|
+
hidden: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=stylelint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylelint.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/stylelint.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;CAQO,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "entry", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return entry;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _defineentry = require("./define-entry");
|
|
12
|
+
const entry = (0, _defineentry.defineEntry)({
|
|
13
|
+
options: {
|
|
14
|
+
/* eslint-disable @typescript-eslint/naming-convention */ _: {
|
|
15
|
+
description: '[paths...]',
|
|
16
|
+
array: true,
|
|
17
|
+
string: true
|
|
18
|
+
},
|
|
19
|
+
/* eslint-enable @typescript-eslint/naming-convention */ fix: {
|
|
20
|
+
boolean: true,
|
|
21
|
+
hidden: true
|
|
22
|
+
},
|
|
23
|
+
paths: {
|
|
24
|
+
array: true,
|
|
25
|
+
string: true,
|
|
26
|
+
hidden: true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=stylelint.js.map
|