Skip to content

Commit

Permalink
chore: publish 2.18.9 to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry committed Nov 19, 2024
1 parent 6e68027 commit b306aed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.18.8",
"version": "2.18.9",
"lang": "en",
"i18n-failed": "Failed to fetch the translation file in $1.",
"title": "CodeMirror Addons",
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-hans.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.18.8",
"version": "2.18.9",
"lang": "zh-hans",
"i18n-failed": "获取 $1 的语言文件失败。",
"title": "CodeMirror插件",
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh-hant.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.18.8",
"version": "2.18.9",
"lang": "zh-hant",
"i18n-failed": "取得 $1 的語言檔案失敗。",
"title": "CodeMirror外掛程式",
Expand Down
2 changes: 1 addition & 1 deletion mw/msg.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {getObject, setObject, parseVersion} from '@bhsd/common';
import type {CodeMirror} from './base';

export const REPO_CDN = 'npm/@bhsd/codemirror-mediawiki@2.18.8',
export const REPO_CDN = 'npm/@bhsd/codemirror-mediawiki@2.18.9',
curVersion = REPO_CDN.slice(REPO_CDN.lastIndexOf('@') + 1);

const {vendor, userAgent, maxTouchPoints, platform} = navigator;
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bhsd/codemirror-mediawiki",
"version": "2.18.8",
"version": "2.18.9",
"description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
"keywords": [
"mediawiki",
Expand Down Expand Up @@ -33,8 +33,6 @@
"build:gh-page": "bash build.sh",
"build:test": "tsc --project test/tsconfig.json && node test/dist/test/test.js",
"build": "npm run build:core && npm run build:mw && npm run build:wiki && eslint --no-eslintrc -c .eslintrc.dist.cjs dist/*.js",
"diff": "git diff --ignore-all-space --color-moved",
"diff:stat": "f() { git diff --stat --ignore-all-space --color=always $1 $2 -- . ':!dist/' ':!.github/'; }; f",
"lint:ts": "tsc --noEmit && tsc --project mw/tsconfig.json --noEmit && tsc --project test/tsconfig.json --noEmit && eslint --cache .",
"lint:css": "stylelint *.css",
"lint": "npm run lint:ts && npm run lint:css",
Expand Down

0 comments on commit b306aed

Please sign in to comment.