@plumeria/unplugin 19.10.1 → 19.10.3
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/dist/core.js +1 -1
- package/dist/core.mjs +2 -2
- package/package.json +3 -3
package/dist/core.js
CHANGED
|
@@ -57,7 +57,7 @@ const unpluginFactory = (options = {}, unpluginMeta) => {
|
|
|
57
57
|
let viteRoot = process.cwd();
|
|
58
58
|
const lint = options.lint !== false;
|
|
59
59
|
const startLint = () => {
|
|
60
|
-
(0, guard_1.startLintGuard)((0, guard_1.
|
|
60
|
+
(0, guard_1.startLintGuard)((0, guard_1.lintOverrides)(options));
|
|
61
61
|
};
|
|
62
62
|
const lintOnRun = (bundler) => {
|
|
63
63
|
if (!lint)
|
package/dist/core.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createFilter } from '@rollup/pluginutils';
|
|
2
2
|
import * as path from 'path';
|
|
3
3
|
import compiler from '@plumeria/compiler';
|
|
4
|
-
import {
|
|
4
|
+
import { lintOverrides, startLintGuard } from '@plumeria/eslint-plugin/guard';
|
|
5
5
|
const { resolvePropertyPolicy, optimizer, transformSource, DEFAULT_STYLE_PROP, needsCompile, } = compiler;
|
|
6
6
|
export const EXTENSION_PATTERN = /\.(ts|tsx|js|jsx)$/;
|
|
7
7
|
export const unpluginFactory = (options = {}, unpluginMeta) => {
|
|
@@ -18,7 +18,7 @@ export const unpluginFactory = (options = {}, unpluginMeta) => {
|
|
|
18
18
|
let viteRoot = process.cwd();
|
|
19
19
|
const lint = options.lint !== false;
|
|
20
20
|
const startLint = () => {
|
|
21
|
-
startLintGuard(
|
|
21
|
+
startLintGuard(lintOverrides(options));
|
|
22
22
|
};
|
|
23
23
|
const lintOnRun = (bundler) => {
|
|
24
24
|
if (!lint)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/unplugin",
|
|
3
|
-
"version": "19.10.
|
|
3
|
+
"version": "19.10.3",
|
|
4
4
|
"description": "Universal Plumeria plugin for various build tools",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@rollup/pluginutils": "^5.4.0",
|
|
95
95
|
"unplugin": "^3.0.0",
|
|
96
|
-
"@plumeria/compiler": "19.10.
|
|
97
|
-
"@plumeria/eslint-plugin": "19.10.
|
|
96
|
+
"@plumeria/compiler": "19.10.3",
|
|
97
|
+
"@plumeria/eslint-plugin": "19.10.3"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
100
|
"vite": "^8.0.13"
|