Skip to content

build: bump typescript to latest #4757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions e2e/enum/__tests__/enum.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { BarEnum } from '../src/bar-constant'
import { FooEnum } from '../src/foo-constant'

const getOne = (): string => BarEnum.one
const getTwo = (): string => FooEnum.two

describe('enum', () => {
it('should pass', () => {
expect(getOne()).toBe('ONE')
expect(getTwo()).toBe('TWO')
})
})
7 changes: 0 additions & 7 deletions e2e/enum/src/foo-constant.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions e2e/enum/src/foo-constant.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions e2e/enum/src/foo-constant.mjs

This file was deleted.

186 changes: 41 additions & 145 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions e2e/transform-js/__tests__/transform-js.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
describe('transform js', () => {
it('should process mjs file', async () => {
const { default: importedStateful } = await import('../src/stateful.mjs')

expect(importedStateful()).toBe(1)
})
import inc from '../src/stateful'

it('should process cjs file', async () => {
const { default: importedStateful } = await import('../src/stateful.cjs')

expect(importedStateful()).toBe(1)
describe('transform js', () => {
it('should process js file', () => {
expect(inc()).toBe(1)
})
})
4 changes: 2 additions & 2 deletions e2e/transform-js/jest-compiler-cjs.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { type JestConfigWithTsJest, ESM_TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
import { type JestConfigWithTsJest, TS_JS_TRANSFORM_PATTERN } from 'ts-jest'

export default {
displayName: 'transform-js-compiler-cjs',
transform: {
[ESM_TS_JS_TRANSFORM_PATTERN]: [
[TS_JS_TRANSFORM_PATTERN]: [
'ts-jest',
{
tsconfig: '<rootDir>/tsconfig-cjs.spec.json',
Expand Down
4 changes: 2 additions & 2 deletions e2e/transform-js/jest-transpiler-cjs.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { type JestConfigWithTsJest, ESM_TS_JS_TRANSFORM_PATTERN } from 'ts-jest'
import { type JestConfigWithTsJest, TS_JS_TRANSFORM_PATTERN } from 'ts-jest'

export default {
displayName: 'transform-js-transpiler-cjs',
transform: {
[ESM_TS_JS_TRANSFORM_PATTERN]: [
[TS_JS_TRANSFORM_PATTERN]: [
'ts-jest',
{
tsconfig: '<rootDir>/tsconfig-cjs-transpiler.spec.json',
Expand Down
7 changes: 0 additions & 7 deletions e2e/transform-js/src/stateful.cjs

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion examples/js-with-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"ts-jest": "^29.3.1",
"typescript": "~5.5.4"
"typescript": "~5.8.3"
}
}
2 changes: 1 addition & 1 deletion examples/js-with-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"lodash-es": "^4.17.21",
"jest": "^29.7.0",
"ts-jest": "^29.3.1",
"typescript": "~5.5.4"
"typescript": "~5.8.3"
}
}
2 changes: 1 addition & 1 deletion examples/monorepo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"ts-jest": "^29.3.1",
"typescript": "~5.5.4"
"typescript": "~5.8.3"
}
}
Loading
Loading