Skip to content

Commit 096849c

Browse files
authored
chore(build): update to Node 14 and es2019 (#9981)
* chore(build): update to Node 14 and es2019 * chore(build): update packages to es2019
1 parent 8abafe5 commit 096849c

10 files changed

+12
-12
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
env:
1010
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx2g -Xms2g
1111
CONTAINER_REGISTRY: us-docker.pkg.dev/spinnaker-community/docker
12-
NODE_VERSION: 12.16.0
12+
NODE_VERSION: 14.21.3
1313

1414
permissions:
1515
contents: read

.github/workflows/package-bump-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '@spinnaker/*'
1313

1414
env:
15-
NODE_VERSION: 12.16.0
15+
NODE_VERSION: 14.21.3
1616

1717
jobs:
1818
build:

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [ pull_request ]
55
env:
66
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx2g -Xms2g
77
CONTAINER_REGISTRY: us-docker.pkg.dev/spinnaker-community/docker
8-
NODE_VERSION: 12.16.0
8+
NODE_VERSION: 14.21.3
99

1010
permissions:
1111
contents: read

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'packages/*/package.json'
99

1010
env:
11-
NODE_VERSION: 12.16.0
11+
NODE_VERSION: 14.21.3
1212

1313
permissions:
1414
contents: read

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
env:
1010
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx2g -Xms2g
1111
CONTAINER_REGISTRY: us-docker.pkg.dev/spinnaker-community/docker
12-
NODE_VERSION: 12.16.0
12+
NODE_VERSION: 14.21.3
1313

1414
jobs:
1515
release:
@@ -48,7 +48,7 @@ jobs:
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
run: |
51-
. .github/workflows/release_info.sh ${{ github.event.repository.full_name }}
51+
. .github/workflows/release_info.sh ${{ github.event.repository.full_name }}
5252
echo CHANGELOG=$(echo -e "${CHANGELOG}") >> $GITHUB_OUTPUT
5353
echo SKIP_RELEASE=${SKIP_RELEASE} >> $GITHUB_OUTPUT
5454
echo IS_CANDIDATE=${IS_CANDIDATE} >> $GITHUB_OUTPUT

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"registry": "http://artifacts.netflix.com/api/npm/npm-local"
1212
},
1313
"engines": {
14-
"node": ">=12.16.0",
15-
"npm": ">=6.13.4",
14+
"node": ">=14.21.3",
15+
"npm": ">=6.14.18",
1616
"yarn": ">=1.21.1"
1717
},
1818
"private": true,

packages/tsconfig.app.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"jsx": "react",
77
"module": "esnext",
88
"sourceMap": true,
9-
"target": "es2018",
9+
"target": "es2019",
1010

1111
// strict checks
1212
"noImplicitAny": true,

packages/tsconfig.tools.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"esModuleInterop": true,
77
"experimentalDecorators": true,
88
"jsx": "react",
9-
"lib": ["es2017", "dom"],
9+
"lib": ["es2019", "dom"],
1010
"module": "esnext",
1111
"moduleResolution": "node",
1212
"noImplicitAny": true,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"emitDecoratorMetadata": true,
99
"experimentalDecorators": true,
1010
"jsx": "react",
11-
"lib": ["es2017", "dom", "ES2018.Promise"],
11+
"lib": ["es2019", "dom"],
1212
"moduleResolution": "node",
1313
"module": "esnext",
1414
"noEmitHelpers": false,

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"version": "n/a",
3-
"created": 1648032845852
3+
"created": 1682786907076
44
}

0 commit comments

Comments
 (0)