Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Drop support for Node16 #122

Merged
merged 2 commits into from Mar 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
os:
- ubuntu-latest

Expand Down
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -36,11 +36,11 @@ This is an example on how to create a package that exports both CommonJS and ESM
```jsonc
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"declaration": true,
"module": "ES2020",
"moduleResolution": "node16",
"module": "ES2022",
"moduleResolution": "node",
"outDir": "dist/esm",
"sourceMap": true
},
Expand All @@ -53,11 +53,11 @@ This is an example on how to create a package that exports both CommonJS and ESM
```jsonc
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"declaration": true,
"module": "CommonJS",
"moduleResolution": "node16",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "dist/cjs",
"sourceMap": true
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/sample/tsconfig.cjs.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
Expand Down
2 changes: 1 addition & 1 deletion fixtures/sample/tsconfig.json
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
Expand Down
22 changes: 11 additions & 11 deletions package.json
Expand Up @@ -51,16 +51,16 @@
},
"dependencies": {
"chalk": "^5.3.0",
"commander": "^11.1.0",
"globby": "^13.2.2",
"commander": "^12.0.0",
"globby": "^14.0.1",
"magic-string": "^0.30.7"
},
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.19.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-istanbul": "^0.34.6",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@vitest/coverage-istanbul": "^1.3.1",
"cspell": "^8.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand All @@ -69,17 +69,17 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"inject-markdown": "^2.1.0",
"inject-markdown": "^3.0.0",
"prettier": "^3.2.5",
"shx": "^0.3.4",
"typescript": "^5.3.3",
"vite": "^4.5.2",
"vitest": "^0.34.6"
"vite": "^5.1.4",
"vitest": "^1.3.1"
},
"engines": {
"node": ">=16.0"
"node": ">=18.0"
},
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@8.15.2",
"files": [
"bin.mjs",
"dist/**",
Expand Down