mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-28 11:46:02 +08:00
Explicitly adds Monaco editor (#239)
This commit is contained in:
parent
93065419ba
commit
3b88a01122
3 changed files with 9 additions and 5 deletions
4
apps/ui/package-lock.json
generated
4
apps/ui/package-lock.json
generated
|
@ -26,6 +26,7 @@
|
|||
"date-fns-tz": "^1.3.8",
|
||||
"grapesjs": "^0.21.1",
|
||||
"grapesjs-mjml": "^1.0.4",
|
||||
"monaco-editor": "^0.41.0",
|
||||
"react": "^18.2.0",
|
||||
"react-charts": "^3.0.0-beta.54",
|
||||
"react-dom": "^18.2.0",
|
||||
|
@ -12761,8 +12762,7 @@
|
|||
"node_modules/monaco-editor": {
|
||||
"version": "0.41.0",
|
||||
"resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.41.0.tgz",
|
||||
"integrity": "sha512-1o4olnZJsiLmv5pwLEAmzHTE/5geLKQ07BrGxlF4Ri/AXAc2yyDGZwHjiTqD8D/ROKUZmwMA28A+yEowLNOEcA==",
|
||||
"peer": true
|
||||
"integrity": "sha512-1o4olnZJsiLmv5pwLEAmzHTE/5geLKQ07BrGxlF4Ri/AXAc2yyDGZwHjiTqD8D/ROKUZmwMA28A+yEowLNOEcA=="
|
||||
},
|
||||
"node_modules/ms": {
|
||||
"version": "2.1.2",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@parcelvoy/ui",
|
||||
"version": "0.1.0",
|
||||
"repository":"https://github.com/parcelvoy/platform",
|
||||
"repository": "https://github.com/parcelvoy/platform",
|
||||
"dependencies": {
|
||||
"@fontsource/inter": "^4.5.14",
|
||||
"@headlessui/react": "1.7.13",
|
||||
|
@ -21,6 +21,7 @@
|
|||
"date-fns-tz": "^1.3.8",
|
||||
"grapesjs": "^0.21.1",
|
||||
"grapesjs-mjml": "^1.0.4",
|
||||
"monaco-editor": "^0.41.0",
|
||||
"react": "^18.2.0",
|
||||
"react-charts": "^3.0.0-beta.54",
|
||||
"react-dom": "^18.2.0",
|
||||
|
@ -41,7 +42,7 @@
|
|||
"docker:build": "docker buildx build -f ./Dockerfile -t ghcr.io/parcelvoy/ui:latest -t ghcr.io/parcelvoy/ui:$npm_config_tag ../../",
|
||||
"docker:build:push": "npm run docker:build -- --push",
|
||||
"package:build": "rimraf lib/ && npm run package:build:esm && npm run package:build:cjs",
|
||||
"package:build:esm": "tsc --project ./tsconfig.lib.json && copyfiles -u 1 src/**/*.css lib/esm/",
|
||||
"package:build:esm": "tsc --project ./tsconfig.lib.json && copyfiles -u 1 src/**/*.css lib/esm/",
|
||||
"package:build:cjs": "tsc --project ./tsconfig.lib.json --module commonjs --outDir lib/cjs && copyfiles -u 1 src/**/*.css lib/cjs/",
|
||||
"package:publish": "npm run package:build && npm version $npm_config_tag --no-git-tag-version && npm pack && npm publish --tag=latest"
|
||||
},
|
||||
|
@ -79,5 +80,7 @@
|
|||
"source-map-explorer": "2.5.3",
|
||||
"typescript": "^4.9.3"
|
||||
},
|
||||
"files": ["lib"]
|
||||
"files": [
|
||||
"lib"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"docker:build": "lerna run docker:build",
|
||||
"docker:build:push": "lerna run docker:build:push",
|
||||
"analyze:ui:bundle": "lerna run build && npx source-map-explorer './apps/ui/build/static/js/*.js'",
|
||||
"package:build": "lerna run package:build",
|
||||
"package:publish": "lerna run package:publish"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue