From f2f56adfd7d4084b36eac12bdeaa4f98e276da4b Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 1 Oct 2024 22:54:16 +0800 Subject: [PATCH] chore: basic for publish --- package.json | 5 +++-- packages/core/basic/build.md | 0 packages/core/basic/package.json | 11 +++++++++++ packages/core/basic/readme.md | 0 packages/core/basic/src/index.js | 0 packages/core/pipeline/package.json | 1 + 6 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 packages/core/basic/build.md create mode 100644 packages/core/basic/package.json create mode 100644 packages/core/basic/readme.md create mode 100644 packages/core/basic/src/index.js diff --git a/package.json b/package.json index 01e13f58..1cc8dc84 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,11 @@ "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": "time /t >build.trigger && git add ./build.trigger && git commit -m \"build: trigger build image\" && TIMEOUT /T 10 && git push", - "commitAll" : "git add . && git commit -m \"build: publish\" && git push", + "commitAll" : "git add . && git commit -m \"build: publish\" && git push && npm run commitPro", + "commitPro" : "cd ./packages/core/ && git add . && git commit -m \"build: publish\" && git push", "prepublishOnly1": "npm run check && lerna run build ", "prepublishOnly2": "npm run check && npm run before-build && lerna run build ", - "before-build": "cd ./packages/pro/plus-core && time /t >build.md && git add ./build.md && git commit -m \"build: prepare to build\"", + "before-build": "cd ./packages/core/basic && time /t >build.md && git add ./build.md && git commit -m \"build: prepare to build\"", "deploy1": "node --experimental-json-modules deploy.js ", "check": "node --experimental-json-modules publish-check.js", "init": "lerna run build" diff --git a/packages/core/basic/build.md b/packages/core/basic/build.md new file mode 100644 index 00000000..e69de29b diff --git a/packages/core/basic/package.json b/packages/core/basic/package.json new file mode 100644 index 00000000..ce370914 --- /dev/null +++ b/packages/core/basic/package.json @@ -0,0 +1,11 @@ +{ + "name": "@certd/basic", + "version": "1.25.8", + "main": "src/index.js", + "scripts": { + "build": "" + }, + "author": "", + "license": "MIT", + "description": "" +} diff --git a/packages/core/basic/readme.md b/packages/core/basic/readme.md new file mode 100644 index 00000000..e69de29b diff --git a/packages/core/basic/src/index.js b/packages/core/basic/src/index.js new file mode 100644 index 00000000..e69de29b diff --git a/packages/core/pipeline/package.json b/packages/core/pipeline/package.json index 87cbabef..9e73514a 100644 --- a/packages/core/pipeline/package.json +++ b/packages/core/pipeline/package.json @@ -15,6 +15,7 @@ "test": "mocha --loader=ts-node/esm" }, "dependencies": { + "@certd/basic": "^1.25.8", "@certd/plus-core": "^1.25.6", "axios": "^1.7.2", "fix-path": "^4.0.0",