Skip to content

Commit ef60921

Browse files
committed
Merge remote-tracking branch 'upstream/master'
# Conflicts: # src/templates/core/OpenAPI.hbs # src/templates/core/Result.ts # src/templates/core/request.ts # src/templates/core/requestUsingFetch.ts # src/templates/core/requestUsingXHR.ts # test/__snapshots__/index.spec.js.snap
2 parents 1a8eedf + bd495d3 commit ef60921

File tree

286 files changed

+5941
-4336
lines changed

Some content is hidden

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

286 files changed

+5941
-4336
lines changed

.babelrc.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
module.exports = {
44
presets: [
5-
[
6-
'@babel/preset-env',
7-
{
8-
targets: {
9-
esmodules: true,
10-
},
5+
['@babel/preset-env', {
6+
targets: {
7+
node: true,
118
},
12-
],
13-
'@babel/preset-typescript',
9+
}],
10+
['@babel/preset-typescript', {
11+
onlyRemoveTypeImports: true,
12+
}],
1413
],
1514
};

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,29 @@ jobs:
33
build:
44
working_directory: ~/repo
55
docker:
6-
- image: circleci/node:lts
6+
- image: circleci/node:latest-browsers
77
steps:
88
- checkout
99
- restore_cache:
1010
keys:
1111
- v1-dependencies-{{ checksum "package.json" }}
1212
- v1-dependencies-
1313
- run:
14-
name: install
14+
name: Install dependencies
1515
command: yarn install
1616
- save_cache:
1717
key: v1-dependencies-{{ checksum "package.json" }}
1818
paths:
1919
- node_modules
2020
- run:
21-
name: build
21+
name: Build library
2222
command: yarn run release
2323
- run:
24-
name: test
24+
name: Run unit tests
2525
command: yarn run test:coverage
2626
- run:
27-
name: codecov
27+
name: Run e2e tests
28+
command: yarn run test:e2e
29+
- run:
30+
name: Submit to Codecov
2831
command: yarn run codecov

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ junit.xml
99
.vscode
1010
*.iml
1111
dist
12-
archive
1312
coverage
14-
test/result
13+
test/generated
14+
test/e2e/generated
15+
samples/generated
16+
samples/swagger-codegen-cli-v2.jar
17+
samples/swagger-codegen-cli-v3.jar

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)