chore: remove deps (#1335)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#1335
This commit is contained in:
parent
37d54faae3
commit
f1157e6d2f
@ -88,6 +88,9 @@
|
|||||||
"pnpm": "8.15.5"
|
"pnpm": "8.15.5"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
|
"neverBuiltDependencies": [
|
||||||
|
"canvas"
|
||||||
|
],
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@types/node": "20.14.2",
|
"@types/node": "20.14.2",
|
||||||
"antd": "5.19.1",
|
"antd": "5.19.1",
|
||||||
|
@ -68,12 +68,9 @@ const external = [
|
|||||||
// koa
|
// koa
|
||||||
'koa',
|
'koa',
|
||||||
'@koa/cors',
|
'@koa/cors',
|
||||||
'@koa/router',
|
|
||||||
'multer',
|
'multer',
|
||||||
'@koa/multer',
|
'@koa/multer',
|
||||||
'koa-bodyparser',
|
'koa-bodyparser',
|
||||||
'koa-static',
|
|
||||||
'koa-send',
|
|
||||||
|
|
||||||
// react
|
// react
|
||||||
'react',
|
'react',
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
"@hapi/topo": "^6.0.0",
|
"@hapi/topo": "^6.0.0",
|
||||||
"@koa/cors": "^5.0.0",
|
"@koa/cors": "^5.0.0",
|
||||||
"@koa/multer": "^3.0.2",
|
"@koa/multer": "^3.0.2",
|
||||||
"@koa/router": "^9.4.0",
|
|
||||||
"@tachybase/acl": "workspace:*",
|
"@tachybase/acl": "workspace:*",
|
||||||
"@tachybase/actions": "workspace:*",
|
"@tachybase/actions": "workspace:*",
|
||||||
"@tachybase/auth": "workspace:*",
|
"@tachybase/auth": "workspace:*",
|
||||||
@ -24,7 +23,6 @@
|
|||||||
"@tachybase/utils": "workspace:*",
|
"@tachybase/utils": "workspace:*",
|
||||||
"@types/decompress": "4.2.4",
|
"@types/decompress": "4.2.4",
|
||||||
"@types/ini": "^1.3.31",
|
"@types/ini": "^1.3.31",
|
||||||
"@types/koa-send": "^4.1.3",
|
|
||||||
"@types/multer": "^1.4.5",
|
"@types/multer": "^1.4.5",
|
||||||
"axios": "^1.6.2",
|
"axios": "^1.6.2",
|
||||||
"chalk": "^4.1.1",
|
"chalk": "^4.1.1",
|
||||||
@ -40,10 +38,8 @@
|
|||||||
"ini": "^4.1.1",
|
"ini": "^4.1.1",
|
||||||
"koa": "^2.13.4",
|
"koa": "^2.13.4",
|
||||||
"koa-bodyparser": "^4.3.0",
|
"koa-bodyparser": "^4.3.0",
|
||||||
"koa-send": "^5.0.1",
|
|
||||||
"koa-static": "^5.0.0",
|
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"multer": "^1.4.2",
|
"multer": "1.4.5-lts.1",
|
||||||
"nanoid": "3.3.4",
|
"nanoid": "3.3.4",
|
||||||
"qs": "^6.12.1",
|
"qs": "^6.12.1",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
|
@ -44,12 +44,9 @@ export const EXTERNAL = [
|
|||||||
// koa
|
// koa
|
||||||
'koa',
|
'koa',
|
||||||
'@koa/cors',
|
'@koa/cors',
|
||||||
'@koa/router',
|
|
||||||
'multer',
|
'multer',
|
||||||
'@koa/multer',
|
'@koa/multer',
|
||||||
'koa-bodyparser',
|
'koa-bodyparser',
|
||||||
'koa-static',
|
|
||||||
'koa-send',
|
|
||||||
|
|
||||||
// react
|
// react
|
||||||
'react',
|
'react',
|
||||||
|
@ -16,12 +16,9 @@ const deps: Record<string, string> = {
|
|||||||
'winston-daily-rotate-file': '4.x',
|
'winston-daily-rotate-file': '4.x',
|
||||||
koa: '2.x',
|
koa: '2.x',
|
||||||
'@koa/cors': '3.x',
|
'@koa/cors': '3.x',
|
||||||
'@koa/router': '9.x',
|
|
||||||
multer: '1.x',
|
multer: '1.x',
|
||||||
'@koa/multer': '3.x',
|
'@koa/multer': '3.x',
|
||||||
'koa-bodyparser': '4.x',
|
'koa-bodyparser': '4.x',
|
||||||
'koa-static': '5.x',
|
|
||||||
'koa-send': '5.x',
|
|
||||||
react: '18.x',
|
react: '18.x',
|
||||||
'react-dom': '18.x',
|
'react-dom': '18.x',
|
||||||
'react-router': '6.x',
|
'react-router': '6.x',
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"flat-to-nested": "^1.1.1",
|
"flat-to-nested": "^1.1.1",
|
||||||
"graphlib": "^2.1.8",
|
"graphlib": "^2.1.8",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"multer": "^1.4.5-lts.1",
|
"multer": "1.4.5-lts.1",
|
||||||
"object-path": "^0.11.8"
|
"object-path": "^0.11.8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -10,9 +10,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ant-design/icons": "~5.3.7",
|
"@ant-design/icons": "~5.3.7",
|
||||||
"@tachybase/schema": "workspace:*",
|
"@tachybase/schema": "workspace:*",
|
||||||
"@types/cron": "^2.0.1",
|
|
||||||
"antd": "5.19.1",
|
"antd": "5.19.1",
|
||||||
"cron": "^2.3.1",
|
"cron": "^3.1.7",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-i18next": "^14.1.2",
|
"react-i18next": "^14.1.2",
|
||||||
"react-router-dom": "^6.11.2"
|
"react-router-dom": "^6.11.2"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"mime-match": "^1.0.2",
|
"mime-match": "^1.0.2",
|
||||||
"mkdirp": "~0.5.4",
|
"mkdirp": "~0.5.4",
|
||||||
"multer": "^1.4.2",
|
"multer": "1.4.5-lts.1",
|
||||||
"multer-aliyun-oss": "2.1.1",
|
"multer-aliyun-oss": "2.1.1",
|
||||||
"multer-cos": "^1.0.3",
|
"multer-cos": "^1.0.3",
|
||||||
"multer-s3": "^3.0.1",
|
"multer-s3": "^3.0.1",
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
"@types/qrcode": "^1.5.5",
|
"@types/qrcode": "^1.5.5",
|
||||||
"antd": "5.19.1",
|
"antd": "5.19.1",
|
||||||
"axios": "^1.6.2",
|
"axios": "^1.6.2",
|
||||||
"canvas": "^2.11.2",
|
|
||||||
"cron-parser": "4.4.0",
|
"cron-parser": "4.4.0",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
|
|
||||||
import * as canvas from 'canvas';
|
|
||||||
import jsonata from 'jsonata';
|
import jsonata from 'jsonata';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import qrcode from 'qrcode';
|
import qrcode from 'qrcode';
|
||||||
@ -90,7 +89,6 @@ async function convertByJsCode(code, data) {
|
|||||||
lib: {
|
lib: {
|
||||||
log: console.log,
|
log: console.log,
|
||||||
JSON,
|
JSON,
|
||||||
canvas,
|
|
||||||
qrcode,
|
qrcode,
|
||||||
crypto,
|
crypto,
|
||||||
jsonata,
|
jsonata,
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import crypto from 'crypto';
|
import crypto from 'crypto';
|
||||||
|
|
||||||
import * as canvas from 'canvas';
|
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
import qrcode from 'qrcode';
|
import qrcode from 'qrcode';
|
||||||
|
|
||||||
@ -19,7 +18,6 @@ export class JSParseInstruction extends Instruction {
|
|||||||
ctx,
|
ctx,
|
||||||
lib: {
|
lib: {
|
||||||
JSON,
|
JSON,
|
||||||
canvas,
|
|
||||||
qrcode,
|
qrcode,
|
||||||
crypto,
|
crypto,
|
||||||
log: console.log,
|
log: console.log,
|
||||||
|
1238
pnpm-lock.yaml
1238
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user