@seayoo-web/scripts 3.1.4 → 3.1.6

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 CHANGED
@@ -255,6 +255,7 @@ function definePageBuildConfig(option) {
255
255
  "core-js/es/symbol/iterator"
256
256
  ],
257
257
  additionalModernPolyfills: [
258
+ "core-js/es/global-this",
258
259
  "core-js/es/array/flat",
259
260
  "core-js/es/array/flat-map",
260
261
  "core-js/es/promise/all-settled",
@@ -385,6 +386,7 @@ const stylelintConfig = {
385
386
  "selector-class-pattern": /^[a-z\d-_]+$/,
386
387
  "media-feature-range-notation": "prefix",
387
388
  "color-function-notation": "legacy",
389
+ "color-function-alias-notation": "with-alpha",
388
390
  "alpha-value-notation": "number",
389
391
  "selector-pseudo-class-no-unknown": [
390
392
  true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -1,3 +1,3 @@
1
1
  import "colors";
2
2
  /** 启动脚本 */
3
- export declare function runDestoryScript(): void;
3
+ export declare function runDestroyScript(): void;
@@ -1,4 +1,4 @@
1
- import { type TSESLint } from "@typescript-eslint/utils";
1
+ import type { TSESLint } from "@typescript-eslint/utils";
2
2
  /**
3
3
  * 默认的 import order 检查配置
4
4
  *
@@ -11,6 +11,7 @@ export declare const stylelintConfig: {
11
11
  "selector-class-pattern": RegExp;
12
12
  "media-feature-range-notation": string;
13
13
  "color-function-notation": string;
14
+ "color-function-alias-notation": string;
14
15
  "alpha-value-notation": string;
15
16
  "selector-pseudo-class-no-unknown": (boolean | {
16
17
  ignorePseudoClasses: string[];
@@ -1,7 +0,0 @@
1
- import type { AcceptedPlugin } from "postcss";
2
- /**
3
- * postcss 配置,增加 nesting 插件支持
4
- */
5
- export declare const postcssConfig: {
6
- plugins: AcceptedPlugin[];
7
- };