Skip to content

Commit

Permalink
Merge b73509d into 49398dd
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca authored Jun 6, 2024
2 parents 49398dd + b73509d commit 4bffb15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/g6/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g6",
"version": "5.0.0-beta.40",
"version": "5.0.0",
"description": "A Graph Visualization Framework in JavaScript",
"keywords": [
"antv",
Expand Down Expand Up @@ -42,6 +42,7 @@
"coverage:open": "open coverage/lcov-report/index.html",
"dev": "vite",
"fix": "eslint ./src ./__tests__ --fix && prettier ./src __tests__ --write ",
"postinstall": "node ./scripts/tips.mjs",
"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": "npm run ci",
Expand Down Expand Up @@ -78,8 +79,7 @@
"xmlserializer": "^0.6.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"tag": "beta"
"registry": "https://registry.npmjs.org/"
},
"limit-size": [
{
Expand Down
6 changes: 6 additions & 0 deletions packages/g6/scripts/tips.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
console.log('-'.repeat(40));
console.log('\x1b[42m\x1b[97m\x1b[1mNotice\x1b[0m');
console.log('You are using the latest', '\x1b[1m\x1b[32mAntV G6 5.0\x1b[0m', '!');
console.log('For more information, please visit:');
console.log('👉', '\x1b[32m\x1b[4mhttps://g6.antv.antgroup.com\x1b[0m');
console.log('-'.repeat(40));

0 comments on commit 4bffb15

Please sign in to comment.