Skip to content

Commit a363ca0

Browse files
authored
Merge branch 'master' into enhancement/add-factory-property-on-mock
2 parents 38a3d04 + 7480aad commit a363ca0

Some content is hidden

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

54 files changed

+467
-133
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,36 @@ jobs:
1313
node-version: [10.x]
1414

1515
steps:
16-
- uses: actions/checkout@v1
17-
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: ${{ matrix.node-version }}
21-
- name: npm install, build, and test
22-
run: |
23-
npm install
24-
env:
25-
CI: true
16+
- uses: actions/checkout@v1
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
registry-url: https://registry.npmjs.org/
22+
- name: commit configuration
23+
run: |
24+
git config --global user.name 'typescripttdd'
25+
git config --global user.email '[email protected]'
26+
- name: npm install and version
27+
run: |
28+
npm install
29+
npm version ${GITHUB_REF##*/}
30+
- name: Push changes
31+
uses: ad-m/github-push-action@master
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN_TYPESCRIPTTDD }}
34+
- name: Register Token
35+
run: |
36+
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > /home/runner/work/_temp/.npmrc
37+
echo "_auth=$NODE_AUTH_TOKEN" >> /home/runner/work/_temp/.npmrc
38+
echo "email=<[email protected]>" >> /home/runner/work/_temp/.npmrc
39+
echo "always-auth=true" >> /home/runner/work/_temp/.npmrc
40+
env:
41+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
- name: Publish
43+
run: |
44+
npm run preparePublish
45+
cd dist
46+
npm publish
47+
48+

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Test
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
test:

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
<a name="1.6.0"></a>
2+
# [1.6.0](https://github.com/Typescript-TDD/ts-auto-mock/compare/v1.5.891...v1.6.0) (2020-04-11)
3+
4+
5+
6+
<a name="1.5.89"></a>
7+
## [1.5.89](https://github.com/Typescript-TDD/ts-auto-mock/compare/v1.5.88...v1.5.89) (2020-04-11)
8+
9+
10+
111
<a name="1.5.8"></a>
212
## [1.5.8](https://github.com/Typescript-TDD/ts-auto-mock/compare/v1.5.6...v1.5.8) (2020-03-29)
313

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![npm version](https://badge.fury.io/js/ts-auto-mock.svg)](https://badge.fury.io/js/ts-auto-mock)
44
[![Downloads](https://img.shields.io/npm/dw/ts-auto-mock.svg)](https://www.npmjs.com/package/ts-auto-mock)
55

6-
76
![slack](docs/slack_small.png) Need help? Join us on [Slack](https://join.slack.com/t/typescripttdd/shared_invite/enQtODk3MjQwNzUwNTk2LTMzNjdlZTNmMmY3Nzg2NDNiZDA1YzJmZjk2NjcwZjQwODQ3YzE5NGZjM2Q4MzZjYWNiMWE4MGU0NjEzM2E5YzE)
87

98
A Typescript transformer that will allow you to create mock for any types (Interfaces, Classes, ...) without need to create manual fakes/mocks.
@@ -36,6 +35,10 @@ mock.details // "{phone: 0} "
3635
## [Changelog](CHANGELOG.md)
3736

3837
## [Roadmap](https://github.com/Typescript-TDD/ts-auto-mock/wiki/Roadmap)
38+
39+
## Do you want to contribute?
40+
* [Check how to make changes to the code base](https://typescript-tdd.github.io/ts-auto-mock/local-development)
41+
3942
## Authors
4043

4144
* [**Vittorio Guerriero**](https://github.com/uittorio)

data/definitelyTyped/59fcd50b-ad93-43d9-8777-45cf4cb83abe.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data/definitelyTyped/list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"id":"756c5f8d-be26-43fc-8831-0a12df4c972e.json","initialDate":"2020-01-11T17:17:58.333Z","lastUpdatedDate":"2020-01-16T00:31:39.270Z","typesProcessed":9999},{"id":"9749238a-cba9-4abd-9fac-f9d0d4ef90e3.json","initialDate":"2020-01-17T20:34:24.904Z","lastUpdatedDate":"2020-02-01T00:40:31.064Z","typesProcessed":9999},{"id":"45e2213b-fa9c-40d1-b066-89413f063ee3.json","initialDate":"2020-02-01T17:11:06.944Z","lastUpdatedDate":"2020-03-07T00:20:59.201Z","typesProcessed":6549},{"id":"532444dd-7414-42ad-8d30-3da2d2e6c9af.json","initialDate":"2020-03-08T08:08:21.638Z","lastUpdatedDate":"2020-03-17T00:55:23.522Z","typesProcessed":9999},{"id":"59fcd50b-ad93-43d9-8777-45cf4cb83abe.json","initialDate":"2020-03-29T00:47:04.041Z","lastUpdatedDate":"2020-04-10T00:53:38.538Z","typesProcessed":5500}]
1+
[{"id":"756c5f8d-be26-43fc-8831-0a12df4c972e.json","initialDate":"2020-01-11T17:17:58.333Z","lastUpdatedDate":"2020-01-16T00:31:39.270Z","typesProcessed":9999},{"id":"9749238a-cba9-4abd-9fac-f9d0d4ef90e3.json","initialDate":"2020-01-17T20:34:24.904Z","lastUpdatedDate":"2020-02-01T00:40:31.064Z","typesProcessed":9999},{"id":"45e2213b-fa9c-40d1-b066-89413f063ee3.json","initialDate":"2020-02-01T17:11:06.944Z","lastUpdatedDate":"2020-03-07T00:20:59.201Z","typesProcessed":6549},{"id":"532444dd-7414-42ad-8d30-3da2d2e6c9af.json","initialDate":"2020-03-08T08:08:21.638Z","lastUpdatedDate":"2020-03-17T00:55:23.522Z","typesProcessed":9999},{"id":"59fcd50b-ad93-43d9-8777-45cf4cb83abe.json","initialDate":"2020-03-29T00:47:04.041Z","lastUpdatedDate":"2020-04-14T00:29:04.679Z","typesProcessed":6680}]

data/performance.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

definitelyTypedTests/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

definitelyTypedTests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"license": "ISC",
1717
"dependencies": {
1818
"dotenv": "^8.2.0",
19-
"ttypescript": "^1.5.8",
19+
"ttypescript": "^1.5.10",
2020
"typescript": "^3.8.3"
2121
}
2222
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)