From 8bed135650fd12394f83771f3eb2d30bf74799af Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Sat, 11 Jan 2025 14:48:13 +0800 Subject: [PATCH] chore: start 3.x branch --- .github/workflows/nodejs.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- .gitignore | 1 + README.md | 8 ++++---- package.json | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c8630f5..1023f9e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -1,10 +1,10 @@ -name: CI +name: CI for 3.x on: push: - branches: [ master ] + branches: [ 3.x ] pull_request: - branches: [ master ] + branches: [ 3.x ] jobs: Job: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2bf04a..1370321 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ -name: Release +name: Release for 3.x on: push: - branches: [ master ] + branches: [ 3.x ] jobs: release: diff --git a/.gitignore b/.gitignore index 0fe7e40..65bef48 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ coverage/ test/fixtures/**/run .DS_Store +package-lock.json diff --git a/README.md b/README.md index aa2cb2e..15f4388 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # egg-development [![NPM version][npm-image]][npm-url] -[![Node.js CI](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml/badge.svg)](https://github.com/eggjs/egg-development/actions/workflows/nodejs.yml) +[![CI](https://github.com/eggjs/development/actions/workflows/nodejs.yml/badge.svg?branch=2.x)](https://github.com/eggjs/development/actions/workflows/nodejs.yml) [![Test coverage][codecov-image]][codecov-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][download-url] @@ -10,7 +10,7 @@ [npm-image]: https://img.shields.io/npm/v/egg-development.svg?style=flat-square [npm-url]: https://npmjs.org/package/egg-development [codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-development.svg?style=flat-square -[codecov-url]: https://codecov.io/github/eggjs/egg-development?branch=master +[codecov-url]: https://codecov.io/github/eggjs/development?branch=3.x [snyk-image]: https://snyk.io/test/npm/egg-development/badge.svg?style=flat-square [snyk-url]: https://snyk.io/test/npm/egg-development [download-image]: https://img.shields.io/npm/dm/egg-development.svg?style=flat-square @@ -22,7 +22,7 @@ This is an egg plugin for local development, under development environment enabl ## Configuration -see [config/config.default.js](https://github.com/eggjs/egg-development/blob/master/config/config.default.js) for more detail. +see [config/config.default.js](https://github.com/eggjs/development/blob/3.x/config/config.default.js) for more detail. ## Features @@ -75,6 +75,6 @@ Please open an issue [here](https://github.com/eggjs/egg/issues). ## Contributors -[![Contributors](https://contrib.rocks/image?repo=eggjs/egg-development)](https://github.com/eggjs/egg-development/graphs/contributors) +[![Contributors](https://contrib.rocks/image?repo=eggjs/development)](https://github.com/eggjs/development/graphs/contributors) Made with [contributors-img](https://contrib.rocks). diff --git a/package.json b/package.json index 9cb0bc3..5815756 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/eggjs/egg-development.git" + "url": "git+https://github.com/eggjs/development.git" }, "files": [ "app", @@ -53,7 +53,7 @@ "app.js" ], "bugs": "https://github.com/eggjs/egg/issues", - "homepage": "https://github.com/eggjs/egg-development#readme", + "homepage": "https://github.com/eggjs/development#readme", "author": "jtyjty99999", "license": "MIT" }