picata 0.0.6__py3-none-any.whl → 0.0.8__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- node_modules/@ampproject/remapping/README.md +218 -0
- node_modules/@babel/code-frame/README.md +19 -0
- node_modules/@babel/compat-data/README.md +19 -0
- node_modules/@babel/core/README.md +19 -0
- node_modules/@babel/generator/README.md +19 -0
- node_modules/@babel/helper-annotate-as-pure/README.md +19 -0
- node_modules/@babel/helper-compilation-targets/README.md +19 -0
- node_modules/@babel/helper-create-class-features-plugin/README.md +19 -0
- node_modules/@babel/helper-create-regexp-features-plugin/README.md +19 -0
- node_modules/@babel/helper-define-polyfill-provider/README.md +15 -0
- node_modules/@babel/helper-member-expression-to-functions/README.md +19 -0
- node_modules/@babel/helper-module-imports/README.md +19 -0
- node_modules/@babel/helper-module-transforms/README.md +19 -0
- node_modules/@babel/helper-optimise-call-expression/README.md +19 -0
- node_modules/@babel/helper-plugin-utils/README.md +19 -0
- node_modules/@babel/helper-remap-async-to-generator/README.md +19 -0
- node_modules/@babel/helper-replace-supers/README.md +19 -0
- node_modules/@babel/helper-skip-transparent-expression-wrappers/README.md +19 -0
- node_modules/@babel/helper-string-parser/README.md +19 -0
- node_modules/@babel/helper-validator-identifier/README.md +19 -0
- node_modules/@babel/helper-validator-option/README.md +19 -0
- node_modules/@babel/helper-wrap-function/README.md +19 -0
- node_modules/@babel/helpers/README.md +19 -0
- node_modules/@babel/parser/README.md +19 -0
- node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key/README.md +19 -0
- node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope/README.md +19 -0
- node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/README.md +19 -0
- node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/README.md +19 -0
- node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/README.md +19 -0
- node_modules/@babel/plugin-proposal-private-property-in-object/README.md +23 -0
- node_modules/@babel/plugin-syntax-import-assertions/README.md +19 -0
- node_modules/@babel/plugin-syntax-import-attributes/README.md +19 -0
- node_modules/@babel/plugin-syntax-jsx/README.md +19 -0
- node_modules/@babel/plugin-syntax-typescript/README.md +19 -0
- node_modules/@babel/plugin-syntax-unicode-sets-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-arrow-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-async-generator-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-async-to-generator/README.md +19 -0
- node_modules/@babel/plugin-transform-block-scoped-functions/README.md +19 -0
- node_modules/@babel/plugin-transform-block-scoping/README.md +19 -0
- node_modules/@babel/plugin-transform-class-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-class-static-block/README.md +19 -0
- node_modules/@babel/plugin-transform-classes/README.md +19 -0
- node_modules/@babel/plugin-transform-computed-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-destructuring/README.md +19 -0
- node_modules/@babel/plugin-transform-dotall-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-duplicate-keys/README.md +19 -0
- node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-dynamic-import/README.md +19 -0
- node_modules/@babel/plugin-transform-exponentiation-operator/README.md +19 -0
- node_modules/@babel/plugin-transform-export-namespace-from/README.md +19 -0
- node_modules/@babel/plugin-transform-for-of/README.md +19 -0
- node_modules/@babel/plugin-transform-function-name/README.md +19 -0
- node_modules/@babel/plugin-transform-json-strings/README.md +19 -0
- node_modules/@babel/plugin-transform-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-logical-assignment-operators/README.md +19 -0
- node_modules/@babel/plugin-transform-member-expression-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-amd/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-commonjs/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-systemjs/README.md +19 -0
- node_modules/@babel/plugin-transform-modules-umd/README.md +19 -0
- node_modules/@babel/plugin-transform-named-capturing-groups-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-new-target/README.md +19 -0
- node_modules/@babel/plugin-transform-nullish-coalescing-operator/README.md +19 -0
- node_modules/@babel/plugin-transform-numeric-separator/README.md +19 -0
- node_modules/@babel/plugin-transform-object-rest-spread/README.md +19 -0
- node_modules/@babel/plugin-transform-object-super/README.md +19 -0
- node_modules/@babel/plugin-transform-optional-catch-binding/README.md +19 -0
- node_modules/@babel/plugin-transform-optional-chaining/README.md +19 -0
- node_modules/@babel/plugin-transform-parameters/README.md +19 -0
- node_modules/@babel/plugin-transform-private-methods/README.md +19 -0
- node_modules/@babel/plugin-transform-private-property-in-object/README.md +19 -0
- node_modules/@babel/plugin-transform-property-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-react-display-name/README.md +19 -0
- node_modules/@babel/plugin-transform-react-jsx/README.md +19 -0
- node_modules/@babel/plugin-transform-react-jsx-development/README.md +19 -0
- node_modules/@babel/plugin-transform-react-pure-annotations/README.md +19 -0
- node_modules/@babel/plugin-transform-regenerator/README.md +19 -0
- node_modules/@babel/plugin-transform-regexp-modifiers/README.md +19 -0
- node_modules/@babel/plugin-transform-reserved-words/README.md +19 -0
- node_modules/@babel/plugin-transform-shorthand-properties/README.md +19 -0
- node_modules/@babel/plugin-transform-spread/README.md +19 -0
- node_modules/@babel/plugin-transform-sticky-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-template-literals/README.md +19 -0
- node_modules/@babel/plugin-transform-typeof-symbol/README.md +19 -0
- node_modules/@babel/plugin-transform-typescript/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-escapes/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-property-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-regex/README.md +19 -0
- node_modules/@babel/plugin-transform-unicode-sets-regex/README.md +19 -0
- node_modules/@babel/preset-env/README.md +19 -0
- node_modules/@babel/preset-modules/README.md +171 -0
- node_modules/@babel/preset-react/README.md +19 -0
- node_modules/@babel/preset-typescript/README.md +19 -0
- node_modules/@babel/runtime/README.md +19 -0
- node_modules/@babel/template/README.md +19 -0
- node_modules/@babel/traverse/README.md +19 -0
- node_modules/@babel/types/README.md +19 -0
- node_modules/@csstools/cascade-layer-name-parser/LICENSE.md +20 -0
- node_modules/@csstools/cascade-layer-name-parser/README.md +32 -0
- node_modules/@csstools/color-helpers/LICENSE.md +18 -0
- node_modules/@csstools/color-helpers/README.md +32 -0
- node_modules/@csstools/css-calc/LICENSE.md +20 -0
- node_modules/@csstools/css-calc/README.md +132 -0
- node_modules/@csstools/css-color-parser/LICENSE.md +20 -0
- node_modules/@csstools/css-color-parser/README.md +37 -0
- node_modules/@csstools/css-parser-algorithms/LICENSE.md +20 -0
- node_modules/@csstools/css-parser-algorithms/README.md +119 -0
- node_modules/@csstools/css-tokenizer/LICENSE.md +20 -0
- node_modules/@csstools/css-tokenizer/README.md +111 -0
- node_modules/@csstools/media-query-list-parser/LICENSE.md +20 -0
- node_modules/@csstools/media-query-list-parser/README.md +61 -0
- node_modules/@csstools/postcss-cascade-layers/LICENSE.md +18 -0
- node_modules/@csstools/postcss-cascade-layers/README.md +194 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/@csstools/postcss-cascade-layers/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-color-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-color-function/README.md +151 -0
- node_modules/@csstools/postcss-color-mix-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-color-mix-function/README.md +74 -0
- node_modules/@csstools/postcss-content-alt-text/LICENSE.md +18 -0
- node_modules/@csstools/postcss-content-alt-text/README.md +122 -0
- node_modules/@csstools/postcss-exponential-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-exponential-functions/README.md +91 -0
- node_modules/@csstools/postcss-font-format-keywords/LICENSE.md +18 -0
- node_modules/@csstools/postcss-font-format-keywords/README.md +88 -0
- node_modules/@csstools/postcss-gamut-mapping/LICENSE.md +18 -0
- node_modules/@csstools/postcss-gamut-mapping/README.md +71 -0
- node_modules/@csstools/postcss-gradients-interpolation-method/LICENSE.md +18 -0
- node_modules/@csstools/postcss-gradients-interpolation-method/README.md +160 -0
- node_modules/@csstools/postcss-hwb-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-hwb-function/README.md +88 -0
- node_modules/@csstools/postcss-ic-unit/LICENSE.md +18 -0
- node_modules/@csstools/postcss-ic-unit/README.md +96 -0
- node_modules/@csstools/postcss-initial/LICENSE.md +18 -0
- node_modules/@csstools/postcss-initial/README.md +74 -0
- node_modules/@csstools/postcss-is-pseudo-class/LICENSE.md +18 -0
- node_modules/@csstools/postcss-is-pseudo-class/README.md +253 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/@csstools/postcss-is-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-light-dark-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-light-dark-function/README.md +174 -0
- node_modules/@csstools/postcss-logical-float-and-clear/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-float-and-clear/README.md +86 -0
- node_modules/@csstools/postcss-logical-overflow/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-overflow/README.md +96 -0
- node_modules/@csstools/postcss-logical-overscroll-behavior/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-overscroll-behavior/README.md +96 -0
- node_modules/@csstools/postcss-logical-resize/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-resize/README.md +99 -0
- node_modules/@csstools/postcss-logical-viewport-units/LICENSE.md +18 -0
- node_modules/@csstools/postcss-logical-viewport-units/README.md +105 -0
- node_modules/@csstools/postcss-media-minmax/LICENSE.md +21 -0
- node_modules/@csstools/postcss-media-minmax/README.md +54 -0
- node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/LICENSE.md +18 -0
- node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values/README.md +62 -0
- node_modules/@csstools/postcss-nested-calc/LICENSE.md +18 -0
- node_modules/@csstools/postcss-nested-calc/README.md +71 -0
- node_modules/@csstools/postcss-normalize-display-values/LICENSE.md +18 -0
- node_modules/@csstools/postcss-normalize-display-values/README.md +88 -0
- node_modules/@csstools/postcss-oklab-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-oklab-function/README.md +173 -0
- node_modules/@csstools/postcss-progressive-custom-properties/LICENSE.md +18 -0
- node_modules/@csstools/postcss-progressive-custom-properties/README.md +122 -0
- node_modules/@csstools/postcss-random-function/LICENSE.md +18 -0
- node_modules/@csstools/postcss-random-function/README.md +121 -0
- node_modules/@csstools/postcss-relative-color-syntax/LICENSE.md +18 -0
- node_modules/@csstools/postcss-relative-color-syntax/README.md +74 -0
- node_modules/@csstools/postcss-scope-pseudo-class/LICENSE.md +18 -0
- node_modules/@csstools/postcss-scope-pseudo-class/README.md +73 -0
- node_modules/@csstools/postcss-scope-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/@csstools/postcss-sign-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-sign-functions/README.md +184 -0
- node_modules/@csstools/postcss-stepped-value-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-stepped-value-functions/README.md +107 -0
- node_modules/@csstools/postcss-text-decoration-shorthand/LICENSE.md +18 -0
- node_modules/@csstools/postcss-text-decoration-shorthand/README.md +75 -0
- node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md +18 -0
- node_modules/@csstools/postcss-trigonometric-functions/README.md +149 -0
- node_modules/@csstools/postcss-unset-value/LICENSE.md +18 -0
- node_modules/@csstools/postcss-unset-value/README.md +120 -0
- node_modules/@csstools/utilities/LICENSE.md +18 -0
- node_modules/@csstools/utilities/README.md +25 -0
- node_modules/@discoveryjs/json-ext/README.md +256 -0
- node_modules/@eslint/config-array/README.md +358 -0
- node_modules/@eslint/core/README.md +29 -0
- node_modules/@eslint/eslintrc/README.md +126 -0
- node_modules/@eslint/js/README.md +60 -0
- node_modules/@eslint/object-schema/README.md +242 -0
- node_modules/@eslint/plugin-kit/README.md +273 -0
- node_modules/@eslint-community/eslint-utils/README.md +37 -0
- node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md +105 -0
- node_modules/@eslint-community/regexpp/README.md +177 -0
- node_modules/@humanfs/core/README.md +140 -0
- node_modules/@humanfs/node/README.md +141 -0
- node_modules/@humanfs/node/node_modules/@humanwhocodes/retry/README.md +138 -0
- node_modules/@humanwhocodes/module-importer/README.md +80 -0
- node_modules/@humanwhocodes/retry/README.md +177 -0
- node_modules/@isaacs/cliui/README.md +143 -0
- node_modules/@jest/schemas/README.md +3 -0
- node_modules/@jest/types/README.md +30 -0
- node_modules/@jridgewell/gen-mapping/README.md +227 -0
- node_modules/@jridgewell/resolve-uri/README.md +40 -0
- node_modules/@jridgewell/set-array/README.md +37 -0
- node_modules/@jridgewell/source-map/README.md +184 -0
- node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
- node_modules/@jridgewell/trace-mapping/README.md +257 -0
- node_modules/@nodelib/fs.scandir/README.md +171 -0
- node_modules/@nodelib/fs.stat/README.md +126 -0
- node_modules/@nodelib/fs.walk/README.md +215 -0
- node_modules/@parcel/watcher/README.md +135 -0
- node_modules/@parcel/watcher-linux-x64-glibc/README.md +1 -0
- node_modules/@pkgjs/parseargs/README.md +413 -0
- node_modules/@tailwindcss/typography/README.md +398 -0
- node_modules/@trysound/sax/README.md +202 -0
- node_modules/@types/eslint/README.md +15 -0
- node_modules/@types/eslint-scope/README.md +90 -0
- node_modules/@types/estree/README.md +15 -0
- node_modules/@types/istanbul-lib-coverage/README.md +15 -0
- node_modules/@types/istanbul-lib-report/README.md +15 -0
- node_modules/@types/istanbul-reports/README.md +86 -0
- node_modules/@types/json-schema/README.md +15 -0
- node_modules/@types/node/README.md +15 -0
- node_modules/@types/react/README.md +15 -0
- node_modules/@types/react-dom/README.md +16 -0
- node_modules/@types/yargs/README.md +15 -0
- node_modules/@types/yargs-parser/README.md +15 -0
- node_modules/@typescript-eslint/eslint-plugin/README.md +12 -0
- node_modules/@typescript-eslint/eslint-plugin/docs/rules/README.md +57 -0
- node_modules/@typescript-eslint/parser/README.md +12 -0
- node_modules/@typescript-eslint/scope-manager/README.md +10 -0
- node_modules/@typescript-eslint/type-utils/README.md +12 -0
- node_modules/@typescript-eslint/types/README.md +12 -0
- node_modules/@typescript-eslint/typescript-estree/README.md +14 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion/README.md +135 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch/README.md +454 -0
- node_modules/@typescript-eslint/typescript-estree/node_modules/semver/README.md +654 -0
- node_modules/@typescript-eslint/utils/README.md +12 -0
- node_modules/@typescript-eslint/visitor-keys/README.md +10 -0
- node_modules/@webassemblyjs/ast/README.md +167 -0
- node_modules/@webassemblyjs/floating-point-hex-parser/README.md +34 -0
- node_modules/@webassemblyjs/wasm-edit/README.md +86 -0
- node_modules/@webassemblyjs/wasm-parser/README.md +28 -0
- node_modules/@webassemblyjs/wast-printer/README.md +17 -0
- node_modules/@webpack-cli/configtest/README.md +31 -0
- node_modules/@webpack-cli/info/README.md +54 -0
- node_modules/@webpack-cli/serve/README.md +32 -0
- node_modules/@xtuc/ieee754/README.md +51 -0
- node_modules/@xtuc/long/README.md +257 -0
- node_modules/acorn/README.md +282 -0
- node_modules/acorn-jsx/README.md +40 -0
- node_modules/ajv/README.md +1497 -0
- node_modules/ajv/lib/dotjs/README.md +3 -0
- node_modules/ajv-formats/README.md +123 -0
- node_modules/ajv-formats/node_modules/ajv/README.md +207 -0
- node_modules/ajv-formats/node_modules/json-schema-traverse/README.md +95 -0
- node_modules/ajv-keywords/README.md +836 -0
- node_modules/ajv-keywords/keywords/dotjs/README.md +3 -0
- node_modules/any-promise/README.md +161 -0
- node_modules/anymatch/README.md +87 -0
- node_modules/arg/LICENSE.md +21 -0
- node_modules/arg/README.md +317 -0
- node_modules/argparse/README.md +84 -0
- node_modules/array-buffer-byte-length/README.md +40 -0
- node_modules/array-includes/README.md +105 -0
- node_modules/array.prototype.findlast/README.md +74 -0
- node_modules/array.prototype.flat/README.md +75 -0
- node_modules/array.prototype.flatmap/README.md +82 -0
- node_modules/array.prototype.tosorted/README.md +71 -0
- node_modules/arraybuffer.prototype.slice/README.md +61 -0
- node_modules/async-function/README.md +51 -0
- node_modules/autoprefixer/README.md +66 -0
- node_modules/available-typed-arrays/README.md +55 -0
- node_modules/babel-loader/README.md +411 -0
- node_modules/babel-plugin-polyfill-corejs2/README.md +28 -0
- node_modules/babel-plugin-polyfill-corejs3/README.md +78 -0
- node_modules/babel-plugin-polyfill-corejs3/core-js-compat/README.md +4 -0
- node_modules/babel-plugin-polyfill-regenerator/README.md +28 -0
- node_modules/balanced-match/LICENSE.md +21 -0
- node_modules/balanced-match/README.md +97 -0
- node_modules/boolbase/README.md +10 -0
- node_modules/brace-expansion/README.md +129 -0
- node_modules/braces/README.md +586 -0
- node_modules/browserslist/README.md +67 -0
- node_modules/call-bind/README.md +64 -0
- node_modules/call-bind-apply-helpers/README.md +62 -0
- node_modules/call-bound/README.md +53 -0
- node_modules/camelcase-css/README.md +27 -0
- node_modules/caniuse-api/README.md +157 -0
- node_modules/caniuse-lite/README.md +6 -0
- node_modules/chokidar/README.md +308 -0
- node_modules/chokidar-cli/README.md +148 -0
- node_modules/chrome-trace-event/README.md +31 -0
- node_modules/ci-info/README.md +135 -0
- node_modules/cliui/README.md +115 -0
- node_modules/cliui/node_modules/color-convert/README.md +68 -0
- node_modules/cliui/node_modules/color-name/README.md +11 -0
- node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
- node_modules/clone-deep/README.md +106 -0
- node_modules/color-convert/README.md +68 -0
- node_modules/color-name/README.md +11 -0
- node_modules/colord/LICENSE.md +21 -0
- node_modules/colord/README.md +1053 -0
- node_modules/colorette/LICENSE.md +7 -0
- node_modules/colorette/README.md +134 -0
- node_modules/common-path-prefix/README.md +51 -0
- node_modules/concurrently/README.md +229 -0
- node_modules/concurrently/docs/README.md +13 -0
- node_modules/concurrently/node_modules/cliui/README.md +141 -0
- node_modules/concurrently/node_modules/emoji-regex/README.md +73 -0
- node_modules/concurrently/node_modules/y18n/README.md +127 -0
- node_modules/concurrently/node_modules/yargs/README.md +204 -0
- node_modules/concurrently/node_modules/yargs-parser/README.md +518 -0
- node_modules/convert-source-map/README.md +206 -0
- node_modules/core-js-compat/README.md +135 -0
- node_modules/cosmiconfig/README.md +782 -0
- node_modules/cross-spawn/README.md +89 -0
- node_modules/css-blank-pseudo/LICENSE.md +18 -0
- node_modules/css-blank-pseudo/README.md +205 -0
- node_modules/css-blank-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/css-has-pseudo/LICENSE.md +18 -0
- node_modules/css-has-pseudo/README.md +331 -0
- node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/css-has-pseudo/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/css-loader/README.md +2334 -0
- node_modules/css-loader/node_modules/semver/README.md +654 -0
- node_modules/css-minimizer-webpack-plugin/README.md +624 -0
- node_modules/css-prefers-color-scheme/LICENSE.md +18 -0
- node_modules/css-prefers-color-scheme/README.md +341 -0
- node_modules/css-select/README.md +264 -0
- node_modules/css-selector-tokenizer/README.md +92 -0
- node_modules/css-tree/README.md +193 -0
- node_modules/cssdb/LICENSE.md +18 -0
- node_modules/cssdb/README.md +35 -0
- node_modules/cssesc/README.md +201 -0
- node_modules/cssnano/README.md +6 -0
- node_modules/cssnano-preset-default/README.md +310 -0
- node_modules/cssnano-utils/README.md +15 -0
- node_modules/csso/README.md +422 -0
- node_modules/csso/node_modules/css-tree/README.md +193 -0
- node_modules/csso/node_modules/mdn-data/README.md +56 -0
- node_modules/csstype/README.md +277 -0
- node_modules/culori/README.md +19 -0
- node_modules/daisyui/README.md +65 -0
- node_modules/data-view-buffer/README.md +43 -0
- node_modules/data-view-byte-length/README.md +43 -0
- node_modules/data-view-byte-offset/README.md +43 -0
- node_modules/debug/README.md +481 -0
- node_modules/define-data-property/README.md +67 -0
- node_modules/define-properties/README.md +84 -0
- node_modules/detect-libc/README.md +78 -0
- node_modules/didyoumean/README.md +134 -0
- node_modules/dlv/README.md +76 -0
- node_modules/doctrine/README.md +165 -0
- node_modules/dom-serializer/README.md +109 -0
- node_modules/dunder-proto/README.md +54 -0
- node_modules/eastasianwidth/README.md +32 -0
- node_modules/electron-to-chromium/README.md +186 -0
- node_modules/emoji-regex/README.md +137 -0
- node_modules/enhanced-resolve/README.md +183 -0
- node_modules/envinfo/README.md +286 -0
- node_modules/error-ex/README.md +144 -0
- node_modules/es-abstract/README.md +43 -0
- node_modules/es-define-property/README.md +49 -0
- node_modules/es-errors/README.md +55 -0
- node_modules/es-iterator-helpers/README.md +110 -0
- node_modules/es-module-lexer/README.md +338 -0
- node_modules/es-object-atoms/README.md +63 -0
- node_modules/es-set-tostringtag/README.md +53 -0
- node_modules/es-shim-unscopables/README.md +57 -0
- node_modules/es-to-primitive/README.md +52 -0
- node_modules/eslint/README.md +329 -0
- node_modules/eslint/node_modules/glob-parent/README.md +134 -0
- node_modules/eslint-plugin-prettier/LICENSE.md +24 -0
- node_modules/eslint-plugin-prettier/README.md +202 -0
- node_modules/eslint-plugin-react/README.md +423 -0
- node_modules/eslint-plugin-tailwindcss/README.md +307 -0
- node_modules/eslint-scope/README.md +108 -0
- node_modules/eslint-visitor-keys/README.md +120 -0
- node_modules/espree/README.md +261 -0
- node_modules/esquery/README.md +27 -0
- node_modules/esrecurse/README.md +171 -0
- node_modules/estraverse/README.md +153 -0
- node_modules/esutils/README.md +174 -0
- node_modules/fast-deep-equal/README.md +96 -0
- node_modules/fast-diff/README.md +24 -0
- node_modules/fast-glob/README.md +830 -0
- node_modules/fast-json-stable-stringify/README.md +131 -0
- node_modules/fast-levenshtein/LICENSE.md +25 -0
- node_modules/fast-levenshtein/README.md +104 -0
- node_modules/fast-uri/README.md +130 -0
- node_modules/fastest-levenshtein/LICENSE.md +21 -0
- node_modules/fastest-levenshtein/README.md +57 -0
- node_modules/fastparse/README.md +118 -0
- node_modules/fastq/README.md +306 -0
- node_modules/file-entry-cache/README.md +115 -0
- node_modules/fill-range/README.md +237 -0
- node_modules/flat/README.md +236 -0
- node_modules/flat-cache/README.md +77 -0
- node_modules/flatted/README.md +115 -0
- node_modules/for-each/README.md +39 -0
- node_modules/foreground-child/README.md +128 -0
- node_modules/fraction.js/README.md +466 -0
- node_modules/function-bind/README.md +46 -0
- node_modules/function.prototype.name/README.md +55 -0
- node_modules/functions-have-names/README.md +40 -0
- node_modules/gensync/README.md +196 -0
- node_modules/get-caller-file/LICENSE.md +6 -0
- node_modules/get-caller-file/README.md +41 -0
- node_modules/get-intrinsic/README.md +71 -0
- node_modules/get-proto/README.md +50 -0
- node_modules/get-symbol-description/README.md +43 -0
- node_modules/glob/README.md +1265 -0
- node_modules/glob/node_modules/brace-expansion/README.md +135 -0
- node_modules/glob/node_modules/minimatch/README.md +454 -0
- node_modules/glob-parent/README.md +137 -0
- node_modules/glob-to-regexp/README.md +75 -0
- node_modules/globalthis/README.md +70 -0
- node_modules/gonzales-pe/README.md +808 -0
- node_modules/gopd/README.md +40 -0
- node_modules/graceful-fs/README.md +143 -0
- node_modules/graphemer/README.md +132 -0
- node_modules/has-bigints/README.md +39 -0
- node_modules/has-property-descriptors/README.md +43 -0
- node_modules/has-proto/README.md +57 -0
- node_modules/has-symbols/README.md +46 -0
- node_modules/has-tostringtag/README.md +46 -0
- node_modules/hasown/README.md +40 -0
- node_modules/hosted-git-info/README.md +133 -0
- node_modules/icss-utils/LICENSE.md +6 -0
- node_modules/icss-utils/README.md +94 -0
- node_modules/ignore/README.md +412 -0
- node_modules/immutable/README.md +761 -0
- node_modules/imurmurhash/README.md +122 -0
- node_modules/internal-slot/README.md +58 -0
- node_modules/interpret/README.md +244 -0
- node_modules/is-array-buffer/README.md +56 -0
- node_modules/is-arrayish/README.md +16 -0
- node_modules/is-async-function/README.md +41 -0
- node_modules/is-bigint/README.md +44 -0
- node_modules/is-boolean-object/README.md +57 -0
- node_modules/is-callable/README.md +83 -0
- node_modules/is-core-module/README.md +40 -0
- node_modules/is-data-view/README.md +69 -0
- node_modules/is-date-object/README.md +52 -0
- node_modules/is-extglob/README.md +107 -0
- node_modules/is-finalizationregistry/README.md +54 -0
- node_modules/is-generator-function/README.md +40 -0
- node_modules/is-glob/README.md +206 -0
- node_modules/is-map/README.md +52 -0
- node_modules/is-number/README.md +187 -0
- node_modules/is-number-object/README.md +55 -0
- node_modules/is-plain-object/README.md +104 -0
- node_modules/is-regex/README.md +52 -0
- node_modules/is-set/README.md +50 -0
- node_modules/is-shared-array-buffer/README.md +56 -0
- node_modules/is-string/README.md +56 -0
- node_modules/is-symbol/README.md +45 -0
- node_modules/is-typed-array/README.md +70 -0
- node_modules/is-weakmap/README.md +50 -0
- node_modules/is-weakref/README.md +52 -0
- node_modules/is-weakset/README.md +50 -0
- node_modules/isarray/README.md +38 -0
- node_modules/isexe/README.md +51 -0
- node_modules/isobject/README.md +122 -0
- node_modules/iterator.prototype/README.md +35 -0
- node_modules/jackspeak/LICENSE.md +55 -0
- node_modules/jackspeak/README.md +357 -0
- node_modules/jest-worker/README.md +272 -0
- node_modules/jiti/README.md +164 -0
- node_modules/js-tokens/README.md +240 -0
- node_modules/js-yaml/README.md +246 -0
- node_modules/jsesc/README.md +422 -0
- node_modules/json-buffer/README.md +24 -0
- node_modules/json-parse-better-errors/LICENSE.md +7 -0
- node_modules/json-parse-better-errors/README.md +46 -0
- node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- node_modules/json-parse-even-better-errors/README.md +96 -0
- node_modules/json-schema-traverse/README.md +83 -0
- node_modules/json5/LICENSE.md +23 -0
- node_modules/json5/README.md +282 -0
- node_modules/jsx-ast-utils/LICENSE.md +8 -0
- node_modules/jsx-ast-utils/README.md +298 -0
- node_modules/keyv/README.md +429 -0
- node_modules/kind-of/README.md +367 -0
- node_modules/levn/README.md +196 -0
- node_modules/lines-and-columns/README.md +33 -0
- node_modules/loader-runner/README.md +53 -0
- node_modules/lodash/README.md +39 -0
- node_modules/lodash.castarray/README.md +18 -0
- node_modules/lodash.debounce/README.md +18 -0
- node_modules/lodash.isplainobject/README.md +18 -0
- node_modules/lodash.memoize/README.md +18 -0
- node_modules/lodash.merge/README.md +18 -0
- node_modules/lodash.throttle/README.md +18 -0
- node_modules/lodash.uniq/README.md +18 -0
- node_modules/loose-envify/README.md +45 -0
- node_modules/lru-cache/README.md +166 -0
- node_modules/math-intrinsics/README.md +50 -0
- node_modules/mdn-data/README.md +62 -0
- node_modules/memorystream/README.md +93 -0
- node_modules/merge-stream/README.md +78 -0
- node_modules/merge2/README.md +144 -0
- node_modules/micromatch/README.md +1024 -0
- node_modules/mime-db/README.md +100 -0
- node_modules/mime-types/README.md +113 -0
- node_modules/mini-css-extract-plugin/README.md +1296 -0
- node_modules/minimatch/README.md +230 -0
- node_modules/minimist/README.md +121 -0
- node_modules/minipass/README.md +825 -0
- node_modules/mz/README.md +106 -0
- node_modules/nanoid/README.md +554 -0
- node_modules/natural-compare/README.md +125 -0
- node_modules/neo-async/README.md +273 -0
- node_modules/nice-try/README.md +32 -0
- node_modules/node-addon-api/LICENSE.md +9 -0
- node_modules/node-addon-api/README.md +319 -0
- node_modules/node-addon-api/tools/README.md +73 -0
- node_modules/node-releases/README.md +12 -0
- node_modules/normalize-package-data/README.md +106 -0
- node_modules/normalize-package-data/node_modules/semver/README.md +412 -0
- node_modules/normalize-path/README.md +127 -0
- node_modules/npm-run-all/README.md +91 -0
- node_modules/npm-run-all/node_modules/color-convert/README.md +68 -0
- node_modules/npm-run-all/node_modules/color-name/README.md +11 -0
- node_modules/npm-run-all/node_modules/cross-spawn/README.md +94 -0
- node_modules/npm-run-all/node_modules/semver/README.md +412 -0
- node_modules/npm-run-all/node_modules/which/README.md +51 -0
- node_modules/nth-check/README.md +136 -0
- node_modules/object-keys/README.md +76 -0
- node_modules/object.assign/README.md +136 -0
- node_modules/object.entries/README.md +58 -0
- node_modules/object.fromentries/README.md +50 -0
- node_modules/object.values/README.md +58 -0
- node_modules/optionator/README.md +238 -0
- node_modules/own-keys/README.md +45 -0
- node_modules/package-json-from-dist/LICENSE.md +63 -0
- node_modules/package-json-from-dist/README.md +110 -0
- node_modules/path-parse/README.md +42 -0
- node_modules/path-scurry/LICENSE.md +55 -0
- node_modules/path-scurry/README.md +636 -0
- node_modules/path-scurry/node_modules/lru-cache/README.md +331 -0
- node_modules/picocolors/README.md +21 -0
- node_modules/picomatch/README.md +708 -0
- node_modules/pirates/README.md +69 -0
- node_modules/possible-typed-array-names/README.md +48 -0
- node_modules/postcss/README.md +28 -0
- node_modules/postcss-attribute-case-insensitive/LICENSE.md +20 -0
- node_modules/postcss-attribute-case-insensitive/README.md +73 -0
- node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-calc/README.md +153 -0
- node_modules/postcss-calc/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-clamp/README.md +118 -0
- node_modules/postcss-color-functional-notation/LICENSE.md +18 -0
- node_modules/postcss-color-functional-notation/README.md +134 -0
- node_modules/postcss-color-hex-alpha/LICENSE.md +21 -0
- node_modules/postcss-color-hex-alpha/README.md +72 -0
- node_modules/postcss-color-rebeccapurple/LICENSE.md +18 -0
- node_modules/postcss-color-rebeccapurple/README.md +76 -0
- node_modules/postcss-colormin/README.md +45 -0
- node_modules/postcss-convert-values/README.md +98 -0
- node_modules/postcss-custom-media/LICENSE.md +21 -0
- node_modules/postcss-custom-media/README.md +183 -0
- node_modules/postcss-custom-properties/LICENSE.md +21 -0
- node_modules/postcss-custom-properties/README.md +173 -0
- node_modules/postcss-custom-selectors/LICENSE.md +21 -0
- node_modules/postcss-custom-selectors/README.md +107 -0
- node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-dir-pseudo-class/LICENSE.md +18 -0
- node_modules/postcss-dir-pseudo-class/README.md +193 -0
- node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-discard-comments/README.md +114 -0
- node_modules/postcss-discard-comments/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-discard-duplicates/README.md +70 -0
- node_modules/postcss-discard-empty/README.md +49 -0
- node_modules/postcss-discard-overridden/README.md +158 -0
- node_modules/postcss-double-position-gradients/LICENSE.md +18 -0
- node_modules/postcss-double-position-gradients/README.md +129 -0
- node_modules/postcss-focus-visible/LICENSE.md +18 -0
- node_modules/postcss-focus-visible/README.md +137 -0
- node_modules/postcss-focus-visible/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-focus-within/LICENSE.md +18 -0
- node_modules/postcss-focus-within/README.md +196 -0
- node_modules/postcss-focus-within/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-font-variant/README.md +74 -0
- node_modules/postcss-gap-properties/LICENSE.md +18 -0
- node_modules/postcss-gap-properties/README.md +102 -0
- node_modules/postcss-image-set-function/LICENSE.md +18 -0
- node_modules/postcss-image-set-function/README.md +164 -0
- node_modules/postcss-import/README.md +244 -0
- node_modules/postcss-js/README.md +22 -0
- node_modules/postcss-lab-function/LICENSE.md +18 -0
- node_modules/postcss-lab-function/README.md +156 -0
- node_modules/postcss-load-config/README.md +466 -0
- node_modules/postcss-loader/README.md +1175 -0
- node_modules/postcss-loader/node_modules/semver/README.md +654 -0
- node_modules/postcss-logical/LICENSE.md +18 -0
- node_modules/postcss-logical/README.md +117 -0
- node_modules/postcss-merge-longhand/README.md +50 -0
- node_modules/postcss-merge-rules/README.md +105 -0
- node_modules/postcss-merge-rules/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-minify-font-values/README.md +83 -0
- node_modules/postcss-minify-gradients/README.md +53 -0
- node_modules/postcss-minify-params/README.md +39 -0
- node_modules/postcss-minify-selectors/README.md +42 -0
- node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-extract-imports/README.md +76 -0
- node_modules/postcss-modules-local-by-default/README.md +123 -0
- node_modules/postcss-modules-local-by-default/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-scope/README.md +100 -0
- node_modules/postcss-modules-scope/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-modules-values/README.md +80 -0
- node_modules/postcss-nested/README.md +85 -0
- node_modules/postcss-nested/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-nesting/LICENSE.md +18 -0
- node_modules/postcss-nesting/README.md +255 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/LICENSE.md +18 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested/README.md +33 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/LICENSE.md +18 -0
- node_modules/postcss-nesting/node_modules/@csstools/selector-specificity/README.md +57 -0
- node_modules/postcss-nesting/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-normalize-charset/README.md +43 -0
- node_modules/postcss-normalize-display-values/README.md +44 -0
- node_modules/postcss-normalize-positions/README.md +44 -0
- node_modules/postcss-normalize-repeat-style/README.md +44 -0
- node_modules/postcss-normalize-string/README.md +59 -0
- node_modules/postcss-normalize-timing-functions/README.md +44 -0
- node_modules/postcss-normalize-unicode/README.md +46 -0
- node_modules/postcss-normalize-url/README.md +48 -0
- node_modules/postcss-normalize-whitespace/README.md +44 -0
- node_modules/postcss-opacity-percentage/LICENSE.md +9 -0
- node_modules/postcss-opacity-percentage/README.md +85 -0
- node_modules/postcss-ordered-values/README.md +72 -0
- node_modules/postcss-overflow-shorthand/LICENSE.md +18 -0
- node_modules/postcss-overflow-shorthand/README.md +74 -0
- node_modules/postcss-page-break/README.md +83 -0
- node_modules/postcss-place/LICENSE.md +18 -0
- node_modules/postcss-place/README.md +81 -0
- node_modules/postcss-preset-env/LICENSE.md +18 -0
- node_modules/postcss-preset-env/README.md +496 -0
- node_modules/postcss-pseudo-class-any-link/LICENSE.md +18 -0
- node_modules/postcss-pseudo-class-any-link/README.md +106 -0
- node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-reduce-initial/README.md +92 -0
- node_modules/postcss-reduce-transforms/README.md +47 -0
- node_modules/postcss-replace-overflow-wrap/README.md +56 -0
- node_modules/postcss-sass/README.md +21 -0
- node_modules/postcss-selector-not/LICENSE.md +20 -0
- node_modules/postcss-selector-not/README.md +51 -0
- node_modules/postcss-selector-not/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-svgo/README.md +109 -0
- node_modules/postcss-unique-selectors/README.md +46 -0
- node_modules/postcss-unique-selectors/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/postcss-value-parser/README.md +263 -0
- node_modules/prelude-ls/README.md +15 -0
- node_modules/prettier/README.md +109 -0
- node_modules/prettier-linter-helpers/LICENSE.md +24 -0
- node_modules/prettier-linter-helpers/README.md +14 -0
- node_modules/prettier-plugin-tailwindcss/README.md +239 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/@shopify/prettier-plugin-liquid/README.md +158 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/marko/README.md +161 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-sort-imports/README.md +95 -0
- node_modules/prettier-plugin-tailwindcss/dist/licenses/prettier-plugin-style-order/README.md +19 -0
- node_modules/prop-types/README.md +302 -0
- node_modules/punycode/README.md +148 -0
- node_modules/queue-microtask/README.md +90 -0
- node_modules/randombytes/README.md +14 -0
- node_modules/react/README.md +37 -0
- node_modules/react-dom/README.md +60 -0
- node_modules/react-is/README.md +104 -0
- node_modules/read-cache/README.md +46 -0
- node_modules/readdirp/README.md +122 -0
- node_modules/rechoir/README.md +73 -0
- node_modules/reflect.getprototypeof/README.md +77 -0
- node_modules/regenerate/README.md +338 -0
- node_modules/regenerate-unicode-properties/README.md +70 -0
- node_modules/regenerator-runtime/README.md +31 -0
- node_modules/regenerator-transform/README.md +46 -0
- node_modules/regexp.prototype.flags/README.md +55 -0
- node_modules/regexpu-core/README.md +226 -0
- node_modules/regjsgen/README.md +41 -0
- node_modules/regjsparser/README.md +47 -0
- node_modules/regjsparser/node_modules/jsesc/README.md +422 -0
- node_modules/require-main-filename/README.md +26 -0
- node_modules/reusify/README.md +145 -0
- node_modules/run-parallel/README.md +85 -0
- node_modules/rxjs/README.md +107 -0
- node_modules/safe-array-concat/README.md +53 -0
- node_modules/safe-buffer/README.md +584 -0
- node_modules/safe-push-apply/README.md +59 -0
- node_modules/safe-regex-test/README.md +46 -0
- node_modules/sass/README.md +173 -0
- node_modules/sass/node_modules/chokidar/README.md +305 -0
- node_modules/sass/node_modules/readdirp/README.md +120 -0
- node_modules/sass-loader/README.md +904 -0
- node_modules/scheduler/README.md +9 -0
- node_modules/schema-utils/README.md +317 -0
- node_modules/schema-utils/node_modules/ajv/README.md +207 -0
- node_modules/schema-utils/node_modules/ajv-keywords/README.md +745 -0
- node_modules/schema-utils/node_modules/json-schema-traverse/README.md +95 -0
- node_modules/semver/README.md +443 -0
- node_modules/serialize-javascript/README.md +143 -0
- node_modules/set-blocking/README.md +31 -0
- node_modules/set-function-length/README.md +56 -0
- node_modules/set-function-name/README.md +61 -0
- node_modules/set-proto/README.md +52 -0
- node_modules/shallow-clone/README.md +153 -0
- node_modules/shell-quote/README.md +161 -0
- node_modules/side-channel/README.md +61 -0
- node_modules/side-channel-list/README.md +62 -0
- node_modules/side-channel-map/README.md +62 -0
- node_modules/side-channel-weakmap/README.md +62 -0
- node_modules/signal-exit/README.md +74 -0
- node_modules/source-map/README.md +742 -0
- node_modules/source-map-js/README.md +765 -0
- node_modules/source-map-support/LICENSE.md +21 -0
- node_modules/source-map-support/README.md +284 -0
- node_modules/spdx-correct/README.md +22 -0
- node_modules/spdx-exceptions/README.md +36 -0
- node_modules/spdx-expression-parse/README.md +91 -0
- node_modules/spdx-license-ids/README.md +51 -0
- node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
- node_modules/string.prototype.matchall/README.md +73 -0
- node_modules/string.prototype.padend/README.md +46 -0
- node_modules/string.prototype.repeat/README.md +43 -0
- node_modules/string.prototype.trim/README.md +48 -0
- node_modules/string.prototype.trimend/README.md +46 -0
- node_modules/string.prototype.trimstart/README.md +46 -0
- node_modules/stylehacks/README.md +91 -0
- node_modules/stylehacks/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/sucrase/README.md +295 -0
- node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- node_modules/svgo/README.md +199 -0
- node_modules/synckit/README.md +191 -0
- node_modules/tailwindcss/README.md +40 -0
- node_modules/tailwindcss/lib/postcss-plugins/nesting/README.md +42 -0
- node_modules/tailwindcss/lib/value-parser/README.md +3 -0
- node_modules/tailwindcss/node_modules/glob-parent/README.md +134 -0
- node_modules/tailwindcss/node_modules/postcss-selector-parser/README.md +49 -0
- node_modules/tailwindcss/src/postcss-plugins/nesting/README.md +42 -0
- node_modules/tailwindcss/src/value-parser/README.md +3 -0
- node_modules/tapable/README.md +296 -0
- node_modules/terser/README.md +1421 -0
- node_modules/terser-webpack-plugin/README.md +934 -0
- node_modules/terser-webpack-plugin/node_modules/jest-worker/README.md +247 -0
- node_modules/theme-change/README.md +376 -0
- node_modules/thenify/README.md +120 -0
- node_modules/thenify-all/README.md +66 -0
- node_modules/to-regex-range/README.md +305 -0
- node_modules/tree-kill/README.md +89 -0
- node_modules/ts-api-utils/LICENSE.md +20 -0
- node_modules/ts-api-utils/README.md +84 -0
- node_modules/ts-interface-checker/README.md +185 -0
- node_modules/ts-loader/README.md +773 -0
- node_modules/ts-loader/node_modules/semver/README.md +654 -0
- node_modules/ts-loader/node_modules/source-map/README.md +822 -0
- node_modules/tslib/README.md +164 -0
- node_modules/type-check/README.md +210 -0
- node_modules/typed-array-buffer/README.md +42 -0
- node_modules/typed-array-byte-length/README.md +70 -0
- node_modules/typed-array-byte-offset/README.md +70 -0
- node_modules/typed-array-length/README.md +64 -0
- node_modules/typescript/README.md +50 -0
- node_modules/typescript-eslint/README.md +12 -0
- node_modules/unbox-primitive/README.md +47 -0
- node_modules/undici-types/README.md +6 -0
- node_modules/unicode-canonical-property-names-ecmascript/README.md +58 -0
- node_modules/unicode-match-property-ecmascript/README.md +69 -0
- node_modules/unicode-match-property-value-ecmascript/README.md +72 -0
- node_modules/unicode-property-aliases-ecmascript/README.md +60 -0
- node_modules/update-browserslist-db/README.md +22 -0
- node_modules/uri-js/README.md +203 -0
- node_modules/util-deprecate/README.md +53 -0
- node_modules/validate-npm-package-license/README.md +113 -0
- node_modules/watchpack/README.md +133 -0
- node_modules/webpack/README.md +727 -0
- node_modules/webpack/node_modules/eslint-scope/README.md +54 -0
- node_modules/webpack/node_modules/estraverse/README.md +153 -0
- node_modules/webpack/node_modules/schema-utils/README.md +290 -0
- node_modules/webpack-cli/README.md +145 -0
- node_modules/webpack-merge/README.md +314 -0
- node_modules/webpack-sources/README.md +228 -0
- node_modules/which/README.md +54 -0
- node_modules/which-boxed-primitive/README.md +73 -0
- node_modules/which-builtin-type/README.md +67 -0
- node_modules/which-collection/README.md +65 -0
- node_modules/which-module/README.md +58 -0
- node_modules/which-typed-array/README.md +70 -0
- node_modules/wildcard/README.md +88 -0
- node_modules/word-wrap/README.md +201 -0
- node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
- node_modules/y18n/README.md +109 -0
- node_modules/yallist/README.md +204 -0
- node_modules/yaml/README.md +188 -0
- node_modules/yargs/README.md +122 -0
- node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
- node_modules/yargs-parser/README.md +396 -0
- picata/blocks.py +9 -7
- picata/helpers/wagtail.py +1 -1
- picata/models.py +2 -2
- picata/templatetags/__init__.py +1 -1
- picata/templatetags/{kill_orphans.py → filters/kill_orphans.py} +1 -5
- picata/templatetags/{stringify.py → filters/stringify.py} +1 -6
- picata/templatetags/picata_tags.py +18 -0
- picata/templatetags/{absolute_static.py → tags/absolute_static.py} +1 -5
- picata/templatetags/{menu_tags.py → tags/menu_tags.py} +1 -1
- picata/urls.py +3 -1
- picata/views.py +53 -2
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/METADATA +1 -1
- picata-0.0.8.dist-info/RECORD +876 -0
- picata-0.0.6.dist-info/RECORD +0 -74
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/WHEEL +0 -0
- {picata-0.0.6.dist-info → picata-0.0.8.dist-info}/licenses/LICENSE.md +0 -0
@@ -0,0 +1,782 @@
|
|
1
|
+
# cosmiconfig
|
2
|
+
|
3
|
+
[](https://codecov.io/gh/cosmiconfig/cosmiconfig)
|
4
|
+
|
5
|
+
Cosmiconfig searches for and loads configuration for your program.
|
6
|
+
|
7
|
+
It features smart defaults based on conventional expectations in the JavaScript ecosystem.
|
8
|
+
But it's also flexible enough to search wherever you'd like to search, and load whatever you'd like to load.
|
9
|
+
|
10
|
+
By default, Cosmiconfig will check the current directory for the following:
|
11
|
+
|
12
|
+
- a `package.json` property
|
13
|
+
- a JSON or YAML, extensionless "rc file"
|
14
|
+
- an "rc file" with the extensions `.json`, `.yaml`, `.yml`, `.js`, `.ts`, `.mjs`, or `.cjs`
|
15
|
+
- any of the above two inside a `.config` subdirectory
|
16
|
+
- a `.config.js`, `.config.ts`, `.config.mjs`, or `.config.cjs` file
|
17
|
+
|
18
|
+
For example, if your module's name is "myapp", cosmiconfig will search up the directory tree for configuration in the following places:
|
19
|
+
|
20
|
+
- a `myapp` property in `package.json`
|
21
|
+
- a `.myapprc` file in JSON or YAML format
|
22
|
+
- a `.myapprc.json`, `.myapprc.yaml`, `.myapprc.yml`, `.myapprc.js`, `.myapprc.ts`, `.myapprc.mjs`, or `.myapprc.cjs` file
|
23
|
+
- a `myapprc`, `myapprc.json`, `myapprc.yaml`, `myapprc.yml`, `myapprc.js`, `myapprc.ts`, `myapprc.mjs`, or `myapprc.cjs` file inside a `.config` subdirectory
|
24
|
+
- a `myapp.config.js`, `myapp.config.ts`, `myapp.config.mjs`, or `myapp.config.cjs` file
|
25
|
+
|
26
|
+
Optionally, you can tell it to search up the directory tree using [search strategies],
|
27
|
+
checking each of these places in each directory, until it finds some acceptable configuration (or hits the home directory).
|
28
|
+
|
29
|
+
## Table of contents
|
30
|
+
|
31
|
+
- [Installation](#installation)
|
32
|
+
- [Usage for tooling developers](#usage-for-tooling-developers)
|
33
|
+
- [Result](#result)
|
34
|
+
- [Asynchronous API](#asynchronous-api)
|
35
|
+
- [cosmiconfig()](#cosmiconfig-1)
|
36
|
+
- [explorer.search()](#explorersearch)
|
37
|
+
- [explorer.load()](#explorerload)
|
38
|
+
- [explorer.clearLoadCache()](#explorerclearloadcache)
|
39
|
+
- [explorer.clearSearchCache()](#explorerclearsearchcache)
|
40
|
+
- [explorer.clearCaches()](#explorerclearcaches)
|
41
|
+
- [Synchronous API](#synchronous-api)
|
42
|
+
- [cosmiconfigSync()](#cosmiconfigsync)
|
43
|
+
- [explorerSync.search()](#explorersyncsearch)
|
44
|
+
- [explorerSync.load()](#explorersyncload)
|
45
|
+
- [explorerSync.clearLoadCache()](#explorersyncclearloadcache)
|
46
|
+
- [explorerSync.clearSearchCache()](#explorersyncclearsearchcache)
|
47
|
+
- [explorerSync.clearCaches()](#explorersyncclearcaches)
|
48
|
+
- [cosmiconfigOptions](#cosmiconfigoptions)
|
49
|
+
- [searchStrategy](#searchstrategy)
|
50
|
+
- [searchPlaces](#searchplaces)
|
51
|
+
- [loaders](#loaders)
|
52
|
+
- [packageProp](#packageprop)
|
53
|
+
- [stopDir](#stopdir)
|
54
|
+
- [cache](#cache)
|
55
|
+
- [transform](#transform)
|
56
|
+
- [ignoreEmptySearchPlaces](#ignoreemptysearchplaces)
|
57
|
+
- [Loading JS modules](#loading-js-modules)
|
58
|
+
- [Caching](#caching)
|
59
|
+
- [Differences from rc](#differences-from-rc)
|
60
|
+
- [Usage for end users](#usage-for-end-users)
|
61
|
+
- [Imports](#imports)
|
62
|
+
- [Contributing & Development](#contributing--development)
|
63
|
+
|
64
|
+
## Installation
|
65
|
+
|
66
|
+
```
|
67
|
+
npm install cosmiconfig
|
68
|
+
```
|
69
|
+
|
70
|
+
Tested in Node 14+.
|
71
|
+
|
72
|
+
## Usage for tooling developers
|
73
|
+
|
74
|
+
*If you are an end user (i.e. a user of a tool that uses cosmiconfig, like `prettier` or `stylelint`),
|
75
|
+
you can skip down to [the end user section](#usage-for-end-users).*
|
76
|
+
|
77
|
+
Create a Cosmiconfig explorer, then either `search` for or directly `load` a configuration file.
|
78
|
+
|
79
|
+
```js
|
80
|
+
const { cosmiconfig, cosmiconfigSync } = require('cosmiconfig');
|
81
|
+
// ...
|
82
|
+
const explorer = cosmiconfig(moduleName);
|
83
|
+
|
84
|
+
// Search for a configuration by walking up directories.
|
85
|
+
// See documentation for search, below.
|
86
|
+
explorer.search()
|
87
|
+
.then((result) => {
|
88
|
+
// result.config is the parsed configuration object.
|
89
|
+
// result.filepath is the path to the config file that was found.
|
90
|
+
// result.isEmpty is true if there was nothing to parse in the config file.
|
91
|
+
})
|
92
|
+
.catch((error) => {
|
93
|
+
// Do something constructive.
|
94
|
+
});
|
95
|
+
|
96
|
+
// Load a configuration directly when you know where it should be.
|
97
|
+
// The result object is the same as for search.
|
98
|
+
// See documentation for load, below.
|
99
|
+
explorer.load(pathToConfig).then(/* ... */);
|
100
|
+
|
101
|
+
// You can also search and load synchronously.
|
102
|
+
const explorerSync = cosmiconfigSync(moduleName);
|
103
|
+
|
104
|
+
const searchedFor = explorerSync.search();
|
105
|
+
const loaded = explorerSync.load(pathToConfig);
|
106
|
+
```
|
107
|
+
|
108
|
+
## Result
|
109
|
+
|
110
|
+
The result object you get from `search` or `load` has the following properties:
|
111
|
+
|
112
|
+
- **config:** The parsed configuration object. `undefined` if the file is empty.
|
113
|
+
- **filepath:** The path to the configuration file that was found.
|
114
|
+
- **isEmpty:** `true` if the configuration file is empty. This property will not be present if the configuration file is not empty.
|
115
|
+
|
116
|
+
## Asynchronous API
|
117
|
+
|
118
|
+
### cosmiconfig()
|
119
|
+
|
120
|
+
```js
|
121
|
+
const { cosmiconfig } = require('cosmiconfig');
|
122
|
+
const explorer = cosmiconfig(moduleName, /* optional */ cosmiconfigOptions)
|
123
|
+
```
|
124
|
+
|
125
|
+
Creates a cosmiconfig instance ("explorer") configured according to the arguments, and initializes its caches.
|
126
|
+
|
127
|
+
#### moduleName
|
128
|
+
|
129
|
+
Type: `string`. **Required.**
|
130
|
+
|
131
|
+
Your module name. This is used to create the default [`searchPlaces`] and [`packageProp`].
|
132
|
+
|
133
|
+
If your [`searchPlaces`] value will include files, as it does by default (e.g. `${moduleName}rc`), your `moduleName` must consist of characters allowed in filenames. That means you should not copy scoped package names, such as `@my-org/my-package`, directly into `moduleName`.
|
134
|
+
|
135
|
+
**[`cosmiconfigOptions`] are documented below.**
|
136
|
+
You may not need them, and should first read about the functions you'll use.
|
137
|
+
|
138
|
+
### explorer.search()
|
139
|
+
|
140
|
+
```js
|
141
|
+
explorer.search([searchFrom]).then(result => { /* ... */ })
|
142
|
+
```
|
143
|
+
|
144
|
+
Searches for a configuration file. Returns a Promise that resolves with a [result] or with `null`, if no configuration file is found.
|
145
|
+
|
146
|
+
You can do the same thing synchronously with [`explorerSync.search()`].
|
147
|
+
|
148
|
+
Let's say your module name is `goldengrahams` so you initialized with `const explorer = cosmiconfig('goldengrahams');`.
|
149
|
+
Here's how your default [`search()`] will work:
|
150
|
+
|
151
|
+
- Starting from `process.cwd()` (or some other directory defined by the `searchFrom` argument to [`search()`]), look for configuration objects in the following places:
|
152
|
+
1. A `goldengrahams` property in a `package.json` file.
|
153
|
+
2. A `.goldengrahamsrc` file with JSON or YAML syntax.
|
154
|
+
3. A `.goldengrahamsrc.json`, `.goldengrahamsrc.yaml`, `.goldengrahamsrc.yml`, `.goldengrahamsrc.js`, `.goldengrahamsrc.ts`, `.goldengrahamsrc.mjs`, or `.goldengrahamsrc.cjs` file. (To learn more about how JS files are loaded, see ["Loading JS modules"].)
|
155
|
+
4. A `goldengrahamsrc`, `goldengrahamsrc.json`, `goldengrahamsrc.yaml`, `goldengrahamsrc.yml`, `goldengrahamsrc.js`, `goldengrahamsrc.ts`, `goldengrahamsrc.mjs`, or `goldengrahamsrc.cjs` file in the `.config` subdirectory.
|
156
|
+
5. A `goldengrahams.config.js`, `goldengrahams.config.ts`, `goldengrahams.config.mjs`, or `goldengrahams.config.cjs` file. (To learn more about how JS files are loaded, see ["Loading JS modules"].)
|
157
|
+
- If none of those searches reveal a configuration object, continue depending on the current search strategy:
|
158
|
+
- If it's `none` (which is the default if you don't specify a [`stopDir`] option), stop here and return/resolve with `null`.
|
159
|
+
- If it's `global` (which is the default if you specify a [`stopDir`] option), move up one directory level and try again,
|
160
|
+
recursing until arriving at the configured [`stopDir`] option, which defaults to the user's home directory.
|
161
|
+
- After arriving at the [`stopDir`], the global configuration directory (as defined by [`env-paths`] without prefix) is also checked,
|
162
|
+
looking at the files `config`, `config.json`, `config.yaml`, `config.yml`, `config.js`, `config.ts`, `config.cjs`, and `config.mjs`
|
163
|
+
in the directory `~/.config/goldengrahams/` (on Linux; see [`env-paths`] documentation for other OSs).
|
164
|
+
- If it's `project`, check whether a `package.json` file is present in the current directory, and if not,
|
165
|
+
move up one directory level and try again, recursing until there is one.
|
166
|
+
- If at any point a parsable configuration is found, the [`search()`] Promise resolves with its [result] \(or, with [`explorerSync.search()`], the [result] is returned).
|
167
|
+
- If no configuration object is found, the [`search()`] Promise resolves with `null` (or, with [`explorerSync.search()`], `null` is returned).
|
168
|
+
- If a configuration object is found *but is malformed* (causing a parsing error), the [`search()`] Promise rejects with that error (so you should `.catch()` it). (Or, with [`explorerSync.search()`], the error is thrown.)
|
169
|
+
|
170
|
+
**If you know exactly where your configuration file should be, you can use [`load()`], instead.**
|
171
|
+
|
172
|
+
**The search process is highly customizable.**
|
173
|
+
Use the cosmiconfig options [`searchPlaces`] and [`loaders`] to precisely define where you want to look for configurations and how you want to load them.
|
174
|
+
|
175
|
+
#### searchFrom
|
176
|
+
|
177
|
+
Type: `string`.
|
178
|
+
Default: `process.cwd()`.
|
179
|
+
|
180
|
+
A filename.
|
181
|
+
[`search()`] will start its search here.
|
182
|
+
|
183
|
+
If the value is a directory, that's where the search starts.
|
184
|
+
If it's a file, the search starts in that file's directory.
|
185
|
+
|
186
|
+
### explorer.load()
|
187
|
+
|
188
|
+
```js
|
189
|
+
explorer.load(loadPath).then(result => { /* ... */ })
|
190
|
+
```
|
191
|
+
|
192
|
+
Loads a configuration file. Returns a Promise that resolves with a [result] or rejects with an error (if the file does not exist or cannot be loaded).
|
193
|
+
|
194
|
+
Use `load` if you already know where the configuration file is and you just need to load it.
|
195
|
+
|
196
|
+
```js
|
197
|
+
explorer.load('load/this/file.json'); // Tries to load load/this/file.json.
|
198
|
+
```
|
199
|
+
|
200
|
+
If you load a `package.json` file, the result will be derived from whatever property is specified as your [`packageProp`].
|
201
|
+
`package.yaml` will work as well if you specify these file names in your [`searchPlaces`].
|
202
|
+
|
203
|
+
You can do the same thing synchronously with [`explorerSync.load()`].
|
204
|
+
|
205
|
+
### explorer.clearLoadCache()
|
206
|
+
|
207
|
+
Clears the cache used in [`load()`].
|
208
|
+
|
209
|
+
### explorer.clearSearchCache()
|
210
|
+
|
211
|
+
Clears the cache used in [`search()`].
|
212
|
+
|
213
|
+
### explorer.clearCaches()
|
214
|
+
|
215
|
+
Performs both [`clearLoadCache()`] and [`clearSearchCache()`].
|
216
|
+
|
217
|
+
## Synchronous API
|
218
|
+
|
219
|
+
### cosmiconfigSync()
|
220
|
+
|
221
|
+
```js
|
222
|
+
const { cosmiconfigSync } = require('cosmiconfig');
|
223
|
+
const explorerSync = cosmiconfigSync(moduleName, /* optional */ cosmiconfigOptions)
|
224
|
+
```
|
225
|
+
|
226
|
+
Creates a *synchronous* cosmiconfig instance ("explorerSync") configured according to the arguments, and initializes its caches.
|
227
|
+
|
228
|
+
See [`cosmiconfig()`](#cosmiconfig-1).
|
229
|
+
|
230
|
+
### explorerSync.search()
|
231
|
+
|
232
|
+
```js
|
233
|
+
const result = explorerSync.search([searchFrom]);
|
234
|
+
```
|
235
|
+
|
236
|
+
Synchronous version of [`explorer.search()`].
|
237
|
+
|
238
|
+
Returns a [result] or `null`.
|
239
|
+
|
240
|
+
### explorerSync.load()
|
241
|
+
|
242
|
+
```js
|
243
|
+
const result = explorerSync.load(loadPath);
|
244
|
+
```
|
245
|
+
|
246
|
+
Synchronous version of [`explorer.load()`].
|
247
|
+
|
248
|
+
Returns a [result].
|
249
|
+
|
250
|
+
### explorerSync.clearLoadCache()
|
251
|
+
|
252
|
+
Clears the cache used in [`load()`].
|
253
|
+
|
254
|
+
### explorerSync.clearSearchCache()
|
255
|
+
|
256
|
+
Clears the cache used in [`search()`].
|
257
|
+
|
258
|
+
### explorerSync.clearCaches()
|
259
|
+
|
260
|
+
Performs both [`clearLoadCache()`] and [`clearSearchCache()`].
|
261
|
+
|
262
|
+
## cosmiconfigOptions
|
263
|
+
|
264
|
+
Type: `Object`.
|
265
|
+
|
266
|
+
Possible options are documented below.
|
267
|
+
|
268
|
+
### searchStrategy
|
269
|
+
|
270
|
+
Type: `string`
|
271
|
+
Default: `global` if [`stopDir`] is specified, `none` otherwise.
|
272
|
+
|
273
|
+
The strategy that should be used to determine which directories to check for configuration files.
|
274
|
+
|
275
|
+
- `none`: Only checks in the current working directory.
|
276
|
+
- `project`: Starts in the current working directory, traversing upwards until a `package.{json,yaml}` file is found.
|
277
|
+
- `global`: Starts in the current working directory, traversing upwards until the configured [`stopDir`]
|
278
|
+
(or the current user's home directory if none is given). Then, if no configuration is found, also look in the
|
279
|
+
operating system's default configuration directory (according to [`env-paths`] without prefix),
|
280
|
+
where a different set of file names is checked:
|
281
|
+
|
282
|
+
```js
|
283
|
+
[
|
284
|
+
`config`,
|
285
|
+
`config.json`,
|
286
|
+
`config.yaml`,
|
287
|
+
`config.yml`,
|
288
|
+
`config.js`,
|
289
|
+
`config.ts`,
|
290
|
+
`config.cjs`,
|
291
|
+
`config.mjs`
|
292
|
+
]
|
293
|
+
```
|
294
|
+
|
295
|
+
### searchPlaces
|
296
|
+
|
297
|
+
Type: `Array<string>`.
|
298
|
+
Default: See below.
|
299
|
+
|
300
|
+
An array of places that [`search()`] will check in each directory as it moves up the directory tree.
|
301
|
+
Each place is relative to the directory being searched, and the places are checked in the specified order.
|
302
|
+
|
303
|
+
**Default `searchPlaces`:**
|
304
|
+
|
305
|
+
For the [asynchronous API](#asynchronous-api), these are the default `searchPlaces`:
|
306
|
+
|
307
|
+
```js
|
308
|
+
[
|
309
|
+
'package.json',
|
310
|
+
`.${moduleName}rc`,
|
311
|
+
`.${moduleName}rc.json`,
|
312
|
+
`.${moduleName}rc.yaml`,
|
313
|
+
`.${moduleName}rc.yml`,
|
314
|
+
`.${moduleName}rc.js`,
|
315
|
+
`.${moduleName}rc.ts`,
|
316
|
+
`.${moduleName}rc.mjs`,
|
317
|
+
`.${moduleName}rc.cjs`,
|
318
|
+
`.config/${moduleName}rc`,
|
319
|
+
`.config/${moduleName}rc.json`,
|
320
|
+
`.config/${moduleName}rc.yaml`,
|
321
|
+
`.config/${moduleName}rc.yml`,
|
322
|
+
`.config/${moduleName}rc.js`,
|
323
|
+
`.config/${moduleName}rc.ts`,
|
324
|
+
`.config/${moduleName}rc.mjs`,
|
325
|
+
`.config/${moduleName}rc.cjs`,
|
326
|
+
`${moduleName}.config.js`,
|
327
|
+
`${moduleName}.config.ts`,
|
328
|
+
`${moduleName}.config.mjs`,
|
329
|
+
`${moduleName}.config.cjs`,
|
330
|
+
];
|
331
|
+
```
|
332
|
+
|
333
|
+
For the [synchronous API](#synchronous-api), the only difference is that `.mjs` files are not included. See ["Loading JS modules"] for more information.
|
334
|
+
|
335
|
+
Create your own array to search more, fewer, or altogether different places.
|
336
|
+
|
337
|
+
Every item in `searchPlaces` needs to have a loader in [`loaders`] that corresponds to its extension.
|
338
|
+
(Common extensions are covered by default loaders.)
|
339
|
+
Read more about [`loaders`] below.
|
340
|
+
|
341
|
+
`package.json` is a special value: When it is included in `searchPlaces`, Cosmiconfig will always parse it as JSON and load a property within it, not the whole file.
|
342
|
+
That property is defined with the [`packageProp`] option, and defaults to your module name.
|
343
|
+
|
344
|
+
`package.yaml` (used by pnpm) works the same way.
|
345
|
+
|
346
|
+
Examples, with a module named `porgy`:
|
347
|
+
|
348
|
+
```js
|
349
|
+
// Disallow extensions on rc files:
|
350
|
+
['package.json', '.porgyrc', 'porgy.config.js']
|
351
|
+
```
|
352
|
+
|
353
|
+
```js
|
354
|
+
// Limit the options dramatically:
|
355
|
+
['package.json', '.porgyrc']
|
356
|
+
```
|
357
|
+
|
358
|
+
```js
|
359
|
+
// Maybe you want to look for a wide variety of JS flavors:
|
360
|
+
[
|
361
|
+
'porgy.config.js',
|
362
|
+
'porgy.config.mjs',
|
363
|
+
'porgy.config.ts',
|
364
|
+
'porgy.config.coffee'
|
365
|
+
]
|
366
|
+
// ^^ You will need to designate a custom loader to tell
|
367
|
+
// Cosmiconfig how to handle `.coffee` files.
|
368
|
+
```
|
369
|
+
|
370
|
+
```js
|
371
|
+
// Look within a .config/ subdirectory of every searched directory:
|
372
|
+
[
|
373
|
+
'package.json',
|
374
|
+
'.porgyrc',
|
375
|
+
'.config/.porgyrc',
|
376
|
+
'.porgyrc.json',
|
377
|
+
'.config/.porgyrc.json'
|
378
|
+
]
|
379
|
+
```
|
380
|
+
|
381
|
+
### loaders
|
382
|
+
|
383
|
+
Type: `Object`.
|
384
|
+
Default: See below.
|
385
|
+
|
386
|
+
An object that maps extensions to the loader functions responsible for loading and parsing files with those extensions.
|
387
|
+
|
388
|
+
Cosmiconfig exposes its default loaders on the named export `defaultLoaders` and `defaultLoadersSync`.
|
389
|
+
|
390
|
+
**Default `loaders`:**
|
391
|
+
|
392
|
+
```js
|
393
|
+
const { defaultLoaders, defaultLoadersSync } = require('cosmiconfig');
|
394
|
+
|
395
|
+
console.log(Object.entries(defaultLoaders));
|
396
|
+
// [
|
397
|
+
// [ '.mjs', [Function: loadJs] ],
|
398
|
+
// [ '.cjs', [Function: loadJs] ],
|
399
|
+
// [ '.js', [Function: loadJs] ],
|
400
|
+
// [ '.ts', [Function: loadTs] ],
|
401
|
+
// [ '.json', [Function: loadJson] ],
|
402
|
+
// [ '.yaml', [Function: loadYaml] ],
|
403
|
+
// [ '.yml', [Function: loadYaml] ],
|
404
|
+
// [ 'noExt', [Function: loadYaml] ]
|
405
|
+
// ]
|
406
|
+
|
407
|
+
console.log(Object.entries(defaultLoadersSync));
|
408
|
+
// [
|
409
|
+
// [ '.cjs', [Function: loadJsSync] ],
|
410
|
+
// [ '.js', [Function: loadJsSync] ],
|
411
|
+
// [ '.ts', [Function: loadTsSync] ],
|
412
|
+
// [ '.json', [Function: loadJson] ],
|
413
|
+
// [ '.yaml', [Function: loadYaml] ],
|
414
|
+
// [ '.yml', [Function: loadYaml] ],
|
415
|
+
// [ 'noExt', [Function: loadYaml] ]
|
416
|
+
// ]
|
417
|
+
```
|
418
|
+
|
419
|
+
(YAML is a superset of JSON; which means YAML parsers can parse JSON; which is how extensionless files can be either YAML *or* JSON with only one parser.)
|
420
|
+
|
421
|
+
**If you provide a `loaders` object, your object will be *merged* with the defaults.**
|
422
|
+
So you can override one or two without having to override them all.
|
423
|
+
|
424
|
+
**Keys in `loaders`** are extensions (starting with a period), or `noExt` to specify the loader for files *without* extensions, like `.myapprc`.
|
425
|
+
|
426
|
+
**Values in `loaders`** are a loader function (described below) whose values are loader functions.
|
427
|
+
|
428
|
+
**The most common use case for custom loaders value is to load extensionless `rc` files as strict JSON**, instead of JSON *or* YAML (the default).
|
429
|
+
To accomplish that, provide the following `loaders` value:
|
430
|
+
|
431
|
+
```js
|
432
|
+
{
|
433
|
+
noExt: defaultLoaders['.json'];
|
434
|
+
}
|
435
|
+
```
|
436
|
+
|
437
|
+
If you want to load files that are not handled by the loader functions Cosmiconfig exposes, you can write a custom loader function or use one from NPM if it exists.
|
438
|
+
|
439
|
+
**Use cases for custom loader function:**
|
440
|
+
|
441
|
+
- Allow configuration syntaxes that aren't handled by Cosmiconfig's defaults, like JSON5, INI, or XML.
|
442
|
+
- Parse JS files with Babel before deriving the configuration.
|
443
|
+
|
444
|
+
**Custom loader functions** have the following signature:
|
445
|
+
|
446
|
+
```ts
|
447
|
+
// Sync
|
448
|
+
type SyncLoader = (filepath: string, content: string) => Object | null
|
449
|
+
|
450
|
+
// Async
|
451
|
+
type AsyncLoader = (filepath: string, content: string) => Object | null | Promise<Object | null>
|
452
|
+
```
|
453
|
+
|
454
|
+
Cosmiconfig reads the file when it checks whether the file exists, so it will provide you with both the file's path and its content.
|
455
|
+
Do whatever you need to, and return either a configuration object or `null` (or, for async-only loaders, a Promise that resolves with one of those).
|
456
|
+
`null` indicates that no real configuration was found and the search should continue.
|
457
|
+
|
458
|
+
A few things to note:
|
459
|
+
|
460
|
+
- If you use a custom loader, be aware of whether it's sync or async: you cannot use async customer loaders with the sync API ([`cosmiconfigSync()`]).
|
461
|
+
- **Special JS syntax can also be handled by using a `require` hook**, because `defaultLoaders['.js']` just uses `require`.
|
462
|
+
Whether you use custom loaders or a `require` hook is up to you.
|
463
|
+
|
464
|
+
Examples:
|
465
|
+
|
466
|
+
```js
|
467
|
+
// Allow JSON5 syntax:
|
468
|
+
cosmiconfig('foo', {
|
469
|
+
loaders: {
|
470
|
+
'.json': json5Loader
|
471
|
+
}
|
472
|
+
});
|
473
|
+
|
474
|
+
// Allow a special configuration syntax of your own creation:
|
475
|
+
cosmiconfig('foo', {
|
476
|
+
loaders: {
|
477
|
+
'.special': specialLoader
|
478
|
+
}
|
479
|
+
});
|
480
|
+
|
481
|
+
// Allow many flavors of JS, using custom loaders:
|
482
|
+
cosmiconfig('foo', {
|
483
|
+
loaders: {
|
484
|
+
'.coffee': coffeeScriptLoader
|
485
|
+
}
|
486
|
+
});
|
487
|
+
|
488
|
+
// Allow many flavors of JS but rely on require hooks:
|
489
|
+
cosmiconfig('foo', {
|
490
|
+
loaders: {
|
491
|
+
'.coffee': defaultLoaders['.js']
|
492
|
+
}
|
493
|
+
});
|
494
|
+
```
|
495
|
+
|
496
|
+
### packageProp
|
497
|
+
|
498
|
+
Type: `string | Array<string>`.
|
499
|
+
Default: `` `${moduleName}` ``.
|
500
|
+
|
501
|
+
Name of the property in `package.json` (or `package.yaml`) to look for.
|
502
|
+
|
503
|
+
Use a period-delimited string or an array of strings to describe a path to nested properties.
|
504
|
+
|
505
|
+
For example, the value `'configs.myPackage'` or `['configs', 'myPackage']` will get you the `"myPackage"` value in a `package.json` like this:
|
506
|
+
|
507
|
+
```json
|
508
|
+
{
|
509
|
+
"configs": {
|
510
|
+
"myPackage": {"option": "value"}
|
511
|
+
}
|
512
|
+
}
|
513
|
+
```
|
514
|
+
|
515
|
+
If nested property names within the path include periods, you need to use an array of strings. For example, the value `['configs', 'foo.bar', 'baz']` will get you the `"baz"` value in a `package.json` like this:
|
516
|
+
|
517
|
+
```json
|
518
|
+
{
|
519
|
+
"configs": {
|
520
|
+
"foo.bar": {
|
521
|
+
"baz": {"option": "value"}
|
522
|
+
}
|
523
|
+
}
|
524
|
+
}
|
525
|
+
```
|
526
|
+
|
527
|
+
If a string includes period but corresponds to a top-level property name, it will not be interpreted as a period-delimited path. For example, the value `'one.two'` will get you the `"three"` value in a `package.json` like this:
|
528
|
+
|
529
|
+
```json
|
530
|
+
{
|
531
|
+
"one.two": "three",
|
532
|
+
"one": {
|
533
|
+
"two": "four"
|
534
|
+
}
|
535
|
+
}
|
536
|
+
```
|
537
|
+
|
538
|
+
### stopDir
|
539
|
+
|
540
|
+
Type: `string`.
|
541
|
+
Default: Absolute path to your home directory.
|
542
|
+
|
543
|
+
Directory where the search will stop.
|
544
|
+
|
545
|
+
### cache
|
546
|
+
|
547
|
+
Type: `boolean`.
|
548
|
+
Default: `true`.
|
549
|
+
|
550
|
+
If `false`, no caches will be used.
|
551
|
+
Read more about ["Caching"](#caching) below.
|
552
|
+
|
553
|
+
### transform
|
554
|
+
|
555
|
+
Type: `(Result) => Promise<Result> | Result`.
|
556
|
+
|
557
|
+
A function that transforms the parsed configuration. Receives the [result].
|
558
|
+
|
559
|
+
If using [`search()`] or [`load()`] \(which are async), the transform function can return the transformed result or return a Promise that resolves with the transformed result.
|
560
|
+
If using `cosmiconfigSync`, [`search()`] or [`load()`], the function must be synchronous and return the transformed result.
|
561
|
+
|
562
|
+
The reason you might use this option — instead of simply applying your transform function some other way — is that *the transformed result will be cached*. If your transformation involves additional filesystem I/O or other potentially slow processing, you can use this option to avoid repeating those steps every time a given configuration is searched or loaded.
|
563
|
+
|
564
|
+
### ignoreEmptySearchPlaces
|
565
|
+
|
566
|
+
Type: `boolean`.
|
567
|
+
Default: `true`.
|
568
|
+
|
569
|
+
By default, if [`search()`] encounters an empty file (containing nothing but whitespace) in one of the [`searchPlaces`], it will ignore the empty file and move on.
|
570
|
+
If you'd like to load empty configuration files, instead, set this option to `false`.
|
571
|
+
|
572
|
+
Why might you want to load empty configuration files?
|
573
|
+
If you want to throw an error, or if an empty configuration file means something to your program.
|
574
|
+
|
575
|
+
## Loading JS modules
|
576
|
+
|
577
|
+
Your end users can provide JS configuration files as ECMAScript modules (ESM) under the following conditions:
|
578
|
+
|
579
|
+
- You (the cosmiconfig user) use cosmiconfig's [asynchronous API](#asynchronous-api).
|
580
|
+
- Your end user runs a version of Node that supports ESM ([>=12.17.0](https://nodejs.org/en/blog/release/v12.17.0/), or earlier with the `--experimental-modules` flag).
|
581
|
+
- Your end user provides an `.mjs` configuration file, or a `.js` file whose nearest parent `package.json` file contains `"type": "module"`. (See [Node's method for determining a file's module system](https://nodejs.org/api/packages.html#packages_determining_module_system).)
|
582
|
+
|
583
|
+
With cosmiconfig's [asynchronous API](#asynchronous-api), the default [`searchPlaces`] include `.js`, `.ts`, `.mjs`, and `.cjs` files. Cosmiconfig loads all these file types with the [dynamic `import` function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports).
|
584
|
+
|
585
|
+
With the [synchronous API](#synchronous-api), JS configuration files are always treated as CommonJS, and `.mjs` files are ignored, because there is no synchronous API for the dynamic `import` function.
|
586
|
+
|
587
|
+
## Caching
|
588
|
+
|
589
|
+
As of v2, cosmiconfig uses caching to reduce the need for repetitious reading of the filesystem or expensive transforms. Every new cosmiconfig instance (created with `cosmiconfig()`) has its own caches.
|
590
|
+
|
591
|
+
To avoid or work around caching, you can do the following:
|
592
|
+
|
593
|
+
- Set the `cosmiconfig` option [`cache`] to `false`.
|
594
|
+
- Use the cache-clearing methods [`clearLoadCache()`], [`clearSearchCache()`], and [`clearCaches()`].
|
595
|
+
- Create separate instances of cosmiconfig (separate "explorers").
|
596
|
+
|
597
|
+
## Differences from [rc](https://github.com/dominictarr/rc)
|
598
|
+
|
599
|
+
[rc](https://github.com/dominictarr/rc) serves its focused purpose well. cosmiconfig differs in a few key ways — making it more useful for some projects, less useful for others:
|
600
|
+
|
601
|
+
- Looks for configuration in some different places: in a `package.json` property, an rc file, a `.config.js` file, and rc files with extensions.
|
602
|
+
- Built-in support for JSON, YAML, and CommonJS formats.
|
603
|
+
- Stops at the first configuration found, instead of finding all that can be found up the directory tree and merging them automatically.
|
604
|
+
- Options.
|
605
|
+
- Asynchronous by default (though can be run synchronously).
|
606
|
+
|
607
|
+
## Usage for end users
|
608
|
+
|
609
|
+
When configuring a tool, you can use multiple file formats and put these in multiple places.
|
610
|
+
|
611
|
+
Usually, a tool would mention this in its own README file,
|
612
|
+
but by default, these are the following places, where `{NAME}` represents the name of the tool:
|
613
|
+
|
614
|
+
```
|
615
|
+
package.json
|
616
|
+
.{NAME}rc
|
617
|
+
.{NAME}rc.json
|
618
|
+
.{NAME}rc.yaml
|
619
|
+
.{NAME}rc.yml
|
620
|
+
.{NAME}rc.js
|
621
|
+
.{NAME}rc.ts
|
622
|
+
.{NAME}rc.cjs
|
623
|
+
.config/{NAME}rc
|
624
|
+
.config/{NAME}rc.json
|
625
|
+
.config/{NAME}rc.yaml
|
626
|
+
.config/{NAME}rc.yml
|
627
|
+
.config/{NAME}rc.js
|
628
|
+
.config/{NAME}rc.ts
|
629
|
+
.config/{NAME}rc.mjs
|
630
|
+
.config/{NAME}rc.cjs
|
631
|
+
{NAME}.config.js
|
632
|
+
{NAME}.config.ts
|
633
|
+
{NAME}.config.mjs
|
634
|
+
{NAME}.config.cjs
|
635
|
+
```
|
636
|
+
|
637
|
+
The contents of these files are defined by the tool.
|
638
|
+
For example, you can configure prettier to enforce semicolons at the end of the line
|
639
|
+
using a file named `.config/prettierrc.yml`:
|
640
|
+
|
641
|
+
```yaml
|
642
|
+
semi: true
|
643
|
+
```
|
644
|
+
|
645
|
+
Additionally, you have the option to put a property named after the tool in your `package.json` file,
|
646
|
+
with the contents of that property being the same as the file contents. To use the same example as above:
|
647
|
+
|
648
|
+
```json
|
649
|
+
{
|
650
|
+
"name": "your-project",
|
651
|
+
"dependencies": {},
|
652
|
+
"prettier": {
|
653
|
+
"semi": true
|
654
|
+
}
|
655
|
+
}
|
656
|
+
```
|
657
|
+
|
658
|
+
This has the advantage that you can put the configuration of all tools
|
659
|
+
(at least the ones that use cosmiconfig) in one file.
|
660
|
+
|
661
|
+
You can also add a `cosmiconfig` key within your `package.json` file or create one of the following files
|
662
|
+
to configure `cosmiconfig` itself:
|
663
|
+
|
664
|
+
```
|
665
|
+
.config/config.json
|
666
|
+
.config/config.yaml
|
667
|
+
.config/config.yml
|
668
|
+
.config/config.js
|
669
|
+
.config/config.ts
|
670
|
+
.config/config.cjs
|
671
|
+
```
|
672
|
+
|
673
|
+
The following properties are currently actively supported in these places:
|
674
|
+
|
675
|
+
```yaml
|
676
|
+
cosmiconfig:
|
677
|
+
# adds places where configuration files are being searched
|
678
|
+
searchPlaces:
|
679
|
+
- .config/{name}.yml
|
680
|
+
# to enforce a custom naming convention and format, don't merge the above with the tool-defined search places
|
681
|
+
# (`true` is the default setting)
|
682
|
+
mergeSearchPlaces: false
|
683
|
+
```
|
684
|
+
|
685
|
+
> **Note:** technically, you can overwrite all options described in [cosmiconfigOptions](#cosmiconfigoptions) here,
|
686
|
+
> but everything not listed above should be used at your own risk, as it has not been tested explicitly.
|
687
|
+
> The only exceptions to this are the `loaders` property, which is explicitly not supported at this time,
|
688
|
+
> and the `searchStrategy` property, which is intentionally disallowed.
|
689
|
+
|
690
|
+
You can also add more root properties outside the `cosmiconfig` property
|
691
|
+
to configure your tools, entirely eliminating the need to look for additional configuration files:
|
692
|
+
|
693
|
+
```yaml
|
694
|
+
cosmiconfig:
|
695
|
+
searchPlaces: []
|
696
|
+
|
697
|
+
prettier:
|
698
|
+
semi: true
|
699
|
+
```
|
700
|
+
|
701
|
+
### Imports
|
702
|
+
|
703
|
+
Wherever you put your configuration (the package.json file, a root config file or a package-specific config file),
|
704
|
+
you can use the special `$import` key to import another file as a base.
|
705
|
+
|
706
|
+
For example, you can import from an npm package (in this example, `@foocorp/config`).
|
707
|
+
|
708
|
+
`.prettierrc.base.yml` in said npm package could define some company-wide defaults:
|
709
|
+
|
710
|
+
```yaml
|
711
|
+
printWidth: 120
|
712
|
+
semi: true
|
713
|
+
tabWidth: 2
|
714
|
+
```
|
715
|
+
|
716
|
+
And then, the `.prettierrc.yml` file in the project itself would just reference that file,
|
717
|
+
optionally overriding the defaults with project-specific settings:
|
718
|
+
|
719
|
+
```yaml
|
720
|
+
$import: node_modules/@foocorp/config/.prettierrc.base.yml
|
721
|
+
# we want more space!
|
722
|
+
printWidth: 200
|
723
|
+
```
|
724
|
+
|
725
|
+
It is possible to import multiple base files by specifying an array of paths,
|
726
|
+
which will be processed in declaration order;
|
727
|
+
that means that the last entry will win if there are conflicting properties.
|
728
|
+
|
729
|
+
It is also possible to import file formats other than the importing format
|
730
|
+
as long as they are supported by the loaders specified by the developer of the tool you're configuring.
|
731
|
+
|
732
|
+
```yaml
|
733
|
+
$import: [first.yml, second.json, third.config.js]
|
734
|
+
```
|
735
|
+
|
736
|
+
## Contributing & Development
|
737
|
+
|
738
|
+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
739
|
+
|
740
|
+
And please do participate!
|
741
|
+
|
742
|
+
[result]: #result
|
743
|
+
|
744
|
+
[`load()`]: #explorerload
|
745
|
+
|
746
|
+
[`search()`]: #explorersearch
|
747
|
+
|
748
|
+
[`clearloadcache()`]: #explorerclearloadcache
|
749
|
+
|
750
|
+
[`clearsearchcache()`]: #explorerclearsearchcache
|
751
|
+
|
752
|
+
[`cosmiconfig()`]: #cosmiconfig
|
753
|
+
|
754
|
+
[`cosmiconfigSync()`]: #cosmiconfigsync
|
755
|
+
|
756
|
+
[`clearcaches()`]: #explorerclearcaches
|
757
|
+
|
758
|
+
[`packageprop`]: #packageprop
|
759
|
+
|
760
|
+
[`cache`]: #cache
|
761
|
+
|
762
|
+
[`stopdir`]: #stopdir
|
763
|
+
|
764
|
+
[`searchplaces`]: #searchplaces
|
765
|
+
|
766
|
+
[`loaders`]: #loaders
|
767
|
+
|
768
|
+
[`cosmiconfigoptions`]: #cosmiconfigoptions
|
769
|
+
|
770
|
+
[`explorerSync.search()`]: #explorersyncsearch
|
771
|
+
|
772
|
+
[`explorerSync.load()`]: #explorersyncload
|
773
|
+
|
774
|
+
[`explorer.search()`]: #explorersearch
|
775
|
+
|
776
|
+
[`explorer.load()`]: #explorerload
|
777
|
+
|
778
|
+
["Loading JS modules"]: #loading-js-modules
|
779
|
+
|
780
|
+
[`env-paths`]: https://github.com/sindresorhus/env-paths
|
781
|
+
|
782
|
+
[search strategies]: #searchstrategy
|