-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #434 from KaiVolland/requestparams
Introduces `requestParams`
- Loading branch information
Showing
14 changed files
with
18,405 additions
and
10,957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# don't ever lint node_modules | ||
node_modules | ||
# don't lint build output (make sure it's set to your correct build folder name) | ||
dist | ||
# don't lint nyc coverage output | ||
coverage | ||
|
||
.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = { | ||
extends: '@terrestris/eslint-config-typescript', | ||
rules: { | ||
'no-underscore-dangle': 'off', | ||
camelcase: [ | ||
'off', | ||
{ | ||
ignoreImports: true | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Test Pull Request | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache Node.js modules 💾 | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node- | ||
${{ runner.OS }}- | ||
- name: Install dependencies ⏬ | ||
run: npm install | ||
|
||
- name: Lint code 💄 | ||
run: npm run lint | ||
|
||
- name: Typecheck code 🤖 | ||
run: npm run typecheck | ||
|
||
- name: Test code ✅ | ||
run: npm run test | ||
|
||
- name: Build artifacts 🏗️ | ||
run: npm run build | ||
|
||
- name: Publish to coveralls ⭐ | ||
# coverage/lcov.info was generated in the previous npm run build step | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Test Push to Master | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Cache Node.js modules 💾 | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.OS }}-node- | ||
${{ runner.OS }}- | ||
- name: Install dependencies ⏬ | ||
run: npm install | ||
|
||
- name: Lint code 💄 | ||
run: npm run lint | ||
|
||
- name: Typecheck code 🤖 | ||
run: npm run typecheck | ||
|
||
- name: Test code ✅ | ||
run: npm run test | ||
|
||
- name: Build artifacts 🏗️ | ||
run: npm run build | ||
|
||
- name: Publish to coveralls ⭐ | ||
# coverage/lcov.info was generated in the previous npm run build step | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module.exports = { | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-typescript" | ||
presets: [ | ||
'@babel/env', | ||
'@babel/preset-typescript' | ||
], | ||
"plugins": [ | ||
"@babel/proposal-class-properties", | ||
"@babel/proposal-object-rest-spread" | ||
plugins: [ | ||
'@babel/proposal-class-properties', | ||
'@babel/proposal-object-rest-spread' | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
module.exports = { | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
moduleFileExtensions: [ | ||
'ts', | ||
'js' | ||
], | ||
"transform": { | ||
"^.+\\.ts$": "<rootDir>/node_modules/babel-jest" | ||
transform: { | ||
'^.+\\.ts$': '<rootDir>/node_modules/babel-jest' | ||
}, | ||
"testRegex": "/src/.*\\.spec.(ts|js)$", | ||
"collectCoverageFrom": [ | ||
"src/WfsDataParser.ts" | ||
testRegex: '/src/.*\\.spec.(ts|js)$', | ||
collectCoverageFrom: [ | ||
'src/WfsDataParser.ts' | ||
], | ||
"automock": false, | ||
"setupFiles": [ | ||
"<rootDir>/src/setupTests.ts" | ||
automock: false, | ||
setupFiles: [ | ||
'<rootDir>/src/setupTests.ts' | ||
], | ||
"testURL": "http://localhost/" | ||
testEnvironmentOptions: { | ||
'url': 'http://localhost/' | ||
} | ||
}; |
Oops, something went wrong.