@xylabs/ts-scripts-yarn3 2.19.4 → 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/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/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/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/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 +79 -68
- 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/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/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/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/clean.d.ts +0 -0
- /package/dist/{types → cjs}/actions/clean.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/withErrnoException.d.ts +0 -0
- /package/dist/{types → cjs}/lib/withErrnoException.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/xyInstallCommands.d.ts.map +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 @@
|
|
|
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,SAAS,gBAAgB;AAElB,MAAM,QAAQ,MAAM;AACzB,SAAO,SAAS,SAAS,CAAC,CAAC,QAAQ,CAAC,UAAU,MAAM,kBAAkB,GAAG,CAAC,CAAC,CAAC;AAC9E;","names":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 statics_exports = {};
|
|
30
|
+
__export(statics_exports, {
|
|
31
|
+
statics: () => statics
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(statics_exports);
|
|
34
|
+
var import_chalk = __toESM(require("chalk"));
|
|
35
|
+
var import_lib = require("../lib");
|
|
36
|
+
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/styles", "@mui/system"];
|
|
37
|
+
const statics = () => {
|
|
38
|
+
console.log(import_chalk.default.green("Check Required Static Dependencies"));
|
|
39
|
+
const statics2 = (0, import_lib.parsedPackageJSON)()?.xy?.deps?.statics;
|
|
40
|
+
return (0, import_lib.detectDuplicateDependencies)(statics2, DefaultDependencies);
|
|
41
|
+
};
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
statics
|
|
45
|
+
});
|
|
46
|
+
//# sourceMappingURL=statics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/styles', '@mui/system']\n\nexport const statics = () => {\n console.log(chalk.green('Check Required Static Dependencies'))\n\n const statics = parsedPackageJSON()?.xy?.deps?.statics\n\n return detectDuplicateDependencies(statics, DefaultDependencies)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAElB,iBAA+D;AAE/D,MAAM,sBAAsB,CAAC,SAAS,iBAAiB,SAAS,WAAW,gBAAgB,iBAAiB,eAAe,aAAa;AAEjI,MAAM,UAAU,MAAM;AAC3B,UAAQ,IAAI,aAAAA,QAAM,MAAM,oCAAoC,CAAC;AAE7D,QAAMC,eAAU,8BAAkB,GAAG,IAAI,MAAM;AAE/C,aAAO,wCAA4BA,UAAS,mBAAmB;AACjE;","names":["chalk","statics"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { detectDuplicateDependencies, parsedPackageJSON } from "../lib";
|
|
3
|
+
const DefaultDependencies = ["axios", "@xylabs/pixel", "react", "graphql", "react-router", "@mui/material", "@mui/styles", "@mui/system"];
|
|
4
|
+
const statics = () => {
|
|
5
|
+
console.log(chalk.green("Check Required Static Dependencies"));
|
|
6
|
+
const statics2 = parsedPackageJSON()?.xy?.deps?.statics;
|
|
7
|
+
return detectDuplicateDependencies(statics2, DefaultDependencies);
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
statics
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=statics.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/statics.ts"],"sourcesContent":["import chalk from 'chalk'\n\nimport { detectDuplicateDependencies, parsedPackageJSON } from '../lib'\n\nconst DefaultDependencies = ['axios', '@xylabs/pixel', 'react', 'graphql', 'react-router', '@mui/material', '@mui/styles', '@mui/system']\n\nexport const statics = () => {\n console.log(chalk.green('Check Required Static Dependencies'))\n\n const statics = parsedPackageJSON()?.xy?.deps?.statics\n\n return detectDuplicateDependencies(statics, DefaultDependencies)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAElB,SAAS,6BAA6B,yBAAyB;AAE/D,MAAM,sBAAsB,CAAC,SAAS,iBAAiB,SAAS,WAAW,gBAAgB,iBAAiB,eAAe,aAAa;AAEjI,MAAM,UAAU,MAAM;AAC3B,UAAQ,IAAI,MAAM,MAAM,oCAAoC,CAAC;AAE7D,QAAMA,WAAU,kBAAkB,GAAG,IAAI,MAAM;AAE/C,SAAO,4BAA4BA,UAAS,mBAAmB;AACjE;","names":["statics"]}
|
|
@@ -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 test_exports = {};
|
|
20
|
+
__export(test_exports, {
|
|
21
|
+
test: () => test
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(test_exports);
|
|
24
|
+
var import_lib = require("../lib");
|
|
25
|
+
const test = () => {
|
|
26
|
+
return (0, import_lib.runSteps)("Test", [["yarn", ["jest", "."]]]);
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
test
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/test.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', ['jest', '.']]])\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAyB;AAElB,MAAM,OAAO,MAAM;AACxB,aAAO,qBAAS,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;AACnD;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/test.ts"],"sourcesContent":["import { runSteps } from '../lib'\n\nexport const test = () => {\n return runSteps('Test', [['yarn', ['jest', '.']]])\n}\n"],"mappings":"AAAA,SAAS,gBAAgB;AAElB,MAAM,OAAO,MAAM;AACxB,SAAO,SAAS,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;AACnD;","names":[]}
|
|
@@ -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_cjs_exports = {};
|
|
30
|
+
__export(tsconfig_gen_cjs_exports, {
|
|
31
|
+
tsconfigGenCjs: () => tsconfigGenCjs
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(tsconfig_gen_cjs_exports);
|
|
34
|
+
var import_chalk = __toESM(require("chalk"));
|
|
35
|
+
var import_fs = require("fs");
|
|
36
|
+
var import_lib = require("../lib");
|
|
37
|
+
const tsconfigGenCjs = (pkg) => {
|
|
38
|
+
const workspaces = pkg ? [(0, import_lib.yarnWorkspace)(pkg)] : (0, import_lib.yarnWorkspaces)();
|
|
39
|
+
console.log(import_chalk.default.green("Generate Configs [CJS]"));
|
|
40
|
+
return workspaces.map(({ location, name }) => {
|
|
41
|
+
try {
|
|
42
|
+
const configObject = (0, import_lib.createBuildConfig)(location, "CommonJS", "ES6", "cjs");
|
|
43
|
+
if (configObject) {
|
|
44
|
+
const config = JSON.stringify((0, import_lib.createBuildConfig)(location, "CommonJS", "ES6", "cjs"), null, 2);
|
|
45
|
+
let currentConfig;
|
|
46
|
+
try {
|
|
47
|
+
currentConfig = (0, import_fs.readFileSync)(`${location}/.tsconfig.build.cjs.json`, { encoding: "utf8" });
|
|
48
|
+
} catch (ex) {
|
|
49
|
+
currentConfig = void 0;
|
|
50
|
+
}
|
|
51
|
+
if (currentConfig !== config) {
|
|
52
|
+
console.log(import_chalk.default.gray(`Updating CJS tsconfig [${name}]`));
|
|
53
|
+
(0, import_fs.writeFileSync)(`${location}/.tsconfig.build.cjs.json`, config, { encoding: "utf8" });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return 0;
|
|
57
|
+
} catch (ex) {
|
|
58
|
+
const error = ex;
|
|
59
|
+
console.error(`tsconfig (CJS) generate failed [${name}] [${error.message}]`);
|
|
60
|
+
return 1;
|
|
61
|
+
}
|
|
62
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
63
|
+
};
|
|
64
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
65
|
+
0 && (module.exports = {
|
|
66
|
+
tsconfigGenCjs
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=tsconfig-gen-cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-cjs.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig, yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenCjs = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [CJS]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n const configObject = createBuildConfig(location, 'CommonJS', 'ES6', 'cjs')\n if (configObject) {\n const config = JSON.stringify(createBuildConfig(location, 'CommonJS', 'ES6', 'cjs'), null, 2)\n\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/.tsconfig.build.cjs.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n console.log(chalk.gray(`Updating CJS tsconfig [${name}]`))\n writeFileSync(`${location}/.tsconfig.build.cjs.json`, config, { encoding: 'utf8' })\n }\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (CJS) generate failed [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,gBAA4C;AAE5C,iBAAiE;AAE1D,MAAM,iBAAiB,CAAC,QAAiB;AAC9C,QAAM,aAAa,MAAM,KAAC,0BAAc,GAAG,CAAC,QAAI,2BAAe;AAC/D,UAAQ,IAAI,aAAAA,QAAM,MAAM,wBAAwB,CAAC;AACjD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,YAAM,mBAAe,8BAAkB,UAAU,YAAY,OAAO,KAAK;AACzE,UAAI,cAAc;AAChB,cAAM,SAAS,KAAK,cAAU,8BAAkB,UAAU,YAAY,OAAO,KAAK,GAAG,MAAM,CAAC;AAE5F,YAAI;AACJ,YAAI;AACF,8BAAgB,wBAAa,GAAG,QAAQ,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,QAC3F,SAAS,IAAI;AACX,0BAAgB;AAAA,QAClB;AACA,YAAI,kBAAkB,QAAQ;AAC5B,kBAAQ,IAAI,aAAAA,QAAM,KAAK,0BAA0B,IAAI,GAAG,CAAC;AACzD,uCAAc,GAAG,QAAQ,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,QACpF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,mCAAmC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC3E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":["chalk"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
3
|
+
import { createBuildConfig, yarnWorkspace, yarnWorkspaces } from "../lib";
|
|
4
|
+
const tsconfigGenCjs = (pkg) => {
|
|
5
|
+
const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces();
|
|
6
|
+
console.log(chalk.green("Generate Configs [CJS]"));
|
|
7
|
+
return workspaces.map(({ location, name }) => {
|
|
8
|
+
try {
|
|
9
|
+
const configObject = createBuildConfig(location, "CommonJS", "ES6", "cjs");
|
|
10
|
+
if (configObject) {
|
|
11
|
+
const config = JSON.stringify(createBuildConfig(location, "CommonJS", "ES6", "cjs"), null, 2);
|
|
12
|
+
let currentConfig;
|
|
13
|
+
try {
|
|
14
|
+
currentConfig = readFileSync(`${location}/.tsconfig.build.cjs.json`, { encoding: "utf8" });
|
|
15
|
+
} catch (ex) {
|
|
16
|
+
currentConfig = void 0;
|
|
17
|
+
}
|
|
18
|
+
if (currentConfig !== config) {
|
|
19
|
+
console.log(chalk.gray(`Updating CJS tsconfig [${name}]`));
|
|
20
|
+
writeFileSync(`${location}/.tsconfig.build.cjs.json`, config, { encoding: "utf8" });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return 0;
|
|
24
|
+
} catch (ex) {
|
|
25
|
+
const error = ex;
|
|
26
|
+
console.error(`tsconfig (CJS) generate failed [${name}] [${error.message}]`);
|
|
27
|
+
return 1;
|
|
28
|
+
}
|
|
29
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
tsconfigGenCjs
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=tsconfig-gen-cjs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-cjs.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig, yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenCjs = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [CJS]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n const configObject = createBuildConfig(location, 'CommonJS', 'ES6', 'cjs')\n if (configObject) {\n const config = JSON.stringify(createBuildConfig(location, 'CommonJS', 'ES6', 'cjs'), null, 2)\n\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/.tsconfig.build.cjs.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n console.log(chalk.gray(`Updating CJS tsconfig [${name}]`))\n writeFileSync(`${location}/.tsconfig.build.cjs.json`, config, { encoding: 'utf8' })\n }\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (CJS) generate failed [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAClB,SAAS,cAAc,qBAAqB;AAE5C,SAAS,mBAAmB,eAAe,sBAAsB;AAE1D,MAAM,iBAAiB,CAAC,QAAiB;AAC9C,QAAM,aAAa,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,eAAe;AAC/D,UAAQ,IAAI,MAAM,MAAM,wBAAwB,CAAC;AACjD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,YAAM,eAAe,kBAAkB,UAAU,YAAY,OAAO,KAAK;AACzE,UAAI,cAAc;AAChB,cAAM,SAAS,KAAK,UAAU,kBAAkB,UAAU,YAAY,OAAO,KAAK,GAAG,MAAM,CAAC;AAE5F,YAAI;AACJ,YAAI;AACF,0BAAgB,aAAa,GAAG,QAAQ,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,QAC3F,SAAS,IAAI;AACX,0BAAgB;AAAA,QAClB;AACA,YAAI,kBAAkB,QAAQ;AAC5B,kBAAQ,IAAI,MAAM,KAAK,0BAA0B,IAAI,GAAG,CAAC;AACzD,wBAAc,GAAG,QAAQ,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,QACpF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,mCAAmC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC3E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
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_clean_exports = {};
|
|
30
|
+
__export(tsconfig_gen_clean_exports, {
|
|
31
|
+
tsconfigGenClean: () => tsconfigGenClean
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(tsconfig_gen_clean_exports);
|
|
34
|
+
var import_chalk = __toESM(require("chalk"));
|
|
35
|
+
var import_fs = require("fs");
|
|
36
|
+
var import_lib = require("../lib");
|
|
37
|
+
const tsconfigGenClean = (pkg) => {
|
|
38
|
+
const workspaces = pkg ? [(0, import_lib.yarnWorkspace)(pkg)] : (0, import_lib.yarnWorkspaces)();
|
|
39
|
+
console.log(import_chalk.default.green("Clean TSConfigs"));
|
|
40
|
+
return workspaces.map(({ location, name }) => {
|
|
41
|
+
const dist = `${location}/**/.tsconfig*`;
|
|
42
|
+
try {
|
|
43
|
+
(0, import_fs.rmSync)(dist, { force: true, recursive: true });
|
|
44
|
+
return 0;
|
|
45
|
+
} catch (ex) {
|
|
46
|
+
const error = ex;
|
|
47
|
+
console.error(`Clean Failed [${name}, ${error.message}]`);
|
|
48
|
+
return 1;
|
|
49
|
+
}
|
|
50
|
+
}).reduce((prev, result) => prev || result, 0);
|
|
51
|
+
};
|
|
52
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
53
|
+
0 && (module.exports = {
|
|
54
|
+
tsconfigGenClean
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=tsconfig-gen-clean.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-clean.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { rmSync } from 'fs'\n\nimport { yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenClean = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Clean TSConfigs'))\n return workspaces\n .map(({ location, name }) => {\n const dist = `${location}/**/.tsconfig*`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Clean Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,gBAAuB;AAEvB,iBAA8C;AAEvC,MAAM,mBAAmB,CAAC,QAAiB;AAChD,QAAM,aAAa,MAAM,KAAC,0BAAc,GAAG,CAAC,QAAI,2BAAe;AAC/D,UAAQ,IAAI,aAAAA,QAAM,MAAM,iBAAiB,CAAC;AAC1C,SAAO,WACJ,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,iBAAiB,IAAI,KAAK,MAAM,OAAO,GAAG;AACxD,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,WAAW,QAAQ,QAAQ,CAAC;AAC/C;","names":["chalk"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { rmSync } from "fs";
|
|
3
|
+
import { yarnWorkspace, yarnWorkspaces } from "../lib";
|
|
4
|
+
const tsconfigGenClean = (pkg) => {
|
|
5
|
+
const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces();
|
|
6
|
+
console.log(chalk.green("Clean TSConfigs"));
|
|
7
|
+
return workspaces.map(({ location, name }) => {
|
|
8
|
+
const dist = `${location}/**/.tsconfig*`;
|
|
9
|
+
try {
|
|
10
|
+
rmSync(dist, { force: true, recursive: true });
|
|
11
|
+
return 0;
|
|
12
|
+
} catch (ex) {
|
|
13
|
+
const error = ex;
|
|
14
|
+
console.error(`Clean Failed [${name}, ${error.message}]`);
|
|
15
|
+
return 1;
|
|
16
|
+
}
|
|
17
|
+
}).reduce((prev, result) => prev || result, 0);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
tsconfigGenClean
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=tsconfig-gen-clean.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-clean.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { rmSync } from 'fs'\n\nimport { yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenClean = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Clean TSConfigs'))\n return workspaces\n .map(({ location, name }) => {\n const dist = `${location}/**/.tsconfig*`\n try {\n rmSync(dist, { force: true, recursive: true })\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`Clean Failed [${name}, ${error.message}]`)\n return 1\n }\n })\n .reduce((prev, result) => prev || result, 0)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAClB,SAAS,cAAc;AAEvB,SAAS,eAAe,sBAAsB;AAEvC,MAAM,mBAAmB,CAAC,QAAiB;AAChD,QAAM,aAAa,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,eAAe;AAC/D,UAAQ,IAAI,MAAM,MAAM,iBAAiB,CAAC;AAC1C,SAAO,WACJ,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,iBAAiB,IAAI,KAAK,MAAM,OAAO,GAAG;AACxD,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,WAAW,QAAQ,QAAQ,CAAC;AAC/C;","names":[]}
|
|
@@ -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
|
+
tsconfigGenEsm: () => tsconfigGenEsm
|
|
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 tsconfigGenEsm = (pkg) => {
|
|
38
|
+
const workspaces = pkg ? [(0, import_lib.yarnWorkspace)(pkg)] : (0, import_lib.yarnWorkspaces)();
|
|
39
|
+
console.log(import_chalk.default.green("Generate Configs [ESM]"));
|
|
40
|
+
return workspaces.map(({ location, name }) => {
|
|
41
|
+
try {
|
|
42
|
+
const configObject = (0, import_lib.createBuildConfig)(location, "ESNext", "ESNext", "esm");
|
|
43
|
+
if (configObject) {
|
|
44
|
+
const config = JSON.stringify(configObject, null, 2);
|
|
45
|
+
let currentConfig;
|
|
46
|
+
try {
|
|
47
|
+
currentConfig = (0, import_fs.readFileSync)(`${location}/.tsconfig.build.esm.json`, { encoding: "utf8" });
|
|
48
|
+
} catch (ex) {
|
|
49
|
+
currentConfig = void 0;
|
|
50
|
+
}
|
|
51
|
+
if (currentConfig !== config) {
|
|
52
|
+
console.log(import_chalk.default.gray(`Updating ESM tsconfig [${name}]`));
|
|
53
|
+
(0, import_fs.writeFileSync)(`${location}/.tsconfig.build.esm.json`, config, { encoding: "utf8" });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return 0;
|
|
57
|
+
} catch (ex) {
|
|
58
|
+
const error = ex;
|
|
59
|
+
console.error(`tsconfig (ESM) generate failed [${name}] [${error.message}]`);
|
|
60
|
+
return 1;
|
|
61
|
+
}
|
|
62
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
63
|
+
};
|
|
64
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
65
|
+
0 && (module.exports = {
|
|
66
|
+
tsconfigGenEsm
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=tsconfig-gen-esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-esm.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig, yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenEsm = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [ESM]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n const configObject = createBuildConfig(location, 'ESNext', 'ESNext', 'esm')\n if (configObject) {\n const config = JSON.stringify(configObject, null, 2)\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/.tsconfig.build.esm.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n console.log(chalk.gray(`Updating ESM tsconfig [${name}]`))\n writeFileSync(`${location}/.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 [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,gBAA4C;AAE5C,iBAAiE;AAE1D,MAAM,iBAAiB,CAAC,QAAiB;AAC9C,QAAM,aAAa,MAAM,KAAC,0BAAc,GAAG,CAAC,QAAI,2BAAe;AAC/D,UAAQ,IAAI,aAAAA,QAAM,MAAM,wBAAwB,CAAC;AACjD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,YAAM,mBAAe,8BAAkB,UAAU,UAAU,UAAU,KAAK;AAC1E,UAAI,cAAc;AAChB,cAAM,SAAS,KAAK,UAAU,cAAc,MAAM,CAAC;AACnD,YAAI;AACJ,YAAI;AACF,8BAAgB,wBAAa,GAAG,QAAQ,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,QAC3F,SAAS,IAAI;AACX,0BAAgB;AAAA,QAClB;AACA,YAAI,kBAAkB,QAAQ;AAC5B,kBAAQ,IAAI,aAAAA,QAAM,KAAK,0BAA0B,IAAI,GAAG,CAAC;AACzD,uCAAc,GAAG,QAAQ,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,QACpF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,mCAAmC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC3E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":["chalk"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
3
|
+
import { createBuildConfig, yarnWorkspace, yarnWorkspaces } from "../lib";
|
|
4
|
+
const tsconfigGenEsm = (pkg) => {
|
|
5
|
+
const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces();
|
|
6
|
+
console.log(chalk.green("Generate Configs [ESM]"));
|
|
7
|
+
return workspaces.map(({ location, name }) => {
|
|
8
|
+
try {
|
|
9
|
+
const configObject = createBuildConfig(location, "ESNext", "ESNext", "esm");
|
|
10
|
+
if (configObject) {
|
|
11
|
+
const config = JSON.stringify(configObject, null, 2);
|
|
12
|
+
let currentConfig;
|
|
13
|
+
try {
|
|
14
|
+
currentConfig = readFileSync(`${location}/.tsconfig.build.esm.json`, { encoding: "utf8" });
|
|
15
|
+
} catch (ex) {
|
|
16
|
+
currentConfig = void 0;
|
|
17
|
+
}
|
|
18
|
+
if (currentConfig !== config) {
|
|
19
|
+
console.log(chalk.gray(`Updating ESM tsconfig [${name}]`));
|
|
20
|
+
writeFileSync(`${location}/.tsconfig.build.esm.json`, config, { encoding: "utf8" });
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return 0;
|
|
24
|
+
} catch (ex) {
|
|
25
|
+
const error = ex;
|
|
26
|
+
console.error(`tsconfig (ESM) generate failed [${name}] [${error.message}]`);
|
|
27
|
+
return 1;
|
|
28
|
+
}
|
|
29
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
tsconfigGenEsm
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=tsconfig-gen-esm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-esm.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { createBuildConfig, yarnWorkspace, yarnWorkspaces } from '../lib'\n\nexport const tsconfigGenEsm = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [ESM]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n const configObject = createBuildConfig(location, 'ESNext', 'ESNext', 'esm')\n if (configObject) {\n const config = JSON.stringify(configObject, null, 2)\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/.tsconfig.build.esm.json`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== config) {\n console.log(chalk.gray(`Updating ESM tsconfig [${name}]`))\n writeFileSync(`${location}/.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 [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAClB,SAAS,cAAc,qBAAqB;AAE5C,SAAS,mBAAmB,eAAe,sBAAsB;AAE1D,MAAM,iBAAiB,CAAC,QAAiB;AAC9C,QAAM,aAAa,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,eAAe;AAC/D,UAAQ,IAAI,MAAM,MAAM,wBAAwB,CAAC;AACjD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,YAAM,eAAe,kBAAkB,UAAU,UAAU,UAAU,KAAK;AAC1E,UAAI,cAAc;AAChB,cAAM,SAAS,KAAK,UAAU,cAAc,MAAM,CAAC;AACnD,YAAI;AACJ,YAAI;AACF,0BAAgB,aAAa,GAAG,QAAQ,6BAA6B,EAAE,UAAU,OAAO,CAAC;AAAA,QAC3F,SAAS,IAAI;AACX,0BAAgB;AAAA,QAClB;AACA,YAAI,kBAAkB,QAAQ;AAC5B,kBAAQ,IAAI,MAAM,KAAK,0BAA0B,IAAI,GAAG,CAAC;AACzD,wBAAc,GAAG,QAAQ,6BAA6B,QAAQ,EAAE,UAAU,OAAO,CAAC;AAAA,QACpF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,mCAAmC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC3E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
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_test_exports = {};
|
|
30
|
+
__export(tsconfig_gen_test_exports, {
|
|
31
|
+
tsconfigGenTest: () => tsconfigGenTest
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(tsconfig_gen_test_exports);
|
|
34
|
+
var import_chalk = __toESM(require("chalk"));
|
|
35
|
+
var import_fs = require("fs");
|
|
36
|
+
var import_lib = require("../lib");
|
|
37
|
+
const tsconfigName = ".tsconfig.build.test.json";
|
|
38
|
+
const tsconfig = JSON.stringify(
|
|
39
|
+
{
|
|
40
|
+
extends: "./tsconfig.json",
|
|
41
|
+
include: ["src/**/*.spec.ts"]
|
|
42
|
+
},
|
|
43
|
+
null,
|
|
44
|
+
2
|
|
45
|
+
);
|
|
46
|
+
const tsconfigGenTest = (pkg) => {
|
|
47
|
+
const workspaces = pkg ? [(0, import_lib.yarnWorkspace)(pkg)] : (0, import_lib.yarnWorkspaces)();
|
|
48
|
+
console.log(import_chalk.default.green("Generate Configs [Test]"));
|
|
49
|
+
return workspaces.map(({ location, name }) => {
|
|
50
|
+
try {
|
|
51
|
+
let currentConfig;
|
|
52
|
+
try {
|
|
53
|
+
currentConfig = (0, import_fs.readFileSync)(`${location}/${tsconfigName}`, { encoding: "utf8" });
|
|
54
|
+
} catch (ex) {
|
|
55
|
+
currentConfig = void 0;
|
|
56
|
+
}
|
|
57
|
+
if (currentConfig !== tsconfig) {
|
|
58
|
+
console.log(import_chalk.default.gray(`Updating TEST tsconfig [${name}]`));
|
|
59
|
+
(0, import_fs.writeFileSync)(`${location}/${tsconfigName}`, tsconfig, { encoding: "utf8" });
|
|
60
|
+
}
|
|
61
|
+
return 0;
|
|
62
|
+
} catch (ex) {
|
|
63
|
+
const error = ex;
|
|
64
|
+
console.error(`tsconfig (TEST) generate failed [${name}] [${error.message}]`);
|
|
65
|
+
return 1;
|
|
66
|
+
}
|
|
67
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
68
|
+
};
|
|
69
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70
|
+
0 && (module.exports = {
|
|
71
|
+
tsconfigGenTest
|
|
72
|
+
});
|
|
73
|
+
//# sourceMappingURL=tsconfig-gen-test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-test.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { yarnWorkspace, yarnWorkspaces } from '../lib'\n\nconst tsconfigName = '.tsconfig.build.test.json'\nconst tsconfig = JSON.stringify(\n {\n extends: './tsconfig.json',\n include: ['src/**/*.spec.ts'],\n },\n null,\n 2,\n)\nexport const tsconfigGenTest = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [Test]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/${tsconfigName}`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== tsconfig) {\n console.log(chalk.gray(`Updating TEST tsconfig [${name}]`))\n writeFileSync(`${location}/${tsconfigName}`, tsconfig, { encoding: 'utf8' })\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (TEST) generate failed [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAClB,gBAA4C;AAE5C,iBAA8C;AAE9C,MAAM,eAAe;AACrB,MAAM,WAAW,KAAK;AAAA,EACpB;AAAA,IACE,SAAS;AAAA,IACT,SAAS,CAAC,kBAAkB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF;AACO,MAAM,kBAAkB,CAAC,QAAiB;AAC/C,QAAM,aAAa,MAAM,KAAC,0BAAc,GAAG,CAAC,QAAI,2BAAe;AAC/D,UAAQ,IAAI,aAAAA,QAAM,MAAM,yBAAyB,CAAC;AAClD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,UAAI;AACJ,UAAI;AACF,4BAAgB,wBAAa,GAAG,QAAQ,IAAI,YAAY,IAAI,EAAE,UAAU,OAAO,CAAC;AAAA,MAClF,SAAS,IAAI;AACX,wBAAgB;AAAA,MAClB;AACA,UAAI,kBAAkB,UAAU;AAC9B,gBAAQ,IAAI,aAAAA,QAAM,KAAK,2BAA2B,IAAI,GAAG,CAAC;AAC1D,qCAAc,GAAG,QAAQ,IAAI,YAAY,IAAI,UAAU,EAAE,UAAU,OAAO,CAAC;AAAA,MAC7E;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,oCAAoC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC5E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":["chalk"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import chalk from "chalk";
|
|
2
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
3
|
+
import { yarnWorkspace, yarnWorkspaces } from "../lib";
|
|
4
|
+
const tsconfigName = ".tsconfig.build.test.json";
|
|
5
|
+
const tsconfig = JSON.stringify(
|
|
6
|
+
{
|
|
7
|
+
extends: "./tsconfig.json",
|
|
8
|
+
include: ["src/**/*.spec.ts"]
|
|
9
|
+
},
|
|
10
|
+
null,
|
|
11
|
+
2
|
|
12
|
+
);
|
|
13
|
+
const tsconfigGenTest = (pkg) => {
|
|
14
|
+
const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces();
|
|
15
|
+
console.log(chalk.green("Generate Configs [Test]"));
|
|
16
|
+
return workspaces.map(({ location, name }) => {
|
|
17
|
+
try {
|
|
18
|
+
let currentConfig;
|
|
19
|
+
try {
|
|
20
|
+
currentConfig = readFileSync(`${location}/${tsconfigName}`, { encoding: "utf8" });
|
|
21
|
+
} catch (ex) {
|
|
22
|
+
currentConfig = void 0;
|
|
23
|
+
}
|
|
24
|
+
if (currentConfig !== tsconfig) {
|
|
25
|
+
console.log(chalk.gray(`Updating TEST tsconfig [${name}]`));
|
|
26
|
+
writeFileSync(`${location}/${tsconfigName}`, tsconfig, { encoding: "utf8" });
|
|
27
|
+
}
|
|
28
|
+
return 0;
|
|
29
|
+
} catch (ex) {
|
|
30
|
+
const error = ex;
|
|
31
|
+
console.error(`tsconfig (TEST) generate failed [${name}] [${error.message}]`);
|
|
32
|
+
return 1;
|
|
33
|
+
}
|
|
34
|
+
}).reduce((prev, value) => prev || value, 0);
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
tsconfigGenTest
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=tsconfig-gen-test.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen-test.ts"],"sourcesContent":["import chalk from 'chalk'\nimport { readFileSync, writeFileSync } from 'fs'\n\nimport { yarnWorkspace, yarnWorkspaces } from '../lib'\n\nconst tsconfigName = '.tsconfig.build.test.json'\nconst tsconfig = JSON.stringify(\n {\n extends: './tsconfig.json',\n include: ['src/**/*.spec.ts'],\n },\n null,\n 2,\n)\nexport const tsconfigGenTest = (pkg?: string) => {\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n console.log(chalk.green('Generate Configs [Test]'))\n return workspaces\n .map(({ location, name }) => {\n try {\n let currentConfig: string | undefined\n try {\n currentConfig = readFileSync(`${location}/${tsconfigName}`, { encoding: 'utf8' })\n } catch (ex) {\n currentConfig = undefined\n }\n if (currentConfig !== tsconfig) {\n console.log(chalk.gray(`Updating TEST tsconfig [${name}]`))\n writeFileSync(`${location}/${tsconfigName}`, tsconfig, { encoding: 'utf8' })\n }\n return 0\n } catch (ex) {\n const error = ex as Error\n console.error(`tsconfig (TEST) generate failed [${name}] [${error.message}]`)\n return 1\n }\n })\n .reduce((prev, value) => prev || value, 0)\n}\n"],"mappings":"AAAA,OAAO,WAAW;AAClB,SAAS,cAAc,qBAAqB;AAE5C,SAAS,eAAe,sBAAsB;AAE9C,MAAM,eAAe;AACrB,MAAM,WAAW,KAAK;AAAA,EACpB;AAAA,IACE,SAAS;AAAA,IACT,SAAS,CAAC,kBAAkB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF;AACO,MAAM,kBAAkB,CAAC,QAAiB;AAC/C,QAAM,aAAa,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,eAAe;AAC/D,UAAQ,IAAI,MAAM,MAAM,yBAAyB,CAAC;AAClD,SAAO,WACJ,IAAI,CAAC,EAAE,UAAU,KAAK,MAAM;AAC3B,QAAI;AACF,UAAI;AACJ,UAAI;AACF,wBAAgB,aAAa,GAAG,QAAQ,IAAI,YAAY,IAAI,EAAE,UAAU,OAAO,CAAC;AAAA,MAClF,SAAS,IAAI;AACX,wBAAgB;AAAA,MAClB;AACA,UAAI,kBAAkB,UAAU;AAC9B,gBAAQ,IAAI,MAAM,KAAK,2BAA2B,IAAI,GAAG,CAAC;AAC1D,sBAAc,GAAG,QAAQ,IAAI,YAAY,IAAI,UAAU,EAAE,UAAU,OAAO,CAAC;AAAA,MAC7E;AACA,aAAO;AAAA,IACT,SAAS,IAAI;AACX,YAAM,QAAQ;AACd,cAAQ,MAAM,oCAAoC,IAAI,MAAM,MAAM,OAAO,GAAG;AAC5E,aAAO;AAAA,IACT;AAAA,EACF,CAAC,EACA,OAAO,CAAC,MAAM,UAAU,QAAQ,OAAO,CAAC;AAC7C;","names":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 tsconfig_gen_exports = {};
|
|
20
|
+
__export(tsconfig_gen_exports, {
|
|
21
|
+
tsconfigGen: () => tsconfigGen
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(tsconfig_gen_exports);
|
|
24
|
+
var import_tsconfig_gen_cjs = require("./tsconfig-gen-cjs");
|
|
25
|
+
var import_tsconfig_gen_esm = require("./tsconfig-gen-esm");
|
|
26
|
+
var import_tsconfig_gen_test = require("./tsconfig-gen-test");
|
|
27
|
+
const tsconfigGen = ({ target, pkg }) => {
|
|
28
|
+
switch (target) {
|
|
29
|
+
case "esm":
|
|
30
|
+
return (0, import_tsconfig_gen_esm.tsconfigGenEsm)(pkg) || (0, import_tsconfig_gen_test.tsconfigGenTest)(pkg);
|
|
31
|
+
case "cjs":
|
|
32
|
+
return (0, import_tsconfig_gen_cjs.tsconfigGenCjs)(pkg) || (0, import_tsconfig_gen_test.tsconfigGenTest)(pkg);
|
|
33
|
+
default:
|
|
34
|
+
return (0, import_tsconfig_gen_esm.tsconfigGenEsm)(pkg) || (0, import_tsconfig_gen_cjs.tsconfigGenCjs)(pkg) || (0, import_tsconfig_gen_test.tsconfigGenTest)(pkg);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
tsconfigGen
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=tsconfig-gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/tsconfig-gen.ts"],"sourcesContent":["import { tsconfigGenCjs } from './tsconfig-gen-cjs'\nimport { tsconfigGenEsm } from './tsconfig-gen-esm'\nimport { tsconfigGenTest } from './tsconfig-gen-test'\n\nexport interface TsconfigGenParams {\n pkg?: string\n target?: 'esm' | 'cjs'\n}\n\nexport const tsconfigGen = ({ target, pkg }: TsconfigGenParams) => {\n switch (target) {\n case 'esm':\n return tsconfigGenEsm(pkg) || tsconfigGenTest(pkg)\n case 'cjs':\n return tsconfigGenCjs(pkg) || tsconfigGenTest(pkg)\n default:\n return tsconfigGenEsm(pkg) || tsconfigGenCjs(pkg) || tsconfigGenTest(pkg)\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,8BAA+B;AAC/B,8BAA+B;AAC/B,+BAAgC;AAOzB,MAAM,cAAc,CAAC,EAAE,QAAQ,IAAI,MAAyB;AACjE,UAAQ,QAAQ;AAAA,IACd,KAAK;AACH,iBAAO,wCAAe,GAAG,SAAK,0CAAgB,GAAG;AAAA,IACnD,KAAK;AACH,iBAAO,wCAAe,GAAG,SAAK,0CAAgB,GAAG;AAAA,IACnD;AACE,iBAAO,wCAAe,GAAG,SAAK,wCAAe,GAAG,SAAK,0CAAgB,GAAG;AAAA,EAC5E;AACF;","names":[]}
|