Skip to content

Commit db5ea55

Browse files
authored
Feature/upgrade testpack to ts4 (#1189)
* update badges * 3.9.3 -> 4.0.3 * create stub output * fix linting * update snapshots * always save outputs * regenerate * mark tsconfigNotReadable as flaky * delete old / unused test output * Run execution tests on multiple windows versions * Lint Ubuntu
1 parent 95b6fe8 commit db5ea55

File tree

4,716 files changed

+44667
-141542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,716 files changed

+44667
-141542
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: CI
1+
name: Continuous Integration (build and test)
22

33
on: [push, pull_request]
44

55
jobs:
66
comparison_test:
7-
name: Comparison Test
7+
name: Ubuntu Comparison Tests
88
runs-on: ubuntu-latest
99
timeout-minutes: 15
1010
steps:
@@ -17,13 +17,13 @@ jobs:
1717
run: yarn build
1818

1919
- name: install typescript
20-
run: yarn add typescript@3.9.3
20+
run: yarn add typescript@4.0.3
2121

2222
- name: test
2323
run: sudo yarn comparison-tests
2424

2525
windows:
26-
name: Windows Test
26+
name: Windows Comparison Tests
2727
runs-on: windows-latest
2828
timeout-minutes: 25
2929
steps:
@@ -44,24 +44,20 @@ jobs:
4444
working-directory: C:\source\ts-loader
4545

4646
- name: install typescript
47-
run: yarn add typescript@3.9.3
47+
run: yarn add typescript@4.0.3
4848
working-directory: C:\source\ts-loader
4949

5050
- name: test
5151
run: yarn comparison-tests
5252
working-directory: C:\source\ts-loader
5353

5454
execution_test:
55-
name: Execution Test
55+
name: Execution Tests
5656
strategy:
5757
matrix:
58-
os: [ubuntu]
58+
os: [ubuntu, windows]
5959
node: [10, 12, 14]
60-
ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, next]
61-
include:
62-
- os: windows
63-
node: 14
64-
ts: 3.9.3
60+
ts: [3.6.5, 3.7.5, 3.8.3, 3.9.3, 4.0.3, next]
6561
runs-on: ${{ matrix.os }}-latest
6662
steps:
6763
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
release:
33
types: [published]
44

5-
name: build, test and publish
5+
name: Release (build, test and publish)
66

77
jobs:
88
build_test_and_publish:

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ install:
1414
- yarn lint
1515
- yarn add $TYPESCRIPT
1616
env:
17-
- TYPESCRIPT=typescript@3.9.3
17+
- TYPESCRIPT=typescript@4.0.3
1818
- TYPESCRIPT=typescript@next
19+
1920
2021
2122

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# TypeScript loader for webpack
22

33
[![npm version](https://img.shields.io/npm/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader)
4-
[![Linux Build Status](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader)
5-
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/bjh0r0d4ckspgkh9/branch/master?svg=true)](https://ci.appveyor.com/project/JohnReilly/ts-loader/branch/master)
4+
[![Build Status](https://travis-ci.org/TypeStrong/ts-loader.svg?branch=master)](https://travis-ci.org/TypeStrong/ts-loader)
65
[![Downloads](http://img.shields.io/npm/dm/ts-loader.svg)](https://npmjs.org/package/ts-loader)
76
[![node version](https://img.shields.io/node/v/ts-loader.svg)](https://www.npmjs.com/package/ts-loader)
87
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
9-
[![Join the chat at https://gitter.im/TypeStrong/ts-loader](https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg)](https://gitter.im/TypeStrong/ts-loader)
108

119
<br />
1210
<p align="center">

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
"@types/node": "*",
6666
"@types/semver": "^6.0.0",
6767
"@types/webpack": "^4.4.30",
68-
"@typescript-eslint/eslint-plugin": "^3.0.0",
69-
"@typescript-eslint/parser": "^3.0.0",
68+
"@typescript-eslint/eslint-plugin": "^4.0.0",
69+
"@typescript-eslint/parser": "^4.0.0",
7070
"babel": "^6.0.0",
7171
"babel-core": "^6.0.0",
7272
"babel-loader": "^7.0.0",
@@ -96,7 +96,7 @@
9696
"mocha": "^6.0.0",
9797
"prettier": "^2.0.5",
9898
"rimraf": "^2.6.2",
99-
"typescript": "^3.6.2",
99+
"typescript": "^4.0.0",
100100
"webpack": "^4.5.0",
101101
"webpack-cli": "^3.1.1"
102102
},

test/comparison-tests/aliasResolution/expectedOutput-1.6/bundle.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

test/comparison-tests/aliasResolution/expectedOutput-1.6/output.transpiled.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/comparison-tests/aliasResolution/expectedOutput-1.6/output.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/bundle.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

test/comparison-tests/aliasResolution/expectedOutput-1.6/patch0/output.transpiled.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)