Skip to content

Commit

Permalink
Drop support for node 16 (#2605)
Browse files Browse the repository at this point in the history
fix [#1847](#1847)
  • Loading branch information
timotheeguerin authored Oct 26, 2023
1 parent be937a8 commit 533c974
Show file tree
Hide file tree
Showing 32 changed files with 148 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/bundler",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/bundler"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/compiler",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/compiler"
}
10 changes: 10 additions & 0 deletions common/changes/@typespec/http/upgrade-node18_2023-10-26-17-40.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/http",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/http"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/internal-build-utils",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/internal-build-utils"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/json-schema",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/json-schema"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/migrate",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/migrate"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/openapi",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/openapi"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/openapi3",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/openapi3"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/playground",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/playground"
}
10 changes: 10 additions & 0 deletions common/changes/@typespec/rest/upgrade-node18_2023-10-26-17-40.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/rest",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/rest"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@typespec/versioning",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "@typespec/versioning"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "tmlanguage-generator",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "minor"
}
],
"packageName": "tmlanguage-generator"
}
10 changes: 10 additions & 0 deletions common/changes/typespec-vs/upgrade-node18_2023-10-26-17-40.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "typespec-vs",
"comment": "**BREAKING CHANGE** Dropped support for node 16, minimum node version is now 18",
"type": "none"
}
],
"packageName": "typespec-vs"
}
11 changes: 0 additions & 11 deletions eng/pipelines/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ jobs:

strategy:
matrix:
# Node 16
"Linux - Node 16.x":
pool: azsdk-pool-mms-ubuntu-2004-general
imageName: ubuntu-20.04
nodeVersion: "16.x"

"Windows - Node 16.x":
pool: azsdk-pool-mms-win-2022-general
imageName: windows-2022
nodeVersion: "16.x"

# Node 18
"Linux - Node 18.x":
pool: azsdk-pool-mms-ubuntu-2004-general
Expand Down
2 changes: 1 addition & 1 deletion packages/best-practices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
".": "./dist/src/index.js"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"main": "dist/src/index.js",
"tspMain": "dist/src/index.js",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"bundle": "node ./dist/src/cli.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"bin": {
"tsp": "cmd/tsp.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/internal-build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typespec-build-tool": "cmd/cli.js"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"tspMain": "lib/main.tsp",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typespec-migrate": "./dist/src/cli.js"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/playground-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "module",
"main": "dist/src/lib.js",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./dist-dev ./temp ./typespecContents.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"./react/viewers": "./dist/src/react/viewers.js"
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./dist-dev ./temp ./typespecContents.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/tmlanguage-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"main": "dist/tmlanguage-generator.js",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/tspd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-vs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"type": "module",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"files": [
"Microsoft.TypeSpec.VS.vsix"
Expand Down
2 changes: 1 addition & 1 deletion packages/versioning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
},
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
Expand Down

0 comments on commit 533c974

Please sign in to comment.