Skip to content

Commit

Permalink
feat: refactor with typescript to support cjs ane esm both
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop Node.js < 18.19.0 support

part of #3644

Breaking changes:
 - Drop Node.js < 18.19.0 support
 - Drop generator function support

use @eggjs/core@4 eggjs/egg-core#265
  • Loading branch information
fengmk2 committed Jun 18, 2024
1 parent 4a4d056 commit 7232a5f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 110 deletions.
29 changes: 0 additions & 29 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: CI

on:
push:
branches: [ master, 2.x, 1.x ]

branches: [ master ]
pull_request:
branches: [ master, 2.x, 1.x ]
branches: [ master ]

jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest, macos-latest, windows-latest'
version: '14, 16, 18, 20, 22'
install: 'npm i -g npminstall && npminstall'
version: '18.19.0, 18, 20, 22'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Release

on:
push:
branches: [ master, 2.x, 1.x ]
branches: [ master ]

jobs:
release:
Expand All @@ -10,5 +11,3 @@ jobs:
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
install: 'npm install --legacy-peer-deps --no-package-lock --no-fund'
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "egg",
"version": "3.24.1",
"version": "4.0.0-beta.0",
"engines": {
"node": ">= 18.19.0"
},
"publishConfig": {
"tag": "latest"
"tag": "next"
},
"description": "A web framework's framework for Node.js",
"keywords": [
Expand Down Expand Up @@ -128,8 +131,5 @@
"type": "git",
"url": "https://github.com/eggjs/egg.git"
},
"engines": {
"node": ">= 14.20.0"
},
"license": "MIT"
}

0 comments on commit 7232a5f

Please sign in to comment.