fix: release action; bump version to 0.0.7

This commit is contained in:
Simon
2025-12-05 17:33:41 +08:00
parent 20f33ac478
commit 49d6163a70
5 changed files with 10 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ jobs:
run: npm ci run: npm ci
- name: Build - name: Build
run: npm run build:lib run: npm run build
- name: Publish to npm - name: Publish all public packages
run: npm publish --workspace=page-agent run: npm publish --workspaces --access public

View File

@@ -1,7 +1,7 @@
{ {
"name": "root", "name": "root",
"private": true, "private": true,
"version": "0.0.6", "version": "0.0.7",
"type": "module", "type": "module",
"workspaces": [ "workspaces": [
"packages/page-controller", "packages/page-controller",

View File

@@ -1,7 +1,7 @@
{ {
"name": "page-agent", "name": "page-agent",
"private": false, "private": false,
"version": "0.0.6", "version": "0.0.7",
"type": "module", "type": "module",
"main": "./dist/lib/page-agent.js", "main": "./dist/lib/page-agent.js",
"module": "./dist/lib/page-agent.js", "module": "./dist/lib/page-agent.js",
@@ -50,6 +50,6 @@
"ai-motion": "^0.4.7", "ai-motion": "^0.4.7",
"chalk": "^5.6.2", "chalk": "^5.6.2",
"zod": "^4.1.12", "zod": "^4.1.12",
"@page-agent/page-controller": "^0.0.6" "@page-agent/page-controller": "0.0.7"
} }
} }

View File

@@ -1,7 +1,6 @@
{ {
"name": "@page-agent/page-controller", "name": "@page-agent/page-controller",
"private": false, "version": "0.0.7",
"version": "0.0.6",
"type": "module", "type": "module",
"main": "./dist/lib/page-controller.js", "main": "./dist/lib/page-controller.js",
"module": "./dist/lib/page-controller.js", "module": "./dist/lib/page-controller.js",
@@ -35,7 +34,7 @@
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"build:watch": "vite build --watch", "build:watch": "vite build --watch",
"prepublishOnly": "node -e \"const fs=require('fs');['README.md','LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"", "prepublishOnly": "node -e \"const fs=require('fs');['LICENSE'].forEach(f=>fs.copyFileSync('../../'+f,f))\"",
"postpublish": "node -e \"['README.md','LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\"" "postpublish": "node -e \"['LICENSE'].forEach(f=>{try{require('fs').unlinkSync(f)}catch{}})\""
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"name": "@page-agent/website", "name": "@page-agent/website",
"private": true, "private": true,
"version": "0.0.6", "version": "0.0.7",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",