Skip to content

Commit d60156a

Browse files
author
knight.chen
committed
chore: publish @cxjs/wangeditor-core and @cxjs/wangeditor-editor
1 parent dea1a5d commit d60156a

File tree

8 files changed

+13
-14
lines changed

8 files changed

+13
-14
lines changed

packages/core/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@wangeditor/core",
3-
"version": "1.1.19",
2+
"name": "@cxjf/wangeditor-core",
3+
"version": "1.1.20",
44
"description": "wangEditor core",
55
"author": "wangfupeng1988 <wangfupeng1988@163.com>",
66
"contributors": [],
@@ -22,7 +22,7 @@
2222
],
2323
"publishConfig": {
2424
"access": "public",
25-
"registry": "https://registry.npmjs.com/"
25+
"registry": "http://49.234.156.39:8081/repository/npm-release/"
2626
},
2727
"repository": {
2828
"type": "git",

packages/editor/package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@wangeditor/editor",
2+
"name": "@cxjf/wangeditor-editor",
33
"version": "5.1.23",
44
"description": "Web rich text editor, Web 富文本编辑器",
55
"keywords": [
@@ -28,8 +28,7 @@
2828
"dist"
2929
],
3030
"publishConfig": {
31-
"access": "public",
32-
"registry": "https://registry.npmjs.com/"
31+
"access": "public"
3332
},
3433
"repository": {
3534
"type": "git",
@@ -53,7 +52,7 @@
5352
"@uppy/xhr-upload": "^2.0.3",
5453
"@wangeditor/basic-modules": "^1.1.7",
5554
"@wangeditor/code-highlight": "^1.0.3",
56-
"@wangeditor/core": "^1.1.19",
55+
"@cxjf/wangeditor-core": "^1.1.20",
5756
"@wangeditor/list-module": "^1.0.5",
5857
"@wangeditor/table-module": "^1.1.4",
5958
"@wangeditor/upload-image-module": "^1.0.2",

packages/editor/src/Boot.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
IParseElemHtmlConf,
3636
registerParseElemHtmlConf,
3737
registerParseStyleHtmlHandler,
38-
} from '@wangeditor/core'
38+
} from '@cxjf/wangeditor-core'
3939
import registerModule from './register-builtin-modules/register'
4040

4141
type PluginType = <T extends IDomEditor>(editor: T) => T

packages/editor/src/create.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
coreCreateEditor,
1414
coreCreateToolbar,
1515
Toolbar,
16-
} from '@wangeditor/core'
16+
} from '@cxjf/wangeditor-core'
1717

1818
export interface ICreateEditorOption {
1919
selector: string | DOMElement

packages/editor/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import './assets/index.less'
7-
import '@wangeditor/core/dist/css/style.css'
7+
import '@cxjf/wangeditor-core/dist/css/style.css'
88

99
// 兼容性(要放在最开始就执行)
1010
import './utils/browser-polyfill'
@@ -47,7 +47,7 @@ export {
4747
// 第三方模块 - 上传时用到
4848
createUploader,
4949
IUploadConfig,
50-
} from '@wangeditor/core'
50+
} from '@cxjf/wangeditor-core'
5151

5252
// 导出 slate API 和接口 (需重命名,加 `Slate` 前缀)
5353
export {

packages/editor/src/init-default-config/config/toolbar.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author wangfupeng
44
*/
55

6-
import { t } from '@wangeditor/core'
6+
import { t } from '@cxjf/wangeditor-core'
77
import {
88
INDENT_RIGHT_SVG,
99
JUSTIFY_LEFT_SVG,

packages/editor/src/locale/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author wangfupeng
44
*/
55

6-
import { i18nAddResources } from '@wangeditor/core'
6+
import { i18nAddResources } from '@cxjf/wangeditor-core'
77
import enResources from './en'
88
import zhResources from './zh-CN'
99

packages/editor/src/register-builtin-modules/register.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
import Boot from '../Boot'
7-
import { IModuleConf } from '@wangeditor/core'
7+
import { IModuleConf } from '@cxjf/wangeditor-core'
88

99
function registerModule(module: Partial<IModuleConf>) {
1010
const {

0 commit comments

Comments
 (0)