mirror of
https://gitee.com/antv/g6.git
synced 2024-11-29 18:28:19 +08:00
chore: config changeset, update version (#5930)
* chore: config changeset * chore: fix cli deps version * chore: add publish script * chore: update version, add changelog * chore: update changeset config * chore: update publish script * chore: update g6-cli * chore: update version before publish
This commit is contained in:
parent
5324255ee4
commit
0248c9c940
11
.changeset/config.json
Normal file
11
.changeset/config.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@3.0.1/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "v5",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": ["@antv/g6-site", "g6-extension-test"]
|
||||
}
|
@ -9,7 +9,8 @@
|
||||
"prepare": "husky install",
|
||||
"build": "turbo build --filter=!@antv/g6-site",
|
||||
"ci": "turbo run ci --filter=!@antv/g6-site",
|
||||
"contribute": "node ./scripts/contribute.mjs"
|
||||
"contribute": "node ./scripts/contribute.mjs",
|
||||
"publish": "pnpm publish -r --publish-branch v5"
|
||||
},
|
||||
"commitlint": {
|
||||
"extends": [
|
||||
@ -25,6 +26,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.24.5",
|
||||
"@babel/plugin-transform-typescript": "^7.24.5",
|
||||
"@changesets/cli": "^2.27.6",
|
||||
"@commitlint/cli": "^18.6.1",
|
||||
"@commitlint/config-conventional": "^18.6.3",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
|
@ -38,5 +38,9 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.0.0 || >=20.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
}
|
||||
}
|
||||
|
@ -32,7 +32,7 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/g6": "5.0.0-beta.35"
|
||||
"@antv/g6": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antv/g": "^6.0.5",
|
||||
|
9
packages/g6-extension-3d/CHANGELOG.md
Normal file
9
packages/g6-extension-3d/CHANGELOG.md
Normal file
@ -0,0 +1,9 @@
|
||||
# @antv/g6-extension-3d
|
||||
|
||||
## 0.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- publish in 20240625
|
||||
- Updated dependencies
|
||||
- @antv/g6@5.0.4
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/g6-extension-3d",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "3D extension for G6",
|
||||
"keywords": [
|
||||
"antv",
|
||||
@ -49,7 +49,7 @@
|
||||
"peerDependencies": {
|
||||
"@antv/g": "^6.0.5",
|
||||
"@antv/g-canvas": "^2.0.4",
|
||||
"@antv/g6": "^5.0.0-beta.30"
|
||||
"@antv/g6": "^5.0.4"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
|
9
packages/g6-extension-react/CHANGELOG.md
Normal file
9
packages/g6-extension-react/CHANGELOG.md
Normal file
@ -0,0 +1,9 @@
|
||||
# @antv/g6-extension-react
|
||||
|
||||
## 0.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- publish in 20240625
|
||||
- Updated dependencies
|
||||
- @antv/g6@5.0.4
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/g6-extension-react",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "Using React Component to Define Your G6 Graph Node",
|
||||
"keywords": [
|
||||
"antv",
|
||||
@ -50,7 +50,7 @@
|
||||
"styled-components": "^6.1.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@antv/g6": "^5.0.0-beta.30",
|
||||
"@antv/g6": "^5.0.4",
|
||||
"react": ">=16.8",
|
||||
"react-dom": ">=16.8"
|
||||
},
|
||||
|
7
packages/g6/CHANGELOG.md
Normal file
7
packages/g6/CHANGELOG.md
Normal file
@ -0,0 +1,7 @@
|
||||
# @antv/g6
|
||||
|
||||
## 5.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- publish in 20240625
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/g6",
|
||||
"version": "5.0.3",
|
||||
"version": "5.0.4",
|
||||
"description": "A Graph Visualization Framework in JavaScript",
|
||||
"keywords": [
|
||||
"antv",
|
||||
@ -39,21 +39,22 @@
|
||||
"build:umd": "rimraf ./dist && rollup -c && npm run size",
|
||||
"bundle-vis": "cross-env BUNDLE_VIS=1 npm run build:umd",
|
||||
"ci": "run-s lint type-check build test",
|
||||
"readme": "cp ../../README.* ./",
|
||||
"coverage": "jest --coverage",
|
||||
"coverage:open": "open coverage/lcov-report/index.html",
|
||||
"dev": "vite",
|
||||
"fix": "eslint ./src ./__tests__ --fix && prettier ./src __tests__ --write ",
|
||||
"jest": "node --expose-gc --max-old-space-size=1024 --unhandled-rejections=strict ../../node_modules/jest/bin/jest --coverage --logHeapUsage --detectOpenHandles",
|
||||
"lint": "eslint ./src __tests__ --quiet && prettier ./src __tests__ --check",
|
||||
"prepublishOnly": "run-s ci readme",
|
||||
"prepublishOnly": "run-s version ci readme",
|
||||
"readme": "cp ../../README.* ./",
|
||||
"size": "limit-size",
|
||||
"start": "rimraf ./lib && tsc --module commonjs --outDir lib --watch",
|
||||
"tag": "node ./scripts/tag.mjs",
|
||||
"test": "jest",
|
||||
"test:integration": "npm run jest __tests__/integration",
|
||||
"test:unit": "npm run jest __tests__/unit",
|
||||
"type-check": "tsc --noEmit"
|
||||
"type-check": "tsc --noEmit",
|
||||
"version": "node ./scripts/version.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/component": "^2.0.1",
|
||||
|
5
packages/g6/scripts/version.mjs
Normal file
5
packages/g6/scripts/version.mjs
Normal file
@ -0,0 +1,5 @@
|
||||
import { readFileSync, writeFileSync } from 'fs';
|
||||
|
||||
const pkg = readFileSync('./package.json', 'utf-8');
|
||||
const version = JSON.parse(pkg).version;
|
||||
writeFileSync('./src/version.ts', `export const version = '${version}';\n`, 'utf-8');
|
@ -2,7 +2,7 @@ import './preset';
|
||||
|
||||
export * from './exports';
|
||||
|
||||
export const version = '5.0.3';
|
||||
export { version } from './version';
|
||||
export const iconfont = {
|
||||
css: '//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.css',
|
||||
js: '//at.alicdn.com/t/a/font_470089_8hnbbf8n4u8.js',
|
||||
|
1
packages/g6/src/version.ts
Normal file
1
packages/g6/src/version.ts
Normal file
@ -0,0 +1 @@
|
||||
export const version = '5.0.4';
|
Loading…
Reference in New Issue
Block a user