@vituum/vite-plugin-postcss 1.0.0-beta.1 → 1.0.0

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/README.md CHANGED
@@ -27,5 +27,5 @@ Read the [docs](https://vituum.dev/plugins/postcss.html) to learn more about plu
27
27
 
28
28
  ### Requirements
29
29
 
30
- - [Node.js LTS (18.x)](https://nodejs.org/en/download/)
30
+ - [Node.js LTS (16.x)](https://nodejs.org/en/download/)
31
31
  - [Vite](https://vitejs.dev/)
package/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "@vituum/vite-plugin-postcss",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
+ "types": "types/index.d.ts",
6
7
  "scripts": {
7
8
  "tsc": "tsc",
8
9
  "eslint": "eslint '**/*.js' --fix"
9
10
  },
10
11
  "dependencies": {
11
- "vituum": "^1.0.0-beta.3",
12
+ "vituum": "^1.0.0",
12
13
  "lodash": "^4.17.21",
13
14
  "autoprefixer": "^10.4.14",
14
15
  "postcss": "^8.4.24",
15
16
  "postcss-import": "^15.1.0",
16
17
  "postcss-nesting": "^11.3.0",
17
- "postcss-custom-media": "^9.1.4"
18
+ "postcss-custom-media": "^9.1.5"
18
19
  },
19
20
  "devDependencies": {
20
- "@types/node": "^20.3.1",
21
+ "@types/node": "^20.3.2",
21
22
  "vite": "^4.3.9",
22
23
  "eslint": "^8.43.0",
23
24
  "eslint-config-standard": "^17.1.0",
@@ -32,7 +33,7 @@
32
33
  "./types": "./types/*"
33
34
  },
34
35
  "engines": {
35
- "node": ">=18.0.0",
36
+ "node": ">=16.0.0",
36
37
  "npm": ">=9.0.0"
37
38
  },
38
39
  "repository": {
package/types/index.d.ts CHANGED
@@ -4,3 +4,5 @@ export interface PluginUserConfig {
4
4
  customMedia?: import('postcss-custom-media').pluginOptions
5
5
  autoprefixer?: import('autoprefixer').Options
6
6
  }
7
+
8
+ export default function plugin(options?: PluginUserConfig) : import('vite').Plugin