@xylabs/ts-scripts-yarn3 2.19.3 → 2.19.5
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/actions/build.js +58 -0
- package/dist/actions/build.js.map +1 -0
- package/dist/actions/build.mjs +24 -0
- package/dist/actions/build.mjs.map +1 -0
- package/dist/actions/clean-docs.js +48 -0
- package/dist/actions/clean-docs.js.map +1 -0
- package/dist/actions/clean-docs.mjs +14 -0
- package/dist/actions/clean-docs.mjs.map +1 -0
- package/dist/actions/clean-eslint.js +48 -0
- package/dist/actions/clean-eslint.js.map +1 -0
- package/dist/actions/clean-eslint.mjs +14 -0
- package/dist/actions/clean-eslint.mjs.map +1 -0
- package/dist/actions/clean-jest.js +33 -0
- package/dist/actions/clean-jest.js.map +1 -0
- package/dist/actions/clean-jest.mjs +9 -0
- package/dist/actions/clean-jest.mjs.map +1 -0
- package/dist/actions/clean.js +47 -0
- package/dist/actions/clean.js.map +1 -0
- package/dist/actions/clean.mjs +21 -0
- package/dist/actions/clean.mjs.map +1 -0
- package/dist/actions/compile.js +67 -0
- package/dist/actions/compile.js.map +1 -0
- package/dist/actions/compile.mjs +31 -0
- package/dist/actions/compile.mjs.map +1 -0
- package/dist/actions/copy-assets.js +90 -0
- package/dist/actions/copy-assets.js.map +1 -0
- package/dist/actions/copy-assets.mjs +56 -0
- package/dist/actions/copy-assets.mjs.map +1 -0
- package/dist/actions/cycle.js +33 -0
- package/dist/actions/cycle.js.map +1 -0
- package/dist/actions/cycle.mjs +9 -0
- package/dist/actions/cycle.mjs.map +1 -0
- package/dist/actions/dead.js +32 -0
- package/dist/actions/dead.js.map +1 -0
- package/dist/actions/dead.mjs +8 -0
- package/dist/actions/dead.mjs.map +1 -0
- package/dist/actions/deploy-major.js +39 -0
- package/dist/actions/deploy-major.js.map +1 -0
- package/dist/actions/deploy-major.mjs +15 -0
- package/dist/actions/deploy-major.mjs.map +1 -0
- package/dist/actions/deploy-minor.js +39 -0
- package/dist/actions/deploy-minor.js.map +1 -0
- package/dist/actions/deploy-minor.mjs +15 -0
- package/dist/actions/deploy-minor.mjs.map +1 -0
- package/dist/actions/deploy-next.js +39 -0
- package/dist/actions/deploy-next.js.map +1 -0
- package/dist/actions/deploy-next.mjs +15 -0
- package/dist/actions/deploy-next.mjs.map +1 -0
- package/dist/actions/deploy.js +40 -0
- package/dist/actions/deploy.js.map +1 -0
- package/dist/actions/deploy.mjs +16 -0
- package/dist/actions/deploy.mjs.map +1 -0
- package/dist/actions/deps.js +64 -0
- package/dist/actions/deps.js.map +1 -0
- package/dist/actions/deps.mjs +28 -0
- package/dist/actions/deps.mjs.map +1 -0
- package/dist/actions/dupdeps.js +46 -0
- package/dist/actions/dupdeps.js.map +1 -0
- package/dist/actions/dupdeps.mjs +12 -0
- package/dist/actions/dupdeps.mjs.map +1 -0
- package/dist/actions/fix.js +32 -0
- package/dist/actions/fix.js.map +1 -0
- package/dist/actions/fix.mjs +8 -0
- package/dist/actions/fix.mjs.map +1 -0
- package/dist/actions/gen-docs.js +45 -0
- package/dist/actions/gen-docs.js.map +1 -0
- package/dist/actions/gen-docs.mjs +19 -0
- package/dist/actions/gen-docs.mjs.map +1 -0
- package/dist/actions/gitignore-gen.js +31 -0
- package/dist/actions/gitignore-gen.js.map +1 -0
- package/dist/actions/gitignore-gen.mjs +7 -0
- package/dist/actions/gitignore-gen.mjs.map +1 -0
- package/dist/actions/gitlint-fix.js +60 -0
- package/dist/actions/gitlint-fix.js.map +1 -0
- package/dist/actions/gitlint-fix.mjs +26 -0
- package/dist/actions/gitlint-fix.mjs.map +1 -0
- package/dist/actions/gitlint.js +81 -0
- package/dist/actions/gitlint.js.map +1 -0
- package/dist/actions/gitlint.mjs +47 -0
- package/dist/actions/gitlint.mjs.map +1 -0
- package/dist/actions/index.js +107 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/actions/index.mjs +44 -0
- package/dist/actions/index.mjs.map +1 -0
- package/dist/actions/license.js +106 -0
- package/dist/actions/license.js.map +1 -0
- package/dist/actions/license.mjs +72 -0
- package/dist/actions/license.mjs.map +1 -0
- package/dist/actions/lint-clean.js +47 -0
- package/dist/actions/lint-clean.js.map +1 -0
- package/dist/actions/lint-clean.mjs +23 -0
- package/dist/actions/lint-clean.mjs.map +1 -0
- package/dist/actions/lint-profile.js +32 -0
- package/dist/actions/lint-profile.js.map +1 -0
- package/dist/actions/lint-profile.mjs +8 -0
- package/dist/actions/lint-profile.mjs.map +1 -0
- package/dist/actions/lint.js +67 -0
- package/dist/actions/lint.js.map +1 -0
- package/dist/actions/lint.mjs +31 -0
- package/dist/actions/lint.mjs.map +1 -0
- package/dist/actions/npmignore-gen.js +31 -0
- package/dist/actions/npmignore-gen.js.map +1 -0
- package/dist/actions/npmignore-gen.mjs +7 -0
- package/dist/actions/npmignore-gen.mjs.map +1 -0
- package/dist/actions/package/clean-outputs.js +51 -0
- package/dist/actions/package/clean-outputs.js.map +1 -0
- package/dist/actions/package/clean-outputs.mjs +17 -0
- package/dist/actions/package/clean-outputs.mjs.map +1 -0
- package/dist/actions/package/clean-typescript.js +51 -0
- package/dist/actions/package/clean-typescript.js.map +1 -0
- package/dist/actions/package/clean-typescript.mjs +17 -0
- package/dist/actions/package/clean-typescript.mjs.map +1 -0
- package/dist/actions/package/clean.js +33 -0
- package/dist/actions/package/clean.js.map +1 -0
- package/dist/actions/package/clean.mjs +9 -0
- package/dist/actions/package/clean.mjs.map +1 -0
- package/dist/actions/package/compile-cjs.js +39 -0
- package/dist/actions/package/compile-cjs.js.map +1 -0
- package/dist/actions/package/compile-cjs.mjs +15 -0
- package/dist/actions/package/compile-cjs.mjs.map +1 -0
- package/dist/actions/package/compile-esm.js +39 -0
- package/dist/actions/package/compile-esm.js.map +1 -0
- package/dist/actions/package/compile-esm.mjs +15 -0
- package/dist/actions/package/compile-esm.mjs.map +1 -0
- package/dist/actions/package/compile.js +40 -0
- package/dist/actions/package/compile.js.map +1 -0
- package/dist/actions/package/compile.mjs +16 -0
- package/dist/actions/package/compile.mjs.map +1 -0
- package/dist/actions/package/copy-assets.js +76 -0
- package/dist/actions/package/copy-assets.js.map +1 -0
- package/dist/actions/package/copy-assets.mjs +42 -0
- package/dist/actions/package/copy-assets.mjs.map +1 -0
- package/dist/actions/package/deps.js +115 -0
- package/dist/actions/package/deps.js.map +1 -0
- package/dist/actions/package/deps.mjs +81 -0
- package/dist/actions/package/deps.mjs.map +1 -0
- package/dist/actions/package/gen-docs.js +145 -0
- package/dist/actions/package/gen-docs.js.map +1 -0
- package/dist/actions/package/gen-docs.mjs +111 -0
- package/dist/actions/package/gen-docs.mjs.map +1 -0
- package/dist/actions/package/index.js +47 -0
- package/dist/actions/package/index.js.map +1 -0
- package/dist/actions/package/index.mjs +14 -0
- package/dist/actions/package/index.mjs.map +1 -0
- package/dist/actions/package/publint.js +55 -0
- package/dist/actions/package/publint.js.map +1 -0
- package/dist/actions/package/publint.mjs +21 -0
- package/dist/actions/package/publint.mjs.map +1 -0
- package/dist/actions/package/recompile.js +33 -0
- package/dist/actions/package/recompile.js.map +1 -0
- package/dist/actions/package/recompile.mjs +9 -0
- package/dist/actions/package/recompile.mjs.map +1 -0
- package/dist/actions/package/tsconfig-gen-cjs.js +66 -0
- package/dist/actions/package/tsconfig-gen-cjs.js.map +1 -0
- package/dist/actions/package/tsconfig-gen-cjs.mjs +32 -0
- package/dist/actions/package/tsconfig-gen-cjs.mjs.map +1 -0
- package/dist/actions/package/tsconfig-gen-esm.js +68 -0
- package/dist/actions/package/tsconfig-gen-esm.js.map +1 -0
- package/dist/actions/package/tsconfig-gen-esm.mjs +34 -0
- package/dist/actions/package/tsconfig-gen-esm.mjs.map +1 -0
- package/dist/actions/publint.js +47 -0
- package/dist/actions/publint.js.map +1 -0
- package/dist/actions/publint.mjs +21 -0
- package/dist/actions/publint.mjs.map +1 -0
- package/dist/actions/rebuild.js +35 -0
- package/dist/actions/rebuild.js.map +1 -0
- package/dist/actions/rebuild.mjs +11 -0
- package/dist/actions/rebuild.mjs.map +1 -0
- package/dist/actions/recompile.js +67 -0
- package/dist/actions/recompile.js.map +1 -0
- package/dist/actions/recompile.mjs +31 -0
- package/dist/actions/recompile.mjs.map +1 -0
- package/dist/actions/reinstall.js +48 -0
- package/dist/actions/reinstall.js.map +1 -0
- package/dist/actions/reinstall.mjs +24 -0
- package/dist/actions/reinstall.mjs.map +1 -0
- package/dist/actions/relint.js +46 -0
- package/dist/actions/relint.js.map +1 -0
- package/dist/actions/relint.mjs +22 -0
- package/dist/actions/relint.mjs.map +1 -0
- package/dist/actions/retest.js +35 -0
- package/dist/actions/retest.js.map +1 -0
- package/dist/actions/retest.mjs +11 -0
- package/dist/actions/retest.mjs.map +1 -0
- package/dist/actions/sonar.js +32 -0
- package/dist/actions/sonar.js.map +1 -0
- package/dist/actions/sonar.mjs +8 -0
- package/dist/actions/sonar.mjs.map +1 -0
- package/dist/actions/statics.js +46 -0
- package/dist/actions/statics.js.map +1 -0
- package/dist/actions/statics.mjs +12 -0
- package/dist/actions/statics.mjs.map +1 -0
- package/dist/actions/test.js +32 -0
- package/dist/actions/test.js.map +1 -0
- package/dist/actions/test.mjs +8 -0
- package/dist/actions/test.mjs.map +1 -0
- package/dist/actions/tsconfig-gen-cjs.js +68 -0
- package/dist/actions/tsconfig-gen-cjs.js.map +1 -0
- package/dist/actions/tsconfig-gen-cjs.mjs +34 -0
- package/dist/actions/tsconfig-gen-cjs.mjs.map +1 -0
- package/dist/actions/tsconfig-gen-clean.js +56 -0
- package/dist/actions/tsconfig-gen-clean.js.map +1 -0
- package/dist/actions/tsconfig-gen-clean.mjs +22 -0
- package/dist/actions/tsconfig-gen-clean.mjs.map +1 -0
- package/dist/actions/tsconfig-gen-esm.js +68 -0
- package/dist/actions/tsconfig-gen-esm.js.map +1 -0
- package/dist/actions/tsconfig-gen-esm.mjs +34 -0
- package/dist/actions/tsconfig-gen-esm.mjs.map +1 -0
- package/dist/actions/tsconfig-gen-test.js +73 -0
- package/dist/actions/tsconfig-gen-test.js.map +1 -0
- package/dist/actions/tsconfig-gen-test.mjs +39 -0
- package/dist/actions/tsconfig-gen-test.mjs.map +1 -0
- package/dist/actions/tsconfig-gen.js +41 -0
- package/dist/actions/tsconfig-gen.js.map +1 -0
- package/dist/actions/tsconfig-gen.mjs +17 -0
- package/dist/actions/tsconfig-gen.mjs.map +1 -0
- package/dist/actions/up.js +32 -0
- package/dist/actions/up.js.map +1 -0
- package/dist/actions/up.mjs +8 -0
- package/dist/actions/up.mjs.map +1 -0
- package/dist/actions/updo.js +36 -0
- package/dist/actions/updo.js.map +1 -0
- package/dist/actions/updo.mjs +12 -0
- package/dist/actions/updo.mjs.map +1 -0
- package/dist/actions/upplug.js +37 -0
- package/dist/actions/upplug.js.map +1 -0
- package/dist/actions/upplug.mjs +13 -0
- package/dist/actions/upplug.mjs.map +1 -0
- package/dist/actions/upyarn.js +32 -0
- package/dist/actions/upyarn.js.map +1 -0
- package/dist/actions/upyarn.mjs +8 -0
- package/dist/actions/upyarn.mjs.map +1 -0
- package/dist/actions/yarn3only.js +36 -0
- package/dist/actions/yarn3only.js.map +1 -0
- package/dist/actions/yarn3only.mjs +12 -0
- package/dist/actions/yarn3only.mjs.map +1 -0
- package/dist/bin/build.js +5 -0
- package/dist/bin/build.js.map +1 -0
- package/dist/bin/build.mjs +4 -0
- package/dist/bin/build.mjs.map +1 -0
- package/dist/bin/clean.js +5 -0
- package/dist/bin/clean.js.map +1 -0
- package/dist/bin/clean.mjs +4 -0
- package/dist/bin/clean.mjs.map +1 -0
- package/dist/bin/compile.js +5 -0
- package/dist/bin/compile.js.map +1 -0
- package/dist/bin/compile.mjs +4 -0
- package/dist/bin/compile.mjs.map +1 -0
- package/dist/bin/cycle.js +5 -0
- package/dist/bin/cycle.js.map +1 -0
- package/dist/bin/cycle.mjs +4 -0
- package/dist/bin/cycle.mjs.map +1 -0
- package/dist/bin/dead.js +5 -0
- package/dist/bin/dead.js.map +1 -0
- package/dist/bin/dead.mjs +4 -0
- package/dist/bin/dead.mjs.map +1 -0
- package/dist/bin/deploy-major.js +5 -0
- package/dist/bin/deploy-major.js.map +1 -0
- package/dist/bin/deploy-major.mjs +4 -0
- package/dist/bin/deploy-major.mjs.map +1 -0
- package/dist/bin/deploy-minor.js +5 -0
- package/dist/bin/deploy-minor.js.map +1 -0
- package/dist/bin/deploy-minor.mjs +4 -0
- package/dist/bin/deploy-minor.mjs.map +1 -0
- package/dist/bin/deploy-next.js +5 -0
- package/dist/bin/deploy-next.js.map +1 -0
- package/dist/bin/deploy-next.mjs +4 -0
- package/dist/bin/deploy-next.mjs.map +1 -0
- package/dist/bin/deploy.js +5 -0
- package/dist/bin/deploy.js.map +1 -0
- package/dist/bin/deploy.mjs +4 -0
- package/dist/bin/deploy.mjs.map +1 -0
- package/dist/bin/deps.js +5 -0
- package/dist/bin/deps.js.map +1 -0
- package/dist/bin/deps.mjs +4 -0
- package/dist/bin/deps.mjs.map +1 -0
- package/dist/bin/fix.js +5 -0
- package/dist/bin/fix.js.map +1 -0
- package/dist/bin/fix.mjs +4 -0
- package/dist/bin/fix.mjs.map +1 -0
- package/dist/bin/gen-docs.js +5 -0
- package/dist/bin/gen-docs.js.map +1 -0
- package/dist/bin/gen-docs.mjs +4 -0
- package/dist/bin/gen-docs.mjs.map +1 -0
- package/dist/bin/gitlint-fix.js +5 -0
- package/dist/bin/gitlint-fix.js.map +1 -0
- package/dist/bin/gitlint-fix.mjs +4 -0
- package/dist/bin/gitlint-fix.mjs.map +1 -0
- package/dist/bin/gitlint.js +5 -0
- package/dist/bin/gitlint.js.map +1 -0
- package/dist/bin/gitlint.mjs +4 -0
- package/dist/bin/gitlint.mjs.map +1 -0
- package/dist/bin/license.js +5 -0
- package/dist/bin/license.js.map +1 -0
- package/dist/bin/license.mjs +4 -0
- package/dist/bin/license.mjs.map +1 -0
- package/dist/bin/lint-clean.js +5 -0
- package/dist/bin/lint-clean.js.map +1 -0
- package/dist/bin/lint-clean.mjs +4 -0
- package/dist/bin/lint-clean.mjs.map +1 -0
- package/dist/bin/lint-fast.js +5 -0
- package/dist/bin/lint-fast.js.map +1 -0
- package/dist/bin/lint-fast.mjs +4 -0
- package/dist/bin/lint-fast.mjs.map +1 -0
- package/dist/bin/lint-profile.js +5 -0
- package/dist/bin/lint-profile.js.map +1 -0
- package/dist/bin/lint-profile.mjs +4 -0
- package/dist/bin/lint-profile.mjs.map +1 -0
- package/dist/bin/lint.js +5 -0
- package/dist/bin/lint.js.map +1 -0
- package/dist/bin/lint.mjs +4 -0
- package/dist/bin/lint.mjs.map +1 -0
- package/dist/bin/package/clean-outputs.js +5 -0
- package/dist/bin/package/clean-outputs.js.map +1 -0
- package/dist/bin/package/clean-outputs.mjs +4 -0
- package/dist/bin/package/clean-outputs.mjs.map +1 -0
- package/dist/bin/package/clean-typescript.js +5 -0
- package/dist/bin/package/clean-typescript.js.map +1 -0
- package/dist/bin/package/clean-typescript.mjs +4 -0
- package/dist/bin/package/clean-typescript.mjs.map +1 -0
- package/dist/bin/package/clean.js +5 -0
- package/dist/bin/package/clean.js.map +1 -0
- package/dist/bin/package/clean.mjs +4 -0
- package/dist/bin/package/clean.mjs.map +1 -0
- package/dist/bin/package/compile-cjs.js +31 -0
- package/dist/bin/package/compile-cjs.js.map +1 -0
- package/dist/bin/package/compile-cjs.mjs +8 -0
- package/dist/bin/package/compile-cjs.mjs.map +1 -0
- package/dist/bin/package/compile-esm.js +31 -0
- package/dist/bin/package/compile-esm.js.map +1 -0
- package/dist/bin/package/compile-esm.mjs +8 -0
- package/dist/bin/package/compile-esm.mjs.map +1 -0
- package/dist/bin/package/compile.js +31 -0
- package/dist/bin/package/compile.js.map +1 -0
- package/dist/bin/package/compile.mjs +8 -0
- package/dist/bin/package/compile.mjs.map +1 -0
- package/dist/bin/package/copy-assets-cjs.js +31 -0
- package/dist/bin/package/copy-assets-cjs.js.map +1 -0
- package/dist/bin/package/copy-assets-cjs.mjs +8 -0
- package/dist/bin/package/copy-assets-cjs.mjs.map +1 -0
- package/dist/bin/package/copy-assets-esm.js +31 -0
- package/dist/bin/package/copy-assets-esm.js.map +1 -0
- package/dist/bin/package/copy-assets-esm.mjs +8 -0
- package/dist/bin/package/copy-assets-esm.mjs.map +1 -0
- package/dist/bin/package/deps.js +31 -0
- package/dist/bin/package/deps.js.map +1 -0
- package/dist/bin/package/deps.mjs +8 -0
- package/dist/bin/package/deps.mjs.map +1 -0
- package/dist/bin/package/gen-docs.js +5 -0
- package/dist/bin/package/gen-docs.js.map +1 -0
- package/dist/bin/package/gen-docs.mjs +4 -0
- package/dist/bin/package/gen-docs.mjs.map +1 -0
- package/dist/bin/package/publint.js +31 -0
- package/dist/bin/package/publint.js.map +1 -0
- package/dist/bin/package/publint.mjs +8 -0
- package/dist/bin/package/publint.mjs.map +1 -0
- package/dist/bin/package/recompile.js +31 -0
- package/dist/bin/package/recompile.js.map +1 -0
- package/dist/bin/package/recompile.mjs +8 -0
- package/dist/bin/package/recompile.mjs.map +1 -0
- package/dist/bin/package/tsconfig-gen-cjs.js +5 -0
- package/dist/bin/package/tsconfig-gen-cjs.js.map +1 -0
- package/dist/bin/package/tsconfig-gen-cjs.mjs +4 -0
- package/dist/bin/package/tsconfig-gen-cjs.mjs.map +1 -0
- package/dist/bin/package/tsconfig-gen-esm.js +5 -0
- package/dist/bin/package/tsconfig-gen-esm.js.map +1 -0
- package/dist/bin/package/tsconfig-gen-esm.mjs +4 -0
- package/dist/bin/package/tsconfig-gen-esm.mjs.map +1 -0
- package/dist/bin/package/tsconfig-gen.js +6 -0
- package/dist/bin/package/tsconfig-gen.js.map +1 -0
- package/dist/bin/package/tsconfig-gen.mjs +5 -0
- package/dist/bin/package/tsconfig-gen.mjs.map +1 -0
- package/dist/bin/publint.js +5 -0
- package/dist/bin/publint.js.map +1 -0
- package/dist/bin/publint.mjs +4 -0
- package/dist/bin/publint.mjs.map +1 -0
- package/dist/bin/rebuild.js +5 -0
- package/dist/bin/rebuild.js.map +1 -0
- package/dist/bin/rebuild.mjs +4 -0
- package/dist/bin/rebuild.mjs.map +1 -0
- package/dist/bin/recompile.js +5 -0
- package/dist/bin/recompile.js.map +1 -0
- package/dist/bin/recompile.mjs +4 -0
- package/dist/bin/recompile.mjs.map +1 -0
- package/dist/bin/reinstall.js +5 -0
- package/dist/bin/reinstall.js.map +1 -0
- package/dist/bin/reinstall.mjs +4 -0
- package/dist/bin/reinstall.mjs.map +1 -0
- package/dist/bin/relint.js +5 -0
- package/dist/bin/relint.js.map +1 -0
- package/dist/bin/relint.mjs +4 -0
- package/dist/bin/relint.mjs.map +1 -0
- package/dist/bin/sonar.js +5 -0
- package/dist/bin/sonar.js.map +1 -0
- package/dist/bin/sonar.mjs +4 -0
- package/dist/bin/sonar.mjs.map +1 -0
- package/dist/bin/test.js +5 -0
- package/dist/bin/test.js.map +1 -0
- package/dist/bin/test.mjs +4 -0
- package/dist/bin/test.mjs.map +1 -0
- package/dist/bin/tsconfig-gen-clean.js +5 -0
- package/dist/bin/tsconfig-gen-clean.js.map +1 -0
- package/dist/bin/tsconfig-gen-clean.mjs +4 -0
- package/dist/bin/tsconfig-gen-clean.mjs.map +1 -0
- package/dist/bin/tsconfig-gen.js +5 -0
- package/dist/bin/tsconfig-gen.js.map +1 -0
- package/dist/bin/tsconfig-gen.mjs +4 -0
- package/dist/bin/tsconfig-gen.mjs.map +1 -0
- package/dist/bin/up.js +5 -0
- package/dist/bin/up.js.map +1 -0
- package/dist/bin/up.mjs +4 -0
- package/dist/bin/up.mjs.map +1 -0
- package/dist/bin/updo.js +5 -0
- package/dist/bin/updo.js.map +1 -0
- package/dist/bin/updo.mjs +4 -0
- package/dist/bin/updo.mjs.map +1 -0
- package/dist/bin/upplug.js +5 -0
- package/dist/bin/upplug.js.map +1 -0
- package/dist/bin/upplug.mjs +4 -0
- package/dist/bin/upplug.mjs.map +1 -0
- package/dist/bin/upyarn.js +5 -0
- package/dist/bin/upyarn.js.map +1 -0
- package/dist/bin/upyarn.mjs +4 -0
- package/dist/bin/upyarn.mjs.map +1 -0
- package/dist/bin/xy-ts.js +5 -0
- package/dist/bin/xy-ts.js.map +1 -0
- package/dist/bin/xy-ts.mjs +4 -0
- package/dist/bin/xy-ts.mjs.map +1 -0
- package/dist/bin/xy.js +5 -0
- package/dist/bin/xy.js.map +1 -0
- package/dist/bin/xy.mjs +4 -0
- package/dist/bin/xy.mjs.map +1 -0
- package/dist/bin/yarn3only.js +5 -0
- package/dist/bin/yarn3only.js.map +1 -0
- package/dist/bin/yarn3only.mjs +4 -0
- package/dist/bin/yarn3only.mjs.map +1 -0
- package/dist/cjs/actions/clean.d.ts +12 -0
- package/dist/cjs/actions/clean.d.ts.map +1 -0
- package/dist/cjs/actions/clean.js +15 -4
- package/dist/cjs/actions/clean.js.map +1 -1
- package/dist/cjs/actions/index.d.ts +44 -0
- package/dist/cjs/actions/index.d.ts.map +1 -0
- package/dist/cjs/actions/index.js +1 -0
- package/dist/cjs/actions/index.js.map +1 -1
- package/dist/cjs/actions/package/index.d.ts +14 -0
- package/dist/cjs/actions/package/index.d.ts.map +1 -0
- package/dist/cjs/actions/package/index.js +1 -0
- package/dist/cjs/actions/package/index.js.map +1 -1
- package/dist/cjs/actions/package/publint.d.ts +2 -0
- package/dist/cjs/actions/package/publint.d.ts.map +1 -0
- package/dist/cjs/actions/package/publint.js +25 -0
- package/dist/cjs/actions/package/publint.js.map +1 -0
- package/dist/cjs/actions/publint.d.ts +12 -0
- package/dist/cjs/actions/publint.d.ts.map +1 -0
- package/dist/cjs/actions/publint.js +23 -0
- package/dist/cjs/actions/publint.js.map +1 -0
- package/dist/cjs/bin/build.js +0 -0
- package/dist/cjs/bin/clean.js +0 -0
- package/dist/cjs/bin/compile.js +0 -0
- package/dist/cjs/bin/cycle.js +0 -0
- package/dist/cjs/bin/dead.js +0 -0
- package/dist/cjs/bin/deploy-major.js +0 -0
- package/dist/cjs/bin/deploy-minor.js +0 -0
- package/dist/cjs/bin/deploy-next.js +0 -0
- package/dist/cjs/bin/deploy.js +0 -0
- package/dist/cjs/bin/deps.js +0 -0
- package/dist/cjs/bin/fix.js +0 -0
- package/dist/cjs/bin/gen-docs.js +0 -0
- package/dist/cjs/bin/gitlint-fix.js +0 -0
- package/dist/cjs/bin/gitlint.js +0 -0
- package/dist/cjs/bin/license.js +0 -0
- package/dist/cjs/bin/lint-clean.js +0 -0
- package/dist/cjs/bin/lint-fast.js +0 -0
- package/dist/cjs/bin/lint-profile.js +0 -0
- package/dist/cjs/bin/lint.js +0 -0
- package/dist/cjs/bin/package/clean.js +0 -0
- package/dist/cjs/bin/package/compile-cjs.js +0 -0
- package/dist/cjs/bin/package/compile-esm.js +0 -0
- package/dist/cjs/bin/package/compile.js +0 -0
- package/dist/cjs/bin/package/copy-assets-cjs.js +0 -0
- package/dist/cjs/bin/package/copy-assets-esm.js +0 -0
- package/dist/cjs/bin/package/deps.js +0 -0
- package/dist/cjs/bin/package/gen-docs.js +0 -0
- package/dist/cjs/bin/package/publint.d.ts +3 -0
- package/dist/cjs/bin/package/publint.d.ts.map +1 -0
- package/dist/cjs/bin/package/publint.js +11 -0
- package/dist/cjs/bin/package/publint.js.map +1 -0
- package/dist/cjs/bin/package/recompile.js +0 -0
- package/dist/cjs/bin/package/tsconfig-gen-cjs.js +0 -0
- package/dist/cjs/bin/package/tsconfig-gen-esm.js +0 -0
- package/dist/cjs/bin/package/tsconfig-gen.js +0 -0
- package/dist/cjs/bin/publint.d.ts +3 -0
- package/dist/cjs/bin/publint.d.ts.map +1 -0
- package/dist/cjs/bin/publint.js +6 -0
- package/dist/cjs/bin/publint.js.map +1 -0
- package/dist/cjs/bin/rebuild.js +0 -0
- package/dist/cjs/bin/recompile.js +0 -0
- package/dist/cjs/bin/reinstall.js +0 -0
- package/dist/cjs/bin/relint.js +0 -0
- package/dist/cjs/bin/sonar.js +0 -0
- package/dist/cjs/bin/test.js +0 -0
- package/dist/cjs/bin/tsconfig-gen-clean.js +0 -0
- package/dist/cjs/bin/tsconfig-gen.js +0 -0
- package/dist/cjs/bin/up.js +0 -0
- package/dist/cjs/bin/updo.js +0 -0
- package/dist/cjs/bin/upplug.js +0 -0
- package/dist/cjs/bin/upyarn.js +0 -0
- package/dist/cjs/bin/xy.js +0 -0
- package/dist/cjs/bin/yarn3only.js +0 -0
- package/dist/cjs/lib/withErrnoException.d.ts +3 -0
- package/dist/cjs/lib/withErrnoException.d.ts.map +1 -0
- package/dist/cjs/lib/xy/xyInstallCommands.d.ts.map +1 -0
- package/dist/cjs/lib/xy/xyInstallCommands.js +10 -5
- package/dist/cjs/lib/xy/xyInstallCommands.js.map +1 -1
- package/dist/cjs/lib/xy/xyLintCommands.d.ts.map +1 -0
- package/dist/cjs/lib/xy/xyLintCommands.js +11 -0
- package/dist/cjs/lib/xy/xyLintCommands.js.map +1 -1
- package/dist/esm/actions/build.d.ts +9 -0
- package/dist/esm/actions/build.d.ts.map +1 -0
- package/dist/esm/actions/clean-docs.d.ts +2 -0
- package/dist/esm/actions/clean-docs.d.ts.map +1 -0
- package/dist/esm/actions/clean-eslint.d.ts +2 -0
- package/dist/esm/actions/clean-eslint.d.ts.map +1 -0
- package/dist/esm/actions/clean-jest.d.ts +2 -0
- package/dist/esm/actions/clean-jest.d.ts.map +1 -0
- package/dist/esm/actions/clean.d.ts +12 -0
- package/dist/esm/actions/clean.d.ts.map +1 -0
- package/dist/esm/actions/clean.js +11 -3
- package/dist/esm/actions/clean.js.map +1 -1
- package/dist/esm/actions/compile.d.ts +16 -0
- package/dist/esm/actions/compile.d.ts.map +1 -0
- package/dist/esm/actions/copy-assets.d.ts +6 -0
- package/dist/esm/actions/copy-assets.d.ts.map +1 -0
- package/dist/esm/actions/cycle.d.ts +2 -0
- package/dist/esm/actions/cycle.d.ts.map +1 -0
- package/dist/esm/actions/dead.d.ts +2 -0
- package/dist/esm/actions/dead.d.ts.map +1 -0
- package/dist/esm/actions/deploy-major.d.ts +2 -0
- package/dist/esm/actions/deploy-major.d.ts.map +1 -0
- package/dist/esm/actions/deploy-minor.d.ts +2 -0
- package/dist/esm/actions/deploy-minor.d.ts.map +1 -0
- package/dist/esm/actions/deploy-next.d.ts +2 -0
- package/dist/esm/actions/deploy-next.d.ts.map +1 -0
- package/dist/esm/actions/deploy.d.ts +2 -0
- package/dist/esm/actions/deploy.d.ts.map +1 -0
- package/dist/esm/actions/deps.d.ts +12 -0
- package/dist/esm/actions/deps.d.ts.map +1 -0
- package/dist/esm/actions/dupdeps.d.ts +2 -0
- package/dist/esm/actions/dupdeps.d.ts.map +1 -0
- package/dist/esm/actions/fix.d.ts +2 -0
- package/dist/esm/actions/fix.d.ts.map +1 -0
- package/dist/esm/actions/gen-docs.d.ts +11 -0
- package/dist/esm/actions/gen-docs.d.ts.map +1 -0
- package/dist/esm/actions/gitignore-gen.d.ts +2 -0
- package/dist/esm/actions/gitignore-gen.d.ts.map +1 -0
- package/dist/esm/actions/gitlint-fix.d.ts +2 -0
- package/dist/esm/actions/gitlint-fix.d.ts.map +1 -0
- package/dist/esm/actions/gitlint.d.ts +2 -0
- package/dist/esm/actions/gitlint.d.ts.map +1 -0
- package/dist/esm/actions/index.d.ts +44 -0
- package/dist/esm/actions/index.d.ts.map +1 -0
- package/dist/esm/actions/index.js +1 -0
- package/dist/esm/actions/index.js.map +1 -1
- package/dist/esm/actions/license.d.ts +2 -0
- package/dist/esm/actions/license.d.ts.map +1 -0
- package/dist/esm/actions/lint-clean.d.ts +2 -0
- package/dist/esm/actions/lint-clean.d.ts.map +1 -0
- package/dist/esm/actions/lint-profile.d.ts +2 -0
- package/dist/esm/actions/lint-profile.d.ts.map +1 -0
- package/dist/esm/actions/lint.d.ts +12 -0
- package/dist/esm/actions/lint.d.ts.map +1 -0
- package/dist/esm/actions/npmignore-gen.d.ts +2 -0
- package/dist/esm/actions/npmignore-gen.d.ts.map +1 -0
- package/dist/esm/actions/package/clean-outputs.d.ts +2 -0
- package/dist/esm/actions/package/clean-outputs.d.ts.map +1 -0
- package/dist/esm/actions/package/clean-typescript.d.ts +2 -0
- package/dist/esm/actions/package/clean-typescript.d.ts.map +1 -0
- package/dist/esm/actions/package/clean.d.ts +2 -0
- package/dist/esm/actions/package/clean.d.ts.map +1 -0
- package/dist/esm/actions/package/compile-cjs.d.ts +2 -0
- package/dist/esm/actions/package/compile-cjs.d.ts.map +1 -0
- package/dist/esm/actions/package/compile-esm.d.ts +2 -0
- package/dist/esm/actions/package/compile-esm.d.ts.map +1 -0
- package/dist/esm/actions/package/compile.d.ts +2 -0
- package/dist/esm/actions/package/compile.d.ts.map +1 -0
- package/dist/esm/actions/package/copy-assets.d.ts +5 -0
- package/dist/esm/actions/package/copy-assets.d.ts.map +1 -0
- package/dist/esm/actions/package/deps.d.ts +2 -0
- package/dist/esm/actions/package/deps.d.ts.map +1 -0
- package/dist/esm/actions/package/gen-docs.d.ts +2 -0
- package/dist/esm/actions/package/gen-docs.d.ts.map +1 -0
- package/dist/esm/actions/package/index.d.ts +14 -0
- package/dist/esm/actions/package/index.d.ts.map +1 -0
- package/dist/esm/actions/package/index.js +1 -0
- package/dist/esm/actions/package/index.js.map +1 -1
- package/dist/esm/actions/package/publint.d.ts +2 -0
- package/dist/esm/actions/package/publint.d.ts.map +1 -0
- package/dist/esm/actions/package/publint.js +20 -0
- package/dist/esm/actions/package/publint.js.map +1 -0
- package/dist/esm/actions/package/recompile.d.ts +2 -0
- package/dist/esm/actions/package/recompile.d.ts.map +1 -0
- package/dist/esm/actions/package/tsconfig-gen-cjs.d.ts +2 -0
- package/dist/esm/actions/package/tsconfig-gen-cjs.d.ts.map +1 -0
- package/dist/esm/actions/package/tsconfig-gen-esm.d.ts +2 -0
- package/dist/esm/actions/package/tsconfig-gen-esm.d.ts.map +1 -0
- package/dist/esm/actions/publint.d.ts +12 -0
- package/dist/esm/actions/publint.d.ts.map +1 -0
- package/dist/esm/actions/publint.js +16 -0
- package/dist/esm/actions/publint.js.map +1 -0
- package/dist/esm/actions/rebuild.d.ts +6 -0
- package/dist/esm/actions/rebuild.d.ts.map +1 -0
- package/dist/esm/actions/recompile.d.ts +16 -0
- package/dist/esm/actions/recompile.d.ts.map +1 -0
- package/dist/esm/actions/reinstall.d.ts +2 -0
- package/dist/esm/actions/reinstall.d.ts.map +1 -0
- package/dist/esm/actions/relint.d.ts +2 -0
- package/dist/esm/actions/relint.d.ts.map +1 -0
- package/dist/esm/actions/retest.d.ts +2 -0
- package/dist/esm/actions/retest.d.ts.map +1 -0
- package/dist/esm/actions/sonar.d.ts +2 -0
- package/dist/esm/actions/sonar.d.ts.map +1 -0
- package/dist/esm/actions/statics.d.ts +2 -0
- package/dist/esm/actions/statics.d.ts.map +1 -0
- package/dist/esm/actions/test.d.ts +2 -0
- package/dist/esm/actions/test.d.ts.map +1 -0
- package/dist/esm/actions/tsconfig-gen-cjs.d.ts +2 -0
- package/dist/esm/actions/tsconfig-gen-cjs.d.ts.map +1 -0
- package/dist/esm/actions/tsconfig-gen-clean.d.ts +2 -0
- package/dist/esm/actions/tsconfig-gen-clean.d.ts.map +1 -0
- package/dist/esm/actions/tsconfig-gen-esm.d.ts +2 -0
- package/dist/esm/actions/tsconfig-gen-esm.d.ts.map +1 -0
- package/dist/esm/actions/tsconfig-gen-test.d.ts +2 -0
- package/dist/esm/actions/tsconfig-gen-test.d.ts.map +1 -0
- package/dist/esm/actions/tsconfig-gen.d.ts +6 -0
- package/dist/esm/actions/tsconfig-gen.d.ts.map +1 -0
- package/dist/esm/actions/up.d.ts +2 -0
- package/dist/esm/actions/up.d.ts.map +1 -0
- package/dist/esm/actions/updo.d.ts +2 -0
- package/dist/esm/actions/updo.d.ts.map +1 -0
- package/dist/esm/actions/upplug.d.ts +2 -0
- package/dist/esm/actions/upplug.d.ts.map +1 -0
- package/dist/esm/actions/upyarn.d.ts +2 -0
- package/dist/esm/actions/upyarn.d.ts.map +1 -0
- package/dist/esm/actions/yarn3only.d.ts +2 -0
- package/dist/esm/actions/yarn3only.d.ts.map +1 -0
- package/dist/esm/bin/build.d.ts +3 -0
- package/dist/esm/bin/build.d.ts.map +1 -0
- package/dist/esm/bin/clean.d.ts +3 -0
- package/dist/esm/bin/clean.d.ts.map +1 -0
- package/dist/esm/bin/compile.d.ts +3 -0
- package/dist/esm/bin/compile.d.ts.map +1 -0
- package/dist/esm/bin/cycle.d.ts +3 -0
- package/dist/esm/bin/cycle.d.ts.map +1 -0
- package/dist/esm/bin/dead.d.ts +3 -0
- package/dist/esm/bin/dead.d.ts.map +1 -0
- package/dist/esm/bin/deploy-major.d.ts +3 -0
- package/dist/esm/bin/deploy-major.d.ts.map +1 -0
- package/dist/esm/bin/deploy-minor.d.ts +3 -0
- package/dist/esm/bin/deploy-minor.d.ts.map +1 -0
- package/dist/esm/bin/deploy-next.d.ts +3 -0
- package/dist/esm/bin/deploy-next.d.ts.map +1 -0
- package/dist/esm/bin/deploy.d.ts +3 -0
- package/dist/esm/bin/deploy.d.ts.map +1 -0
- package/dist/esm/bin/deps.d.ts +3 -0
- package/dist/esm/bin/deps.d.ts.map +1 -0
- package/dist/esm/bin/fix.d.ts +3 -0
- package/dist/esm/bin/fix.d.ts.map +1 -0
- package/dist/esm/bin/gen-docs.d.ts +3 -0
- package/dist/esm/bin/gen-docs.d.ts.map +1 -0
- package/dist/esm/bin/gitlint-fix.d.ts +3 -0
- package/dist/esm/bin/gitlint-fix.d.ts.map +1 -0
- package/dist/esm/bin/gitlint.d.ts +3 -0
- package/dist/esm/bin/gitlint.d.ts.map +1 -0
- package/dist/esm/bin/license.d.ts +3 -0
- package/dist/esm/bin/license.d.ts.map +1 -0
- package/dist/esm/bin/lint-clean.d.ts +3 -0
- package/dist/esm/bin/lint-clean.d.ts.map +1 -0
- package/dist/esm/bin/lint-fast.d.ts +3 -0
- package/dist/esm/bin/lint-fast.d.ts.map +1 -0
- package/dist/esm/bin/lint-profile.d.ts +3 -0
- package/dist/esm/bin/lint-profile.d.ts.map +1 -0
- package/dist/esm/bin/lint.d.ts +3 -0
- package/dist/esm/bin/lint.d.ts.map +1 -0
- package/dist/esm/bin/package/clean-outputs.d.ts +3 -0
- package/dist/esm/bin/package/clean-outputs.d.ts.map +1 -0
- package/dist/esm/bin/package/clean-typescript.d.ts +3 -0
- package/dist/esm/bin/package/clean-typescript.d.ts.map +1 -0
- package/dist/esm/bin/package/clean.d.ts +3 -0
- package/dist/esm/bin/package/clean.d.ts.map +1 -0
- package/dist/esm/bin/package/compile-cjs.d.ts +3 -0
- package/dist/esm/bin/package/compile-cjs.d.ts.map +1 -0
- package/dist/esm/bin/package/compile-esm.d.ts +3 -0
- package/dist/esm/bin/package/compile-esm.d.ts.map +1 -0
- package/dist/esm/bin/package/compile.d.ts +3 -0
- package/dist/esm/bin/package/compile.d.ts.map +1 -0
- package/dist/esm/bin/package/copy-assets-cjs.d.ts +3 -0
- package/dist/esm/bin/package/copy-assets-cjs.d.ts.map +1 -0
- package/dist/esm/bin/package/copy-assets-esm.d.ts +3 -0
- package/dist/esm/bin/package/copy-assets-esm.d.ts.map +1 -0
- package/dist/esm/bin/package/deps.d.ts +3 -0
- package/dist/esm/bin/package/deps.d.ts.map +1 -0
- package/dist/esm/bin/package/gen-docs.d.ts +3 -0
- package/dist/esm/bin/package/gen-docs.d.ts.map +1 -0
- package/dist/esm/bin/package/publint.d.ts +3 -0
- package/dist/esm/bin/package/publint.d.ts.map +1 -0
- package/dist/esm/bin/package/publint.js +8 -0
- package/dist/esm/bin/package/publint.js.map +1 -0
- package/dist/esm/bin/package/recompile.d.ts +3 -0
- package/dist/esm/bin/package/recompile.d.ts.map +1 -0
- package/dist/esm/bin/package/tsconfig-gen-cjs.d.ts +3 -0
- package/dist/esm/bin/package/tsconfig-gen-cjs.d.ts.map +1 -0
- package/dist/esm/bin/package/tsconfig-gen-esm.d.ts +3 -0
- package/dist/esm/bin/package/tsconfig-gen-esm.d.ts.map +1 -0
- package/dist/esm/bin/package/tsconfig-gen.d.ts +3 -0
- package/dist/esm/bin/package/tsconfig-gen.d.ts.map +1 -0
- package/dist/esm/bin/publint.d.ts +3 -0
- package/dist/esm/bin/publint.d.ts.map +1 -0
- package/dist/esm/bin/publint.js +4 -0
- package/dist/esm/bin/publint.js.map +1 -0
- package/dist/esm/bin/rebuild.d.ts +3 -0
- package/dist/esm/bin/rebuild.d.ts.map +1 -0
- package/dist/esm/bin/recompile.d.ts +3 -0
- package/dist/esm/bin/recompile.d.ts.map +1 -0
- package/dist/esm/bin/reinstall.d.ts +3 -0
- package/dist/esm/bin/reinstall.d.ts.map +1 -0
- package/dist/esm/bin/relint.d.ts +3 -0
- package/dist/esm/bin/relint.d.ts.map +1 -0
- package/dist/esm/bin/sonar.d.ts +3 -0
- package/dist/esm/bin/sonar.d.ts.map +1 -0
- package/dist/esm/bin/test.d.ts +3 -0
- package/dist/esm/bin/test.d.ts.map +1 -0
- package/dist/esm/bin/tsconfig-gen-clean.d.ts +3 -0
- package/dist/esm/bin/tsconfig-gen-clean.d.ts.map +1 -0
- package/dist/esm/bin/tsconfig-gen.d.ts +3 -0
- package/dist/esm/bin/tsconfig-gen.d.ts.map +1 -0
- package/dist/esm/bin/up.d.ts +3 -0
- package/dist/esm/bin/up.d.ts.map +1 -0
- package/dist/esm/bin/updo.d.ts +3 -0
- package/dist/esm/bin/updo.d.ts.map +1 -0
- package/dist/esm/bin/upplug.d.ts +3 -0
- package/dist/esm/bin/upplug.d.ts.map +1 -0
- package/dist/esm/bin/upyarn.d.ts +3 -0
- package/dist/esm/bin/upyarn.d.ts.map +1 -0
- package/dist/esm/bin/xy-ts.d.ts +3 -0
- package/dist/esm/bin/xy-ts.d.ts.map +1 -0
- package/dist/esm/bin/xy.d.ts +3 -0
- package/dist/esm/bin/xy.d.ts.map +1 -0
- package/dist/esm/bin/yarn3only.d.ts +3 -0
- package/dist/esm/bin/yarn3only.d.ts.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/lib/checkResult.d.ts +2 -0
- package/dist/esm/lib/checkResult.d.ts.map +1 -0
- package/dist/esm/lib/createBuildConfig.d.ts +2 -0
- package/dist/esm/lib/createBuildConfig.d.ts.map +1 -0
- package/dist/esm/lib/defaultBuildConfig.d.ts +9 -0
- package/dist/esm/lib/defaultBuildConfig.d.ts.map +1 -0
- package/dist/esm/lib/dependencies/DuplicateDetector.d.ts +9 -0
- package/dist/esm/lib/dependencies/DuplicateDetector.d.ts.map +1 -0
- package/dist/esm/lib/dependencies/detectDuplicateDependencies.d.ts +2 -0
- package/dist/esm/lib/dependencies/detectDuplicateDependencies.d.ts.map +1 -0
- package/dist/esm/lib/dependencies/index.d.ts +3 -0
- package/dist/esm/lib/dependencies/index.d.ts.map +1 -0
- package/dist/esm/lib/file/ReadFileSyncOptions.d.ts +7 -0
- package/dist/esm/lib/file/ReadFileSyncOptions.d.ts.map +1 -0
- package/dist/esm/lib/file/constants.d.ts +3 -0
- package/dist/esm/lib/file/constants.d.ts.map +1 -0
- package/dist/esm/lib/file/fileLines.d.ts +6 -0
- package/dist/esm/lib/file/fileLines.d.ts.map +1 -0
- package/dist/esm/lib/file/index.d.ts +5 -0
- package/dist/esm/lib/file/index.d.ts.map +1 -0
- package/dist/esm/lib/file/tryReadFileSync.d.ts +4 -0
- package/dist/esm/lib/file/tryReadFileSync.d.ts.map +1 -0
- package/dist/esm/lib/generateIgnoreFiles.d.ts +2 -0
- package/dist/esm/lib/generateIgnoreFiles.d.ts.map +1 -0
- package/dist/esm/lib/index.d.ts +20 -0
- package/dist/esm/lib/index.d.ts.map +1 -0
- package/dist/esm/lib/jsonFormatters.d.ts +2 -0
- package/dist/esm/lib/jsonFormatters.d.ts.map +1 -0
- package/dist/esm/lib/parsedPackageJSON.d.ts +2 -0
- package/dist/esm/lib/parsedPackageJSON.d.ts.map +1 -0
- package/dist/esm/lib/processEx.d.ts +2 -0
- package/dist/esm/lib/processEx.d.ts.map +1 -0
- package/dist/esm/lib/runSteps.d.ts +5 -0
- package/dist/esm/lib/runSteps.d.ts.map +1 -0
- package/dist/esm/lib/runStepsAsync.d.ts +4 -0
- package/dist/esm/lib/runStepsAsync.d.ts.map +1 -0
- package/dist/esm/lib/runXy.d.ts +2 -0
- package/dist/esm/lib/runXy.d.ts.map +1 -0
- package/dist/esm/lib/runXyWithWarning.d.ts +2 -0
- package/dist/esm/lib/runXyWithWarning.d.ts.map +1 -0
- package/dist/esm/lib/safeExit.d.ts +5 -0
- package/dist/esm/lib/safeExit.d.ts.map +1 -0
- package/dist/esm/lib/string/empty.d.ts +3 -0
- package/dist/esm/lib/string/empty.d.ts.map +1 -0
- package/dist/esm/lib/string/index.d.ts +3 -0
- package/dist/esm/lib/string/index.d.ts.map +1 -0
- package/dist/esm/lib/string/union.d.ts +2 -0
- package/dist/esm/lib/string/union.d.ts.map +1 -0
- package/dist/esm/lib/withErrnoException.d.ts +3 -0
- package/dist/esm/lib/withErrnoException.d.ts.map +1 -0
- package/dist/esm/lib/withError.d.ts +2 -0
- package/dist/esm/lib/withError.d.ts.map +1 -0
- package/dist/esm/lib/xy/index.d.ts +8 -0
- package/dist/esm/lib/xy/index.d.ts.map +1 -0
- package/dist/esm/lib/xy/xy.d.ts +10 -0
- package/dist/esm/lib/xy/xy.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyBuildCommands.d.ts +3 -0
- package/dist/esm/lib/xy/xyBuildCommands.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyCommonCommands.d.ts +3 -0
- package/dist/esm/lib/xy/xyCommonCommands.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyDeployCommands.d.ts +3 -0
- package/dist/esm/lib/xy/xyDeployCommands.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyInstallCommands.d.ts +3 -0
- package/dist/esm/lib/xy/xyInstallCommands.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyInstallCommands.js +8 -4
- package/dist/esm/lib/xy/xyInstallCommands.js.map +1 -1
- package/dist/esm/lib/xy/xyLintCommands.d.ts +3 -0
- package/dist/esm/lib/xy/xyLintCommands.d.ts.map +1 -0
- package/dist/esm/lib/xy/xyLintCommands.js +12 -1
- package/dist/esm/lib/xy/xyLintCommands.js.map +1 -1
- package/dist/esm/lib/xy/xyParseOptions.d.ts +3 -0
- package/dist/esm/lib/xy/xyParseOptions.d.ts.map +1 -0
- package/dist/esm/lib/yarn/index.d.ts +4 -0
- package/dist/esm/lib/yarn/index.d.ts.map +1 -0
- package/dist/esm/lib/yarn/isYarnVersionOrGreater.d.ts.map +1 -0
- package/dist/esm/lib/yarn/workspace/Workspace.d.ts +5 -0
- package/dist/esm/lib/yarn/workspace/Workspace.d.ts.map +1 -0
- package/dist/esm/lib/yarn/workspace/index.d.ts +4 -0
- package/dist/esm/lib/yarn/workspace/index.d.ts.map +1 -0
- package/dist/esm/lib/yarn/workspace/yarnWorkspace.d.ts +3 -0
- package/dist/esm/lib/yarn/workspace/yarnWorkspace.d.ts.map +1 -0
- package/dist/esm/lib/yarn/workspace/yarnWorkspaces.d.ts +3 -0
- package/dist/esm/lib/yarn/workspace/yarnWorkspaces.d.ts.map +1 -0
- package/dist/esm/lib/yarn/yarnInitCwd.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/checkResult.js +49 -0
- package/dist/lib/checkResult.js.map +1 -0
- package/dist/lib/checkResult.mjs +15 -0
- package/dist/lib/checkResult.mjs.map +1 -0
- package/dist/lib/createBuildConfig.js +57 -0
- package/dist/lib/createBuildConfig.js.map +1 -0
- package/dist/lib/createBuildConfig.mjs +33 -0
- package/dist/lib/createBuildConfig.mjs.map +1 -0
- package/dist/lib/defaultBuildConfig.js +36 -0
- package/dist/lib/defaultBuildConfig.js.map +1 -0
- package/dist/lib/defaultBuildConfig.mjs +12 -0
- package/dist/lib/defaultBuildConfig.mjs.map +1 -0
- package/dist/lib/dependencies/DuplicateDetector.js +101 -0
- package/dist/lib/dependencies/DuplicateDetector.js.map +1 -0
- package/dist/lib/dependencies/DuplicateDetector.mjs +67 -0
- package/dist/lib/dependencies/DuplicateDetector.mjs.map +1 -0
- package/dist/lib/dependencies/detectDuplicateDependencies.js +65 -0
- package/dist/lib/dependencies/detectDuplicateDependencies.js.map +1 -0
- package/dist/lib/dependencies/detectDuplicateDependencies.mjs +41 -0
- package/dist/lib/dependencies/detectDuplicateDependencies.mjs.map +1 -0
- package/dist/lib/dependencies/index.js +25 -0
- package/dist/lib/dependencies/index.js.map +1 -0
- package/dist/lib/dependencies/index.mjs +3 -0
- package/dist/lib/dependencies/index.mjs.map +1 -0
- package/dist/lib/file/ReadFileSyncOptions.js +29 -0
- package/dist/lib/file/ReadFileSyncOptions.js.map +1 -0
- package/dist/lib/file/ReadFileSyncOptions.mjs +5 -0
- package/dist/lib/file/ReadFileSyncOptions.mjs.map +1 -0
- package/dist/lib/file/constants.js +32 -0
- package/dist/lib/file/constants.js.map +1 -0
- package/dist/lib/file/constants.mjs +7 -0
- package/dist/lib/file/constants.mjs.map +1 -0
- package/dist/lib/file/fileLines.js +44 -0
- package/dist/lib/file/fileLines.js.map +1 -0
- package/dist/lib/file/fileLines.mjs +18 -0
- package/dist/lib/file/fileLines.mjs.map +1 -0
- package/dist/lib/file/index.js +29 -0
- package/dist/lib/file/index.js.map +1 -0
- package/dist/lib/file/index.mjs +5 -0
- package/dist/lib/file/index.mjs.map +1 -0
- package/dist/lib/file/tryReadFileSync.js +33 -0
- package/dist/lib/file/tryReadFileSync.js.map +1 -0
- package/dist/lib/file/tryReadFileSync.mjs +9 -0
- package/dist/lib/file/tryReadFileSync.mjs.map +1 -0
- package/dist/lib/generateIgnoreFiles.js +62 -0
- package/dist/lib/generateIgnoreFiles.js.map +1 -0
- package/dist/lib/generateIgnoreFiles.mjs +28 -0
- package/dist/lib/generateIgnoreFiles.mjs.map +1 -0
- package/dist/lib/index.js +59 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/index.mjs +20 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/lib/jsonFormatters.js +34 -0
- package/dist/lib/jsonFormatters.js.map +1 -0
- package/dist/lib/jsonFormatters.mjs +10 -0
- package/dist/lib/jsonFormatters.mjs.map +1 -0
- package/dist/lib/parsedPackageJSON.js +34 -0
- package/dist/lib/parsedPackageJSON.js.map +1 -0
- package/dist/lib/parsedPackageJSON.mjs +10 -0
- package/dist/lib/parsedPackageJSON.mjs.map +1 -0
- package/dist/lib/processEx.js +59 -0
- package/dist/lib/processEx.js.map +1 -0
- package/dist/lib/processEx.mjs +25 -0
- package/dist/lib/processEx.mjs.map +1 -0
- package/dist/lib/runSteps.js +70 -0
- package/dist/lib/runSteps.js.map +1 -0
- package/dist/lib/runSteps.mjs +36 -0
- package/dist/lib/runSteps.mjs.map +1 -0
- package/dist/lib/runStepsAsync.js +88 -0
- package/dist/lib/runStepsAsync.js.map +1 -0
- package/dist/lib/runStepsAsync.mjs +53 -0
- package/dist/lib/runStepsAsync.mjs.map +1 -0
- package/dist/lib/runXy.js +32 -0
- package/dist/lib/runXy.js.map +1 -0
- package/dist/lib/runXy.mjs +8 -0
- package/dist/lib/runXy.mjs.map +1 -0
- package/dist/lib/runXyWithWarning.js +44 -0
- package/dist/lib/runXyWithWarning.js.map +1 -0
- package/dist/lib/runXyWithWarning.mjs +10 -0
- package/dist/lib/runXyWithWarning.mjs.map +1 -0
- package/dist/lib/safeExit.js +53 -0
- package/dist/lib/safeExit.js.map +1 -0
- package/dist/lib/safeExit.mjs +28 -0
- package/dist/lib/safeExit.mjs.map +1 -0
- package/dist/lib/string/empty.js +32 -0
- package/dist/lib/string/empty.js.map +1 -0
- package/dist/lib/string/empty.mjs +7 -0
- package/dist/lib/string/empty.mjs.map +1 -0
- package/dist/lib/string/index.js +25 -0
- package/dist/lib/string/index.js.map +1 -0
- package/dist/lib/string/index.mjs +3 -0
- package/dist/lib/string/index.mjs.map +1 -0
- package/dist/lib/string/union.js +29 -0
- package/dist/lib/string/union.js.map +1 -0
- package/dist/lib/string/union.mjs +5 -0
- package/dist/lib/string/union.mjs.map +1 -0
- package/dist/lib/withErrnoException.js +32 -0
- package/dist/lib/withErrnoException.js.map +1 -0
- package/dist/lib/withErrnoException.mjs +8 -0
- package/dist/lib/withErrnoException.mjs.map +1 -0
- package/dist/lib/withError.js +31 -0
- package/dist/lib/withError.js.map +1 -0
- package/dist/lib/withError.mjs +7 -0
- package/dist/lib/withError.mjs.map +1 -0
- package/dist/lib/xy/index.js +35 -0
- package/dist/lib/xy/index.js.map +1 -0
- package/dist/lib/xy/index.mjs +8 -0
- package/dist/lib/xy/index.mjs.map +1 -0
- package/dist/lib/xy/xy.js +52 -0
- package/dist/lib/xy/xy.js.map +1 -0
- package/dist/lib/xy/xy.mjs +18 -0
- package/dist/lib/xy/xy.mjs.map +1 -0
- package/dist/lib/xy/xyBuildCommands.js +118 -0
- package/dist/lib/xy/xyBuildCommands.js.map +1 -0
- package/dist/lib/xy/xyBuildCommands.mjs +94 -0
- package/dist/lib/xy/xyBuildCommands.mjs.map +1 -0
- package/dist/lib/xy/xyCommonCommands.js +205 -0
- package/dist/lib/xy/xyCommonCommands.js.map +1 -0
- package/dist/lib/xy/xyCommonCommands.mjs +198 -0
- package/dist/lib/xy/xyCommonCommands.mjs.map +1 -0
- package/dist/lib/xy/xyDeployCommands.js +76 -0
- package/dist/lib/xy/xyDeployCommands.js.map +1 -0
- package/dist/lib/xy/xyDeployCommands.mjs +52 -0
- package/dist/lib/xy/xyDeployCommands.mjs.map +1 -0
- package/dist/lib/xy/xyInstallCommands.js +104 -0
- package/dist/lib/xy/xyInstallCommands.js.map +1 -0
- package/dist/lib/xy/xyInstallCommands.mjs +80 -0
- package/dist/lib/xy/xyInstallCommands.mjs.map +1 -0
- package/dist/lib/xy/xyLintCommands.js +131 -0
- package/dist/lib/xy/xyLintCommands.js.map +1 -0
- package/dist/lib/xy/xyLintCommands.mjs +97 -0
- package/dist/lib/xy/xyLintCommands.mjs.map +1 -0
- package/dist/lib/xy/xyParseOptions.js +78 -0
- package/dist/lib/xy/xyParseOptions.js.map +1 -0
- package/dist/lib/xy/xyParseOptions.mjs +44 -0
- package/dist/lib/xy/xyParseOptions.mjs.map +1 -0
- package/dist/lib/yarn/index.js +27 -0
- package/dist/lib/yarn/index.js.map +1 -0
- package/dist/lib/yarn/index.mjs +4 -0
- package/dist/lib/yarn/index.mjs.map +1 -0
- package/dist/lib/yarn/isYarnVersionOrGreater.js +41 -0
- package/dist/lib/yarn/isYarnVersionOrGreater.js.map +1 -0
- package/dist/lib/yarn/isYarnVersionOrGreater.mjs +17 -0
- package/dist/lib/yarn/isYarnVersionOrGreater.mjs.map +1 -0
- package/dist/lib/yarn/workspace/Workspace.js +17 -0
- package/dist/lib/yarn/workspace/Workspace.js.map +1 -0
- package/dist/lib/yarn/workspace/Workspace.mjs +1 -0
- package/dist/lib/yarn/workspace/Workspace.mjs.map +1 -0
- package/dist/lib/yarn/workspace/index.js +27 -0
- package/dist/lib/yarn/workspace/index.js.map +1 -0
- package/dist/lib/yarn/workspace/index.mjs +4 -0
- package/dist/lib/yarn/workspace/index.mjs.map +1 -0
- package/dist/lib/yarn/workspace/yarnWorkspace.js +35 -0
- package/dist/lib/yarn/workspace/yarnWorkspace.js.map +1 -0
- package/dist/lib/yarn/workspace/yarnWorkspace.mjs +11 -0
- package/dist/lib/yarn/workspace/yarnWorkspace.mjs.map +1 -0
- package/dist/lib/yarn/workspace/yarnWorkspaces.js +39 -0
- package/dist/lib/yarn/workspace/yarnWorkspaces.js.map +1 -0
- package/dist/lib/yarn/workspace/yarnWorkspaces.mjs +15 -0
- package/dist/lib/yarn/workspace/yarnWorkspaces.mjs.map +1 -0
- package/dist/lib/yarn/yarnInitCwd.js +33 -0
- package/dist/lib/yarn/yarnInitCwd.js.map +1 -0
- package/dist/lib/yarn/yarnInitCwd.mjs +9 -0
- package/dist/lib/yarn/yarnInitCwd.mjs.map +1 -0
- package/package.json +92 -81
- package/src/actions/clean.ts +20 -3
- package/src/actions/index.ts +1 -0
- package/src/actions/package/index.ts +1 -0
- package/src/actions/package/publint.ts +26 -0
- package/src/actions/publint.ts +28 -0
- package/src/bin/package/publint.ts +9 -0
- package/src/bin/publint.ts +5 -0
- package/src/lib/xy/xyInstallCommands.ts +9 -4
- package/src/lib/xy/xyLintCommands.ts +16 -1
- package/tsconfig.json +1 -2
- package/tsup.config.ts +14 -0
- package/dist/cjs/lib/isYarnVersionOrGreater.js +0 -18
- package/dist/cjs/lib/isYarnVersionOrGreater.js.map +0 -1
- package/dist/cjs/lib/yarnInitCwd.js +0 -10
- package/dist/cjs/lib/yarnInitCwd.js.map +0 -1
- package/dist/cjs/lib/yarnWorkspaces.js +0 -20
- package/dist/cjs/lib/yarnWorkspaces.js.map +0 -1
- package/dist/esm/lib/isYarnVersionOrGreater.js +0 -14
- package/dist/esm/lib/isYarnVersionOrGreater.js.map +0 -1
- package/dist/esm/lib/yarnInitCwd.js +0 -6
- package/dist/esm/lib/yarnInitCwd.js.map +0 -1
- package/dist/esm/lib/yarnWorkspaces.js +0 -16
- package/dist/esm/lib/yarnWorkspaces.js.map +0 -1
- package/dist/types/actions/clean.d.ts +0 -5
- package/dist/types/actions/clean.d.ts.map +0 -1
- package/dist/types/actions/index.d.ts +0 -43
- package/dist/types/actions/index.d.ts.map +0 -1
- package/dist/types/actions/package/index.d.ts +0 -13
- package/dist/types/actions/package/index.d.ts.map +0 -1
- package/dist/types/lib/isYarnVersionOrGreater.d.ts.map +0 -1
- package/dist/types/lib/withErrnoException.d.ts +0 -2
- package/dist/types/lib/withErrnoException.d.ts.map +0 -1
- package/dist/types/lib/xy/xyInstallCommands.d.ts.map +0 -1
- package/dist/types/lib/xy/xyLintCommands.d.ts.map +0 -1
- package/dist/types/lib/yarnInitCwd.d.ts.map +0 -1
- package/dist/types/lib/yarnWorkspaces.d.ts +0 -6
- package/dist/types/lib/yarnWorkspaces.d.ts.map +0 -1
- package/tsconfig.build.cjs.json +0 -29
- package/tsconfig.build.esm.json +0 -29
- /package/dist/{types → cjs}/actions/build.d.ts +0 -0
- /package/dist/{types → cjs}/actions/build.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/clean-docs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/clean-docs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/clean-eslint.d.ts +0 -0
- /package/dist/{types → cjs}/actions/clean-eslint.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/clean-jest.d.ts +0 -0
- /package/dist/{types → cjs}/actions/clean-jest.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/compile.d.ts +0 -0
- /package/dist/{types → cjs}/actions/compile.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/copy-assets.d.ts +0 -0
- /package/dist/{types → cjs}/actions/copy-assets.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/cycle.d.ts +0 -0
- /package/dist/{types → cjs}/actions/cycle.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/dead.d.ts +0 -0
- /package/dist/{types → cjs}/actions/dead.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/deploy-major.d.ts +0 -0
- /package/dist/{types → cjs}/actions/deploy-major.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/deploy-minor.d.ts +0 -0
- /package/dist/{types → cjs}/actions/deploy-minor.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/deploy-next.d.ts +0 -0
- /package/dist/{types → cjs}/actions/deploy-next.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/deploy.d.ts +0 -0
- /package/dist/{types → cjs}/actions/deploy.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/deps.d.ts +0 -0
- /package/dist/{types → cjs}/actions/deps.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/dupdeps.d.ts +0 -0
- /package/dist/{types → cjs}/actions/dupdeps.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/fix.d.ts +0 -0
- /package/dist/{types → cjs}/actions/fix.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/gen-docs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/gen-docs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/gitignore-gen.d.ts +0 -0
- /package/dist/{types → cjs}/actions/gitignore-gen.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/gitlint-fix.d.ts +0 -0
- /package/dist/{types → cjs}/actions/gitlint-fix.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/gitlint.d.ts +0 -0
- /package/dist/{types → cjs}/actions/gitlint.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/license.d.ts +0 -0
- /package/dist/{types → cjs}/actions/license.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/lint-clean.d.ts +0 -0
- /package/dist/{types → cjs}/actions/lint-clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/lint-profile.d.ts +0 -0
- /package/dist/{types → cjs}/actions/lint-profile.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/lint.d.ts +0 -0
- /package/dist/{types → cjs}/actions/lint.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/npmignore-gen.d.ts +0 -0
- /package/dist/{types → cjs}/actions/npmignore-gen.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/clean-outputs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/clean-outputs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/clean-typescript.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/clean-typescript.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/clean.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/compile-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/compile-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/compile-esm.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/compile-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/compile.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/compile.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/copy-assets.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/copy-assets.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/deps.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/deps.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/gen-docs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/gen-docs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/recompile.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/recompile.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/tsconfig-gen-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/tsconfig-gen-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/package/tsconfig-gen-esm.d.ts +0 -0
- /package/dist/{types → cjs}/actions/package/tsconfig-gen-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/rebuild.d.ts +0 -0
- /package/dist/{types → cjs}/actions/rebuild.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/recompile.d.ts +0 -0
- /package/dist/{types → cjs}/actions/recompile.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/reinstall.d.ts +0 -0
- /package/dist/{types → cjs}/actions/reinstall.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/relint.d.ts +0 -0
- /package/dist/{types → cjs}/actions/relint.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/retest.d.ts +0 -0
- /package/dist/{types → cjs}/actions/retest.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/sonar.d.ts +0 -0
- /package/dist/{types → cjs}/actions/sonar.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/statics.d.ts +0 -0
- /package/dist/{types → cjs}/actions/statics.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/test.d.ts +0 -0
- /package/dist/{types → cjs}/actions/test.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-clean.d.ts +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-esm.d.ts +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-test.d.ts +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen-test.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen.d.ts +0 -0
- /package/dist/{types → cjs}/actions/tsconfig-gen.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/up.d.ts +0 -0
- /package/dist/{types → cjs}/actions/up.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/updo.d.ts +0 -0
- /package/dist/{types → cjs}/actions/updo.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/upplug.d.ts +0 -0
- /package/dist/{types → cjs}/actions/upplug.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/upyarn.d.ts +0 -0
- /package/dist/{types → cjs}/actions/upyarn.d.ts.map +0 -0
- /package/dist/{types → cjs}/actions/yarn3only.d.ts +0 -0
- /package/dist/{types → cjs}/actions/yarn3only.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/build.d.ts +0 -0
- /package/dist/{types → cjs}/bin/build.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/clean.d.ts +0 -0
- /package/dist/{types → cjs}/bin/clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/compile.d.ts +0 -0
- /package/dist/{types → cjs}/bin/compile.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/cycle.d.ts +0 -0
- /package/dist/{types → cjs}/bin/cycle.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/dead.d.ts +0 -0
- /package/dist/{types → cjs}/bin/dead.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/deploy-major.d.ts +0 -0
- /package/dist/{types → cjs}/bin/deploy-major.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/deploy-minor.d.ts +0 -0
- /package/dist/{types → cjs}/bin/deploy-minor.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/deploy-next.d.ts +0 -0
- /package/dist/{types → cjs}/bin/deploy-next.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/deploy.d.ts +0 -0
- /package/dist/{types → cjs}/bin/deploy.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/deps.d.ts +0 -0
- /package/dist/{types → cjs}/bin/deps.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/fix.d.ts +0 -0
- /package/dist/{types → cjs}/bin/fix.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/gen-docs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/gen-docs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/gitlint-fix.d.ts +0 -0
- /package/dist/{types → cjs}/bin/gitlint-fix.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/gitlint.d.ts +0 -0
- /package/dist/{types → cjs}/bin/gitlint.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/license.d.ts +0 -0
- /package/dist/{types → cjs}/bin/license.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/lint-clean.d.ts +0 -0
- /package/dist/{types → cjs}/bin/lint-clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/lint-fast.d.ts +0 -0
- /package/dist/{types → cjs}/bin/lint-fast.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/lint-profile.d.ts +0 -0
- /package/dist/{types → cjs}/bin/lint-profile.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/lint.d.ts +0 -0
- /package/dist/{types → cjs}/bin/lint.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/clean-outputs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/clean-outputs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/clean-typescript.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/clean-typescript.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/clean.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/compile-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/compile-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/compile-esm.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/compile-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/compile.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/compile.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/copy-assets-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/copy-assets-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/copy-assets-esm.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/copy-assets-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/deps.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/deps.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/gen-docs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/gen-docs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/recompile.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/recompile.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen-cjs.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen-cjs.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen-esm.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen-esm.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen.d.ts +0 -0
- /package/dist/{types → cjs}/bin/package/tsconfig-gen.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/rebuild.d.ts +0 -0
- /package/dist/{types → cjs}/bin/rebuild.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/recompile.d.ts +0 -0
- /package/dist/{types → cjs}/bin/recompile.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/reinstall.d.ts +0 -0
- /package/dist/{types → cjs}/bin/reinstall.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/relint.d.ts +0 -0
- /package/dist/{types → cjs}/bin/relint.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/sonar.d.ts +0 -0
- /package/dist/{types → cjs}/bin/sonar.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/test.d.ts +0 -0
- /package/dist/{types → cjs}/bin/test.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/tsconfig-gen-clean.d.ts +0 -0
- /package/dist/{types → cjs}/bin/tsconfig-gen-clean.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/tsconfig-gen.d.ts +0 -0
- /package/dist/{types → cjs}/bin/tsconfig-gen.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/up.d.ts +0 -0
- /package/dist/{types → cjs}/bin/up.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/updo.d.ts +0 -0
- /package/dist/{types → cjs}/bin/updo.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/upplug.d.ts +0 -0
- /package/dist/{types → cjs}/bin/upplug.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/upyarn.d.ts +0 -0
- /package/dist/{types → cjs}/bin/upyarn.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/xy-ts.d.ts +0 -0
- /package/dist/{types → cjs}/bin/xy-ts.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/xy.d.ts +0 -0
- /package/dist/{types → cjs}/bin/xy.d.ts.map +0 -0
- /package/dist/{types → cjs}/bin/yarn3only.d.ts +0 -0
- /package/dist/{types → cjs}/bin/yarn3only.d.ts.map +0 -0
- /package/dist/{types → cjs}/index.d.ts +0 -0
- /package/dist/{types → cjs}/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/checkResult.d.ts +0 -0
- /package/dist/{types → cjs}/lib/checkResult.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/createBuildConfig.d.ts +0 -0
- /package/dist/{types → cjs}/lib/createBuildConfig.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/defaultBuildConfig.d.ts +0 -0
- /package/dist/{types → cjs}/lib/defaultBuildConfig.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/dependencies/DuplicateDetector.d.ts +0 -0
- /package/dist/{types → cjs}/lib/dependencies/DuplicateDetector.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/dependencies/detectDuplicateDependencies.d.ts +0 -0
- /package/dist/{types → cjs}/lib/dependencies/detectDuplicateDependencies.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/dependencies/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/dependencies/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/file/ReadFileSyncOptions.d.ts +0 -0
- /package/dist/{types → cjs}/lib/file/ReadFileSyncOptions.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/file/constants.d.ts +0 -0
- /package/dist/{types → cjs}/lib/file/constants.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/file/fileLines.d.ts +0 -0
- /package/dist/{types → cjs}/lib/file/fileLines.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/file/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/file/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/file/tryReadFileSync.d.ts +0 -0
- /package/dist/{types → cjs}/lib/file/tryReadFileSync.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/generateIgnoreFiles.d.ts +0 -0
- /package/dist/{types → cjs}/lib/generateIgnoreFiles.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/jsonFormatters.d.ts +0 -0
- /package/dist/{types → cjs}/lib/jsonFormatters.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/parsedPackageJSON.d.ts +0 -0
- /package/dist/{types → cjs}/lib/parsedPackageJSON.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/processEx.d.ts +0 -0
- /package/dist/{types → cjs}/lib/processEx.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/runSteps.d.ts +0 -0
- /package/dist/{types → cjs}/lib/runSteps.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/runStepsAsync.d.ts +0 -0
- /package/dist/{types → cjs}/lib/runStepsAsync.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/runXy.d.ts +0 -0
- /package/dist/{types → cjs}/lib/runXy.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/runXyWithWarning.d.ts +0 -0
- /package/dist/{types → cjs}/lib/runXyWithWarning.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/safeExit.d.ts +0 -0
- /package/dist/{types → cjs}/lib/safeExit.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/string/empty.d.ts +0 -0
- /package/dist/{types → cjs}/lib/string/empty.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/string/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/string/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/string/union.d.ts +0 -0
- /package/dist/{types → cjs}/lib/string/union.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/withError.d.ts +0 -0
- /package/dist/{types → cjs}/lib/withError.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/xy.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xy.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/xyBuildCommands.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyBuildCommands.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/xyCommonCommands.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyCommonCommands.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/xyDeployCommands.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyDeployCommands.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/xy/xyInstallCommands.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyLintCommands.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyParseOptions.d.ts +0 -0
- /package/dist/{types → cjs}/lib/xy/xyParseOptions.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/index.d.ts.map +0 -0
- /package/dist/{types/lib → cjs/lib/yarn}/isYarnVersionOrGreater.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/isYarnVersionOrGreater.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/Workspace.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/Workspace.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/index.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/index.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/yarnWorkspace.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/yarnWorkspace.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/yarnWorkspaces.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/workspace/yarnWorkspaces.d.ts.map +0 -0
- /package/dist/{types → cjs}/lib/yarn/yarnInitCwd.d.ts +0 -0
- /package/dist/{types → cjs}/lib/yarn/yarnInitCwd.d.ts.map +0 -0
- /package/dist/{types → esm}/lib/yarn/isYarnVersionOrGreater.d.ts +0 -0
- /package/dist/{types/lib → esm/lib/yarn}/yarnInitCwd.d.ts +0 -0
- /package/{src/lib/yarn/workspace/spec → spec/yarn/workspace}/tsconfig.json +0 -0
- /package/{src/types → types}/node-cmd.d.ts +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var tsconfig_gen_esm_exports = {};
|
|
30
|
+
__export(tsconfig_gen_esm_exports, {
|
|
31
|
+
packageTsconfigGenEsm: () => packageTsconfigGenEsm
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(tsconfig_gen_esm_exports);
|
|
34
|
+
var import_chalk = __toESM(require("chalk"));
|
|
35
|
+
var import_fs = require("fs");
|
|
36
|
+
var import_lib = require("../../lib");
|
|
37
|
+
const packageTsconfigGenEsm = (quiet = false) => {
|
|
38
|
+
const pkg = process.env.INIT_CWD ?? "./";
|
|
39
|
+
const pkgName = process.env.npm_package_name;
|
|
40
|
+
try {
|
|
41
|
+
const configObject = (0, import_lib.createBuildConfig)(pkg, "ESNext", "ESNext", "esm");
|
|
42
|
+
if (configObject) {
|
|
43
|
+
const config = JSON.stringify(configObject, null, 2);
|
|
44
|
+
let currentConfig;
|
|
45
|
+
try {
|
|
46
|
+
currentConfig = (0, import_fs.readFileSync)(`${pkg}/.tsconfig.build.esm.json`, { encoding: "utf8" });
|
|
47
|
+
} catch (ex) {
|
|
48
|
+
currentConfig = void 0;
|
|
49
|
+
}
|
|
50
|
+
if (currentConfig !== config) {
|
|
51
|
+
if (!quiet) {
|
|
52
|
+
console.log(import_chalk.default.gray(`Updating ESM tsconfig [${pkgName}]`));
|
|
53
|
+
}
|
|
54
|
+
(0, import_fs.writeFileSync)(`${pkg}/.tsconfig.build.esm.json`, config, { encoding: "utf8" });
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return 0;
|
|
58
|
+
} catch (ex) {
|
|
59
|
+
const error = ex;
|
|
60
|
+
console.error(`tsconfig (ESM) generate failed [${pkgName}] [${error.message}]`);
|
|
61
|
+
return 1;
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
65
|
+
0 && (module.exports = {
|
|
66
|
+
packageTsconfigGenEsm
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=tsconfig-gen-esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/package/tsconfig-gen-esm.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig } from '../../lib'\n\nexport const packageTsconfigGenEsm = (quiet = false) => {\n const pkg = process.env.INIT_CWD ?? './'\n const pkgName = process.env.npm_package_name\n\n try {\n const configObject = createBuildConfig(pkg, 'ESNext', 'ESNext', 'esm')\n if (configObject) {\n const config = JSON.stringify(configObject, null, 2)\n\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${pkg}/.tsconfig.build.esm.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n if (!quiet) {\n console.log(chalk.gray(`Updating ESM tsconfig [${pkgName}]`))\n }\n writeFileSync(`${pkg}/.tsconfig.build.esm.json`, config, { encoding: 'utf8' })\n }\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (ESM) generate failed [${pkgName}] [${error.message}]`)\n return 1\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,gBAA4C;AAE5C,iBAAkC;AAE3B,MAAM,wBAAwB,CAAC,QAAQ,UAAU;AACtD,QAAM,MAAM,QAAQ,IAAI,YAAY;AACpC,QAAM,UAAU,QAAQ,IAAI;AAE5B,MAAI;AACF,UAAM,mBAAe,8BAAkB,KAAK,UAAU,UAAU,KAAK;AACrE,QAAI,cAAc;AAChB,YAAM,SAAS,KAAK,UAAU,cAAc,MAAM,CAAC;AAEnD,UAAI;AACJ,UAAI;AACF,4BAAgB,wBAAa,GAAG,GAAG,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,MACtF,SAAS,IAAI;AACX,wBAAgB;AAAA,MAClB;AACA,UAAI,kBAAkB,QAAQ;AAC5B,YAAI,CAAC,OAAO;AACV,kBAAQ,IAAI,aAAAA,QAAM,KAAK,0BAA0B,OAAO,GAAG,CAAC;AAAA,QAC9D;AACA,qCAAc,GAAG,GAAG,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,MAC/E;AAAA,IACF;AACA,WAAO;AAAA,EACT,SAAS,IAAI;AACX,UAAM,QAAQ;AACd,YAAQ,MAAM,mCAAmC,OAAO,MAAM,MAAM,OAAO,GAAG;AAC9E,WAAO;AAAA,EACT;AACF;","names":["chalk"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
3
|
+
import { createBuildConfig } from "../../lib";
|
|
4
|
+
const packageTsconfigGenEsm = (quiet = false) => {
|
|
5
|
+
const pkg = process.env.INIT_CWD ?? "./";
|
|
6
|
+
const pkgName = process.env.npm_package_name;
|
|
7
|
+
try {
|
|
8
|
+
const configObject = createBuildConfig(pkg, "ESNext", "ESNext", "esm");
|
|
9
|
+
if (configObject) {
|
|
10
|
+
const config = JSON.stringify(configObject, null, 2);
|
|
11
|
+
let currentConfig;
|
|
12
|
+
try {
|
|
13
|
+
currentConfig = readFileSync(`${pkg}/.tsconfig.build.esm.json`, { encoding: "utf8" });
|
|
14
|
+
} catch (ex) {
|
|
15
|
+
currentConfig = void 0;
|
|
16
|
+
}
|
|
17
|
+
if (currentConfig !== config) {
|
|
18
|
+
if (!quiet) {
|
|
19
|
+
console.log(chalk.gray(`Updating ESM tsconfig [${pkgName}]`));
|
|
20
|
+
}
|
|
21
|
+
writeFileSync(`${pkg}/.tsconfig.build.esm.json`, config, { encoding: "utf8" });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return 0;
|
|
25
|
+
} catch (ex) {
|
|
26
|
+
const error = ex;
|
|
27
|
+
console.error(`tsconfig (ESM) generate failed [${pkgName}] [${error.message}]`);
|
|
28
|
+
return 1;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
packageTsconfigGenEsm
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=tsconfig-gen-esm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/package/tsconfig-gen-esm.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig } from '../../lib'\n\nexport const packageTsconfigGenEsm = (quiet = false) => {\n const pkg = process.env.INIT_CWD ?? './'\n const pkgName = process.env.npm_package_name\n\n try {\n const configObject = createBuildConfig(pkg, 'ESNext', 'ESNext', 'esm')\n if (configObject) {\n const config = JSON.stringify(configObject, null, 2)\n\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${pkg}/.tsconfig.build.esm.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n if (!quiet) {\n console.log(chalk.gray(`Updating ESM tsconfig [${pkgName}]`))\n }\n writeFileSync(`${pkg}/.tsconfig.build.esm.json`, config, { encoding: 'utf8' })\n }\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (ESM) generate failed [${pkgName}] [${error.message}]`)\n return 1\n }\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAClB,SAAS,cAAc,qBAAqB;AAE5C,SAAS,yBAAyB;AAE3B,MAAM,wBAAwB,CAAC,QAAQ,UAAU;AACtD,QAAM,MAAM,QAAQ,IAAI,YAAY;AACpC,QAAM,UAAU,QAAQ,IAAI;AAE5B,MAAI;AACF,UAAM,eAAe,kBAAkB,KAAK,UAAU,UAAU,KAAK;AACrE,QAAI,cAAc;AAChB,YAAM,SAAS,KAAK,UAAU,cAAc,MAAM,CAAC;AAEnD,UAAI;AACJ,UAAI;AACF,wBAAgB,aAAa,GAAG,GAAG,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,MACtF,SAAS,IAAI;AACX,wBAAgB;AAAA,MAClB;AACA,UAAI,kBAAkB,QAAQ;AAC5B,YAAI,CAAC,OAAO;AACV,kBAAQ,IAAI,MAAM,KAAK,0BAA0B,OAAO,GAAG,CAAC;AAAA,QAC9D;AACA,sBAAc,GAAG,GAAG,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,MAC/E;AAAA,IACF;AACA,WAAO;AAAA,EACT,SAAS,IAAI;AACX,UAAM,QAAQ;AACd,YAAQ,MAAM,mCAAmC,OAAO,MAAM,MAAM,OAAO,GAAG;AAC9E,WAAO;AAAA,EACT;AACF;","names":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var publint_exports = {};
|
|
20
|
+
__export(publint_exports, {
|
|
21
|
+
publint: () => publint,
|
|
22
|
+
publintAll: () => publintAll,
|
|
23
|
+
publintPackage: () => publintPackage
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(publint_exports);
|
|
26
|
+
var import_lib = require("../lib");
|
|
27
|
+
const publint = async ({ verbose, pkg }) => {
|
|
28
|
+
console.log(`publint: ${pkg}`);
|
|
29
|
+
return pkg ? await publintPackage({ pkg, verbose }) : publintAll({ verbose });
|
|
30
|
+
};
|
|
31
|
+
const publintPackage = ({ verbose, pkg }) => {
|
|
32
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
33
|
+
console.log(`publintPackage: ${pkg}`);
|
|
34
|
+
return (0, import_lib.runStepsAsync)(`Publint [${pkg}]`, [["yarn", ["workspace", pkg, "run", "package-publint", ...verboseOptions]]]);
|
|
35
|
+
};
|
|
36
|
+
const publintAll = ({ verbose }) => {
|
|
37
|
+
console.log(`publintAll: ${verbose}`);
|
|
38
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
39
|
+
return (0, import_lib.runSteps)("Publint", [["yarn", ["workspaces foreach -pA run package-publint", ...verboseOptions]]]);
|
|
40
|
+
};
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
publint,
|
|
44
|
+
publintAll,
|
|
45
|
+
publintPackage
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=publint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/publint.ts"],"sourcesContent":["import { runSteps, runStepsAsync } from '../lib'\n\nexport interface PublintParams {\n pkg?: string\n verbose?: boolean\n}\n\nexport interface PublintPackageParams {\n pkg: string\n verbose?: boolean\n}\n\nexport const publint = async ({ verbose, pkg }: PublintParams) => {\n console.log(`publint: ${pkg}`)\n return pkg ? await publintPackage({ pkg, verbose }) : publintAll({ verbose })\n}\n\nexport const publintPackage = ({ verbose, pkg }: PublintPackageParams) => {\n const verboseOptions = verbose ? ['-v'] : []\n console.log(`publintPackage: ${pkg}`)\n return runStepsAsync(`Publint [${pkg}]`, [['yarn', ['workspace', pkg, 'run', 'package-publint', ...verboseOptions]]])\n}\n\nexport const publintAll = ({ verbose }: PublintParams) => {\n console.log(`publintAll: ${verbose}`)\n const verboseOptions = verbose ? ['-v'] : []\n return runSteps('Publint', [['yarn', ['workspaces foreach -pA run package-publint', ...verboseOptions]]])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAwC;AAYjC,MAAM,UAAU,OAAO,EAAE,SAAS,IAAI,MAAqB;AAChE,UAAQ,IAAI,YAAY,GAAG,EAAE;AAC7B,SAAO,MAAM,MAAM,eAAe,EAAE,KAAK,QAAQ,CAAC,IAAI,WAAW,EAAE,QAAQ,CAAC;AAC9E;AAEO,MAAM,iBAAiB,CAAC,EAAE,SAAS,IAAI,MAA4B;AACxE,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,UAAQ,IAAI,mBAAmB,GAAG,EAAE;AACpC,aAAO,0BAAc,YAAY,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,aAAa,KAAK,OAAO,mBAAmB,GAAG,cAAc,CAAC,CAAC,CAAC;AACtH;AAEO,MAAM,aAAa,CAAC,EAAE,QAAQ,MAAqB;AACxD,UAAQ,IAAI,eAAe,OAAO,EAAE;AACpC,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,aAAO,qBAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,8CAA8C,GAAG,cAAc,CAAC,CAAC,CAAC;AAC1G;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { runSteps, runStepsAsync } from "../lib";
|
|
2
|
+
const publint = async ({ verbose, pkg }) => {
|
|
3
|
+
console.log(`publint: ${pkg}`);
|
|
4
|
+
return pkg ? await publintPackage({ pkg, verbose }) : publintAll({ verbose });
|
|
5
|
+
};
|
|
6
|
+
const publintPackage = ({ verbose, pkg }) => {
|
|
7
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
8
|
+
console.log(`publintPackage: ${pkg}`);
|
|
9
|
+
return runStepsAsync(`Publint [${pkg}]`, [["yarn", ["workspace", pkg, "run", "package-publint", ...verboseOptions]]]);
|
|
10
|
+
};
|
|
11
|
+
const publintAll = ({ verbose }) => {
|
|
12
|
+
console.log(`publintAll: ${verbose}`);
|
|
13
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
14
|
+
return runSteps("Publint", [["yarn", ["workspaces foreach -pA run package-publint", ...verboseOptions]]]);
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
publint,
|
|
18
|
+
publintAll,
|
|
19
|
+
publintPackage
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=publint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/publint.ts"],"sourcesContent":["import { runSteps, runStepsAsync } from '../lib'\n\nexport interface PublintParams {\n pkg?: string\n verbose?: boolean\n}\n\nexport interface PublintPackageParams {\n pkg: string\n verbose?: boolean\n}\n\nexport const publint = async ({ verbose, pkg }: PublintParams) => {\n console.log(`publint: ${pkg}`)\n return pkg ? await publintPackage({ pkg, verbose }) : publintAll({ verbose })\n}\n\nexport const publintPackage = ({ verbose, pkg }: PublintPackageParams) => {\n const verboseOptions = verbose ? ['-v'] : []\n console.log(`publintPackage: ${pkg}`)\n return runStepsAsync(`Publint [${pkg}]`, [['yarn', ['workspace', pkg, 'run', 'package-publint', ...verboseOptions]]])\n}\n\nexport const publintAll = ({ verbose }: PublintParams) => {\n console.log(`publintAll: ${verbose}`)\n const verboseOptions = verbose ? ['-v'] : []\n return runSteps('Publint', [['yarn', ['workspaces foreach -pA run package-publint', ...verboseOptions]]])\n}\n"],"mappings":"AAAA,SAAS,UAAU,qBAAqB;AAYjC,MAAM,UAAU,OAAO,EAAE,SAAS,IAAI,MAAqB;AAChE,UAAQ,IAAI,YAAY,GAAG,EAAE;AAC7B,SAAO,MAAM,MAAM,eAAe,EAAE,KAAK,QAAQ,CAAC,IAAI,WAAW,EAAE,QAAQ,CAAC;AAC9E;AAEO,MAAM,iBAAiB,CAAC,EAAE,SAAS,IAAI,MAA4B;AACxE,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,UAAQ,IAAI,mBAAmB,GAAG,EAAE;AACpC,SAAO,cAAc,YAAY,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,aAAa,KAAK,OAAO,mBAAmB,GAAG,cAAc,CAAC,CAAC,CAAC;AACtH;AAEO,MAAM,aAAa,CAAC,EAAE,QAAQ,MAAqB;AACxD,UAAQ,IAAI,eAAe,OAAO,EAAE;AACpC,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,SAAO,SAAS,WAAW,CAAC,CAAC,QAAQ,CAAC,8CAA8C,GAAG,cAAc,CAAC,CAAC,CAAC;AAC1G;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var rebuild_exports = {};
|
|
20
|
+
__export(rebuild_exports, {
|
|
21
|
+
rebuild: () => rebuild
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(rebuild_exports);
|
|
24
|
+
var import_lib = require("../lib");
|
|
25
|
+
const rebuild = ({ target }) => {
|
|
26
|
+
return (0, import_lib.runSteps)("Rebuild", [
|
|
27
|
+
["yarn", "xy clean"],
|
|
28
|
+
["yarn", target ? `xy build -t ${target}` : "xy build"]
|
|
29
|
+
]);
|
|
30
|
+
};
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
rebuild
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=rebuild.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/rebuild.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport interface RebuildParams {\n pkg?: string\n target?: 'esm' | 'cjs'\n}\n\nexport const rebuild = ({ target }: RebuildParams) => {\n return runSteps('Rebuild', [\n ['yarn', 'xy clean'],\n ['yarn', target ? `xy build -t ${target}` : 'xy build'],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAyB;AAOlB,MAAM,UAAU,CAAC,EAAE,OAAO,MAAqB;AACpD,aAAO,qBAAS,WAAW;AAAA,IACzB,CAAC,QAAQ,UAAU;AAAA,IACnB,CAAC,QAAQ,SAAS,eAAe,MAAM,KAAK,UAAU;AAAA,EACxD,CAAC;AACH;","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { runSteps } from "../lib";
|
|
2
|
+
const rebuild = ({ target }) => {
|
|
3
|
+
return runSteps("Rebuild", [
|
|
4
|
+
["yarn", "xy clean"],
|
|
5
|
+
["yarn", target ? `xy build -t ${target}` : "xy build"]
|
|
6
|
+
]);
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
rebuild
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=rebuild.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/rebuild.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport interface RebuildParams {\n pkg?: string\n target?: 'esm' | 'cjs'\n}\n\nexport const rebuild = ({ target }: RebuildParams) => {\n return runSteps('Rebuild', [\n ['yarn', 'xy clean'],\n ['yarn', target ? `xy build -t ${target}` : 'xy build'],\n ])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAOlB,MAAM,UAAU,CAAC,EAAE,OAAO,MAAqB;AACpD,SAAO,SAAS,WAAW;AAAA,IACzB,CAAC,QAAQ,UAAU;AAAA,IACnB,CAAC,QAAQ,SAAS,eAAe,MAAM,KAAK,UAAU;AAAA,EACxD,CAAC;AACH;","names":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var recompile_exports = {};
|
|
30
|
+
__export(recompile_exports, {
|
|
31
|
+
recompile: () => recompile,
|
|
32
|
+
recompileAll: () => recompileAll,
|
|
33
|
+
recompilePackage: () => recompilePackage
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(recompile_exports);
|
|
36
|
+
var import_chalk = __toESM(require("chalk"));
|
|
37
|
+
var import_lib = require("../lib");
|
|
38
|
+
const recompile = async ({ verbose, target, pkg, incremental }) => {
|
|
39
|
+
return pkg ? await recompilePackage({ pkg, target, verbose }) : await recompileAll({ incremental, target, verbose });
|
|
40
|
+
};
|
|
41
|
+
const recompilePackage = ({ verbose, target, pkg }) => {
|
|
42
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
43
|
+
const targetOptions = target ? ["-t", target] : [];
|
|
44
|
+
return (0, import_lib.runStepsAsync)(`Recompile [${pkg}]`, [["yarn", ["workspace", pkg, "run", "package-recompile", ...verboseOptions, ...targetOptions]]]);
|
|
45
|
+
};
|
|
46
|
+
const recompileAll = async ({ jobs, verbose, target, incremental }) => {
|
|
47
|
+
const start = Date.now();
|
|
48
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
49
|
+
const targetOptions = target ? ["-t", target] : [];
|
|
50
|
+
const incrementalOptions = incremental ? ["--since", "-ptA"] : ["-ptA"];
|
|
51
|
+
const jobsOptions = jobs ? ["-j", `${jobs}`] : [];
|
|
52
|
+
if (jobs) {
|
|
53
|
+
console.log(import_chalk.default.blue(`Jobs set to [${jobs}]`));
|
|
54
|
+
}
|
|
55
|
+
const result = await (0, import_lib.runStepsAsync)(`Recompile${incremental ? "-Incremental" : ""} [All]`, [
|
|
56
|
+
["yarn", ["workspaces", "foreach", ...incrementalOptions, ...jobsOptions, "run", "package-recompile", ...verboseOptions, ...targetOptions]]
|
|
57
|
+
]);
|
|
58
|
+
console.log(`${import_chalk.default.gray("Recompiled in")} [${import_chalk.default.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${import_chalk.default.gray("seconds")}`);
|
|
59
|
+
return result;
|
|
60
|
+
};
|
|
61
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
62
|
+
0 && (module.exports = {
|
|
63
|
+
recompile,
|
|
64
|
+
recompileAll,
|
|
65
|
+
recompilePackage
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=recompile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/recompile.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { runStepsAsync } from '../lib'\n\nexport interface RecompileParams {\n incremental?: boolean\n jobs?: number\n pkg?: string\n target?: 'esm' | 'cjs'\n verbose?: boolean\n}\n\nexport interface RecompilePackageParams {\n pkg: string\n target?: 'esm' | 'cjs'\n verbose?: boolean\n}\n\nexport const recompile = async ({ verbose, target, pkg, incremental }: RecompileParams) => {\n return pkg ? await recompilePackage({ pkg, target, verbose }) : await recompileAll({ incremental, target, verbose })\n}\n\nexport const recompilePackage = ({ verbose, target, pkg }: RecompilePackageParams) => {\n const verboseOptions = verbose ? ['-v'] : []\n const targetOptions = target ? ['-t', target] : []\n\n return runStepsAsync(`Recompile [${pkg}]`, [['yarn', ['workspace', pkg, 'run', 'package-recompile', ...verboseOptions, ...targetOptions]]])\n}\n\nexport const recompileAll = async ({ jobs, verbose, target, incremental }: RecompileParams) => {\n const start = Date.now()\n const verboseOptions = verbose ? ['-v'] : []\n const targetOptions = target ? ['-t', target] : []\n const incrementalOptions = incremental ? ['--since', '-ptA'] : ['-ptA']\n const jobsOptions = jobs ? ['-j', `${jobs}`] : []\n if (jobs) {\n console.log(chalk.blue(`Jobs set to [${jobs}]`))\n }\n\n const result = await runStepsAsync(`Recompile${incremental ? '-Incremental' : ''} [All]`, [\n ['yarn', ['workspaces', 'foreach', ...incrementalOptions, ...jobsOptions, 'run', 'package-recompile', ...verboseOptions, ...targetOptions]],\n ])\n console.log(`${chalk.gray('Recompiled in')} [${chalk.magenta(((Date.now() - start) / 1000).toFixed(2))}] ${chalk.gray('seconds')}`)\n return result\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAElB,iBAA8B;AAgBvB,MAAM,YAAY,OAAO,EAAE,SAAS,QAAQ,KAAK,YAAY,MAAuB;AACzF,SAAO,MAAM,MAAM,iBAAiB,EAAE,KAAK,QAAQ,QAAQ,CAAC,IAAI,MAAM,aAAa,EAAE,aAAa,QAAQ,QAAQ,CAAC;AACrH;AAEO,MAAM,mBAAmB,CAAC,EAAE,SAAS,QAAQ,IAAI,MAA8B;AACpF,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,QAAM,gBAAgB,SAAS,CAAC,MAAM,MAAM,IAAI,CAAC;AAEjD,aAAO,0BAAc,cAAc,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,aAAa,KAAK,OAAO,qBAAqB,GAAG,gBAAgB,GAAG,aAAa,CAAC,CAAC,CAAC;AAC5I;AAEO,MAAM,eAAe,OAAO,EAAE,MAAM,SAAS,QAAQ,YAAY,MAAuB;AAC7F,QAAM,QAAQ,KAAK,IAAI;AACvB,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,QAAM,gBAAgB,SAAS,CAAC,MAAM,MAAM,IAAI,CAAC;AACjD,QAAM,qBAAqB,cAAc,CAAC,WAAW,MAAM,IAAI,CAAC,MAAM;AACtE,QAAM,cAAc,OAAO,CAAC,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC;AAChD,MAAI,MAAM;AACR,YAAQ,IAAI,aAAAA,QAAM,KAAK,gBAAgB,IAAI,GAAG,CAAC;AAAA,EACjD;AAEA,QAAM,SAAS,UAAM,0BAAc,YAAY,cAAc,iBAAiB,EAAE,UAAU;AAAA,IACxF,CAAC,QAAQ,CAAC,cAAc,WAAW,GAAG,oBAAoB,GAAG,aAAa,OAAO,qBAAqB,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAAA,EAC5I,CAAC;AACD,UAAQ,IAAI,GAAG,aAAAA,QAAM,KAAK,eAAe,CAAC,KAAK,aAAAA,QAAM,UAAU,KAAK,IAAI,IAAI,SAAS,KAAM,QAAQ,CAAC,CAAC,CAAC,KAAK,aAAAA,QAAM,KAAK,SAAS,CAAC,EAAE;AAClI,SAAO;AACT;","names":["chalk"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { runStepsAsync } from "../lib";
|
|
3
|
+
const recompile = async ({ verbose, target, pkg, incremental }) => {
|
|
4
|
+
return pkg ? await recompilePackage({ pkg, target, verbose }) : await recompileAll({ incremental, target, verbose });
|
|
5
|
+
};
|
|
6
|
+
const recompilePackage = ({ verbose, target, pkg }) => {
|
|
7
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
8
|
+
const targetOptions = target ? ["-t", target] : [];
|
|
9
|
+
return runStepsAsync(`Recompile [${pkg}]`, [["yarn", ["workspace", pkg, "run", "package-recompile", ...verboseOptions, ...targetOptions]]]);
|
|
10
|
+
};
|
|
11
|
+
const recompileAll = async ({ jobs, verbose, target, incremental }) => {
|
|
12
|
+
const start = Date.now();
|
|
13
|
+
const verboseOptions = verbose ? ["-v"] : [];
|
|
14
|
+
const targetOptions = target ? ["-t", target] : [];
|
|
15
|
+
const incrementalOptions = incremental ? ["--since", "-ptA"] : ["-ptA"];
|
|
16
|
+
const jobsOptions = jobs ? ["-j", `${jobs}`] : [];
|
|
17
|
+
if (jobs) {
|
|
18
|
+
console.log(chalk.blue(`Jobs set to [${jobs}]`));
|
|
19
|
+
}
|
|
20
|
+
const result = await runStepsAsync(`Recompile${incremental ? "-Incremental" : ""} [All]`, [
|
|
21
|
+
["yarn", ["workspaces", "foreach", ...incrementalOptions, ...jobsOptions, "run", "package-recompile", ...verboseOptions, ...targetOptions]]
|
|
22
|
+
]);
|
|
23
|
+
console.log(`${chalk.gray("Recompiled in")} [${chalk.magenta(((Date.now() - start) / 1e3).toFixed(2))}] ${chalk.gray("seconds")}`);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
recompile,
|
|
28
|
+
recompileAll,
|
|
29
|
+
recompilePackage
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=recompile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/recompile.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { runStepsAsync } from '../lib'\n\nexport interface RecompileParams {\n incremental?: boolean\n jobs?: number\n pkg?: string\n target?: 'esm' | 'cjs'\n verbose?: boolean\n}\n\nexport interface RecompilePackageParams {\n pkg: string\n target?: 'esm' | 'cjs'\n verbose?: boolean\n}\n\nexport const recompile = async ({ verbose, target, pkg, incremental }: RecompileParams) => {\n return pkg ? await recompilePackage({ pkg, target, verbose }) : await recompileAll({ incremental, target, verbose })\n}\n\nexport const recompilePackage = ({ verbose, target, pkg }: RecompilePackageParams) => {\n const verboseOptions = verbose ? ['-v'] : []\n const targetOptions = target ? ['-t', target] : []\n\n return runStepsAsync(`Recompile [${pkg}]`, [['yarn', ['workspace', pkg, 'run', 'package-recompile', ...verboseOptions, ...targetOptions]]])\n}\n\nexport const recompileAll = async ({ jobs, verbose, target, incremental }: RecompileParams) => {\n const start = Date.now()\n const verboseOptions = verbose ? ['-v'] : []\n const targetOptions = target ? ['-t', target] : []\n const incrementalOptions = incremental ? ['--since', '-ptA'] : ['-ptA']\n const jobsOptions = jobs ? ['-j', `${jobs}`] : []\n if (jobs) {\n console.log(chalk.blue(`Jobs set to [${jobs}]`))\n }\n\n const result = await runStepsAsync(`Recompile${incremental ? '-Incremental' : ''} [All]`, [\n ['yarn', ['workspaces', 'foreach', ...incrementalOptions, ...jobsOptions, 'run', 'package-recompile', ...verboseOptions, ...targetOptions]],\n ])\n console.log(`${chalk.gray('Recompiled in')} [${chalk.magenta(((Date.now() - start) / 1000).toFixed(2))}] ${chalk.gray('seconds')}`)\n return result\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAElB,SAAS,qBAAqB;AAgBvB,MAAM,YAAY,OAAO,EAAE,SAAS,QAAQ,KAAK,YAAY,MAAuB;AACzF,SAAO,MAAM,MAAM,iBAAiB,EAAE,KAAK,QAAQ,QAAQ,CAAC,IAAI,MAAM,aAAa,EAAE,aAAa,QAAQ,QAAQ,CAAC;AACrH;AAEO,MAAM,mBAAmB,CAAC,EAAE,SAAS,QAAQ,IAAI,MAA8B;AACpF,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,QAAM,gBAAgB,SAAS,CAAC,MAAM,MAAM,IAAI,CAAC;AAEjD,SAAO,cAAc,cAAc,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,aAAa,KAAK,OAAO,qBAAqB,GAAG,gBAAgB,GAAG,aAAa,CAAC,CAAC,CAAC;AAC5I;AAEO,MAAM,eAAe,OAAO,EAAE,MAAM,SAAS,QAAQ,YAAY,MAAuB;AAC7F,QAAM,QAAQ,KAAK,IAAI;AACvB,QAAM,iBAAiB,UAAU,CAAC,IAAI,IAAI,CAAC;AAC3C,QAAM,gBAAgB,SAAS,CAAC,MAAM,MAAM,IAAI,CAAC;AACjD,QAAM,qBAAqB,cAAc,CAAC,WAAW,MAAM,IAAI,CAAC,MAAM;AACtE,QAAM,cAAc,OAAO,CAAC,MAAM,GAAG,IAAI,EAAE,IAAI,CAAC;AAChD,MAAI,MAAM;AACR,YAAQ,IAAI,MAAM,KAAK,gBAAgB,IAAI,GAAG,CAAC;AAAA,EACjD;AAEA,QAAM,SAAS,MAAM,cAAc,YAAY,cAAc,iBAAiB,EAAE,UAAU;AAAA,IACxF,CAAC,QAAQ,CAAC,cAAc,WAAW,GAAG,oBAAoB,GAAG,aAAa,OAAO,qBAAqB,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAAA,EAC5I,CAAC;AACD,UAAQ,IAAI,GAAG,MAAM,KAAK,eAAe,CAAC,KAAK,MAAM,UAAU,KAAK,IAAI,IAAI,SAAS,KAAM,QAAQ,CAAC,CAAC,CAAC,KAAK,MAAM,KAAK,SAAS,CAAC,EAAE;AAClI,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var reinstall_exports = {};
|
|
20
|
+
__export(reinstall_exports, {
|
|
21
|
+
reinstall: () => reinstall
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(reinstall_exports);
|
|
24
|
+
var import_fs = require("fs");
|
|
25
|
+
var import_lib = require("../lib");
|
|
26
|
+
const reinstall = () => {
|
|
27
|
+
console.log("Reinstall [Clear Lock File]");
|
|
28
|
+
(0, import_fs.closeSync)((0, import_fs.openSync)("./yarn.lock", "w"));
|
|
29
|
+
console.log("Reinstall [Clear Node Modules]");
|
|
30
|
+
const workspaces = (0, import_lib.yarnWorkspaces)();
|
|
31
|
+
const result = workspaces.map(({ location, name }) => {
|
|
32
|
+
const dist = `${location}/node_modules`;
|
|
33
|
+
try {
|
|
34
|
+
(0, import_fs.rmSync)(dist, { force: true, recursive: true });
|
|
35
|
+
return 0;
|
|
36
|
+
} catch (ex) {
|
|
37
|
+
const error = ex;
|
|
38
|
+
console.error(`Reinstall [Clear Node Modules] Failed [${name}, ${error.message}]`);
|
|
39
|
+
return 1;
|
|
40
|
+
}
|
|
41
|
+
}).reduce((prev, result2) => prev || result2, 0);
|
|
42
|
+
return result || (0, import_lib.runSteps)("Reinstall", [["yarn", "install --network-timeout 10000"]]);
|
|
43
|
+
};
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
reinstall
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=reinstall.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/reinstall.ts"],"sourcesContent":["import { closeSync, openSync, rmSync } from 'fs'\n\nimport { runSteps, yarnWorkspaces } from '../lib'\n\nexport const reinstall = () => {\n console.log('Reinstall [Clear Lock File]')\n closeSync(openSync('./yarn.lock', 'w'))\n\n console.log('Reinstall [Clear Node Modules]')\n const workspaces = yarnWorkspaces()\n const result = workspaces\n .map(({ location, name }) => {\n const dist = `${location}/node_modules`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Reinstall [Clear Node Modules] Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n\n return result || runSteps('Reinstall', [['yarn', 'install --network-timeout 10000']])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAA4C;AAE5C,iBAAyC;AAElC,MAAM,YAAY,MAAM;AAC7B,UAAQ,IAAI,6BAA6B;AACzC,+BAAU,oBAAS,eAAe,GAAG,CAAC;AAEtC,UAAQ,IAAI,gCAAgC;AAC5C,QAAM,iBAAa,2BAAe;AAClC,QAAM,SAAS,WACZ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,UAAM,OAAO,GAAG,QAAQ;AACxB,QAAI;AACF,4BAAO,MAAM,EAAE,OAAO,MAAM,WAAW,KAAK,CAAC;AAC7C,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,0CAA0C,IAAI,KAAK,MAAM,OAAO,GAAG;AACjF,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAMA,YAAW,QAAQA,SAAQ,CAAC;AAE7C,SAAO,cAAU,qBAAS,aAAa,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC;AACtF;","names":["result"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { closeSync, openSync, rmSync } from "fs";
|
|
2
|
+
import { runSteps, yarnWorkspaces } from "../lib";
|
|
3
|
+
const reinstall = () => {
|
|
4
|
+
console.log("Reinstall [Clear Lock File]");
|
|
5
|
+
closeSync(openSync("./yarn.lock", "w"));
|
|
6
|
+
console.log("Reinstall [Clear Node Modules]");
|
|
7
|
+
const workspaces = yarnWorkspaces();
|
|
8
|
+
const result = workspaces.map(({ location, name }) => {
|
|
9
|
+
const dist = `${location}/node_modules`;
|
|
10
|
+
try {
|
|
11
|
+
rmSync(dist, { force: true, recursive: true });
|
|
12
|
+
return 0;
|
|
13
|
+
} catch (ex) {
|
|
14
|
+
const error = ex;
|
|
15
|
+
console.error(`Reinstall [Clear Node Modules] Failed [${name}, ${error.message}]`);
|
|
16
|
+
return 1;
|
|
17
|
+
}
|
|
18
|
+
}).reduce((prev, result2) => prev || result2, 0);
|
|
19
|
+
return result || runSteps("Reinstall", [["yarn", "install --network-timeout 10000"]]);
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
reinstall
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=reinstall.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/reinstall.ts"],"sourcesContent":["import { closeSync, openSync, rmSync } from 'fs'\n\nimport { runSteps, yarnWorkspaces } from '../lib'\n\nexport const reinstall = () => {\n console.log('Reinstall [Clear Lock File]')\n closeSync(openSync('./yarn.lock', 'w'))\n\n console.log('Reinstall [Clear Node Modules]')\n const workspaces = yarnWorkspaces()\n const result = workspaces\n .map(({ location, name }) => {\n const dist = `${location}/node_modules`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Reinstall [Clear Node Modules] Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n\n return result || runSteps('Reinstall', [['yarn', 'install --network-timeout 10000']])\n}\n"],"mappings":"AAAA,SAAS,WAAW,UAAU,cAAc;AAE5C,SAAS,UAAU,sBAAsB;AAElC,MAAM,YAAY,MAAM;AAC7B,UAAQ,IAAI,6BAA6B;AACzC,YAAU,SAAS,eAAe,GAAG,CAAC;AAEtC,UAAQ,IAAI,gCAAgC;AAC5C,QAAM,aAAa,eAAe;AAClC,QAAM,SAAS,WACZ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,UAAM,OAAO,GAAG,QAAQ;AACxB,QAAI;AACF,aAAO,MAAM,EAAE,OAAO,MAAM,WAAW,KAAK,CAAC;AAC7C,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,0CAA0C,IAAI,KAAK,MAAM,OAAO,GAAG;AACjF,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAMA,YAAW,QAAQA,SAAQ,CAAC;AAE7C,SAAO,UAAU,SAAS,aAAa,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC;AACtF;","names":["result"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var relint_exports = {};
|
|
20
|
+
__export(relint_exports, {
|
|
21
|
+
relint: () => relint
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(relint_exports);
|
|
24
|
+
var import_fs = require("fs");
|
|
25
|
+
var import_lib = require("../lib");
|
|
26
|
+
const relint = () => {
|
|
27
|
+
console.log("Relint - Cleaning [.eslintcache]");
|
|
28
|
+
const workspaces = (0, import_lib.yarnWorkspaces)();
|
|
29
|
+
const result = workspaces.map(({ location, name }) => {
|
|
30
|
+
const dist = `${location}/.eslintcache`;
|
|
31
|
+
try {
|
|
32
|
+
(0, import_fs.rmSync)(dist, { force: true, recursive: true });
|
|
33
|
+
return 0;
|
|
34
|
+
} catch (ex) {
|
|
35
|
+
const error = ex;
|
|
36
|
+
console.error(`Relint - Cleaning [.eslintcache] Failed [${name}, ${error.message}]`);
|
|
37
|
+
return 1;
|
|
38
|
+
}
|
|
39
|
+
}).reduce((prev, result2) => prev || result2, 0);
|
|
40
|
+
return result || (0, import_lib.runSteps)("Relint", [["yarn", ["eslint", ".", "--cache"]]]);
|
|
41
|
+
};
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
relint
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=relint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/relint.ts"],"sourcesContent":["import { rmSync } from 'fs'\n\nimport { runSteps, yarnWorkspaces } from '../lib'\n\nexport const relint = () => {\n console.log('Relint - Cleaning [.eslintcache]')\n const workspaces = yarnWorkspaces()\n const result = workspaces\n .map(({ location, name }) => {\n const dist = `${location}/.eslintcache`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Relint - Cleaning [.eslintcache] Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n return result || runSteps('Relint', [['yarn', ['eslint', '.', '--cache']]])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAuB;AAEvB,iBAAyC;AAElC,MAAM,SAAS,MAAM;AAC1B,UAAQ,IAAI,kCAAkC;AAC9C,QAAM,iBAAa,2BAAe;AAClC,QAAM,SAAS,WACZ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,UAAM,OAAO,GAAG,QAAQ;AACxB,QAAI;AACF,4BAAO,MAAM,EAAE,OAAO,MAAM,WAAW,KAAK,CAAC;AAC7C,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,4CAA4C,IAAI,KAAK,MAAM,OAAO,GAAG;AACnF,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAMA,YAAW,QAAQA,SAAQ,CAAC;AAC7C,SAAO,cAAU,qBAAS,UAAU,CAAC,CAAC,QAAQ,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC;AAC5E;","names":["result"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { rmSync } from "fs";
|
|
2
|
+
import { runSteps, yarnWorkspaces } from "../lib";
|
|
3
|
+
const relint = () => {
|
|
4
|
+
console.log("Relint - Cleaning [.eslintcache]");
|
|
5
|
+
const workspaces = yarnWorkspaces();
|
|
6
|
+
const result = workspaces.map(({ location, name }) => {
|
|
7
|
+
const dist = `${location}/.eslintcache`;
|
|
8
|
+
try {
|
|
9
|
+
rmSync(dist, { force: true, recursive: true });
|
|
10
|
+
return 0;
|
|
11
|
+
} catch (ex) {
|
|
12
|
+
const error = ex;
|
|
13
|
+
console.error(`Relint - Cleaning [.eslintcache] Failed [${name}, ${error.message}]`);
|
|
14
|
+
return 1;
|
|
15
|
+
}
|
|
16
|
+
}).reduce((prev, result2) => prev || result2, 0);
|
|
17
|
+
return result || runSteps("Relint", [["yarn", ["eslint", ".", "--cache"]]]);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
relint
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=relint.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/relint.ts"],"sourcesContent":["import { rmSync } from 'fs'\n\nimport { runSteps, yarnWorkspaces } from '../lib'\n\nexport const relint = () => {\n console.log('Relint - Cleaning [.eslintcache]')\n const workspaces = yarnWorkspaces()\n const result = workspaces\n .map(({ location, name }) => {\n const dist = `${location}/.eslintcache`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Relint - Cleaning [.eslintcache] Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n return result || runSteps('Relint', [['yarn', ['eslint', '.', '--cache']]])\n}\n"],"mappings":"AAAA,SAAS,cAAc;AAEvB,SAAS,UAAU,sBAAsB;AAElC,MAAM,SAAS,MAAM;AAC1B,UAAQ,IAAI,kCAAkC;AAC9C,QAAM,aAAa,eAAe;AAClC,QAAM,SAAS,WACZ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,UAAM,OAAO,GAAG,QAAQ;AACxB,QAAI;AACF,aAAO,MAAM,EAAE,OAAO,MAAM,WAAW,KAAK,CAAC;AAC7C,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,4CAA4C,IAAI,KAAK,MAAM,OAAO,GAAG;AACnF,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAMA,YAAW,QAAQA,SAAQ,CAAC;AAC7C,SAAO,UAAU,SAAS,UAAU,CAAC,CAAC,QAAQ,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC;AAC5E;","names":["result"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var retest_exports = {};
|
|
20
|
+
__export(retest_exports, {
|
|
21
|
+
retest: () => retest
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(retest_exports);
|
|
24
|
+
var import_lib = require("../lib");
|
|
25
|
+
const retest = () => {
|
|
26
|
+
return (0, import_lib.runSteps)("Test", [
|
|
27
|
+
["yarn", ["jest", "--clearCache"]],
|
|
28
|
+
["yarn", ["jest", "."]]
|
|
29
|
+
]);
|
|
30
|
+
};
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
retest
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=retest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/retest.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport const retest = () => {\n return runSteps('Test', [\n ['yarn', ['jest', '--clearCache']],\n ['yarn', ['jest', '.']],\n ])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAyB;AAElB,MAAM,SAAS,MAAM;AAC1B,aAAO,qBAAS,QAAQ;AAAA,IACtB,CAAC,QAAQ,CAAC,QAAQ,cAAc,CAAC;AAAA,IACjC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC;AAAA,EACxB,CAAC;AACH;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/retest.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport const retest = () => {\n return runSteps('Test', [\n ['yarn', ['jest', '--clearCache']],\n ['yarn', ['jest', '.']],\n ])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAElB,MAAM,SAAS,MAAM;AAC1B,SAAO,SAAS,QAAQ;AAAA,IACtB,CAAC,QAAQ,CAAC,QAAQ,cAAc,CAAC;AAAA,IACjC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC;AAAA,EACxB,CAAC;AACH;","names":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var sonar_exports = {};
|
|
20
|
+
__export(sonar_exports, {
|
|
21
|
+
sonar: () => sonar
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(sonar_exports);
|
|
24
|
+
var import_lib = require("../lib");
|
|
25
|
+
const sonar = () => {
|
|
26
|
+
return (0, import_lib.runSteps)("Sonar", [["yarn", ["eslint", "-c", "sonar.eslintrc", "."]]]);
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
sonar
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=sonar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/sonar.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport const sonar = () => {\n return runSteps('Sonar', [['yarn', ['eslint', '-c', 'sonar.eslintrc', '.']]])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAyB;AAElB,MAAM,QAAQ,MAAM;AACzB,aAAO,qBAAS,SAAS,CAAC,CAAC,QAAQ,CAAC,UAAU,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC;AAC9E;","names":[]}
|