postcss-load-config
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "postcss-load-config", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Autoload Config for PostCSS", | ||
@@ -13,9 +13,15 @@ "main": "src/index.js", | ||
}, | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/postcss/" | ||
}, | ||
"funding": [ | ||
{ | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/postcss/" | ||
}, | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/ai" | ||
} | ||
], | ||
"dependencies": { | ||
"lilconfig": "^2.0.5", | ||
"yaml": "^2.1.1" | ||
"lilconfig": "^3.0.0", | ||
"yaml": "^2.3.4" | ||
}, | ||
@@ -22,0 +28,0 @@ "peerDependencies": { |
@@ -1,9 +0,3 @@ | ||
[![npm][npm]][npm-url] | ||
[![node][node]][node-url] | ||
[![deps][deps]][deps-url] | ||
[![test][test]][test-url] | ||
[![coverage][cover]][cover-url] | ||
[![code style][style]][style-url] | ||
[![chat][chat]][chat-url] | ||
<div align="center"> | ||
@@ -100,2 +94,3 @@ <img width="100" height="100" title="Load Options" src="http://michael-ciniawsky.github.io/postcss-load-options/logo.svg"> | ||
- `.postcssrc.ts` | ||
- `.postcssrc.cts` | ||
- `postcss.config.js` | ||
@@ -105,2 +100,3 @@ - `postcss.config.mjs` | ||
- `postcss.config.ts` | ||
- `postcss.config.cts` | ||
@@ -111,3 +107,3 @@ ``` | ||
|– public | ||
|- (.postcssrc|postcss.config).(js|mjs|cjs|ts) | ||
|- (.postcssrc|postcss.config).(js|mjs|cjs|ts|cts) | ||
|- package.json | ||
@@ -465,26 +461,5 @@ ``` | ||
<tbody> | ||
</table> | ||
</table | ||
[npm]: https://img.shields.io/npm/v/postcss-load-config.svg | ||
[npm-url]: https://npmjs.com/package/postcss-load-config | ||
[node]: https://img.shields.io/node/v/postcss-load-plugins.svg | ||
[node-url]: https://nodejs.org/ | ||
[deps]: https://david-dm.org/michael-ciniawsky/postcss-load-config.svg | ||
[deps-url]: https://david-dm.org/michael-ciniawsky/postcss-load-config | ||
[test]: http://img.shields.io/travis/michael-ciniawsky/postcss-load-config.svg | ||
[test-url]: https://travis-ci.org/michael-ciniawsky/postcss-load-config | ||
[cover]: https://coveralls.io/repos/github/michael-ciniawsky/postcss-load-config/badge.svg | ||
[cover-url]: https://coveralls.io/github/michael-ciniawsky/postcss-load-config | ||
[style]: https://img.shields.io/badge/code%20style-standard-yellow.svg | ||
[style-url]: http://standardjs.com/ | ||
[chat]: https://img.shields.io/gitter/room/postcss/postcss.svg | ||
[chat-url]: https://gitter.im/postcss/postcss | ||
## Security Contact | ||
@@ -491,0 +466,0 @@ |
@@ -88,2 +88,3 @@ 'use strict' | ||
`.${moduleName}rc.ts`, | ||
`.${moduleName}rc.cts`, | ||
`.${moduleName}rc.js`, | ||
@@ -93,2 +94,3 @@ `.${moduleName}rc.cjs`, | ||
`${moduleName}.config.ts`, | ||
`${moduleName}.config.cts`, | ||
`${moduleName}.config.js`, | ||
@@ -105,3 +107,4 @@ `${moduleName}.config.cjs`, | ||
'.mjs': importDefault, | ||
'.ts': loader | ||
'.ts': loader, | ||
'.cts': loader | ||
} | ||
@@ -118,3 +121,6 @@ } | ||
// Register TypeScript compiler instance | ||
registerer = require('ts-node').register() | ||
registerer = require('ts-node').register({ | ||
// transpile to cjs even if compilerOptions.module in tsconfig is not Node16/NodeNext. | ||
moduleTypes: { '**/*.cts': 'cjs' } | ||
}) | ||
@@ -121,0 +127,0 @@ return require(configFile) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340
21626
467
+ Addedlilconfig@3.1.2(transitive)
- Removedlilconfig@2.1.0(transitive)
Updatedlilconfig@^3.0.0
Updatedyaml@^2.3.4