mirror of https://github.com/certd/certd
chore: node 16
parent
60921d9adf
commit
5bd042d9bc
|
@ -2,12 +2,12 @@
|
||||||
"name": "@certd/pipeline",
|
"name": "@certd/pipeline",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"main": "./src/index.ts",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./src/index.ts",
|
"module": "./dist/pipeline.mjs",
|
||||||
"types": "./src/index.ts",
|
"types": "./dist/d/index.d.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/pipeline.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/d/index.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-aliyun.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-aliyun.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-all.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-all.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-cert.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-cert.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-host.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-host.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-huawei.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-huawei.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-tencent.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-tencent.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
"types": "./src/index.ts",
|
"types": "./src/index.ts",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"main": "./dist/bundle.js",
|
"main": "./dist/bundle.js",
|
||||||
"module": "./dist/plugin-util.mjs",
|
"module": "./dist/bundle.mjs",
|
||||||
"types": "./dist/es/plugin-util.d.ts"
|
"types": "./dist/d/index.d.ts"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -17,7 +17,8 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"kubernetes-client": "^9.0.0"
|
"kubernetes-client": "^9.0.0",
|
||||||
|
"shelljs": "^0.8.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@certd/pipeline": "^1.0.5",
|
"@certd/pipeline": "^1.0.5",
|
||||||
|
|
|
@ -14,7 +14,13 @@ module.exports = {
|
||||||
// 解析第三方依赖
|
// 解析第三方依赖
|
||||||
resolve(),
|
resolve(),
|
||||||
// 识别 commonjs 模式第三方依赖
|
// 识别 commonjs 模式第三方依赖
|
||||||
commonjs(),
|
commonjs({
|
||||||
|
dynamicRequireRoot: "../../../",
|
||||||
|
dynamicRequireTargets: [
|
||||||
|
// include using a glob pattern (either a string or an array of strings)
|
||||||
|
"node_modules/shelljs/src/*",
|
||||||
|
],
|
||||||
|
}),
|
||||||
Typescript({
|
Typescript({
|
||||||
target: "esnext",
|
target: "esnext",
|
||||||
rootDir: "src",
|
rootDir: "src",
|
||||||
|
@ -39,5 +45,9 @@ module.exports = {
|
||||||
"@certd/plugin-host",
|
"@certd/plugin-host",
|
||||||
"@certd/plugin-tencent",
|
"@certd/plugin-tencent",
|
||||||
"@certd/plugin-util",
|
"@certd/plugin-util",
|
||||||
|
"log4js",
|
||||||
|
"@midwayjs/core",
|
||||||
|
"@midwayjs/decorator",
|
||||||
|
// "kubernetes-client",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue