diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
| commit | f06956efd2dc4bf77244a9fcce2b883a00b925af (patch) | |
| tree | 0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@csstools/postcss-initial | |
| parent | 8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff) | |
updated node modules
Diffstat (limited to 'node_modules/@csstools/postcss-initial')
5 files changed, 23 insertions, 34 deletions
diff --git a/node_modules/@csstools/postcss-initial/CHANGELOG.md b/node_modules/@csstools/postcss-initial/CHANGELOG.md index 296a43b5..dd4e3eb9 100644 --- a/node_modules/@csstools/postcss-initial/CHANGELOG.md +++ b/node_modules/@csstools/postcss-initial/CHANGELOG.md @@ -1,5 +1,11 @@ # Changes to PostCSS Initial +### 1.0.1 + +_December 15, 2023_ + +- Fix type definitions + ### 1.0.0 _September 18, 2023_ diff --git a/node_modules/@csstools/postcss-initial/dist/has-fallback-decl.d.ts b/node_modules/@csstools/postcss-initial/dist/has-fallback-decl.d.ts deleted file mode 100644 index c044b787..00000000 --- a/node_modules/@csstools/postcss-initial/dist/has-fallback-decl.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { Declaration } from 'postcss'; -export declare function hasExactFallback(node: Declaration, newValue: string): boolean; diff --git a/node_modules/@csstools/postcss-initial/dist/index.d.ts b/node_modules/@csstools/postcss-initial/dist/index.d.ts index 55f858c1..20f8fc5d 100644 --- a/node_modules/@csstools/postcss-initial/dist/index.d.ts +++ b/node_modules/@csstools/postcss-initial/dist/index.d.ts @@ -1,8 +1,12 @@ import type { PluginCreator } from 'postcss'; + +declare const creator: PluginCreator<pluginOptions>; +export default creator; + /** postcss-initial plugin options */ -export type pluginOptions = { +export declare type pluginOptions = { /** Preserve the original notation. default: false */ preserve?: boolean; }; -declare const creator: PluginCreator<pluginOptions>; -export default creator; + +export { } diff --git a/node_modules/@csstools/postcss-initial/dist/properties.d.ts b/node_modules/@csstools/postcss-initial/dist/properties.d.ts deleted file mode 100644 index 5345546e..00000000 --- a/node_modules/@csstools/postcss-initial/dist/properties.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const properties: Map<string, string>; -export declare const allProperties: string[]; diff --git a/node_modules/@csstools/postcss-initial/package.json b/node_modules/@csstools/postcss-initial/package.json index d5b6e09e..961cbbf9 100644 --- a/node_modules/@csstools/postcss-initial/package.json +++ b/node_modules/@csstools/postcss-initial/package.json @@ -1,7 +1,7 @@ { "name": "@csstools/postcss-initial", "description": "PostCSS plugin to fallback initial keyword.", - "version": "1.0.0", + "version": "1.0.1", "contributors": [ { "name": "Antonio Laguna", @@ -27,15 +27,18 @@ "engines": { "node": "^14 || ^16 || >=18" }, + "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", - "types": "dist/index.d.ts", "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", - "default": "./dist/index.mjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" + }, + "require": { + "default": "./dist/index.cjs" + } } }, "files": [ @@ -47,17 +50,6 @@ "peerDependencies": { "postcss": "^8.4" }, - "devDependencies": { - "@csstools/postcss-tape": "*" - }, - "scripts": { - "build": "rollup -c ../../rollup/default.mjs", - "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", - "lint": "node ../../.github/bin/format-package-json.mjs", - "prepublishOnly": "npm run build && npm run test", - "test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs", - "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" - }, "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-initial#readme", "repository": { "type": "git", @@ -67,14 +59,5 @@ "bugs": "https://github.com/csstools/postcss-plugins/issues", "keywords": [ "postcss-plugin" - ], - "csstools": { - "cssdbId": "all-property", - "exportName": "postcssInitial", - "humanReadableName": "PostCSS Initial", - "specUrl": "https://www.w3.org/TR/css-cascade-4/#initial" - }, - "volta": { - "extends": "../../package.json" - } + ] } |
