@clerc/plugin-strict-flags 0.18.0 → 0.20.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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const strictFlagsPlugin = () => definePlugin({
|
|
|
14
14
|
if (!ctx.resolved || keys.length === 0) {
|
|
15
15
|
next();
|
|
16
16
|
} else {
|
|
17
|
-
throw new Error(`Unexpected
|
|
17
|
+
throw new Error(`Unexpected flag${keys.length > 1 ? "s" : ""}: ${semanticArray(keys)}`);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const strictFlagsPlugin = () => definePlugin({
|
|
|
14
14
|
if (!ctx.resolved || keys.length === 0) {
|
|
15
15
|
next();
|
|
16
16
|
} else {
|
|
17
|
-
throw new Error(`Unexpected
|
|
17
|
+
throw new Error(`Unexpected flag${keys.length > 1 ? "s" : ""}: ${semanticArray(keys)}`);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/plugin-strict-flags",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)",
|
|
5
5
|
"description": "Clerc plugin strict flags",
|
|
6
6
|
"keywords": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@clerc/core": "*"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@clerc/core": "0.
|
|
54
|
+
"@clerc/core": "0.20.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "puild",
|