diff --git a/.gitignore b/.gitignore index d81b17c05..d2d5d4eff 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,6 @@ test/**/*.js /packages/ui/certd-server/data/db.sqlite /packages/ui/certd-server/data/keys.yaml /packages/pro/ -test.js \ No newline at end of file +test.js + +.history \ No newline at end of file diff --git a/package.json b/package.json index d4e31b15a..c68d1d4de 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,9 @@ "devb": "lerna run dev-build", "i-all": "lerna link && lerna exec npm install ", "publish": "npm run prepublishOnly2 && lerna publish --force-publish=pro/plus-core --conventional-commits --create-release github && npm run afterpublishOnly && npm run commitAll", - "afterpublishOnly": "npm run copylogs && time /t >trigger/build.trigger && git add ./trigger/build.trigger && git commit -m \"build: trigger build image\" && TIMEOUT /T 10 && git push", + "afterpublishOnly": "npm run plugin-doc-gen && npm run copylogs && time /t >trigger/build.trigger && git add ./trigger/build.trigger && git commit -m \"build: trigger build image\" && TIMEOUT /T 10 && git push", "transform-sql": "cd ./packages/ui/certd-server/db/ && node --experimental-json-modules transform.js", + "plugin-doc-gen": "cd ./packages/ui/certd-server/ && npm run export-md", "commitAll": "git add . && git commit -m \"build: publish\" && git push && npm run commitPro", "commitPro": "cd ./packages/pro/ && git add . && git commit -m \"build: publish\" && git push", "copylogs": "copyfiles \"CHANGELOG.md\" ./docs/guide/changelogs/", diff --git a/packages/core/basic/src/index.ts b/packages/core/basic/src/index.ts index 25cc7a63d..07376964e 100644 --- a/packages/core/basic/src/index.ts +++ b/packages/core/basic/src/index.ts @@ -1,2 +1 @@ -export * from './utils/index.js'; -export * from './utils/util.id.js'; +export * from "./utils/index.js"; diff --git a/packages/core/basic/src/utils/index.ts b/packages/core/basic/src/utils/index.ts index 048e29d23..582c42baa 100644 --- a/packages/core/basic/src/utils/index.ts +++ b/packages/core/basic/src/utils/index.ts @@ -37,6 +37,9 @@ import { mitter } from "./util.mitter.js"; import * as request from "./util.request.js"; export * from "./util.cache.js"; + +export * from "./util.id.js"; + export const utils = { sleep, http, diff --git a/packages/plugins/plugin-lib/src/index.ts b/packages/plugins/plugin-lib/src/index.ts index 00f11d4bc..7208994b3 100644 --- a/packages/plugins/plugin-lib/src/index.ts +++ b/packages/plugins/plugin-lib/src/index.ts @@ -7,4 +7,4 @@ export * from "./qiniu/index.js"; export * from "./ctyun/index.js"; export * from "./oss/index.js"; export * from "./s3/index.js"; -export * from "./lib/index.js"; +export * from "./lib/index.js"; \ No newline at end of file