Skip to content

Commit

Permalink
chore: 更新theme-editor依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc committed Dec 14, 2023
1 parent 80b5400 commit 4780fd9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"magic-string": "^0.26.7",
"marked": "^4.2.1",
"monaco-editor": "0.30.1",
"plugin-react-i18n": "1.0.4",
"plugin-react-i18n": "1.0.5",
"postcss-scss": "^4.0.6",
"prismjs": "^1.29.0",
"react": "^18.2.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/amis-theme-editor-helper/i18nConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = {
test: /.*(ts|tsx|js|jsx)$/
},
includes: ['src/renderers'],
ignore: {
list: ['src/*']
},
importInfo: {
source: 'i18n-runtime',
imported: 'i18n',
Expand Down
17 changes: 11 additions & 6 deletions packages/amis-theme-editor-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amis-theme-editor-helper",
"version": "2.0.22-beta.13",
"version": "2.0.26",
"description": "amis主题编辑器通用方法",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down Expand Up @@ -29,9 +29,9 @@
]
},
"dependencies": {
"react": "^18.2.0",
"react-color": "^2.19.3",
"react-dom": "^18.2.0"
"amis": "*",
"amis-core": "*",
"amis-ui": "*"
},
"devDependencies": {
"@rollup/plugin-url": "^7.0.0",
Expand All @@ -58,12 +58,17 @@
"typescript": "^4.6.4",
"sass": "^1.49.7",
"sass-loader": "^12.5.0",
"style-loader": "^3.2.1"
"style-loader": "^3.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-color": "^2.19.3"
},
"peerDependencies": {
"amis": "*",
"amis-core": "*",
"amis-ui": "*",
"i18n-runtime": "*"
"i18n-runtime": "*",
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
}
}

0 comments on commit 4780fd9

Please sign in to comment.