@zipify/wysiwyg 4.9.0 → 4.9.1
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/.github/actions/lint-css/action.yaml +1 -1
- package/.lintstagedrc +1 -1
- package/dist/cli.js +11 -11
- package/dist/node.js +13 -13
- package/package.json +4 -3
- package/stylelint.config.mjs +116 -0
- package/.stylelintrc +0 -106
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zipify/wysiwyg",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "Zipify modification of TipTap text editor",
|
|
5
5
|
"main": "dist/wysiwyg.mjs",
|
|
6
6
|
"types": "dist/wysiwyg.d.ts",
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
78
78
|
"@rollup/plugin-replace": "^6.0.1",
|
|
79
79
|
"@rushstack/eslint-patch": "^1.10.4",
|
|
80
|
+
"@stylistic/stylelint-plugin": "^3.1.1",
|
|
80
81
|
"@types/jest": "^29.5.14",
|
|
81
82
|
"@types/node": "^22.9.0",
|
|
82
83
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"@vue/test-utils": "^2.4.6",
|
|
87
88
|
"@vue/tsconfig": "^0.5.1",
|
|
88
89
|
"@vue/vue3-jest": "^29.2.6",
|
|
89
|
-
"@zipify/colorpicker": "^4.1.
|
|
90
|
+
"@zipify/colorpicker": "^4.1.1",
|
|
90
91
|
"@zipify/eslint-config": "^1.6.0",
|
|
91
92
|
"babel-jest": "^29.7.0",
|
|
92
93
|
"esbuild-jest": "^0.5.0",
|
|
@@ -105,7 +106,7 @@
|
|
|
105
106
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
106
107
|
"rollup-plugin-esbuild-minify": "^1.1.2",
|
|
107
108
|
"simplebar": "^6.2.7",
|
|
108
|
-
"stylelint": "^
|
|
109
|
+
"stylelint": "^16.10.0",
|
|
109
110
|
"svgo": "^3.3.2",
|
|
110
111
|
"typescript": "^5.6.3",
|
|
111
112
|
"vite": "^5.4.11",
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/** @type {import('stylelint').Config} */
|
|
2
|
+
const config = {
|
|
3
|
+
plugins: [
|
|
4
|
+
'@stylistic/stylelint-plugin'
|
|
5
|
+
],
|
|
6
|
+
rules: {
|
|
7
|
+
'@stylistic/at-rule-name-case': 'lower',
|
|
8
|
+
'@stylistic/at-rule-name-space-after': 'always-single-line',
|
|
9
|
+
'@stylistic/at-rule-semicolon-newline-after': 'always',
|
|
10
|
+
'selector-type-case': 'lower',
|
|
11
|
+
'@stylistic/block-closing-brace-newline-after': 'always',
|
|
12
|
+
'selector-pseudo-element-disallowed-list': ['v-deep'],
|
|
13
|
+
'selector-pseudo-element-colon-notation': 'double',
|
|
14
|
+
'@stylistic/selector-pseudo-element-case': 'lower',
|
|
15
|
+
'selector-max-specificity': ['0,4,2', {}],
|
|
16
|
+
'@stylistic/number-no-trailing-zeros': true,
|
|
17
|
+
'color-named': 'never',
|
|
18
|
+
'color-hex-length': 'short',
|
|
19
|
+
'color-no-invalid-hex': true,
|
|
20
|
+
'font-weight-notation': 'numeric',
|
|
21
|
+
'function-calc-no-unspaced-operator': true,
|
|
22
|
+
'@stylistic/function-comma-newline-before': 'never-multi-line',
|
|
23
|
+
'@stylistic/function-comma-space-before': 'never-single-line',
|
|
24
|
+
'function-linear-gradient-no-nonstandard-direction': true,
|
|
25
|
+
'function-name-case': 'lower',
|
|
26
|
+
'@stylistic/function-parentheses-space-inside': 'never',
|
|
27
|
+
'function-url-no-scheme-relative': true,
|
|
28
|
+
'function-url-quotes': 'always',
|
|
29
|
+
'@stylistic/function-whitespace-after': 'always',
|
|
30
|
+
'string-no-newline': true,
|
|
31
|
+
'@stylistic/string-quotes': 'double',
|
|
32
|
+
'time-min-milliseconds': 100,
|
|
33
|
+
'length-zero-no-unit': [
|
|
34
|
+
true,
|
|
35
|
+
{ ignore: ['custom-properties'] }
|
|
36
|
+
],
|
|
37
|
+
'@stylistic/unit-case': 'lower',
|
|
38
|
+
'value-keyword-case': [
|
|
39
|
+
'lower',
|
|
40
|
+
{
|
|
41
|
+
ignoreKeywords: ['currentColor', 'optimizeLegibility']
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
'value-no-vendor-prefix': true,
|
|
45
|
+
'@stylistic/max-empty-lines': 2,
|
|
46
|
+
'no-empty-source': true,
|
|
47
|
+
'@stylistic/no-eol-whitespace': true,
|
|
48
|
+
'@stylistic/no-extra-semicolons': true,
|
|
49
|
+
'no-unknown-animations': true,
|
|
50
|
+
'@stylistic/declaration-colon-space-before': 'never',
|
|
51
|
+
'@stylistic/declaration-colon-space-after': 'always',
|
|
52
|
+
'block-no-empty': true,
|
|
53
|
+
'shorthand-property-no-redundant-values': true,
|
|
54
|
+
'@stylistic/block-opening-brace-newline-after': 'always-multi-line',
|
|
55
|
+
'@stylistic/block-opening-brace-space-before': 'always',
|
|
56
|
+
'@stylistic/block-opening-brace-space-after': 'always-single-line',
|
|
57
|
+
'named-grid-areas-no-invalid': true,
|
|
58
|
+
'declaration-empty-line-before': [
|
|
59
|
+
'always',
|
|
60
|
+
{
|
|
61
|
+
except: [
|
|
62
|
+
'after-declaration',
|
|
63
|
+
'first-nested'
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
'@stylistic/block-closing-brace-empty-line-before': 'never',
|
|
68
|
+
'rule-empty-line-before': [
|
|
69
|
+
'always-multi-line'
|
|
70
|
+
],
|
|
71
|
+
'at-rule-empty-line-before': [
|
|
72
|
+
'always',
|
|
73
|
+
{
|
|
74
|
+
except: [
|
|
75
|
+
'blockless-after-same-name-blockless',
|
|
76
|
+
'first-nested'
|
|
77
|
+
],
|
|
78
|
+
ignore: [
|
|
79
|
+
'after-comment'
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
'at-rule-no-unknown': [
|
|
84
|
+
true,
|
|
85
|
+
{
|
|
86
|
+
ignoreAtRules: [
|
|
87
|
+
'include',
|
|
88
|
+
'mixin',
|
|
89
|
+
'content',
|
|
90
|
+
'at-root',
|
|
91
|
+
'use'
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
'@stylistic/number-leading-zero': 'always',
|
|
96
|
+
'unit-allowed-list': ['em', 'rem', 'px', '%', 's', 'vh', 'deg', 'ms', 'fr'],
|
|
97
|
+
'@stylistic/color-hex-case': 'upper',
|
|
98
|
+
'max-nesting-depth': 3,
|
|
99
|
+
'@stylistic/indentation': [
|
|
100
|
+
4,
|
|
101
|
+
{ indentInsideParens: 'twice' }
|
|
102
|
+
],
|
|
103
|
+
'keyframe-block-no-duplicate-selectors': true,
|
|
104
|
+
'selector-anb-no-unmatchable': true,
|
|
105
|
+
'media-feature-name-value-no-unknown': true,
|
|
106
|
+
'media-query-no-invalid': true
|
|
107
|
+
},
|
|
108
|
+
overrides: [
|
|
109
|
+
{
|
|
110
|
+
files: ['*.vue'],
|
|
111
|
+
customSyntax: 'postcss-html'
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export default config;
|
package/.stylelintrc
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"rules": {
|
|
3
|
-
"at-rule-name-case": "lower",
|
|
4
|
-
"at-rule-name-space-after": "always-single-line",
|
|
5
|
-
"at-rule-semicolon-newline-after": "always",
|
|
6
|
-
"selector-type-case": "lower",
|
|
7
|
-
"block-closing-brace-newline-after": "always",
|
|
8
|
-
"selector-pseudo-element-colon-notation": "double",
|
|
9
|
-
"selector-pseudo-element-case": "lower",
|
|
10
|
-
"selector-max-specificity": "0,4,2",
|
|
11
|
-
"number-no-trailing-zeros": true,
|
|
12
|
-
"color-named": "never",
|
|
13
|
-
"color-hex-length": "short",
|
|
14
|
-
"color-no-invalid-hex": true,
|
|
15
|
-
"font-weight-notation": "numeric",
|
|
16
|
-
"function-calc-no-unspaced-operator": true,
|
|
17
|
-
"function-comma-newline-before": "never-multi-line",
|
|
18
|
-
"function-comma-space-before": "never-single-line",
|
|
19
|
-
"function-linear-gradient-no-nonstandard-direction": true,
|
|
20
|
-
"function-name-case": "lower",
|
|
21
|
-
"function-parentheses-space-inside": "never",
|
|
22
|
-
"function-url-no-scheme-relative": true,
|
|
23
|
-
"function-url-quotes": "always",
|
|
24
|
-
"function-whitespace-after": "always",
|
|
25
|
-
"string-no-newline": true,
|
|
26
|
-
"string-quotes": "double",
|
|
27
|
-
"time-min-milliseconds": 100,
|
|
28
|
-
"length-zero-no-unit": [
|
|
29
|
-
true,
|
|
30
|
-
{ "ignore": ["custom-properties"] }
|
|
31
|
-
],
|
|
32
|
-
"unit-case": "lower",
|
|
33
|
-
"value-keyword-case": [
|
|
34
|
-
"lower",
|
|
35
|
-
{
|
|
36
|
-
"ignoreKeywords": ["currentColor", "optimizeLegibility"]
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"value-no-vendor-prefix": true,
|
|
40
|
-
"max-empty-lines": 2,
|
|
41
|
-
"no-descending-specificity": true,
|
|
42
|
-
"no-empty-source": true,
|
|
43
|
-
"no-eol-whitespace": true,
|
|
44
|
-
"no-extra-semicolons": true,
|
|
45
|
-
"no-unknown-animations": true,
|
|
46
|
-
"declaration-colon-space-before": "never",
|
|
47
|
-
"declaration-colon-space-after": "always",
|
|
48
|
-
"block-no-empty": true,
|
|
49
|
-
"shorthand-property-no-redundant-values": true,
|
|
50
|
-
"block-opening-brace-newline-after": "always-multi-line",
|
|
51
|
-
"block-opening-brace-space-before": "always",
|
|
52
|
-
"block-opening-brace-space-after": "always-single-line",
|
|
53
|
-
"named-grid-areas-no-invalid": true,
|
|
54
|
-
"declaration-empty-line-before": [
|
|
55
|
-
"always",
|
|
56
|
-
{
|
|
57
|
-
"except": [
|
|
58
|
-
"after-declaration",
|
|
59
|
-
"first-nested"
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"block-closing-brace-empty-line-before": "never",
|
|
64
|
-
"rule-empty-line-before": [
|
|
65
|
-
"always-multi-line"
|
|
66
|
-
],
|
|
67
|
-
"at-rule-empty-line-before": [
|
|
68
|
-
"always",
|
|
69
|
-
{
|
|
70
|
-
"except": [
|
|
71
|
-
"blockless-after-same-name-blockless",
|
|
72
|
-
"first-nested"
|
|
73
|
-
],
|
|
74
|
-
"ignore": [
|
|
75
|
-
"after-comment"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"at-rule-no-unknown": [
|
|
80
|
-
true,
|
|
81
|
-
{
|
|
82
|
-
"ignoreAtRules": [
|
|
83
|
-
"include",
|
|
84
|
-
"mixin",
|
|
85
|
-
"content",
|
|
86
|
-
"at-root"
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
"number-leading-zero": "always",
|
|
91
|
-
"unit-allowed-list": ["em", "rem", "px", "%", "s", "vh", "deg", "ms", "fr"],
|
|
92
|
-
"color-hex-case": "upper",
|
|
93
|
-
"max-nesting-depth": 3,
|
|
94
|
-
"indentation": [
|
|
95
|
-
4,
|
|
96
|
-
{ "indentInsideParens": "twice" }
|
|
97
|
-
],
|
|
98
|
-
"keyframe-block-no-duplicate-selectors": true
|
|
99
|
-
},
|
|
100
|
-
"overrides": [
|
|
101
|
-
{
|
|
102
|
-
"files": ["**/*.vue"],
|
|
103
|
-
"customSyntax": "postcss-html"
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|