@bhsd/codemirror-mediawiki 3.6.0 → 3.6.2
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/escape.js +0 -1
- package/dist/fold.js +1 -3
- package/dist/linter.d.ts +1 -1
- package/dist/linter.js +2 -3
- package/dist/lua.js +1 -7
- package/dist/main.min.js +24 -24
- package/dist/matchBrackets.js +2 -4
- package/dist/mediawiki.js +9 -6
- package/dist/mw.min.js +27 -27
- package/dist/openLinks.js +1 -1
- package/dist/signature.js +5 -4
- package/dist/statusBar.js +0 -1
- package/dist/token.js +16 -28
- package/dist/wiki.min.js +26 -26
- package/i18n/en.json +2 -2
- package/i18n/zh-hans.json +2 -2
- package/i18n/zh-hant.json +2 -2
- package/package.json +26 -26
package/i18n/en.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.6.
|
|
2
|
+
"version": "3.6.2",
|
|
3
3
|
"lang": "en",
|
|
4
4
|
"title": "CodeMirror Addons",
|
|
5
5
|
"label": "Please select the addons you wish to load",
|
|
6
|
-
"feedback": "Bug reports or suggestions are welcome at <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\">GitHub</a> .",
|
|
6
|
+
"feedback": "Bug reports or suggestions are welcome at <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">GitHub</a> .",
|
|
7
7
|
"contentmodel": "Please indicate the content model:",
|
|
8
8
|
"addon-allowMultipleSelections": "Allow multiple selections",
|
|
9
9
|
"addon-autocompletion": "<span title=\"Shift-Enter\">Autocompletion</span>",
|
package/i18n/zh-hans.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.6.
|
|
2
|
+
"version": "3.6.2",
|
|
3
3
|
"lang": "zh-hans",
|
|
4
4
|
"title": "CodeMirror插件",
|
|
5
5
|
"label": "请选择您希望加载的插件",
|
|
6
|
-
"feedback": "欢迎将错误报告或是改进建议提交到 <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\">GitHub</a> !",
|
|
6
|
+
"feedback": "欢迎将错误报告或是改进建议提交到 <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">GitHub</a> !",
|
|
7
7
|
"contentmodel": "请输入内容模型:",
|
|
8
8
|
"addon-allowMultipleSelections": "允许选择多个片段",
|
|
9
9
|
"addon-autocompletion": "<span title=\"Shift-Enter\">自动填充</span>",
|
package/i18n/zh-hant.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.6.
|
|
2
|
+
"version": "3.6.2",
|
|
3
3
|
"lang": "zh-hant",
|
|
4
4
|
"title": "CodeMirror外掛程式",
|
|
5
5
|
"label": "請選擇您希望載入的外掛程式",
|
|
6
|
-
"feedback": "歡迎將錯誤報告或是改進建議提交到 <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\">GitHub</a> !",
|
|
6
|
+
"feedback": "歡迎將錯誤報告或是改進建議提交到 <a href=\"https://github.com/bhsd-harry/$1/issues\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">GitHub</a> !",
|
|
7
7
|
"contentmodel": "請輸入內容模型:",
|
|
8
8
|
"addon-allowMultipleSelections": "允許選擇多個片段",
|
|
9
9
|
"addon-autocompletion": "<span title=\"Shift-Enter\">自動填入</span>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bhsd/codemirror-mediawiki",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.2",
|
|
4
4
|
"description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mediawiki",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"bundle:wiki": "MODE=wiki node build.cjs",
|
|
35
35
|
"bundle:unused": "esbuild ./bundle/*.ts --charset=utf8 --bundle --format=esm --outdir=build",
|
|
36
36
|
"build:css": "esbuild ./css/index.css --bundle --minify --outfile=mediawiki.css",
|
|
37
|
-
"build:core": "npm run bundle:core && esbuild ./build/main.js --charset=utf8 --minify --target=es2019 --format=esm --sourcemap --outfile=dist/main.min.js && tsc && esbuild src/config.ts --bundle --format=esm --external:@lezer/highlight --outfile=dist/config.js --legal-comments=inline && rm dist
|
|
37
|
+
"build:core": "npm run bundle:core && esbuild ./build/main.js --charset=utf8 --minify --target=es2019 --format=esm --sourcemap --outfile=dist/main.min.js && tsc && esbuild src/config.ts --bundle --format=esm --external:@lezer/highlight --outfile=dist/config.js --legal-comments=inline && rm dist/*{-page,.test}.{js,d.ts}",
|
|
38
38
|
"build:mw": "esbuild ./build/wiki.js --charset=utf8 --minify --target=es2019 --format=esm --outfile=dist/mw.min.js && esbuild ./mw/config.ts --charset=utf8 --bundle --target=es2019 --format=esm --outfile=dist/mwConfig.js",
|
|
39
39
|
"build:wiki": "npm run bundle:wiki && esbuild ./build/wiki.js --charset=utf8 --minify --target=es2019 --format=iife --sourcemap --outfile=dist/wiki.min.js",
|
|
40
|
-
"build:gh-page": "
|
|
40
|
+
"build:gh-page": "esbuild src/*-page.ts --charset=utf8 --bundle --target=es2019 --format=esm --outdir=. --external:/codemirror-mediawiki/dist/main.min.js --external:/codemirror-mediawiki/dist/demo.min.js",
|
|
41
41
|
"build:demo": "npm run bundle:unused && esbuild ./build/mediawiki.js --charset=utf8 --minify --target=es2019 --format=esm --outfile=dist/demo.min.js",
|
|
42
42
|
"build:test": "rm -rf test/dist/; tsc --project test/tsconfig.json && npm test",
|
|
43
|
-
"build": "npm run build:css && rm -rf dist/ && npm run build:demo && npm run build:core && npm run build:wiki && npm run build:mw && eslint --no-
|
|
43
|
+
"build": "npm run build:css && rm -rf dist/ && npm run build:demo && npm run build:core && npm run build:wiki && npm run build:mw && eslint --no-config-lookup -c eslint.dist.mjs dist/*.min.js",
|
|
44
44
|
"lint:ts": "tsc --noEmit && tsc --project mw/tsconfig.json --noEmit && tsc --project test/tsconfig.json --noEmit && tsc --project bundle/tsconfig.json --noEmit && eslint --cache .",
|
|
45
45
|
"lint:css": "stylelint **/*.css",
|
|
46
46
|
"lint": "npm run lint:ts && npm run lint:css",
|
|
@@ -54,53 +54,53 @@
|
|
|
54
54
|
"@bhsd/browser": "^0.0.1",
|
|
55
55
|
"@bhsd/codemirror-css-color-picker": "^6.3.0",
|
|
56
56
|
"@bhsd/common": "^1.0.1",
|
|
57
|
-
"@codemirror/autocomplete": "^6.
|
|
58
|
-
"@codemirror/commands": "^6.
|
|
57
|
+
"@codemirror/autocomplete": "^6.19.1",
|
|
58
|
+
"@codemirror/commands": "^6.10.0",
|
|
59
59
|
"@codemirror/language": "^6.11.3",
|
|
60
60
|
"@codemirror/lang-css": "^6.3.1",
|
|
61
|
-
"@codemirror/lang-html": "^6.4.
|
|
61
|
+
"@codemirror/lang-html": "^6.4.11",
|
|
62
62
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
63
63
|
"@codemirror/lang-json": "^6.0.2",
|
|
64
64
|
"@codemirror/lang-vue": "^0.1.3",
|
|
65
|
-
"@codemirror/legacy-modes": "^6.
|
|
66
|
-
"@codemirror/lint": "^6.9.
|
|
65
|
+
"@codemirror/legacy-modes": "^6.5.2",
|
|
66
|
+
"@codemirror/lint": "^6.9.1",
|
|
67
67
|
"@codemirror/search": "^6.5.11",
|
|
68
68
|
"@codemirror/state": "^6.5.2",
|
|
69
69
|
"@codemirror/view": "^6.38.6",
|
|
70
70
|
"cm6-theme-nord": "^0.2.0",
|
|
71
|
-
"wikiparser-node": "^1.
|
|
71
|
+
"wikiparser-node": "^1.29.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@bhsd/cm-util": "^0.1.0",
|
|
75
|
-
"@bhsd/code-standard": "^1.
|
|
75
|
+
"@bhsd/code-standard": "^1.3.0",
|
|
76
76
|
"@bhsd/stylelint-util": "^0.1.0",
|
|
77
77
|
"@bhsd/test-util": "^0.2.1",
|
|
78
|
-
"@stylistic/eslint-plugin": "^
|
|
78
|
+
"@stylistic/eslint-plugin": "^5.5.0",
|
|
79
79
|
"@stylistic/stylelint-plugin": "^4.0.0",
|
|
80
80
|
"@types/eslint": "^8.56.10",
|
|
81
|
-
"@types/jquery": "^3.5.
|
|
81
|
+
"@types/jquery": "^3.5.33",
|
|
82
82
|
"@types/mocha": "^10.0.10",
|
|
83
|
-
"@types/node": "^24.
|
|
83
|
+
"@types/node": "^24.9.2",
|
|
84
84
|
"@types/oojs-ui": "^0.49.4",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
86
|
-
"@typescript-eslint/parser": "^8.
|
|
87
|
-
"esbuild": "^0.25.
|
|
88
|
-
"eslint": "^
|
|
89
|
-
"eslint-plugin-es-x": "^
|
|
85
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
86
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
87
|
+
"esbuild": "^0.25.11",
|
|
88
|
+
"eslint": "^9.38.0",
|
|
89
|
+
"eslint-plugin-es-x": "^9.1.2",
|
|
90
90
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
91
|
-
"eslint-plugin-jsdoc": "^
|
|
92
|
-
"eslint-plugin-
|
|
91
|
+
"eslint-plugin-jsdoc": "^61.1.11",
|
|
92
|
+
"eslint-plugin-jsonc": "^2.21.0",
|
|
93
93
|
"eslint-plugin-promise": "^7.2.1",
|
|
94
|
-
"eslint-plugin-regexp": "^2.
|
|
95
|
-
"eslint-plugin-unicorn": "^
|
|
94
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
95
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
96
96
|
"http-server": "^14.1.1",
|
|
97
97
|
"luacheck-browserify": "^0.8.2",
|
|
98
|
-
"mocha": "^11.7.
|
|
98
|
+
"mocha": "^11.7.4",
|
|
99
99
|
"monaco-editor": "^0.53.0",
|
|
100
100
|
"stylelint": "^16.25.0",
|
|
101
101
|
"stylelint-config-recommended": "^17.0.0",
|
|
102
|
-
"stylelint-plugin-use-baseline": "^1.0.
|
|
102
|
+
"stylelint-plugin-use-baseline": "^1.0.3",
|
|
103
103
|
"types-mediawiki": "^2.0.0",
|
|
104
|
-
"typescript": "^5.
|
|
104
|
+
"typescript": "^5.9.3"
|
|
105
105
|
}
|
|
106
106
|
}
|