Skip to content

Commit 13ad07f

Browse files
committed
build(deps): update typescript7 to 7.1.0-dev.20261010.1
- import the TypeScript API from `typescript7/{ast,sync,proto}`, the release dropped the `/unstable` prefix (microsoft/TypeScript#64681) - the forked tsc is rebased onto the same upstream commit (aa8149273b)
1 parent 513d467 commit 13ad07f

9 files changed

Lines changed: 46 additions & 46 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"build:dev": "pnpm --filter @syscript/share build && pnpm --filter @syscript/cli build:dev && pnpm --filter @syscript/compiler build"
2020
},
2121
"dependencies": {
22-
"typescript7": "npm:typescript@7.1.0-dev.20261005.1"
22+
"typescript7": "npm:typescript@7.1.0-dev.20261010.1"
2323
},
2424
"devDependencies": {
2525
"@eslint/js": "^10.0.1",

‎package/compiler/src/c/c-tdz.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ast from 'typescript7/unstable/ast';
1+
import * as ast from 'typescript7/ast';
22
import { AppSourceFile } from '~/ts/ts-node.js';
33

44
type References = {

‎package/compiler/src/c/lower.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { assert } from '@syscript/share/util';
22
import BigNumber from 'bignumber.js';
3-
import * as ast from 'typescript7/unstable/ast';
4-
import * as ts from 'typescript7/unstable/sync';
3+
import * as ast from 'typescript7/ast';
4+
import * as ts from 'typescript7/sync';
55
import { binary, call, cast, CModule, CWriter, signature, unary } from '~/c/c-builder.js';
66
import {
77
cModuleFunctionName,

‎package/compiler/src/ts/ts-app.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ast from 'typescript7/unstable/ast';
1+
import * as ast from 'typescript7/ast';
22
import { AppSourceFile } from '~/ts/ts-node.js';
33
import { TsParser } from '~/ts/ts-parser.js';
44
import { RealPath } from '~/util/path.js';

‎package/compiler/src/ts/ts-node.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { assert } from '@syscript/share/util';
22
import BigNumber from 'bignumber.js';
33
import path from 'path';
4-
import * as ast from 'typescript7/unstable/ast';
5-
import * as ts from 'typescript7/unstable/sync';
4+
import * as ast from 'typescript7/ast';
5+
import * as ts from 'typescript7/sync';
66
import { printLine } from '~/log.js';
77
import { assertExpectedNode } from '~/util/assert.js';
88
import { RealPath } from '~/util/path.js';

‎package/compiler/src/ts/ts-parser.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { CliExitError } from '@syscript/cli';
22
import { assert } from '@syscript/share/util';
33
import nodePath from 'path';
4-
import * as ast from 'typescript7/unstable/ast';
5-
import { ModuleDetectionKind } from 'typescript7/unstable/proto';
6-
import * as ts from 'typescript7/unstable/sync';
7-
import { EmitOnly } from 'typescript7/unstable/sync';
4+
import * as ast from 'typescript7/ast';
5+
import { ModuleDetectionKind } from 'typescript7/proto';
6+
import * as ts from 'typescript7/sync';
7+
import { EmitOnly } from 'typescript7/sync';
88
import { logSuccess, logWarn } from '~/log.js';
99
import { File } from '~/util/file.js';
1010
import { AbsolutePath, Path, RealPath } from '~/util/path.js';

‎package/compiler/src/util/assert.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { assert } from '@syscript/share/util';
2-
import * as ast from 'typescript7/unstable/ast';
2+
import * as ast from 'typescript7/ast';
33

44
/**
55
* 기대한 종류의 노드인지 확인한다. `ast.isBlock` 같은 타입 가드를 그대로 넘기면

‎package/compiler/test/c-keyword.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { spawnSync } from 'child_process';
22
import fs from 'fs/promises';
33
import os from 'os';
44
import path from 'path';
5-
import * as ast from 'typescript7/unstable/ast';
5+
import * as ast from 'typescript7/ast';
66
import { expect, test } from 'vitest';
77
import { cKeywords } from '~/c/c.js';
88
import { SscManager } from '~/ssc/manager/ssc.js';

‎pnpm-lock.yaml‎

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)