@bhsd/codemirror-mediawiki 2.9.3 → 2.9.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/codemirror-mediawiki",
3
- "version": "2.9.3",
3
+ "version": "2.9.5",
4
4
  "description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
5
5
  "keywords": [
6
6
  "mediawiki",
@@ -14,8 +14,8 @@
14
14
  "files": [
15
15
  "/i18n/",
16
16
  "/dist/*.js",
17
- "/dist/codemirror.d.ts",
18
- "/dist/mediawiki.d.ts",
17
+ "/dist/*.d.ts",
18
+ "!/dist/gh-page.d.ts",
19
19
  "/dist/mw.min.js.map",
20
20
  "/mediawiki.css"
21
21
  ],
@@ -31,6 +31,8 @@
31
31
  "build:mw": "esbuild ./mw/base.ts --bundle --minify --target=es2018 --format=esm --sourcemap --outfile=dist/mw.min.js",
32
32
  "build:gh-page": "bash build.sh",
33
33
  "build": "npm run build:core && npm run build:mw",
34
+ "diff": "git diff --ignore-all-space --color-moved",
35
+ "diff:stat": "f() { git diff --stat --ignore-all-space --color=always $1 $2 -- . ':!dist/' ':!.github/'; }; f",
34
36
  "lint:ts": "tsc --noEmit && tsc --project mw/tsconfig.json --noEmit && eslint --cache .",
35
37
  "lint:css": "stylelint *.css",
36
38
  "lint": "npm run lint:ts && npm run lint:css",
@@ -42,19 +44,19 @@
42
44
  "node": "20.9.0"
43
45
  },
44
46
  "dependencies": {
45
- "@codemirror/autocomplete": "^6.12.0",
46
- "@codemirror/commands": "^6.3.3",
47
47
  "@codemirror/language": "^6.10.1",
48
- "@codemirror/legacy-modes": "^6.3.3",
49
48
  "@codemirror/lint": "^6.5.0",
50
- "@codemirror/search": "^6.5.6",
51
49
  "@codemirror/state": "^6.4.1",
52
50
  "@codemirror/view": "^6.24.1",
53
- "@lezer/highlight": "^1.2.0",
51
+ "@lezer/common": "^1.1.2",
54
52
  "wikiparser-node": "^1.5.7"
55
53
  },
56
54
  "devDependencies": {
57
- "@lezer/common": "^1.1.2",
55
+ "@codemirror/autocomplete": "^6.12.0",
56
+ "@codemirror/commands": "^6.3.3",
57
+ "@codemirror/legacy-modes": "^6.3.3",
58
+ "@codemirror/search": "^6.5.6",
59
+ "@lezer/highlight": "^1.2.0",
58
60
  "@stylistic/eslint-plugin": "^1.5.4",
59
61
  "@stylistic/stylelint-plugin": "^2.0.0",
60
62
  "@types/jquery": "^3.5.29",