refactor: ui edit cert

pull/9/head^2
xiaojunnuo 2022-10-18 23:15:36 +08:00
parent b7bde7b685
commit b10ff5b6ee
22 changed files with 115 additions and 22 deletions

4
.gitignore vendored
View File

@ -6,7 +6,9 @@ yarn-error.log
yarn.lock
package-lock.json
/.idea/
*/**/dist
*/**/pnpm-lock.yaml
*/**/stats.html
.idea
*.iml
out

@ -1 +1 @@
Subproject commit 21126e0bd7390946aecc277b745baa0fab8f4899
Subproject commit 23f1e36aa82d5d7837033a555c5ea04614cfcbcc

View File

@ -2,10 +2,14 @@
"name": "@certd/api",
"version": "0.2.1",
"description": "",
"main": "src/index.js",
"type": "module",
"author": "Greper",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/fast-crud.es.js",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"axios": "^0.21.1",
"dayjs": "^1.9.7",
@ -20,7 +24,8 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rollup": "^3.2.3"
},
"gitHead": "5fbd7742665c0a949333d805153e9b6af91c0a71"
}

View File

@ -0,0 +1,13 @@
export default {
input: 'src/index.js',
output: [
{
file: 'dist/index.cjs',
format: 'cjs'
},
{
file: 'dist/index.es.js',
format: 'es'
}
]
}

View File

@ -1,4 +1,4 @@
import _ from 'lodash-es'
import _ from 'lodash'
import logger from '../utils/util.log.js'
import commonUtil from '../utils/util.common.js'
export class AbstractDnsProvider {

View File

@ -1,4 +1,4 @@
import _ from 'lodash-es'
import _ from 'lodash'
export default {
arrayToMap (array) {
if (!array) {

View File

@ -2,8 +2,12 @@
"name": "@certd/plugin-aliyun",
"version": "0.2.2",
"description": "",
"main": "src/index.js",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/fast-crud.es.js",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"@alicloud/cs20151215": "^3.0.3",
"@alicloud/openapi-client": "^0.4.0",
@ -21,7 +25,8 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rollup": "^3.2.3"
},
"author": "Greper",
"license": "MIT",

View File

@ -0,0 +1,13 @@
export default {
input: 'src/index.js',
output: [
{
file: 'dist/index.cjs',
format: 'cjs'
},
{
file: 'dist/index.es.js',
format: 'es'
}
]
}

View File

@ -1,6 +1,6 @@
import { AbstractDnsProvider } from '@certd/api'
import Core from '@alicloud/pop-core'
import _ from 'lodash-es'
import _ from 'lodash'
export class AliyunDnsProvider extends AbstractDnsProvider {
static define () {
return {

View File

@ -1,4 +1,4 @@
import _ from 'lodash-es'
import _ from 'lodash'
import { AliyunDnsProvider } from './dns-providers/aliyun.js'
import { AliyunAccessProvider } from './access-providers/aliyun.js'

View File

@ -2,9 +2,14 @@
"name": "@certd/plugin-common",
"version": "0.2.1",
"description": "",
"main": "src/index.js",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/fast-crud.es.js",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"@certd/api": "^0.2.1",
"kubernetes-client": "^9.0.0"
},
"devDependencies": {
@ -15,7 +20,8 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rollup": "^3.2.3"
},
"author": "Greper",
"license": "MIT",

View File

@ -0,0 +1,13 @@
export default {
input: 'src/index.js',
output: [
{
file: 'dist/index.cjs',
format: 'cjs'
},
{
file: 'dist/index.es.js',
format: 'es'
}
]
}

View File

@ -2,8 +2,12 @@
"name": "@certd/plugin-host",
"version": "0.2.1",
"description": "",
"main": "src/index.js",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/fast-crud.es.js",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"@certd/api": "^0.2.1",
"dayjs": "^1.9.7",
@ -18,7 +22,8 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rollup": "^3.2.3"
},
"author": "Greper",
"license": "MIT",

View File

@ -0,0 +1,13 @@
export default {
input: 'src/index.js',
output: [
{
file: 'dist/index.cjs',
format: 'cjs'
},
{
file: 'dist/index.es.js',
format: 'es'
}
]
}

View File

@ -1,4 +1,4 @@
import _ from 'lodash-es'
import _ from 'lodash'
import { SSHAccessProvider } from './access-providers/ssh.js'

View File

@ -1,7 +1,7 @@
import ssh2 from 'ssh2'
import path from 'path'
import { util } from '@certd/api'
import _ from 'lodash-es'
import _ from 'lodash'
const logger = util.logger
export class SshClient {
/**

View File

@ -2,8 +2,12 @@
"name": "@certd/plugin-tencent",
"version": "0.2.2",
"description": "",
"main": "src/index.js",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/fast-crud.es.js",
"scripts": {
"build": "rollup -c"
},
"dependencies": {
"@certd/api": "^0.2.1",
"@certd/plugin-common": "^0.2.1",
@ -20,7 +24,8 @@
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"rollup": "^3.2.3"
},
"author": "Greper",
"license": "MIT",

View File

@ -0,0 +1,13 @@
export default {
input: 'src/index.js',
output: [
{
file: 'dist/index.cjs',
format: 'cjs'
},
{
file: 'dist/index.es.js',
format: 'es'
}
]
}

View File

@ -1,5 +1,5 @@
import { AbstractDnsProvider, util } from '@certd/api'
import _ from 'lodash-es'
import _ from 'lodash'
const request = util.request
export class DnspodDnsProvider extends AbstractDnsProvider {
static define () {

View File

@ -1,4 +1,4 @@
import _ from 'lodash-es'
import _ from 'lodash'
import { TencentAccessProvider } from './access-providers/tencent.js'
import { DnspodAccessProvider } from './access-providers/dnspod.js'

@ -1 +1 @@
Subproject commit 67cf07082c4b1d61ea4dbbd3fd2f363bf1f4c4c9
Subproject commit a34edc5753ba6e33a7968df4e4bf0c3dcc8f8e85

@ -1 +1 @@
Subproject commit 5ecaa2b375ad0edf53bc6839c8e6c4c382602eb7
Subproject commit 213988fd18b0eb68437b8c0c616095be8e603db4