Skip to content

Commit

Permalink
chore: publish @cxjs/wangeditor-core and @cxjs/wangeditor-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
knight.chen committed Jul 11, 2023
1 parent dea1a5d commit d60156a
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wangeditor/core",
"version": "1.1.19",
"name": "@cxjf/wangeditor-core",
"version": "1.1.20",
"description": "wangEditor core",
"author": "wangfupeng1988 <[email protected]>",
"contributors": [],
Expand All @@ -22,7 +22,7 @@
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com/"
"registry": "http://49.234.156.39:8081/repository/npm-release/"
},
"repository": {
"type": "git",
Expand Down
7 changes: 3 additions & 4 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wangeditor/editor",
"name": "@cxjf/wangeditor-editor",
"version": "5.1.23",
"description": "Web rich text editor, Web 富文本编辑器",
"keywords": [
Expand Down Expand Up @@ -28,8 +28,7 @@
"dist"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com/"
"access": "public"
},
"repository": {
"type": "git",
Expand All @@ -53,7 +52,7 @@
"@uppy/xhr-upload": "^2.0.3",
"@wangeditor/basic-modules": "^1.1.7",
"@wangeditor/code-highlight": "^1.0.3",
"@wangeditor/core": "^1.1.19",
"@cxjf/wangeditor-core": "^1.1.20",
"@wangeditor/list-module": "^1.0.5",
"@wangeditor/table-module": "^1.1.4",
"@wangeditor/upload-image-module": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/Boot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
IParseElemHtmlConf,
registerParseElemHtmlConf,
registerParseStyleHtmlHandler,
} from '@wangeditor/core'
} from '@cxjf/wangeditor-core'
import registerModule from './register-builtin-modules/register'

type PluginType = <T extends IDomEditor>(editor: T) => T
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
coreCreateEditor,
coreCreateToolbar,
Toolbar,
} from '@wangeditor/core'
} from '@cxjf/wangeditor-core'

export interface ICreateEditorOption {
selector: string | DOMElement
Expand Down
4 changes: 2 additions & 2 deletions packages/editor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import './assets/index.less'
import '@wangeditor/core/dist/css/style.css'
import '@cxjf/wangeditor-core/dist/css/style.css'

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

// 导出 slate API 和接口 (需重命名,加 `Slate` 前缀)
export {
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/init-default-config/config/toolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author wangfupeng
*/

import { t } from '@wangeditor/core'
import { t } from '@cxjf/wangeditor-core'
import {
INDENT_RIGHT_SVG,
JUSTIFY_LEFT_SVG,
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author wangfupeng
*/

import { i18nAddResources } from '@wangeditor/core'
import { i18nAddResources } from '@cxjf/wangeditor-core'
import enResources from './en'
import zhResources from './zh-CN'

Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/register-builtin-modules/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import Boot from '../Boot'
import { IModuleConf } from '@wangeditor/core'
import { IModuleConf } from '@cxjf/wangeditor-core'

function registerModule(module: Partial<IModuleConf>) {
const {
Expand Down

0 comments on commit d60156a

Please sign in to comment.