@certd/jdcloud 1.31.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ export declare const JDCloud: any;
2
+ export declare const JDService: any;
3
+ export declare const JDDomainService: any;
4
+ export declare const JDCdnService: any;
5
+ export declare const JDSslService: any;
@@ -0,0 +1,5 @@
1
+ export declare const JDCloud: any;
2
+ export declare const JDService: any;
3
+ export declare const JDDomainService: any;
4
+ export declare const JDCdnService: any;
5
+ export declare const JDSslService: any;
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ import jdCloud from "./lib/core.js";
2
+ import jdService from './lib/service.js';
3
+ import domainService from './repo/domainservice/v2/domainservice.js';
4
+ import cdnService from './repo/cdn/v1/cdn.js';
5
+ import sslService from './repo/ssl/v1/ssl.js';
6
+ export const JDCloud = jdCloud;
7
+ export const JDService = jdService;
8
+ export const JDDomainService = domainService;
9
+ export const JDCdnService = cdnService;
10
+ export const JDSslService = sslService;
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAO,eAAe,CAAC;AACrC,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,OAAO,aAAa,MAAM,0CAA0C,CAAA;AACpE,OAAO,UAAU,MAAM,sBAAsB,CAAA;AAC7C,OAAO,UAAU,MAAM,sBAAsB,CAAA;AAC7C,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAC/B,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAC;AACnC,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;AAC7C,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;AACvC,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC"}
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@certd/jdcloud",
3
+ "version": "1.31.10",
4
+ "description": "jdcloud openApi sdk",
5
+ "main": "./dist/bundle.js",
6
+ "module": "./dist/bundle.js",
7
+ "types": "./dist/d/index.d.ts",
8
+ "scripts": {
9
+ "test": "cross-env NODE_CONFIG_DIR=./test/config mocha --recursive --require babel-register",
10
+ "dev": "babel src --out-dir babel -w",
11
+ "build": "rollup -c ",
12
+ "dev-build": "npm run build"
13
+ },
14
+ "author": "",
15
+ "license": "Apache",
16
+ "dependencies": {
17
+ "babel-register": "^6.26.0",
18
+ "buffer": "^5.0.8",
19
+ "create-hash": "^1.1.3",
20
+ "create-hmac": "^1.1.6",
21
+ "debug": "^3.1.0",
22
+ "node-fetch": "^2.1.2",
23
+ "querystring": "^0.2.0",
24
+ "rollup": "^3.7.4",
25
+ "url": "^0.11.0",
26
+ "uuid": "^3.1.0"
27
+ },
28
+ "devDependencies": {
29
+ "@rollup/plugin-typescript": "^11.0.0",
30
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
31
+ "@typescript-eslint/parser": "^8.26.1",
32
+ "babel-cli": "^6.26.0",
33
+ "babel-preset-env": "^1.6.1",
34
+ "chai": "^4.1.2",
35
+ "config": "^1.30.0",
36
+ "cross-env": "^5.1.4",
37
+ "js-yaml": "^3.11.0",
38
+ "mocha": "^5.0.0",
39
+ "prettier": "^2.8.8",
40
+ "tslib": "^2.8.1"
41
+ },
42
+ "engines": {
43
+ "node": ">= 8.6.0",
44
+ "npm": ">= 5.6.0"
45
+ },
46
+ "browserslist": [
47
+ "> 1%",
48
+ "last 2 versions",
49
+ "not ie <= 9"
50
+ ],
51
+ "standard": {
52
+ "env": [
53
+ "node",
54
+ "mocha",
55
+ "browser"
56
+ ],
57
+ "globals": [
58
+ "Request",
59
+ "Headers",
60
+ "fetch"
61
+ ]
62
+ }
63
+ }
@@ -0,0 +1,36 @@
1
+ const resolve = require("@rollup/plugin-node-resolve");
2
+ const commonjs = require("@rollup/plugin-commonjs");
3
+ //const Typescript = require("rollup-plugin-typescript2");
4
+ const Typescript = require("@rollup/plugin-typescript");
5
+ const json = require("@rollup/plugin-json");
6
+ const terser = require("@rollup/plugin-terser");
7
+ module.exports = {
8
+ input: "src/index.ts",
9
+ output: {
10
+ file: "dist/bundle.js",
11
+ format: "cjs",
12
+ },
13
+ plugins: [
14
+ // 解析第三方依赖
15
+ resolve(),
16
+ // 识别 commonjs 模式第三方依赖
17
+ commonjs({
18
+ // dynamicRequireRoot: "../../../../",
19
+ // dynamicRequireTargets: [
20
+ // // include using a glob pattern (either a string or an array of strings)
21
+ // "../../../../**/shelljs/src/*",
22
+ // ],
23
+ }),
24
+ Typescript({
25
+ target: "esnext",
26
+ rootDir: "src",
27
+ declaration: true,
28
+ declarationDir: "dist/d",
29
+ exclude: ["./node_modules/**", "./src/**/*.vue", "./src/**/*.spec.ts"],
30
+ allowSyntheticDefaultImports: true,
31
+ }),
32
+ json(),
33
+ // terser(),
34
+ ],
35
+ external: ["vue", "lodash-es", "dayjs", "log4js", "@midwayjs/core", "@certd/pipeline", "axios"],
36
+ };
@@ -0,0 +1,3 @@
1
+ global:
2
+ accessKeyId : ak
3
+ secretAccessKey: sk
package/tsconfig.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "compileOnSave": true,
3
+ "compilerOptions": {
4
+ "target": "ESNext",
5
+ "module": "ESNext",
6
+ "moduleResolution": "node",
7
+ "esModuleInterop": true,
8
+ "experimentalDecorators": true,
9
+ "emitDecoratorMetadata": true,
10
+ "noImplicitThis": true,
11
+ "noUnusedLocals": true,
12
+ "stripInternal": true,
13
+ "importHelpers": true,
14
+ "skipLibCheck": true,
15
+ "pretty": true,
16
+ "declaration": true,
17
+ "forceConsistentCasingInFileNames": true,
18
+ "typeRoots": [ "./typings", "./node_modules/@types"],
19
+ "outDir": "dist",
20
+ "rootDir": "src",
21
+ "composite": false,
22
+ "useDefineForClassFields": true,
23
+ "strict": false,
24
+ "sourceMap": true,
25
+ "resolveJsonModule": true,
26
+ "isolatedModules": false,
27
+ "lib": ["ESNext", "DOM"],
28
+ },
29
+ "include": [
30
+ "src/**/*.ts",
31
+ "src/**/*.d.ts",
32
+ "src/**/*.js",
33
+ "src/**/*.json"
34
+ ],
35
+ "exclude": [
36
+ "*.ts",
37
+ "dist",
38
+ "node_modules",
39
+ "test"
40
+ ],
41
+ }