@donmahallem/lerna2codecov 0.1.9 → 0.2.3
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/cjs/_virtual/_commonjsHelpers.cjs +8 -0
- package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/cjs/_virtual/conversions.cjs +8 -0
- package/dist/cjs/_virtual/conversions.cjs.map +1 -0
- package/dist/cjs/_virtual/git-host-info.cjs +8 -0
- package/dist/cjs/_virtual/git-host-info.cjs.map +1 -0
- package/dist/cjs/_virtual/identifier.cjs +8 -0
- package/dist/cjs/_virtual/identifier.cjs.map +1 -0
- package/dist/cjs/_virtual/imurmurhash.cjs +8 -0
- package/dist/cjs/_virtual/imurmurhash.cjs.map +1 -0
- package/dist/cjs/_virtual/index.cjs +8 -0
- package/dist/cjs/_virtual/index.cjs.map +1 -0
- package/dist/cjs/_virtual/index10.cjs +8 -0
- package/dist/cjs/_virtual/index10.cjs.map +1 -0
- package/dist/cjs/_virtual/index11.cjs +8 -0
- package/dist/cjs/_virtual/index11.cjs.map +1 -0
- package/dist/cjs/_virtual/index12.cjs +8 -0
- package/dist/cjs/_virtual/index12.cjs.map +1 -0
- package/dist/cjs/_virtual/index13.cjs +8 -0
- package/dist/cjs/_virtual/index13.cjs.map +1 -0
- package/dist/cjs/_virtual/index14.cjs +8 -0
- package/dist/cjs/_virtual/index14.cjs.map +1 -0
- package/dist/cjs/_virtual/index15.cjs +8 -0
- package/dist/cjs/_virtual/index15.cjs.map +1 -0
- package/dist/cjs/_virtual/index2.cjs +8 -0
- package/dist/cjs/_virtual/index2.cjs.map +1 -0
- package/dist/cjs/_virtual/index3.cjs +8 -0
- package/dist/cjs/_virtual/index3.cjs.map +1 -0
- package/dist/cjs/_virtual/index4.cjs +8 -0
- package/dist/cjs/_virtual/index4.cjs.map +1 -0
- package/dist/cjs/_virtual/index5.cjs +8 -0
- package/dist/cjs/_virtual/index5.cjs.map +1 -0
- package/dist/cjs/_virtual/index6.cjs +8 -0
- package/dist/cjs/_virtual/index6.cjs.map +1 -0
- package/dist/cjs/_virtual/index7.cjs +8 -0
- package/dist/cjs/_virtual/index7.cjs.map +1 -0
- package/dist/cjs/_virtual/index8.cjs +8 -0
- package/dist/cjs/_virtual/index8.cjs.map +1 -0
- package/dist/cjs/_virtual/index9.cjs +8 -0
- package/dist/cjs/_virtual/index9.cjs.map +1 -0
- package/dist/cjs/_virtual/keyword.cjs +8 -0
- package/dist/cjs/_virtual/keyword.cjs.map +1 -0
- package/dist/cjs/_virtual/npa.cjs +8 -0
- package/dist/cjs/_virtual/npa.cjs.map +1 -0
- package/dist/cjs/_virtual/re.cjs +8 -0
- package/dist/cjs/_virtual/re.cjs.map +1 -0
- package/dist/cjs/_virtual/semver.cjs +8 -0
- package/dist/cjs/_virtual/semver.cjs.map +1 -0
- package/dist/cjs/_virtual/signals.cjs +8 -0
- package/dist/cjs/_virtual/signals.cjs.map +1 -0
- package/dist/cjs/index.cjs +10 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs +168 -0
- package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +89 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs +67 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +43 -0
- package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
- package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs +125 -0
- package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs.map +1 -0
- package/dist/cjs/node_modules/@lerna/package/index.cjs +314 -0
- package/dist/cjs/node_modules/@lerna/package/index.cjs.map +1 -0
- package/dist/cjs/node_modules/ansi-styles/index.cjs +172 -0
- package/dist/cjs/node_modules/ansi-styles/index.cjs.map +1 -0
- package/dist/cjs/node_modules/builtins/builtins.cjs +6 -0
- package/dist/cjs/node_modules/builtins/builtins.cjs.map +1 -0
- package/dist/cjs/node_modules/chalk/index.cjs +239 -0
- package/dist/cjs/node_modules/chalk/index.cjs.map +1 -0
- package/dist/cjs/node_modules/chalk/templates.cjs +132 -0
- package/dist/cjs/node_modules/chalk/templates.cjs.map +1 -0
- package/dist/cjs/node_modules/color-convert/conversions.cjs +877 -0
- package/dist/cjs/node_modules/color-convert/conversions.cjs.map +1 -0
- package/dist/cjs/node_modules/color-convert/index.cjs +87 -0
- package/dist/cjs/node_modules/color-convert/index.cjs.map +1 -0
- package/dist/cjs/node_modules/color-convert/route.cjs +104 -0
- package/dist/cjs/node_modules/color-convert/route.cjs.map +1 -0
- package/dist/cjs/node_modules/color-name/index.cjs +155 -0
- package/dist/cjs/node_modules/color-name/index.cjs.map +1 -0
- package/dist/cjs/node_modules/error-ex/index.cjs +151 -0
- package/dist/cjs/node_modules/error-ex/index.cjs.map +1 -0
- package/dist/cjs/node_modules/escape-string-regexp/index.cjs +14 -0
- package/dist/cjs/node_modules/escape-string-regexp/index.cjs.map +1 -0
- package/dist/cjs/node_modules/graceful-fs/clone.cjs +26 -0
- package/dist/cjs/node_modules/graceful-fs/clone.cjs.map +1 -0
- package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs +467 -0
- package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs.map +1 -0
- package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs +129 -0
- package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs.map +1 -0
- package/dist/cjs/node_modules/graceful-fs/polyfills.cjs +366 -0
- package/dist/cjs/node_modules/graceful-fs/polyfills.cjs.map +1 -0
- package/dist/cjs/node_modules/has-flag/index.cjs +12 -0
- package/dist/cjs/node_modules/has-flag/index.cjs.map +1 -0
- package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs +94 -0
- package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
- package/dist/cjs/node_modules/hosted-git-info/git-host.cjs +172 -0
- package/dist/cjs/node_modules/hosted-git-info/git-host.cjs.map +1 -0
- package/dist/cjs/node_modules/hosted-git-info/index.cjs +170 -0
- package/dist/cjs/node_modules/hosted-git-info/index.cjs.map +1 -0
- package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs +143 -0
- package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs.map +1 -0
- package/dist/cjs/node_modules/is-arrayish/index.cjs +13 -0
- package/dist/cjs/node_modules/is-arrayish/index.cjs.map +1 -0
- package/dist/cjs/node_modules/js-tokens/index.cjs +28 -0
- package/dist/cjs/node_modules/js-tokens/index.cjs.map +1 -0
- package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs +124 -0
- package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
- package/dist/cjs/node_modules/lines-and-columns/build/index.cjs +68 -0
- package/dist/cjs/node_modules/lines-and-columns/build/index.cjs.map +1 -0
- package/dist/cjs/node_modules/load-json-file/index.cjs +35 -0
- package/dist/cjs/node_modules/load-json-file/index.cjs.map +1 -0
- package/dist/cjs/node_modules/lru-cache/index.cjs +350 -0
- package/dist/cjs/node_modules/lru-cache/index.cjs.map +1 -0
- package/dist/cjs/node_modules/npm-package-arg/npa.cjs +323 -0
- package/dist/cjs/node_modules/npm-package-arg/npa.cjs.map +1 -0
- package/dist/cjs/node_modules/parse-json/index.cjs +65 -0
- package/dist/cjs/node_modules/parse-json/index.cjs.map +1 -0
- package/dist/cjs/node_modules/pify/index.cjs +71 -0
- package/dist/cjs/node_modules/pify/index.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/classes/comparator.cjs +158 -0
- package/dist/cjs/node_modules/semver/classes/comparator.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/classes/range.cjs +541 -0
- package/dist/cjs/node_modules/semver/classes/range.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/classes/semver.cjs +308 -0
- package/dist/cjs/node_modules/semver/classes/semver.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/clean.cjs +23 -0
- package/dist/cjs/node_modules/semver/functions/clean.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/cmp.cjs +74 -0
- package/dist/cjs/node_modules/semver/functions/cmp.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/coerce.cjs +71 -0
- package/dist/cjs/node_modules/semver/functions/coerce.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/compare-build.cjs +24 -0
- package/dist/cjs/node_modules/semver/functions/compare-build.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/compare-loose.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/compare-loose.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/compare.cjs +22 -0
- package/dist/cjs/node_modules/semver/functions/compare.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/diff.cjs +41 -0
- package/dist/cjs/node_modules/semver/functions/diff.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/eq.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/eq.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/gt.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/gt.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/gte.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/gte.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/inc.cjs +35 -0
- package/dist/cjs/node_modules/semver/functions/inc.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/lt.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/lt.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/lte.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/lte.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/major.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/major.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/minor.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/minor.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/neq.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/neq.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/parse.cjs +53 -0
- package/dist/cjs/node_modules/semver/functions/parse.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/patch.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/patch.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/prerelease.cjs +23 -0
- package/dist/cjs/node_modules/semver/functions/prerelease.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/rcompare.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/rcompare.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/rsort.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/rsort.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/satisfies.cjs +27 -0
- package/dist/cjs/node_modules/semver/functions/satisfies.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/sort.cjs +20 -0
- package/dist/cjs/node_modules/semver/functions/sort.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/functions/valid.cjs +23 -0
- package/dist/cjs/node_modules/semver/functions/valid.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/index.cjs +105 -0
- package/dist/cjs/node_modules/semver/index.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/internal/constants.cjs +32 -0
- package/dist/cjs/node_modules/semver/internal/constants.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/internal/debug.cjs +24 -0
- package/dist/cjs/node_modules/semver/internal/debug.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/internal/identifiers.cjs +38 -0
- package/dist/cjs/node_modules/semver/internal/identifiers.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/internal/parse-options.cjs +26 -0
- package/dist/cjs/node_modules/semver/internal/parse-options.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/internal/re.cjs +202 -0
- package/dist/cjs/node_modules/semver/internal/re.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/gtr.cjs +21 -0
- package/dist/cjs/node_modules/semver/ranges/gtr.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/intersects.cjs +24 -0
- package/dist/cjs/node_modules/semver/ranges/intersects.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/ltr.cjs +21 -0
- package/dist/cjs/node_modules/semver/ranges/ltr.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs +43 -0
- package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs +42 -0
- package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/min-version.cjs +80 -0
- package/dist/cjs/node_modules/semver/ranges/min-version.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/outside.cjs +104 -0
- package/dist/cjs/node_modules/semver/ranges/outside.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/simplify.cjs +65 -0
- package/dist/cjs/node_modules/semver/ranges/simplify.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/subset.cjs +264 -0
- package/dist/cjs/node_modules/semver/ranges/subset.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs +25 -0
- package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs.map +1 -0
- package/dist/cjs/node_modules/semver/ranges/valid.cjs +28 -0
- package/dist/cjs/node_modules/semver/ranges/valid.cjs.map +1 -0
- package/dist/cjs/node_modules/signal-exit/index.cjs +218 -0
- package/dist/cjs/node_modules/signal-exit/index.cjs.map +1 -0
- package/dist/cjs/node_modules/signal-exit/signals.cjs +71 -0
- package/dist/cjs/node_modules/signal-exit/signals.cjs.map +1 -0
- package/dist/cjs/node_modules/strip-bom/index.cjs +18 -0
- package/dist/cjs/node_modules/strip-bom/index.cjs.map +1 -0
- package/dist/cjs/node_modules/supports-color/index.cjs +142 -0
- package/dist/cjs/node_modules/supports-color/index.cjs.map +1 -0
- package/dist/cjs/node_modules/validate-npm-package-name/index.cjs +121 -0
- package/dist/cjs/node_modules/validate-npm-package-name/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/index.cjs +79 -0
- package/dist/cjs/node_modules/write-pkg/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs +125 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs +11 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs +155 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs +1490 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs +61 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs +255 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs.map +1 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs +95 -0
- package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs.map +1 -0
- package/dist/cjs/node_modules/yallist/iterator.cjs +22 -0
- package/dist/cjs/node_modules/yallist/iterator.cjs.map +1 -0
- package/dist/cjs/node_modules/yallist/yallist.cjs +442 -0
- package/dist/cjs/node_modules/yallist/yallist.cjs.map +1 -0
- package/dist/cjs/update-config.cjs +64 -0
- package/dist/cjs/update-config.cjs.map +1 -0
- package/dist/esm/_virtual/_commonjsHelpers.mjs +4 -0
- package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/esm/_virtual/conversions.mjs +4 -0
- package/dist/esm/_virtual/conversions.mjs.map +1 -0
- package/dist/esm/_virtual/git-host-info.mjs +4 -0
- package/dist/esm/_virtual/git-host-info.mjs.map +1 -0
- package/dist/esm/_virtual/identifier.mjs +4 -0
- package/dist/esm/_virtual/identifier.mjs.map +1 -0
- package/dist/esm/_virtual/imurmurhash.mjs +4 -0
- package/dist/esm/_virtual/imurmurhash.mjs.map +1 -0
- package/dist/esm/_virtual/index.mjs +4 -0
- package/dist/esm/_virtual/index.mjs.map +1 -0
- package/dist/esm/_virtual/index10.mjs +4 -0
- package/dist/esm/_virtual/index10.mjs.map +1 -0
- package/dist/esm/_virtual/index11.mjs +4 -0
- package/dist/esm/_virtual/index11.mjs.map +1 -0
- package/dist/esm/_virtual/index12.mjs +4 -0
- package/dist/esm/_virtual/index12.mjs.map +1 -0
- package/dist/esm/_virtual/index13.mjs +4 -0
- package/dist/esm/_virtual/index13.mjs.map +1 -0
- package/dist/esm/_virtual/index14.mjs +4 -0
- package/dist/esm/_virtual/index14.mjs.map +1 -0
- package/dist/esm/_virtual/index15.mjs +4 -0
- package/dist/esm/_virtual/index15.mjs.map +1 -0
- package/dist/esm/_virtual/index2.mjs +4 -0
- package/dist/esm/_virtual/index2.mjs.map +1 -0
- package/dist/esm/_virtual/index3.mjs +4 -0
- package/dist/esm/_virtual/index3.mjs.map +1 -0
- package/dist/esm/_virtual/index4.mjs +4 -0
- package/dist/esm/_virtual/index4.mjs.map +1 -0
- package/dist/esm/_virtual/index5.mjs +4 -0
- package/dist/esm/_virtual/index5.mjs.map +1 -0
- package/dist/esm/_virtual/index6.mjs +4 -0
- package/dist/esm/_virtual/index6.mjs.map +1 -0
- package/dist/esm/_virtual/index7.mjs +4 -0
- package/dist/esm/_virtual/index7.mjs.map +1 -0
- package/dist/esm/_virtual/index8.mjs +4 -0
- package/dist/esm/_virtual/index8.mjs.map +1 -0
- package/dist/esm/_virtual/index9.mjs +4 -0
- package/dist/esm/_virtual/index9.mjs.map +1 -0
- package/dist/esm/_virtual/keyword.mjs +4 -0
- package/dist/esm/_virtual/keyword.mjs.map +1 -0
- package/dist/esm/_virtual/npa.mjs +4 -0
- package/dist/esm/_virtual/npa.mjs.map +1 -0
- package/dist/esm/_virtual/re.mjs +4 -0
- package/dist/esm/_virtual/re.mjs.map +1 -0
- package/dist/esm/_virtual/semver.mjs +4 -0
- package/dist/esm/_virtual/semver.mjs.map +1 -0
- package/dist/esm/_virtual/signals.mjs +4 -0
- package/dist/esm/_virtual/signals.mjs.map +1 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs +166 -0
- package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs.map +1 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +86 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs.map +1 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs +65 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs.map +1 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +40 -0
- package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs.map +1 -0
- package/dist/esm/node_modules/@babel/highlight/lib/index.mjs +123 -0
- package/dist/esm/node_modules/@babel/highlight/lib/index.mjs.map +1 -0
- package/dist/esm/node_modules/@lerna/package/index.mjs +306 -0
- package/dist/esm/node_modules/@lerna/package/index.mjs.map +1 -0
- package/dist/esm/node_modules/ansi-styles/index.mjs +170 -0
- package/dist/esm/node_modules/ansi-styles/index.mjs.map +1 -0
- package/dist/esm/node_modules/builtins/builtins.mjs +4 -0
- package/dist/esm/node_modules/builtins/builtins.mjs.map +1 -0
- package/dist/esm/node_modules/chalk/index.mjs +237 -0
- package/dist/esm/node_modules/chalk/index.mjs.map +1 -0
- package/dist/esm/node_modules/chalk/templates.mjs +130 -0
- package/dist/esm/node_modules/chalk/templates.mjs.map +1 -0
- package/dist/esm/node_modules/color-convert/conversions.mjs +876 -0
- package/dist/esm/node_modules/color-convert/conversions.mjs.map +1 -0
- package/dist/esm/node_modules/color-convert/index.mjs +85 -0
- package/dist/esm/node_modules/color-convert/index.mjs.map +1 -0
- package/dist/esm/node_modules/color-convert/route.mjs +102 -0
- package/dist/esm/node_modules/color-convert/route.mjs.map +1 -0
- package/dist/esm/node_modules/color-name/index.mjs +153 -0
- package/dist/esm/node_modules/color-name/index.mjs.map +1 -0
- package/dist/esm/node_modules/error-ex/index.mjs +145 -0
- package/dist/esm/node_modules/error-ex/index.mjs.map +1 -0
- package/dist/esm/node_modules/escape-string-regexp/index.mjs +12 -0
- package/dist/esm/node_modules/escape-string-regexp/index.mjs.map +1 -0
- package/dist/esm/node_modules/graceful-fs/clone.mjs +24 -0
- package/dist/esm/node_modules/graceful-fs/clone.mjs.map +1 -0
- package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs +459 -0
- package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs.map +1 -0
- package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs +123 -0
- package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs.map +1 -0
- package/dist/esm/node_modules/graceful-fs/polyfills.mjs +360 -0
- package/dist/esm/node_modules/graceful-fs/polyfills.mjs.map +1 -0
- package/dist/esm/node_modules/has-flag/index.mjs +10 -0
- package/dist/esm/node_modules/has-flag/index.mjs.map +1 -0
- package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs +90 -0
- package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs.map +1 -0
- package/dist/esm/node_modules/hosted-git-info/git-host.mjs +168 -0
- package/dist/esm/node_modules/hosted-git-info/git-host.mjs.map +1 -0
- package/dist/esm/node_modules/hosted-git-info/index.mjs +162 -0
- package/dist/esm/node_modules/hosted-git-info/index.mjs.map +1 -0
- package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs +141 -0
- package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs.map +1 -0
- package/dist/esm/node_modules/is-arrayish/index.mjs +11 -0
- package/dist/esm/node_modules/is-arrayish/index.mjs.map +1 -0
- package/dist/esm/node_modules/js-tokens/index.mjs +26 -0
- package/dist/esm/node_modules/js-tokens/index.mjs.map +1 -0
- package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs +122 -0
- package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs.map +1 -0
- package/dist/esm/node_modules/lines-and-columns/build/index.mjs +66 -0
- package/dist/esm/node_modules/lines-and-columns/build/index.mjs.map +1 -0
- package/dist/esm/node_modules/load-json-file/index.mjs +29 -0
- package/dist/esm/node_modules/load-json-file/index.mjs.map +1 -0
- package/dist/esm/node_modules/lru-cache/index.mjs +346 -0
- package/dist/esm/node_modules/lru-cache/index.mjs.map +1 -0
- package/dist/esm/node_modules/npm-package-arg/npa.mjs +316 -0
- package/dist/esm/node_modules/npm-package-arg/npa.mjs.map +1 -0
- package/dist/esm/node_modules/parse-json/index.mjs +63 -0
- package/dist/esm/node_modules/parse-json/index.mjs.map +1 -0
- package/dist/esm/node_modules/pify/index.mjs +69 -0
- package/dist/esm/node_modules/pify/index.mjs.map +1 -0
- package/dist/esm/node_modules/semver/classes/comparator.mjs +154 -0
- package/dist/esm/node_modules/semver/classes/comparator.mjs.map +1 -0
- package/dist/esm/node_modules/semver/classes/range.mjs +537 -0
- package/dist/esm/node_modules/semver/classes/range.mjs.map +1 -0
- package/dist/esm/node_modules/semver/classes/semver.mjs +304 -0
- package/dist/esm/node_modules/semver/classes/semver.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/clean.mjs +19 -0
- package/dist/esm/node_modules/semver/functions/clean.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/cmp.mjs +70 -0
- package/dist/esm/node_modules/semver/functions/cmp.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/coerce.mjs +67 -0
- package/dist/esm/node_modules/semver/functions/coerce.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/compare-build.mjs +20 -0
- package/dist/esm/node_modules/semver/functions/compare-build.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/compare-loose.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/compare-loose.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/compare.mjs +18 -0
- package/dist/esm/node_modules/semver/functions/compare.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/diff.mjs +37 -0
- package/dist/esm/node_modules/semver/functions/diff.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/eq.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/eq.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/gt.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/gt.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/gte.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/gte.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/inc.mjs +31 -0
- package/dist/esm/node_modules/semver/functions/inc.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/lt.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/lt.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/lte.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/lte.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/major.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/major.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/minor.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/minor.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/neq.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/neq.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/parse.mjs +49 -0
- package/dist/esm/node_modules/semver/functions/parse.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/patch.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/patch.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/prerelease.mjs +19 -0
- package/dist/esm/node_modules/semver/functions/prerelease.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/rcompare.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/rcompare.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/rsort.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/rsort.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/satisfies.mjs +23 -0
- package/dist/esm/node_modules/semver/functions/satisfies.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/sort.mjs +16 -0
- package/dist/esm/node_modules/semver/functions/sort.mjs.map +1 -0
- package/dist/esm/node_modules/semver/functions/valid.mjs +19 -0
- package/dist/esm/node_modules/semver/functions/valid.mjs.map +1 -0
- package/dist/esm/node_modules/semver/index.mjs +101 -0
- package/dist/esm/node_modules/semver/index.mjs.map +1 -0
- package/dist/esm/node_modules/semver/internal/constants.mjs +28 -0
- package/dist/esm/node_modules/semver/internal/constants.mjs.map +1 -0
- package/dist/esm/node_modules/semver/internal/debug.mjs +20 -0
- package/dist/esm/node_modules/semver/internal/debug.mjs.map +1 -0
- package/dist/esm/node_modules/semver/internal/identifiers.mjs +34 -0
- package/dist/esm/node_modules/semver/internal/identifiers.mjs.map +1 -0
- package/dist/esm/node_modules/semver/internal/parse-options.mjs +22 -0
- package/dist/esm/node_modules/semver/internal/parse-options.mjs.map +1 -0
- package/dist/esm/node_modules/semver/internal/re.mjs +198 -0
- package/dist/esm/node_modules/semver/internal/re.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/gtr.mjs +17 -0
- package/dist/esm/node_modules/semver/ranges/gtr.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/intersects.mjs +20 -0
- package/dist/esm/node_modules/semver/ranges/intersects.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/ltr.mjs +17 -0
- package/dist/esm/node_modules/semver/ranges/ltr.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs +39 -0
- package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs +38 -0
- package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/min-version.mjs +76 -0
- package/dist/esm/node_modules/semver/ranges/min-version.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/outside.mjs +100 -0
- package/dist/esm/node_modules/semver/ranges/outside.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/simplify.mjs +61 -0
- package/dist/esm/node_modules/semver/ranges/simplify.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/subset.mjs +260 -0
- package/dist/esm/node_modules/semver/ranges/subset.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/to-comparators.mjs +21 -0
- package/dist/esm/node_modules/semver/ranges/to-comparators.mjs.map +1 -0
- package/dist/esm/node_modules/semver/ranges/valid.mjs +24 -0
- package/dist/esm/node_modules/semver/ranges/valid.mjs.map +1 -0
- package/dist/esm/node_modules/signal-exit/index.mjs +212 -0
- package/dist/esm/node_modules/signal-exit/index.mjs.map +1 -0
- package/dist/esm/node_modules/signal-exit/signals.mjs +67 -0
- package/dist/esm/node_modules/signal-exit/signals.mjs.map +1 -0
- package/dist/esm/node_modules/strip-bom/index.mjs +16 -0
- package/dist/esm/node_modules/strip-bom/index.mjs.map +1 -0
- package/dist/esm/node_modules/supports-color/index.mjs +136 -0
- package/dist/esm/node_modules/supports-color/index.mjs.map +1 -0
- package/dist/esm/node_modules/validate-npm-package-name/index.mjs +117 -0
- package/dist/esm/node_modules/validate-npm-package-name/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/index.mjs +74 -0
- package/dist/esm/node_modules/write-pkg/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs +123 -0
- package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs +9 -0
- package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs +149 -0
- package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs +1488 -0
- package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs +59 -0
- package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs +250 -0
- package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs.map +1 -0
- package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs +90 -0
- package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs.map +1 -0
- package/dist/esm/node_modules/yallist/iterator.mjs +18 -0
- package/dist/esm/node_modules/yallist/iterator.mjs.map +1 -0
- package/dist/esm/node_modules/yallist/yallist.mjs +438 -0
- package/dist/esm/node_modules/yallist/yallist.mjs.map +1 -0
- package/dist/esm/update-config.mjs +56 -0
- package/dist/esm/update-config.mjs.map +1 -0
- package/dist/types/cli.d.ts +1 -2
- package/dist/types/codecov-config.d.ts +13 -14
- package/dist/types/index.d.ts +2 -3
- package/dist/types/update-command.d.ts +8 -9
- package/dist/types/update-config.d.ts +12 -13
- package/dist/types/update.d.ts +6 -7
- package/package.json +65 -66
- package/dist/cjs/index.js +0 -11411
- package/dist/cjs/index.js.map +0 -1
- package/dist/cli/cli.js +0 -11479
- package/dist/cli/cli.js.map +0 -1
- package/dist/esm/index.js +0 -11394
- package/dist/esm/index.js.map +0 -1
- package/dist/types/cli.d.ts.map +0 -1
- package/dist/types/codecov-config.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/update-command.d.ts.map +0 -1
- package/dist/types/update-config.d.ts.map +0 -1
- package/dist/types/update.d.ts.map +0 -1
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../npm-package-arg/npa.cjs');
|
|
6
|
+
const require$$0 = require('path');
|
|
7
|
+
require('../../load-json-file/index.cjs');
|
|
8
|
+
require('../../write-pkg/index.cjs');
|
|
9
|
+
const npa$1 = require('../../../_virtual/npa.cjs');
|
|
10
|
+
const index = require('../../../_virtual/index.cjs');
|
|
11
|
+
const index$1 = require('../../../_virtual/index2.cjs');
|
|
12
|
+
|
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
|
+
|
|
15
|
+
const require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
|
|
16
|
+
|
|
17
|
+
const npa = npa$1.npa.exports;
|
|
18
|
+
const path = require$$0__default["default"];
|
|
19
|
+
const loadJsonFile = index.loadJsonFile.exports;
|
|
20
|
+
const writePkg = index$1.writePkg.exports;
|
|
21
|
+
|
|
22
|
+
// symbol used to "hide" internal state
|
|
23
|
+
const PKG = Symbol("pkg");
|
|
24
|
+
|
|
25
|
+
/* eslint-disable no-underscore-dangle */
|
|
26
|
+
|
|
27
|
+
// private fields
|
|
28
|
+
const _location = Symbol("location");
|
|
29
|
+
const _resolved = Symbol("resolved");
|
|
30
|
+
const _rootPath = Symbol("rootPath");
|
|
31
|
+
const _scripts = Symbol("scripts");
|
|
32
|
+
const _contents = Symbol("contents");
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @param {import("npm-package-arg").Result} result
|
|
36
|
+
*/
|
|
37
|
+
function binSafeName({ name, scope }) {
|
|
38
|
+
return scope ? name.substring(scope.length + 1) : name;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// package.json files are not that complicated, so this is intentionally naïve
|
|
42
|
+
function shallowCopy(json) {
|
|
43
|
+
return Object.keys(json).reduce((obj, key) => {
|
|
44
|
+
const val = json[key];
|
|
45
|
+
|
|
46
|
+
/* istanbul ignore if */
|
|
47
|
+
if (Array.isArray(val)) {
|
|
48
|
+
obj[key] = val.slice();
|
|
49
|
+
} else if (val && typeof val === "object") {
|
|
50
|
+
obj[key] = Object.assign({}, val);
|
|
51
|
+
} else {
|
|
52
|
+
obj[key] = val;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return obj;
|
|
56
|
+
}, {});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @typedef {object} RawManifest The subset of package.json properties that Lerna uses
|
|
61
|
+
* @property {string} name
|
|
62
|
+
* @property {string} version
|
|
63
|
+
* @property {boolean} [private]
|
|
64
|
+
* @property {Record<string, string>|string} [bin]
|
|
65
|
+
* @property {Record<string, string>} [scripts]
|
|
66
|
+
* @property {Record<string, string>} [dependencies]
|
|
67
|
+
* @property {Record<string, string>} [devDependencies]
|
|
68
|
+
* @property {Record<string, string>} [optionalDependencies]
|
|
69
|
+
* @property {Record<string, string>} [peerDependencies]
|
|
70
|
+
* @property {Record<'directory' | 'registry' | 'tag', string>} [publishConfig]
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Lerna's internal representation of a local package, with
|
|
75
|
+
* many values resolved directly from the original JSON.
|
|
76
|
+
*/
|
|
77
|
+
class Package {
|
|
78
|
+
/**
|
|
79
|
+
* Create a Package instance from parameters, possibly reusing existing instance.
|
|
80
|
+
* @param {string|Package|RawManifest} ref A path to a package.json file, Package instance, or JSON object
|
|
81
|
+
* @param {string} [dir] If `ref` is a JSON object, this is the location of the manifest
|
|
82
|
+
* @returns {Package}
|
|
83
|
+
*/
|
|
84
|
+
static lazy(ref, dir = ".") {
|
|
85
|
+
if (typeof ref === "string") {
|
|
86
|
+
const location = path.resolve(path.basename(ref) === "package.json" ? path.dirname(ref) : ref);
|
|
87
|
+
const manifest = loadJsonFile.sync(path.join(location, "package.json"));
|
|
88
|
+
|
|
89
|
+
return new Package(manifest, location);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// don't use instanceof because it fails across nested module boundaries
|
|
93
|
+
if ("__isLernaPackage" in ref) {
|
|
94
|
+
return ref;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// assume ref is a json object
|
|
98
|
+
return new Package(ref, dir);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @param {RawManifest} pkg
|
|
103
|
+
* @param {string} location
|
|
104
|
+
* @param {string} [rootPath]
|
|
105
|
+
*/
|
|
106
|
+
constructor(pkg, location, rootPath = location) {
|
|
107
|
+
// npa will throw an error if the name is invalid
|
|
108
|
+
const resolved = npa.resolve(pkg.name, `file:${path.relative(rootPath, location)}`, rootPath);
|
|
109
|
+
|
|
110
|
+
this.name = pkg.name;
|
|
111
|
+
this[PKG] = pkg;
|
|
112
|
+
|
|
113
|
+
// omit raw pkg from default util.inspect() output, but preserve internal mutability
|
|
114
|
+
Object.defineProperty(this, PKG, { enumerable: false, writable: true });
|
|
115
|
+
|
|
116
|
+
this[_location] = location;
|
|
117
|
+
this[_resolved] = resolved;
|
|
118
|
+
this[_rootPath] = rootPath;
|
|
119
|
+
this[_scripts] = { ...pkg.scripts };
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// readonly getters
|
|
123
|
+
get location() {
|
|
124
|
+
return this[_location];
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
get private() {
|
|
128
|
+
return Boolean(this[PKG].private);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
get resolved() {
|
|
132
|
+
return this[_resolved];
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
get rootPath() {
|
|
136
|
+
return this[_rootPath];
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
get scripts() {
|
|
140
|
+
return this[_scripts];
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
get bin() {
|
|
144
|
+
const pkg = this[PKG];
|
|
145
|
+
return typeof pkg.bin === "string"
|
|
146
|
+
? {
|
|
147
|
+
[binSafeName(this.resolved)]: pkg.bin,
|
|
148
|
+
}
|
|
149
|
+
: Object.assign({}, pkg.bin);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
get binLocation() {
|
|
153
|
+
return path.join(this.location, "node_modules", ".bin");
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
get manifestLocation() {
|
|
157
|
+
return path.join(this.location, "package.json");
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
get nodeModulesLocation() {
|
|
161
|
+
return path.join(this.location, "node_modules");
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// eslint-disable-next-line class-methods-use-this
|
|
165
|
+
get __isLernaPackage() {
|
|
166
|
+
// safer than instanceof across module boundaries
|
|
167
|
+
return true;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// accessors
|
|
171
|
+
get version() {
|
|
172
|
+
return this[PKG].version;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
set version(version) {
|
|
176
|
+
this[PKG].version = version;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
get contents() {
|
|
180
|
+
// if modified with setter, use that value
|
|
181
|
+
if (this[_contents]) {
|
|
182
|
+
return this[_contents];
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// if provided by pkg.publishConfig.directory value
|
|
186
|
+
if (this[PKG].publishConfig && this[PKG].publishConfig.directory) {
|
|
187
|
+
return path.join(this.location, this[PKG].publishConfig.directory);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// default to package root
|
|
191
|
+
return this.location;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
set contents(subDirectory) {
|
|
195
|
+
this[_contents] = path.join(this.location, subDirectory);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// "live" collections
|
|
199
|
+
get dependencies() {
|
|
200
|
+
return this[PKG].dependencies;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
get devDependencies() {
|
|
204
|
+
return this[PKG].devDependencies;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
get optionalDependencies() {
|
|
208
|
+
return this[PKG].optionalDependencies;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
get peerDependencies() {
|
|
212
|
+
return this[PKG].peerDependencies;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Map-like retrieval of arbitrary values
|
|
217
|
+
* @template {keyof RawManifest} K
|
|
218
|
+
* @param {K} key field name to retrieve value
|
|
219
|
+
* @returns {RawManifest[K]} value stored under key, if present
|
|
220
|
+
*/
|
|
221
|
+
get(key) {
|
|
222
|
+
return this[PKG][key];
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Map-like storage of arbitrary values
|
|
227
|
+
* @template {keyof RawManifest} K
|
|
228
|
+
* @param {T} key field name to store value
|
|
229
|
+
* @param {RawManifest[K]} val value to store
|
|
230
|
+
* @returns {Package} instance for chaining
|
|
231
|
+
*/
|
|
232
|
+
set(key, val) {
|
|
233
|
+
this[PKG][key] = val;
|
|
234
|
+
|
|
235
|
+
return this;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Provide shallow copy for munging elsewhere
|
|
240
|
+
* @returns {Object}
|
|
241
|
+
*/
|
|
242
|
+
toJSON() {
|
|
243
|
+
return shallowCopy(this[PKG]);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Refresh internal state from disk (e.g., changed by external lifecycles)
|
|
248
|
+
*/
|
|
249
|
+
refresh() {
|
|
250
|
+
return loadJsonFile(this.manifestLocation).then((pkg) => {
|
|
251
|
+
this[PKG] = pkg;
|
|
252
|
+
|
|
253
|
+
return this;
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Write manifest changes to disk
|
|
259
|
+
* @returns {Promise} resolves when write finished
|
|
260
|
+
*/
|
|
261
|
+
serialize() {
|
|
262
|
+
return writePkg(this.manifestLocation, this[PKG]).then(() => this);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Mutate local dependency spec according to type
|
|
267
|
+
* @param {Object} resolved npa metadata
|
|
268
|
+
* @param {String} depVersion semver
|
|
269
|
+
* @param {String} savePrefix npm_config_save_prefix
|
|
270
|
+
*/
|
|
271
|
+
updateLocalDependency(resolved, depVersion, savePrefix) {
|
|
272
|
+
const depName = resolved.name;
|
|
273
|
+
|
|
274
|
+
// first, try runtime dependencies
|
|
275
|
+
let depCollection = this.dependencies;
|
|
276
|
+
|
|
277
|
+
// try optionalDependencies if that didn't work
|
|
278
|
+
if (!depCollection || !depCollection[depName]) {
|
|
279
|
+
depCollection = this.optionalDependencies;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// fall back to devDependencies
|
|
283
|
+
if (!depCollection || !depCollection[depName]) {
|
|
284
|
+
depCollection = this.devDependencies;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (resolved.registry || resolved.type === "directory") {
|
|
288
|
+
// a version (1.2.3) OR range (^1.2.3) OR directory (file:../foo-pkg)
|
|
289
|
+
depCollection[depName] = `${savePrefix}${depVersion}`;
|
|
290
|
+
} else if (resolved.gitCommittish) {
|
|
291
|
+
// a git url with matching committish (#v1.2.3 or #1.2.3)
|
|
292
|
+
const [tagPrefix] = /^\D*/.exec(resolved.gitCommittish);
|
|
293
|
+
|
|
294
|
+
// update committish
|
|
295
|
+
const { hosted } = resolved; // take that, lint!
|
|
296
|
+
hosted.committish = `${tagPrefix}${depVersion}`;
|
|
297
|
+
|
|
298
|
+
// always serialize the full url (identical to previous resolved.saveSpec)
|
|
299
|
+
depCollection[depName] = hosted.toString({ noGitPlus: false, noCommittish: false });
|
|
300
|
+
} else if (resolved.gitRange) {
|
|
301
|
+
// a git url with matching gitRange (#semver:^1.2.3)
|
|
302
|
+
const { hosted } = resolved; // take that, lint!
|
|
303
|
+
hosted.committish = `semver:${savePrefix}${depVersion}`;
|
|
304
|
+
|
|
305
|
+
// always serialize the full url (identical to previous resolved.saveSpec)
|
|
306
|
+
depCollection[depName] = hosted.toString({ noGitPlus: false, noCommittish: false });
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
var Package_1 = Package;
|
|
312
|
+
|
|
313
|
+
exports.Package = Package_1;
|
|
314
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../node_modules/@lerna/package/index.js"],"sourcesContent":["\"use strict\";\n\nconst npa = require(\"npm-package-arg\");\nconst path = require(\"path\");\nconst loadJsonFile = require(\"load-json-file\");\nconst writePkg = require(\"write-pkg\");\n\n// symbol used to \"hide\" internal state\nconst PKG = Symbol(\"pkg\");\n\n/* eslint-disable no-underscore-dangle */\n\n// private fields\nconst _location = Symbol(\"location\");\nconst _resolved = Symbol(\"resolved\");\nconst _rootPath = Symbol(\"rootPath\");\nconst _scripts = Symbol(\"scripts\");\nconst _contents = Symbol(\"contents\");\n\n/**\n * @param {import(\"npm-package-arg\").Result} result\n */\nfunction binSafeName({ name, scope }) {\n return scope ? name.substring(scope.length + 1) : name;\n}\n\n// package.json files are not that complicated, so this is intentionally naïve\nfunction shallowCopy(json) {\n return Object.keys(json).reduce((obj, key) => {\n const val = json[key];\n\n /* istanbul ignore if */\n if (Array.isArray(val)) {\n obj[key] = val.slice();\n } else if (val && typeof val === \"object\") {\n obj[key] = Object.assign({}, val);\n } else {\n obj[key] = val;\n }\n\n return obj;\n }, {});\n}\n\n/**\n * @typedef {object} RawManifest The subset of package.json properties that Lerna uses\n * @property {string} name\n * @property {string} version\n * @property {boolean} [private]\n * @property {Record<string, string>|string} [bin]\n * @property {Record<string, string>} [scripts]\n * @property {Record<string, string>} [dependencies]\n * @property {Record<string, string>} [devDependencies]\n * @property {Record<string, string>} [optionalDependencies]\n * @property {Record<string, string>} [peerDependencies]\n * @property {Record<'directory' | 'registry' | 'tag', string>} [publishConfig]\n */\n\n/**\n * Lerna's internal representation of a local package, with\n * many values resolved directly from the original JSON.\n */\nclass Package {\n /**\n * Create a Package instance from parameters, possibly reusing existing instance.\n * @param {string|Package|RawManifest} ref A path to a package.json file, Package instance, or JSON object\n * @param {string} [dir] If `ref` is a JSON object, this is the location of the manifest\n * @returns {Package}\n */\n static lazy(ref, dir = \".\") {\n if (typeof ref === \"string\") {\n const location = path.resolve(path.basename(ref) === \"package.json\" ? path.dirname(ref) : ref);\n const manifest = loadJsonFile.sync(path.join(location, \"package.json\"));\n\n return new Package(manifest, location);\n }\n\n // don't use instanceof because it fails across nested module boundaries\n if (\"__isLernaPackage\" in ref) {\n return ref;\n }\n\n // assume ref is a json object\n return new Package(ref, dir);\n }\n\n /**\n * @param {RawManifest} pkg\n * @param {string} location\n * @param {string} [rootPath]\n */\n constructor(pkg, location, rootPath = location) {\n // npa will throw an error if the name is invalid\n const resolved = npa.resolve(pkg.name, `file:${path.relative(rootPath, location)}`, rootPath);\n\n this.name = pkg.name;\n this[PKG] = pkg;\n\n // omit raw pkg from default util.inspect() output, but preserve internal mutability\n Object.defineProperty(this, PKG, { enumerable: false, writable: true });\n\n this[_location] = location;\n this[_resolved] = resolved;\n this[_rootPath] = rootPath;\n this[_scripts] = { ...pkg.scripts };\n }\n\n // readonly getters\n get location() {\n return this[_location];\n }\n\n get private() {\n return Boolean(this[PKG].private);\n }\n\n get resolved() {\n return this[_resolved];\n }\n\n get rootPath() {\n return this[_rootPath];\n }\n\n get scripts() {\n return this[_scripts];\n }\n\n get bin() {\n const pkg = this[PKG];\n return typeof pkg.bin === \"string\"\n ? {\n [binSafeName(this.resolved)]: pkg.bin,\n }\n : Object.assign({}, pkg.bin);\n }\n\n get binLocation() {\n return path.join(this.location, \"node_modules\", \".bin\");\n }\n\n get manifestLocation() {\n return path.join(this.location, \"package.json\");\n }\n\n get nodeModulesLocation() {\n return path.join(this.location, \"node_modules\");\n }\n\n // eslint-disable-next-line class-methods-use-this\n get __isLernaPackage() {\n // safer than instanceof across module boundaries\n return true;\n }\n\n // accessors\n get version() {\n return this[PKG].version;\n }\n\n set version(version) {\n this[PKG].version = version;\n }\n\n get contents() {\n // if modified with setter, use that value\n if (this[_contents]) {\n return this[_contents];\n }\n\n // if provided by pkg.publishConfig.directory value\n if (this[PKG].publishConfig && this[PKG].publishConfig.directory) {\n return path.join(this.location, this[PKG].publishConfig.directory);\n }\n\n // default to package root\n return this.location;\n }\n\n set contents(subDirectory) {\n this[_contents] = path.join(this.location, subDirectory);\n }\n\n // \"live\" collections\n get dependencies() {\n return this[PKG].dependencies;\n }\n\n get devDependencies() {\n return this[PKG].devDependencies;\n }\n\n get optionalDependencies() {\n return this[PKG].optionalDependencies;\n }\n\n get peerDependencies() {\n return this[PKG].peerDependencies;\n }\n\n /**\n * Map-like retrieval of arbitrary values\n * @template {keyof RawManifest} K\n * @param {K} key field name to retrieve value\n * @returns {RawManifest[K]} value stored under key, if present\n */\n get(key) {\n return this[PKG][key];\n }\n\n /**\n * Map-like storage of arbitrary values\n * @template {keyof RawManifest} K\n * @param {T} key field name to store value\n * @param {RawManifest[K]} val value to store\n * @returns {Package} instance for chaining\n */\n set(key, val) {\n this[PKG][key] = val;\n\n return this;\n }\n\n /**\n * Provide shallow copy for munging elsewhere\n * @returns {Object}\n */\n toJSON() {\n return shallowCopy(this[PKG]);\n }\n\n /**\n * Refresh internal state from disk (e.g., changed by external lifecycles)\n */\n refresh() {\n return loadJsonFile(this.manifestLocation).then((pkg) => {\n this[PKG] = pkg;\n\n return this;\n });\n }\n\n /**\n * Write manifest changes to disk\n * @returns {Promise} resolves when write finished\n */\n serialize() {\n return writePkg(this.manifestLocation, this[PKG]).then(() => this);\n }\n\n /**\n * Mutate local dependency spec according to type\n * @param {Object} resolved npa metadata\n * @param {String} depVersion semver\n * @param {String} savePrefix npm_config_save_prefix\n */\n updateLocalDependency(resolved, depVersion, savePrefix) {\n const depName = resolved.name;\n\n // first, try runtime dependencies\n let depCollection = this.dependencies;\n\n // try optionalDependencies if that didn't work\n if (!depCollection || !depCollection[depName]) {\n depCollection = this.optionalDependencies;\n }\n\n // fall back to devDependencies\n if (!depCollection || !depCollection[depName]) {\n depCollection = this.devDependencies;\n }\n\n if (resolved.registry || resolved.type === \"directory\") {\n // a version (1.2.3) OR range (^1.2.3) OR directory (file:../foo-pkg)\n depCollection[depName] = `${savePrefix}${depVersion}`;\n } else if (resolved.gitCommittish) {\n // a git url with matching committish (#v1.2.3 or #1.2.3)\n const [tagPrefix] = /^\\D*/.exec(resolved.gitCommittish);\n\n // update committish\n const { hosted } = resolved; // take that, lint!\n hosted.committish = `${tagPrefix}${depVersion}`;\n\n // always serialize the full url (identical to previous resolved.saveSpec)\n depCollection[depName] = hosted.toString({ noGitPlus: false, noCommittish: false });\n } else if (resolved.gitRange) {\n // a git url with matching gitRange (#semver:^1.2.3)\n const { hosted } = resolved; // take that, lint!\n hosted.committish = `semver:${savePrefix}${depVersion}`;\n\n // always serialize the full url (identical to previous resolved.saveSpec)\n depCollection[depName] = hosted.toString({ noGitPlus: false, noCommittish: false });\n }\n }\n}\n\nmodule.exports.Package = Package;\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;;;;;AAEA,MAAM,GAAG,GAAGA,iBAA0B,CAAC;AACvC,MAAM,IAAI,GAAGC,8BAAe,CAAC;AAC7B,MAAM,YAAY,GAAGC,0BAAyB,CAAC;AAC/C,MAAM,Q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M,EAAE,GAAG,QAAQ,CAAC;AAClC,MAAM,MAAM,CAAC,UAAU,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC;AACtD;AACA;AACA,MAAM,aAAa,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1F,KAAK,MAAM,IAAI,QAAQ,CAAC,QAAQ,EAAE;AAClC;AACA,MAAM,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;AAClC,MAAM,MAAM,CAAC,UAAU,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC;AAC9D;AACA;AACA,MAAM,aAAa,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1F,KAAK;AACL,GAAG;AACH,CAAC;AACD;AACA,IAAA,SAAA,GAAyB;;;;"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('../../_virtual/index15.cjs');
|
|
4
|
+
const index$1 = require('../color-convert/index.cjs');
|
|
5
|
+
|
|
6
|
+
(function (module) {
|
|
7
|
+
const colorConvert = index$1;
|
|
8
|
+
|
|
9
|
+
const wrapAnsi16 = (fn, offset) => function () {
|
|
10
|
+
const code = fn.apply(colorConvert, arguments);
|
|
11
|
+
return `\u001B[${code + offset}m`;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const wrapAnsi256 = (fn, offset) => function () {
|
|
15
|
+
const code = fn.apply(colorConvert, arguments);
|
|
16
|
+
return `\u001B[${38 + offset};5;${code}m`;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const wrapAnsi16m = (fn, offset) => function () {
|
|
20
|
+
const rgb = fn.apply(colorConvert, arguments);
|
|
21
|
+
return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
function assembleStyles() {
|
|
25
|
+
const codes = new Map();
|
|
26
|
+
const styles = {
|
|
27
|
+
modifier: {
|
|
28
|
+
reset: [0, 0],
|
|
29
|
+
// 21 isn't widely supported and 22 does the same thing
|
|
30
|
+
bold: [1, 22],
|
|
31
|
+
dim: [2, 22],
|
|
32
|
+
italic: [3, 23],
|
|
33
|
+
underline: [4, 24],
|
|
34
|
+
inverse: [7, 27],
|
|
35
|
+
hidden: [8, 28],
|
|
36
|
+
strikethrough: [9, 29]
|
|
37
|
+
},
|
|
38
|
+
color: {
|
|
39
|
+
black: [30, 39],
|
|
40
|
+
red: [31, 39],
|
|
41
|
+
green: [32, 39],
|
|
42
|
+
yellow: [33, 39],
|
|
43
|
+
blue: [34, 39],
|
|
44
|
+
magenta: [35, 39],
|
|
45
|
+
cyan: [36, 39],
|
|
46
|
+
white: [37, 39],
|
|
47
|
+
gray: [90, 39],
|
|
48
|
+
|
|
49
|
+
// Bright color
|
|
50
|
+
redBright: [91, 39],
|
|
51
|
+
greenBright: [92, 39],
|
|
52
|
+
yellowBright: [93, 39],
|
|
53
|
+
blueBright: [94, 39],
|
|
54
|
+
magentaBright: [95, 39],
|
|
55
|
+
cyanBright: [96, 39],
|
|
56
|
+
whiteBright: [97, 39]
|
|
57
|
+
},
|
|
58
|
+
bgColor: {
|
|
59
|
+
bgBlack: [40, 49],
|
|
60
|
+
bgRed: [41, 49],
|
|
61
|
+
bgGreen: [42, 49],
|
|
62
|
+
bgYellow: [43, 49],
|
|
63
|
+
bgBlue: [44, 49],
|
|
64
|
+
bgMagenta: [45, 49],
|
|
65
|
+
bgCyan: [46, 49],
|
|
66
|
+
bgWhite: [47, 49],
|
|
67
|
+
|
|
68
|
+
// Bright color
|
|
69
|
+
bgBlackBright: [100, 49],
|
|
70
|
+
bgRedBright: [101, 49],
|
|
71
|
+
bgGreenBright: [102, 49],
|
|
72
|
+
bgYellowBright: [103, 49],
|
|
73
|
+
bgBlueBright: [104, 49],
|
|
74
|
+
bgMagentaBright: [105, 49],
|
|
75
|
+
bgCyanBright: [106, 49],
|
|
76
|
+
bgWhiteBright: [107, 49]
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
// Fix humans
|
|
81
|
+
styles.color.grey = styles.color.gray;
|
|
82
|
+
|
|
83
|
+
for (const groupName of Object.keys(styles)) {
|
|
84
|
+
const group = styles[groupName];
|
|
85
|
+
|
|
86
|
+
for (const styleName of Object.keys(group)) {
|
|
87
|
+
const style = group[styleName];
|
|
88
|
+
|
|
89
|
+
styles[styleName] = {
|
|
90
|
+
open: `\u001B[${style[0]}m`,
|
|
91
|
+
close: `\u001B[${style[1]}m`
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
group[styleName] = styles[styleName];
|
|
95
|
+
|
|
96
|
+
codes.set(style[0], style[1]);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
Object.defineProperty(styles, groupName, {
|
|
100
|
+
value: group,
|
|
101
|
+
enumerable: false
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
Object.defineProperty(styles, 'codes', {
|
|
105
|
+
value: codes,
|
|
106
|
+
enumerable: false
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
const ansi2ansi = n => n;
|
|
111
|
+
const rgb2rgb = (r, g, b) => [r, g, b];
|
|
112
|
+
|
|
113
|
+
styles.color.close = '\u001B[39m';
|
|
114
|
+
styles.bgColor.close = '\u001B[49m';
|
|
115
|
+
|
|
116
|
+
styles.color.ansi = {
|
|
117
|
+
ansi: wrapAnsi16(ansi2ansi, 0)
|
|
118
|
+
};
|
|
119
|
+
styles.color.ansi256 = {
|
|
120
|
+
ansi256: wrapAnsi256(ansi2ansi, 0)
|
|
121
|
+
};
|
|
122
|
+
styles.color.ansi16m = {
|
|
123
|
+
rgb: wrapAnsi16m(rgb2rgb, 0)
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
styles.bgColor.ansi = {
|
|
127
|
+
ansi: wrapAnsi16(ansi2ansi, 10)
|
|
128
|
+
};
|
|
129
|
+
styles.bgColor.ansi256 = {
|
|
130
|
+
ansi256: wrapAnsi256(ansi2ansi, 10)
|
|
131
|
+
};
|
|
132
|
+
styles.bgColor.ansi16m = {
|
|
133
|
+
rgb: wrapAnsi16m(rgb2rgb, 10)
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
for (let key of Object.keys(colorConvert)) {
|
|
137
|
+
if (typeof colorConvert[key] !== 'object') {
|
|
138
|
+
continue;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
const suite = colorConvert[key];
|
|
142
|
+
|
|
143
|
+
if (key === 'ansi16') {
|
|
144
|
+
key = 'ansi';
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if ('ansi16' in suite) {
|
|
148
|
+
styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
|
|
149
|
+
styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if ('ansi256' in suite) {
|
|
153
|
+
styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
|
|
154
|
+
styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if ('rgb' in suite) {
|
|
158
|
+
styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
|
|
159
|
+
styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return styles;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Make the export immutable
|
|
167
|
+
Object.defineProperty(module, 'exports', {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: assembleStyles
|
|
170
|
+
});
|
|
171
|
+
} (index.ansiStyles));
|
|
172
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../node_modules/ansi-styles/index.js"],"sourcesContent":["'use strict';\nconst colorConvert = require('color-convert');\n\nconst wrapAnsi16 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => function () {\n\tconst code = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => function () {\n\tconst rgb = fn.apply(colorConvert, arguments);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\t\t\tgray: [90, 39],\n\n\t\t\t// Bright color\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Fix humans\n\tstyles.color.grey = styles.color.gray;\n\n\tfor (const groupName of Object.keys(styles)) {\n\t\tconst group = styles[groupName];\n\n\t\tfor (const styleName of Object.keys(group)) {\n\t\t\tconst style = group[styleName];\n\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\n\t\tObject.defineProperty(styles, 'codes', {\n\t\t\tvalue: codes,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tconst ansi2ansi = n => n;\n\tconst rgb2rgb = (r, g, b) => [r, g, b];\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 0)\n\t};\n\tstyles.color.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 0)\n\t};\n\n\tstyles.bgColor.ansi = {\n\t\tansi: wrapAnsi16(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi256 = {\n\t\tansi256: wrapAnsi256(ansi2ansi, 10)\n\t};\n\tstyles.bgColor.ansi16m = {\n\t\trgb: wrapAnsi16m(rgb2rgb, 10)\n\t};\n\n\tfor (let key of Object.keys(colorConvert)) {\n\t\tif (typeof colorConvert[key] !== 'object') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tconst suite = colorConvert[key];\n\n\t\tif (key === 'ansi16') {\n\t\t\tkey = 'ansi';\n\t\t}\n\n\t\tif ('ansi16' in suite) {\n\t\t\tstyles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);\n\t\t\tstyles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);\n\t\t}\n\n\t\tif ('ansi256' in suite) {\n\t\t\tstyles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);\n\t\t\tstyles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);\n\t\t}\n\n\t\tif ('rgb' in suite) {\n\t\t\tstyles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);\n\t\t\tstyles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);\n\t\t}\n\t}\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n"],"names":["require$$0"],"mappings":";;;;;;CACA,MAAM,YAAY,GAAGA,OAAwB,CAAC;AAC9C;AACA,CAAA,MAAM,UAAU,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,YAAY;EAC9C,MAAM,IAAI,GAAG,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;EAC/C,OAAO,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;AACnC,EAAC,CAAC;AACF;AACA,CAAA,MAAM,WAAW,GAAG,CAAC,EAAE,EAAE,MAAM,KAAK,YAAY;EAC/C,MAAM,IAAI,GAAG,EAAE,CAAC,KAAK,CAAC,YA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,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;IACzD;GACD;AACF;EACC,OAAO,MAAM,CAAC;EACd;AACD;AACA;AACA,CAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,EAAE;EACxC,UAAU,EAAE,IAAI;EAChB,GAAG,EAAE,cAAc;AACpB,EAAC,CAAC,CAAA;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const require$$0 = ["assert","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","module","net","os","path","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"];
|
|
4
|
+
|
|
5
|
+
module.exports = require$$0;
|
|
6
|
+
//# sourceMappingURL=builtins.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builtins.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|