Skip to content

Commit 763c6d5

Browse files
committed
build: bump typescript to latest
1 parent dc1c589 commit 763c6d5

23 files changed

+236
-251
lines changed

e2e/enum/__tests__/enum.spec.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import { BarEnum } from '../src/bar-constant'
2-
import { FooEnum } from '../src/foo-constant'
32

43
const getOne = (): string => BarEnum.one
5-
const getTwo = (): string => FooEnum.two
64

75
describe('enum', () => {
86
it('should pass', () => {
97
expect(getOne()).toBe('ONE')
10-
expect(getTwo()).toBe('TWO')
118
})
129
})

e2e/enum/src/foo-constant.cjs

-7
This file was deleted.

e2e/enum/src/foo-constant.d.ts

-3
This file was deleted.

e2e/enum/src/foo-constant.mjs

-5
This file was deleted.

e2e/package-lock.json

+41-145
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
describe('transform js', () => {
2-
it('should process mjs file', async () => {
3-
const { default: importedStateful } = await import('../src/stateful.mjs')
4-
5-
expect(importedStateful()).toBe(1)
6-
})
1+
import inc from '../src/stateful'
72

8-
it('should process cjs file', async () => {
9-
const { default: importedStateful } = await import('../src/stateful.cjs')
10-
11-
expect(importedStateful()).toBe(1)
3+
describe('transform js', () => {
4+
it('should process js file', () => {
5+
expect(inc()).toBe(1)
126
})
137
})

e2e/transform-js/jest-compiler-cjs.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { type JestConfigWithTsJest, ESM_TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
1+
import { type JestConfigWithTsJest, TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
22

33
export default {
44
displayName: 'transform-js-compiler-cjs',
55
transform: {
6-
[ESM_TS_JS_TRANSFORM_PATTERN]: [
6+
[TS_JS_TRANSFORM_PATTERN]: [
77
'ts-jest',
88
{
99
tsconfig: '<rootDir>/tsconfig-cjs.spec.json',

e2e/transform-js/jest-transpiler-cjs.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { type JestConfigWithTsJest, ESM_TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
1+
import { type JestConfigWithTsJest, TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
22

33
export default {
44
displayName: 'transform-js-transpiler-cjs',
55
transform: {
6-
[ESM_TS_JS_TRANSFORM_PATTERN]: [
6+
[TS_JS_TRANSFORM_PATTERN]: [
77
'ts-jest',
88
{
99
tsconfig: '<rootDir>/tsconfig-cjs-transpiler.spec.json',

e2e/transform-js/src/stateful.cjs

-7
This file was deleted.
File renamed without changes.

examples/js-with-babel/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"cross-env": "^7.0.3",
1717
"jest": "^29.7.0",
1818
"ts-jest": "^29.3.1",
19-
"typescript": "~5.5.4"
19+
"typescript": "~5.8.3"
2020
}
2121
}

examples/js-with-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"lodash-es": "^4.17.21",
1616
"jest": "^29.7.0",
1717
"ts-jest": "^29.3.1",
18-
"typescript": "~5.5.4"
18+
"typescript": "~5.8.3"
1919
}
2020
}

examples/monorepo-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"cross-env": "^7.0.3",
1919
"jest": "^29.7.0",
2020
"ts-jest": "^29.3.1",
21-
"typescript": "~5.5.4"
21+
"typescript": "~5.8.3"
2222
}
2323
}

0 commit comments

Comments
 (0)