@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
|
@@ -10,19 +10,6 @@ Object.defineProperty(exports, "MFEPurgeCache", {
|
|
|
10
10
|
});
|
|
11
11
|
const _utils = require("../../utils");
|
|
12
12
|
const _types = require("./types");
|
|
13
|
-
function _define_property(obj, key, value) {
|
|
14
|
-
if (key in obj) {
|
|
15
|
-
Object.defineProperty(obj, key, {
|
|
16
|
-
value: value,
|
|
17
|
-
enumerable: true,
|
|
18
|
-
configurable: true,
|
|
19
|
-
writable: true
|
|
20
|
-
});
|
|
21
|
-
} else {
|
|
22
|
-
obj[key] = value;
|
|
23
|
-
}
|
|
24
|
-
return obj;
|
|
25
|
-
}
|
|
26
13
|
function _ts_decorate(decorators, target, key, desc) {
|
|
27
14
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
28
15
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -32,28 +19,6 @@ function _ts_decorate(decorators, target, key, desc) {
|
|
|
32
19
|
function _ts_metadata(k, v) {
|
|
33
20
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
34
21
|
}
|
|
35
|
-
const mfePurgeCacheOptions = {
|
|
36
|
-
host: {
|
|
37
|
-
string: true,
|
|
38
|
-
description: 'Host URL to send purge requests to',
|
|
39
|
-
demandOption: true
|
|
40
|
-
},
|
|
41
|
-
packageName: {
|
|
42
|
-
string: true,
|
|
43
|
-
description: 'Package name to purge',
|
|
44
|
-
demandOption: true
|
|
45
|
-
},
|
|
46
|
-
tag: {
|
|
47
|
-
string: true,
|
|
48
|
-
description: 'Package tag to purge',
|
|
49
|
-
demandOption: true
|
|
50
|
-
},
|
|
51
|
-
token: {
|
|
52
|
-
string: true,
|
|
53
|
-
description: 'X-Purge-Token header value',
|
|
54
|
-
defaultDescription: 'process.env.UNPKG_PURGE_TOKEN'
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
22
|
class MFEPurgeCache extends _types.Command {
|
|
58
23
|
async execute() {
|
|
59
24
|
var _this_args_token;
|
|
@@ -90,7 +55,6 @@ class MFEPurgeCache extends _types.Command {
|
|
|
90
55
|
return location;
|
|
91
56
|
}
|
|
92
57
|
}
|
|
93
|
-
_define_property(MFEPurgeCache, "options", mfePurgeCacheOptions);
|
|
94
58
|
_ts_decorate([
|
|
95
59
|
_utils.logErrors,
|
|
96
60
|
_ts_metadata("design:type", Function),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/cli/commands/mfe-purge-cache.ts"],"sourcesContent":["import { log, logErrors } from '../../utils';\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/commands/mfe-purge-cache.ts"],"sourcesContent":["import { log, logErrors } from '../../utils';\nimport type { entry } from './registry/mfe-purge-cache';\nimport { Command } from './types';\n\nexport type PurgeResponse = {\n pod: string;\n status: number;\n cache: string | null;\n location: string | null;\n}[];\n\nexport class MFEPurgeCache extends Command<typeof entry> {\n @logErrors\n async execute() {\n const { host: rawHost, packageName, tag } = this.args;\n const host = rawHost.replace(/\\/$/, '');\n const token = this.args.token ?? process.env.UNPKG_PURGE_TOKEN;\n const packageNameAndTag = `${packageName}@${tag}`;\n const path = `${packageNameAndTag}/dist/metadata.json`;\n\n log.info(`Purging cache for ${packageNameAndTag}`);\n\n if (!token) {\n log.warning('Token is not defined, skipping purge');\n return;\n }\n\n const response = await fetch(`${host}/_purge/${path}`, {\n method: 'POST',\n headers: { 'X-Purge-Token': token },\n });\n\n if (!response.ok) {\n throw new Error(`Purge request failed: ${response.status} ${response.statusText}`);\n }\n\n const responseJson = await response.json();\n /* istanbul ignore next: debug only */\n log.debug('mfe-purge-cache', () => JSON.stringify(responseJson, null, 2));\n\n log.info(`Cache purged: ${path} -> ${this.getLocation(responseJson)}`);\n }\n\n private getLocation(responseJson: PurgeResponse) {\n let location: string | null = null;\n if (Array.isArray(responseJson)) {\n location = responseJson[0]?.location?.replace(/^\\//, '') ?? null;\n }\n return location;\n }\n}\n"],"names":["MFEPurgeCache","Command","execute","host","rawHost","packageName","tag","args","replace","token","process","env","UNPKG_PURGE_TOKEN","packageNameAndTag","path","log","info","warning","response","fetch","method","headers","ok","Error","status","statusText","responseJson","json","debug","JSON","stringify","getLocation","location","Array","isArray"],"mappings":";;;;+BAWaA;;;eAAAA;;;uBAXkB;uBAEP;;;;;;;;;;AASjB,MAAMA,sBAAsBC,cAAO;IACtC,MACMC,UAAU;YAGE;QAFd,MAAM,EAAEC,MAAMC,OAAO,EAAEC,WAAW,EAAEC,GAAG,EAAE,GAAG,IAAI,CAACC,IAAI;QACrD,MAAMJ,OAAOC,QAAQI,OAAO,CAAC,OAAO;QACpC,MAAMC,SAAQ,mBAAA,IAAI,CAACF,IAAI,CAACE,KAAK,cAAf,8BAAA,mBAAmBC,QAAQC,GAAG,CAACC,iBAAiB;QAC9D,MAAMC,oBAAoB,GAAGR,YAAY,CAAC,EAAEC,KAAK;QACjD,MAAMQ,OAAO,GAAGD,kBAAkB,mBAAmB,CAAC;QAEtDE,UAAG,CAACC,IAAI,CAAC,CAAC,kBAAkB,EAAEH,mBAAmB;QAEjD,IAAI,CAACJ,OAAO;YACRM,UAAG,CAACE,OAAO,CAAC;YACZ;QACJ;QAEA,MAAMC,WAAW,MAAMC,MAAM,GAAGhB,KAAK,QAAQ,EAAEW,MAAM,EAAE;YACnDM,QAAQ;YACRC,SAAS;gBAAE,iBAAiBZ;YAAM;QACtC;QAEA,IAAI,CAACS,SAASI,EAAE,EAAE;YACd,MAAM,IAAIC,MAAM,CAAC,sBAAsB,EAAEL,SAASM,MAAM,CAAC,CAAC,EAAEN,SAASO,UAAU,EAAE;QACrF;QAEA,MAAMC,eAAe,MAAMR,SAASS,IAAI;QACxC,oCAAoC,GACpCZ,UAAG,CAACa,KAAK,CAAC,mBAAmB,IAAMC,KAAKC,SAAS,CAACJ,cAAc,MAAM;QAEtEX,UAAG,CAACC,IAAI,CAAC,CAAC,cAAc,EAAEF,KAAK,IAAI,EAAE,IAAI,CAACiB,WAAW,CAACL,eAAe;IACzE;IAEQK,YAAYL,YAA2B,EAAE;QAC7C,IAAIM,WAA0B;QAC9B,IAAIC,MAAMC,OAAO,CAACR,eAAe;;gBAClBA,yBAAAA;YAAXM,oBAAWN,iBAAAA,YAAY,CAAC,EAAE,cAAfA,sCAAAA,0BAAAA,eAAiBM,QAAQ,cAAzBN,8CAAAA,wBAA2BlB,OAAO,CAAC,OAAO,0CAAO;QAChE;QACA,OAAOwB;IACX;AACJ"}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
+
import type { entry } from './registry/prepare-package';
|
|
1
2
|
import { Command } from './types';
|
|
2
|
-
declare
|
|
3
|
-
watch: {
|
|
4
|
-
boolean: true;
|
|
5
|
-
hidden: true;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare class PreparePackage extends Command<typeof options> {
|
|
9
|
-
static readonly options: {
|
|
10
|
-
watch: {
|
|
11
|
-
boolean: true;
|
|
12
|
-
hidden: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
3
|
+
export declare class PreparePackage extends Command<typeof entry> {
|
|
15
4
|
execute(): Promise<void>;
|
|
16
5
|
}
|
|
17
|
-
export {};
|
|
18
6
|
//# sourceMappingURL=prepare-package.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-package.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/prepare-package.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"prepare-package.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/prepare-package.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,qBAAa,cAAe,SAAQ,OAAO,CAAC,OAAO,KAAK,CAAC;IAErD,OAAO;CAGV"}
|
|
@@ -11,19 +11,6 @@ Object.defineProperty(exports, "PreparePackage", {
|
|
|
11
11
|
const _utils = require("../../utils");
|
|
12
12
|
const _utils1 = require("../utils");
|
|
13
13
|
const _types = require("./types");
|
|
14
|
-
function _define_property(obj, key, value) {
|
|
15
|
-
if (key in obj) {
|
|
16
|
-
Object.defineProperty(obj, key, {
|
|
17
|
-
value: value,
|
|
18
|
-
enumerable: true,
|
|
19
|
-
configurable: true,
|
|
20
|
-
writable: true
|
|
21
|
-
});
|
|
22
|
-
} else {
|
|
23
|
-
obj[key] = value;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
}
|
|
27
14
|
function _ts_decorate(decorators, target, key, desc) {
|
|
28
15
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
29
16
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -33,12 +20,6 @@ function _ts_decorate(decorators, target, key, desc) {
|
|
|
33
20
|
function _ts_metadata(k, v) {
|
|
34
21
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
35
22
|
}
|
|
36
|
-
const options = {
|
|
37
|
-
watch: {
|
|
38
|
-
boolean: true,
|
|
39
|
-
hidden: true
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
23
|
class PreparePackage extends _types.Command {
|
|
43
24
|
execute() {
|
|
44
25
|
return (0, _utils1.copyFiles)({
|
|
@@ -46,7 +27,6 @@ class PreparePackage extends _types.Command {
|
|
|
46
27
|
});
|
|
47
28
|
}
|
|
48
29
|
}
|
|
49
|
-
_define_property(PreparePackage, "options", options);
|
|
50
30
|
_ts_decorate([
|
|
51
31
|
_utils.logErrors,
|
|
52
32
|
_ts_metadata("design:type", Function),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/cli/commands/prepare-package.ts"],"sourcesContent":["import { logErrors } from '../../utils';\nimport { copyFiles } from '../utils';\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/commands/prepare-package.ts"],"sourcesContent":["import { logErrors } from '../../utils';\nimport { copyFiles } from '../utils';\nimport type { entry } from './registry/prepare-package';\nimport { Command } from './types';\n\nexport class PreparePackage extends Command<typeof entry> {\n @logErrors\n execute() {\n return copyFiles({ watch: this.args.watch });\n }\n}\n"],"names":["PreparePackage","Command","execute","copyFiles","watch","args"],"mappings":";;;;+BAKaA;;;eAAAA;;;uBALa;wBACA;uBAEF;;;;;;;;;;AAEjB,MAAMA,uBAAuBC,cAAO;IAEvCC,UAAU;QACN,OAAOC,IAAAA,iBAAS,EAAC;YAAEC,OAAO,IAAI,CAACC,IAAI,CAACD,KAAK;QAAC;IAC9C;AACJ"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
description: string;
|
|
3
|
+
greedy: true;
|
|
4
|
+
options: {
|
|
5
|
+
cdnPath: {
|
|
6
|
+
string: true;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
codeCoverage: {
|
|
10
|
+
boolean: true;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
config: {
|
|
14
|
+
string: true;
|
|
15
|
+
hidden: true;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
ignore: {
|
|
19
|
+
array: true;
|
|
20
|
+
string: true;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
scope: {
|
|
24
|
+
array: true;
|
|
25
|
+
string: true;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
stat: {
|
|
29
|
+
boolean: true;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
useTsc: {
|
|
33
|
+
boolean: true;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=build.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/build.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYO,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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: 'Build project for production',
|
|
14
|
+
greedy: true,
|
|
15
|
+
options: {
|
|
16
|
+
cdnPath: {
|
|
17
|
+
string: true,
|
|
18
|
+
description: 'Base url for application assets'
|
|
19
|
+
},
|
|
20
|
+
codeCoverage: {
|
|
21
|
+
boolean: true,
|
|
22
|
+
description: 'Instrument code for coverage analysis?'
|
|
23
|
+
},
|
|
24
|
+
config: {
|
|
25
|
+
string: true,
|
|
26
|
+
hidden: true,
|
|
27
|
+
description: 'Use specified configuration'
|
|
28
|
+
},
|
|
29
|
+
ignore: {
|
|
30
|
+
array: true,
|
|
31
|
+
string: true,
|
|
32
|
+
description: 'Packages to skip'
|
|
33
|
+
},
|
|
34
|
+
scope: {
|
|
35
|
+
array: true,
|
|
36
|
+
string: true,
|
|
37
|
+
description: 'Packages to build'
|
|
38
|
+
},
|
|
39
|
+
stat: {
|
|
40
|
+
boolean: true,
|
|
41
|
+
description: 'Generate bundle report?'
|
|
42
|
+
},
|
|
43
|
+
useTsc: {
|
|
44
|
+
boolean: true,
|
|
45
|
+
description: 'Use tsc to compile packages?'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=build.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/build.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n description: 'Build project for production',\n greedy: true,\n options: {\n cdnPath: { string: true, description: 'Base url for application assets' },\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 build' },\n stat: { boolean: true, description: 'Generate bundle report?' },\n useTsc: { boolean: true, description: 'Use tsc to compile packages?' },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","description","greedy","options","cdnPath","string","codeCoverage","boolean","config","hidden","ignore","array","scope","stat","useTsc"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,aAAa;IACbC,QAAQ;IACRC,SAAS;QACLC,SAAS;YAAEC,QAAQ;YAAMJ,aAAa;QAAkC;QACxEK,cAAc;YAAEC,SAAS;YAAMN,aAAa;QAAyC;QACrFO,QAAQ;YAAEH,QAAQ;YAAMI,QAAQ;YAAMR,aAAa;QAA8B;QACjFS,QAAQ;YAAEC,OAAO;YAAMN,QAAQ;YAAMJ,aAAa;QAAmB;QACrEW,OAAO;YAAED,OAAO;YAAMN,QAAQ;YAAMJ,aAAa;QAAoB;QACrEY,MAAM;YAAEN,SAAS;YAAMN,aAAa;QAA0B;QAC9Da,QAAQ;YAAEP,SAAS;YAAMN,aAAa;QAA+B;IACzE;AACJ"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const entry: {
|
|
2
|
+
options: {
|
|
3
|
+
codeCoverage: {
|
|
4
|
+
boolean: true;
|
|
5
|
+
hidden: true;
|
|
6
|
+
};
|
|
7
|
+
config: {
|
|
8
|
+
string: true;
|
|
9
|
+
hidden: true;
|
|
10
|
+
};
|
|
11
|
+
exposedDependencies: {
|
|
12
|
+
boolean: true;
|
|
13
|
+
hidden: true;
|
|
14
|
+
};
|
|
15
|
+
stat: {
|
|
16
|
+
boolean: true;
|
|
17
|
+
hidden: true;
|
|
18
|
+
};
|
|
19
|
+
useWatchConfig: {
|
|
20
|
+
boolean: true;
|
|
21
|
+
hidden: true;
|
|
22
|
+
};
|
|
23
|
+
watch: {
|
|
24
|
+
boolean: true;
|
|
25
|
+
hidden: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=bundle-package.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-package.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/bundle-package.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;CASO,CAAC"}
|
|
@@ -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
|
+
codeCoverage: {
|
|
15
|
+
boolean: true,
|
|
16
|
+
hidden: true
|
|
17
|
+
},
|
|
18
|
+
config: {
|
|
19
|
+
string: true,
|
|
20
|
+
hidden: true
|
|
21
|
+
},
|
|
22
|
+
exposedDependencies: {
|
|
23
|
+
boolean: true,
|
|
24
|
+
hidden: true
|
|
25
|
+
},
|
|
26
|
+
stat: {
|
|
27
|
+
boolean: true,
|
|
28
|
+
hidden: true
|
|
29
|
+
},
|
|
30
|
+
useWatchConfig: {
|
|
31
|
+
boolean: true,
|
|
32
|
+
hidden: true
|
|
33
|
+
},
|
|
34
|
+
watch: {
|
|
35
|
+
boolean: true,
|
|
36
|
+
hidden: true
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=bundle-package.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/bundle-package.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n options: {\n codeCoverage: { boolean: true, hidden: true },\n config: { string: true, hidden: true },\n exposedDependencies: { boolean: true, hidden: true },\n stat: { boolean: true, hidden: true },\n useWatchConfig: { boolean: true, hidden: true },\n watch: { boolean: true, hidden: true },\n },\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","options","codeCoverage","boolean","hidden","config","string","exposedDependencies","stat","useWatchConfig","watch"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,SAAS;QACLC,cAAc;YAAEC,SAAS;YAAMC,QAAQ;QAAK;QAC5CC,QAAQ;YAAEC,QAAQ;YAAMF,QAAQ;QAAK;QACrCG,qBAAqB;YAAEJ,SAAS;YAAMC,QAAQ;QAAK;QACnDI,MAAM;YAAEL,SAAS;YAAMC,QAAQ;QAAK;QACpCK,gBAAgB;YAAEN,SAAS;YAAMC,QAAQ;QAAK;QAC9CM,OAAO;YAAEP,SAAS;YAAMC,QAAQ;QAAK;IACzC;AACJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clean.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/registry/clean.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;CAGO,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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: 'Reset project to fresh state'
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=clean.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/cli/commands/registry/clean.ts"],"sourcesContent":["import type { CommandEntry } from '../types';\nimport { defineEntry } from './define-entry';\n\nexport const entry = defineEntry({\n allowRunFromGlobal: true,\n description: 'Reset project to fresh state',\n} satisfies CommandEntry);\n"],"names":["entry","defineEntry","allowRunFromGlobal","description"],"mappings":";;;;+BAGaA;;;eAAAA;;;6BAFe;AAErB,MAAMA,QAAQC,IAAAA,wBAAW,EAAC;IAC7BC,oBAAoB;IACpBC,aAAa;AACjB"}
|