Skip to content

Commit a26c9b1

Browse files
CopilotHexagon
andauthored
Fix npm prerelease build: update TypeScript lib to ES2018.Intl and upgrade to Node 18 (#301)
* Fix npm prerelease build by updating lib to ES2018.Intl Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> * Upgrade Node to 18.x in npm-prerelease workflow Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
1 parent dfaa7e4 commit a26c9b1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npm-prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v3.5.1
1919
with:
20-
node-version: '16.x'
20+
node-version: '18.x'
2121
registry-url: 'https://registry.npmjs.org'
2222

2323
- run: deno task build

build/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if (Deno.args[1] === "clean") {
8282
tsconfig: {
8383
compilerOptions: {
8484
target: "ES2017",
85-
lib: ["ES2017", "ES2017.Intl", "DOM"],
85+
lib: ["ES2017", "ES2018.Intl", "DOM"],
8686
declaration: true,
8787
emitDeclarationOnly: true,
8888
allowImportingTsExtensions: true,

0 commit comments

Comments
 (0)