Skip to content

Commit 5ba6839

Browse files
authored
Release 5.0.0 (#445)
2 parents 5552f62 + d056616 commit 5ba6839

File tree

303 files changed

+14212
-9635
lines changed

Some content is hidden

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

303 files changed

+14212
-9635
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/src/types/**
21
/lib/**

.eslintrc.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ module.exports = {
1010
tryExtensions: ['.js', '.json', '.ts', '.d.ts']
1111
}
1212
},
13-
rules: {
14-
'no-process-exit': 'off', // to investigate if we should throw an error instead of process.exit()
15-
'node/no-unsupported-features/es-builtins': 'off',
16-
'node/no-unsupported-features/es-syntax': 'off'
17-
},
1813
overrides: [
1914
{
2015
files: ['*.ts'],
@@ -24,7 +19,15 @@ module.exports = {
2419
],
2520
rules: {
2621
'@typescript-eslint/explicit-function-return-type': 'off',
27-
'@typescript-eslint/no-namespace': 'off' // maybe we should consider enabling it in the future
22+
'@typescript-eslint/no-use-before-define': 'off',
23+
'node/no-unsupported-features/es-syntax': 'off'
24+
}
25+
},
26+
{
27+
files: ['*.spec.ts'],
28+
rules: {
29+
'@typescript-eslint/no-var-requires': 'off',
30+
'node/no-missing-import': 'off'
2831
}
2932
}
3033
]

.github/.DS_Store

6 KB
Binary file not shown.

.github/workflows/main.yml

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,8 @@ jobs:
3939
needs: build
4040
strategy:
4141
matrix:
42-
os:
43-
- ubuntu-latest
44-
- macos-latest
45-
- windows-latest
46-
node:
47-
- '6'
48-
- '8'
49-
- '10'
50-
- '12'
51-
packages:
52-
- [email protected] ts-loader@^5.0.0 vue-loader@^15.2.4
53-
- webpack@^4.0.0 ts-loader@^5.0.0 vue-loader@^15.2.4
54-
exclude:
55-
- node: '6'
56-
packages: '[email protected] ts-loader@^5.0.0 vue-loader@^15.2.4'
42+
node: [10, 12] # add 14 when we drop support for webpack 4 as fsevents 1 is not compatible with node 14
43+
os: [ubuntu-latest, macos-latest, windows-latest]
5744
steps:
5845
- uses: actions/checkout@v1
5946

@@ -74,29 +61,27 @@ jobs:
7461
${{ runner.os }}-node-${{ matrix.node }}-yarn-
7562
7663
- name: Install dependencies
77-
run: yarn install --frozen-lockfile --ignore-engines
78-
79-
- name: Replace dependencies
80-
run: yarn add ${{ matrix.packages }} -D --ignore-engines
64+
run: yarn install --frozen-lockfile
8165

8266
- name: Download build artifact
8367
uses: actions/download-artifact@v1
8468
with:
8569
name: lib
86-
70+
path: lib
71+
8772
- name: Run unit tests
8873
run: yarn test:unit
89-
90-
- name: Run integration tests
91-
run: yarn test:integration
74+
75+
- name: Run e2e tests
76+
run: yarn test:e2e
9277

9378
release:
9479
runs-on: ubuntu-latest
9580
env:
9681
GH_TOKEN: ${{ secrets.GH_PERSONAL_TOKEN }}
9782
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9883
needs: [build, test]
99-
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta')
84+
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
10085
steps:
10186
- uses: actions/checkout@v1
10287

@@ -105,10 +90,14 @@ jobs:
10590
with:
10691
node-version: 12
10792

93+
- name: Install dependencies
94+
run: yarn install --frozen-lockfile
95+
10896
- name: Download build artifact
10997
uses: actions/download-artifact@v1
11098
with:
11199
name: lib
100+
path: lib
112101

113102
- name: Release
114-
run: npx semantic-release@16.0.2
103+
run: yarn semantic-release

.gitignore

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
11
# Logs
2-
logs
32
*.log
4-
npm-debug.log*
53

4+
# Package artifacts
65
lib
7-
!test/**/lib
6+
7+
# Package archive used by e2e tests
8+
fork-ts-checker-webpack-plugin-0.0.0-semantic-release.tgz
89

910
# Coverage directory used by tools like istanbul
1011
coverage
1112

12-
# Tmp directory for integration test
13-
tmp
14-
1513
# Dependency directories
1614
node_modules
17-
jspm_packages
18-
19-
# Optional npm cache directory
20-
.npm
21-
package-lock.json
22-
23-
# Optional REPL history
24-
.node_repl_history
2515

2616
# Editor directories and files
2717
.idea
18+
19+
# Mac OS
20+
.DS_Store

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.9.11
1+
10

.prettierrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
22
"singleQuote": true,
3-
"semi": true,
4-
"tabWidth": 2,
5-
"useTabs": false,
6-
"printWidth": 80
3+
"printWidth": 100
74
}

README.md

Lines changed: 255 additions & 306 deletions
Large diffs are not rendered by default.

babel.config.js

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

changelog.config.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@ module.exports = {
66
types: {
77
feat: {
88
description: 'A new feature',
9-
value: 'feat'
9+
value: 'feat',
1010
},
1111
fix: {
1212
description: 'A bug fix',
13-
value: 'fix'
13+
value: 'fix',
1414
},
1515
refactor: {
1616
description: 'A code change that neither adds a feature or fixes a bug',
17-
value: 'refactor'
17+
value: 'refactor',
1818
},
1919
perf: {
2020
description: 'A code change that improves performance',
21-
value: 'perf'
21+
value: 'perf',
2222
},
2323
test: {
2424
description: 'Adding missing tests',
25-
value: 'test'
25+
value: 'test',
2626
},
2727
chore: {
2828
description: 'Build process, CI or auxiliary tool changes',
29-
value: 'chore'
29+
value: 'chore',
3030
},
3131
docs: {
3232
description: 'Documentation only changes',
33-
value: 'docs'
34-
}
35-
}
33+
value: 'docs',
34+
},
35+
},
3636
};

0 commit comments

Comments
 (0)