windicss-webpack-plugin
Advanced tools
Comparing version 1.6.2 to 1.6.4
import webpack from 'webpack'; | ||
import { WindiPluginUtils, UserOptions } from '@windicss/plugin-utils'; | ||
declare module 'virtual:windi.css' { } | ||
declare module 'virtual:windi-base.css' { } | ||
declare module 'virtual:windi-components.css' { } | ||
declare module 'virtual:windi-utilities.css' { } | ||
declare module 'windi.css' { } | ||
declare module 'windi-base.css' { } | ||
declare module 'windi-components.css' { } | ||
declare module 'windi-utilities.css' { } | ||
declare type Compiler = webpack.Compiler & { | ||
@@ -20,4 +28,6 @@ $windi: WindiPluginUtils & { | ||
* some projects (such as craco), specifying the directory is needed. | ||
* | ||
* @default '' | ||
*/ | ||
virtualModulePath?: string; | ||
virtualModulePath: string; | ||
}; | ||
@@ -27,6 +37,6 @@ | ||
options: WindiCSSWebpackPluginOptions; | ||
constructor(options?: WindiCSSWebpackPluginOptions); | ||
constructor(options?: Partial<WindiCSSWebpackPluginOptions>); | ||
apply(compiler: Compiler): void; | ||
} | ||
export { WindiCSSWebpackPlugin as default }; | ||
export { Compiler, WindiCSSWebpackPluginOptions, WindiCSSWebpackPlugin as default }; |
{ | ||
"name": "windicss-webpack-plugin", | ||
"version": "1.6.2", | ||
"version": "1.6.4", | ||
"license": "MIT", | ||
@@ -25,35 +25,10 @@ "author": { | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
"pretest": "npm run build", | ||
"test": "set DEBUG=windicss* && jest --coverage", | ||
"lint": "eslint --fix --ext .ts,.js,.vue .", | ||
"release": "dotenv release-it --", | ||
"dev:craco": "yarn build && cd example/craco && yarn start", | ||
"dev:svelte": "yarn build && cd example/svelte && yarn dev", | ||
"dev:next": "yarn build && cd example/next && yarn dev", | ||
"dev:nuxt": "yarn build && cd example/nuxt && yarn dev", | ||
"build:nuxt": "yarn build && nuxt build example/nuxt", | ||
"start:nuxt": "yarn build && nuxt start example/nuxt", | ||
"dev:vue2": "yarn build && cd example/vue2 && yarn serve", | ||
"dev:vue3": "yarn build && cd example/vue3 && yarn serve", | ||
"dev:vue-nx": "yarn build && cd example/vue-cli-next && yarn serve" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.ts": [] | ||
}, | ||
"dependencies": { | ||
"@windicss/plugin-utils": "^1.6.1", | ||
"@windicss/plugin-utils": "^1.6.3", | ||
"debug": "^4.3.3", | ||
"loader-utils": "^2.0.0", | ||
"lodash": "^4.17.21", | ||
"magic-string": "^0.25.7", | ||
"upath": "^2.0.1", | ||
"pathe": "^0.2.0", | ||
"webpack-virtual-modules": "^0.4.3", | ||
"windicss": "^3.4.0" | ||
"windicss": "^3.4.3" | ||
}, | ||
@@ -67,3 +42,2 @@ "devDependencies": { | ||
"@types/debug": "^4.1.7", | ||
"@types/jest": "^26.0.24", | ||
"@types/loader-utils": "^2.0.3", | ||
@@ -73,15 +47,8 @@ "@types/lodash": "^4.14.176", | ||
"babel-loader": "^8.2.3", | ||
"bumpp": "^7.1.1", | ||
"css-loader": "^5.2.7", | ||
"dotenv-cli": "^4.0.0", | ||
"esbuild": "^0.8.57", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-jest": "^24.7.0", | ||
"husky": "^4.3.8", | ||
"jest": "^26.6.3", | ||
"less": "^4.1.2", | ||
"less-loader": "^7.3.0", | ||
"lint-staged": "^10.5.4", | ||
"memfs": "^3.3.0", | ||
"postcss-loader": "^5.3.0", | ||
"release-it": "^14.11.6", | ||
"sass": "^1.42.1", | ||
@@ -92,6 +59,6 @@ "sass-loader": "^10.2.0", | ||
"stylus-loader": "^3.0.2", | ||
"ts-jest": "^26.5.6", | ||
"typescript": "^4.4.4", | ||
"unbuild": "^0.6.3", | ||
"unionfs": "^4.4.0", | ||
"vite": "^2.7.13", | ||
"vitest": "^0.2.5", | ||
"vue-loader": "^15.9.8", | ||
@@ -101,3 +68,20 @@ "vue-style-loader": "^4.1.3", | ||
"webpack": "^4.46.0" | ||
}, | ||
"scripts": { | ||
"release": "bumpp package.json --commit --push --tag", | ||
"build": "unbuild", | ||
"stub": "unbuild --stub", | ||
"test": "vitest", | ||
"lint": "eslint \"{src,test}/**/*.{ts,vue,json,yml}\"", | ||
"lint:fix": "npm run lint -- --fix", | ||
"dev:craco": "yarn build && cd example/craco && yarn start", | ||
"dev:svelte": "yarn build && cd example/svelte && yarn dev", | ||
"dev:next": "yarn build && cd example/next && yarn dev", | ||
"dev:nuxt": "yarn build && cd example/nuxt && yarn dev", | ||
"build:nuxt": "yarn build && nuxt build example/nuxt", | ||
"start:nuxt": "yarn build && nuxt start example/nuxt", | ||
"dev:vue2": "yarn build && cd example/vue2 && yarn serve", | ||
"dev:vue3": "yarn build && cd example/vue3 && yarn serve", | ||
"dev:vue-nx": "yarn build && cd example/vue-cli-next && yarn serve" | ||
} | ||
} | ||
} |
@@ -16,2 +16,15 @@ <h1 align='center'>windicss-webpack-plugin</h1> | ||
<p align="center"> | ||
<table> | ||
<tbody> | ||
<td align="center"> | ||
<img width="2000" height="0" /><br> | ||
<i>Status:</i> <b>Stable - v4 coming soon</b><br> | ||
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦</sub><br> | ||
<img width="2000" height="0" /> | ||
</td> | ||
</tbody> | ||
</table> | ||
</p> | ||
## Features | ||
@@ -18,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
7
29
86
2
33703
12
722
+ Addedpathe@^0.2.0
+ Addedpathe@0.2.0(transitive)
- Removedmagic-string@^0.25.7
- Removedupath@^2.0.1
- Removedmagic-string@0.25.9(transitive)
- Removedsourcemap-codec@1.4.8(transitive)
- Removedupath@2.0.1(transitive)
Updatedwindicss@^3.4.3