Skip to content

Commit e5cd608

Browse files
committed
docs(ui): archive repository
1 parent a7d07c3 commit e5cd608

File tree

2 files changed

+91
-53
lines changed

2 files changed

+91
-53
lines changed
Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
name: DefinitelyTyped Tests
22

3-
on:
4-
schedule:
5-
- cron: '0 0 * * *'
3+
#on:
4+
# schedule:
5+
# - cron: '0 0 * * *'
66

77
jobs:
88
definitely-typed:
99
runs-on: ubuntu-latest
1010

1111
strategy:
1212
matrix:
13-
node-version: [lts/gallium]
13+
node-version: [ lts/gallium ]
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v3
19-
with:
20-
node-version: ${{ matrix.node-version }}
21-
- name: create environment variable date
22-
run: |
23-
echo "DATE=$(date +%Y-%m-%dT%H-%M-%S)" >> $GITHUB_ENV
24-
- name: install ts auto mock
25-
run: |
26-
npm ci
27-
npm run build
28-
npm run build:transformer:definitelyTyped
29-
- name: definitelyTyped
30-
run: |
31-
cd definitelyTypedTests
32-
npm ci
33-
npm run start-chunk
34-
- name: definitelyTyped push changes
35-
run: |
36-
git config --global user.name 'typescripttdd'
37-
git config --global user.email '[email protected]'
38-
- name: Create commits
39-
run: |
40-
git add data/*
41-
git checkout .
42-
- name: Create Pull Request
43-
uses: peter-evans/create-pull-request@v3
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUBTYPESCRIPTTDD }}
46-
with:
47-
commit-message: "chore(definitelyTyped): add definitelyTyped tests data"
48-
committer: typescripttdd <[email protected]>
49-
author: typescripttdd <[email protected]>
50-
title: DefinitelyTyped Tests Data on ${{ env.DATE }}
51-
labels: ts-auto-mock-automerge
52-
branch: definitely-typed-tests
53-
token: ${{ secrets.GITHUBTYPESCRIPTTDD }}
16+
- uses: actions/checkout@v3
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- name: create environment variable date
22+
run: |
23+
echo "DATE=$(date +%Y-%m-%dT%H-%M-%S)" >> $GITHUB_ENV
24+
- name: install ts auto mock
25+
run: |
26+
npm ci
27+
npm run build
28+
npm run build:transformer:definitelyTyped
29+
- name: definitelyTyped
30+
run: |
31+
cd definitelyTypedTests
32+
npm ci
33+
npm run start-chunk
34+
- name: definitelyTyped push changes
35+
run: |
36+
git config --global user.name 'typescripttdd'
37+
git config --global user.email '[email protected]'
38+
- name: Create commits
39+
run: |
40+
git add data/*
41+
git checkout .
42+
- name: Create Pull Request
43+
uses: peter-evans/create-pull-request@v3
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUBTYPESCRIPTTDD }}
46+
with:
47+
commit-message: "chore(definitelyTyped): add definitelyTyped tests data"
48+
committer: typescripttdd <[email protected]>
49+
author: typescripttdd <[email protected]>
50+
title: DefinitelyTyped Tests Data on ${{ env.DATE }}
51+
labels: ts-auto-mock-automerge
52+
branch: definitely-typed-tests
53+
token: ${{ secrets.GITHUBTYPESCRIPTTDD }}

README.md

Lines changed: 49 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# TS auto mock
2+
23
![Test](https://github.com/Typescript-TDD/ts-auto-mock/workflows/Test/badge.svg)
34
[![npm version](https://badge.fury.io/js/ts-auto-mock.svg)](https://badge.fury.io/js/ts-auto-mock)
45
[![Downloads](https://img.shields.io/npm/dw/ts-auto-mock.svg)](https://www.npmjs.com/package/ts-auto-mock)
@@ -8,44 +9,78 @@
89
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
910
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)
1011
<!-- ALL-CONTRIBUTORS-BADGE:END -->
11-
![Slack](docs/slack_small.png) Need help? Join us on [Slack](https://join.slack.com/t/typescripttdd/shared_invite/enQtODk3MjQwNzUwNTk2LTMzNjdlZTNmMmY3Nzg2NDNiZDA1YzJmZjk2NjcwZjQwODQ3YzE5NGZjM2Q4MzZjYWNiMWE4MGU0NjEzM2E5YzE)
12+
![Slack](docs/slack_small.png) Need help? Join us
13+
on [Slack](https://join.slack.com/t/typescripttdd/shared_invite/enQtODk3MjQwNzUwNTk2LTMzNjdlZTNmMmY3Nzg2NDNiZDA1YzJmZjk2NjcwZjQwODQ3YzE5NGZjM2Q4MzZjYWNiMWE4MGU0NjEzM2E5YzE)
14+
15+
# :warning: This repository is now archived and no longer maintained for new features development :warning:
16+
17+
A few years ago we've created this project with the idea in mind that typescript transformers would be easier
18+
to
19+
configure.
20+
21+
Unfortunately the typescript team has no intention to improve the developer experience. You can see more information at
22+
this [link](https://github.com/Microsoft/TypeScript/issues/14419).
23+
24+
We believe that archiving the repository is the best decision to inform who is currently using it and who
25+
find it for the first time.
26+
27+
We will keep fixing bugs and vulnerability.
28+
29+
Other reasons why this library might not be for you:
30+
31+
- Typescript transformers works only when using the tsc typescript compiler. If you are using esbuild or swc you will
32+
not
33+
be able to use this library.
34+
- Test double are a double-edge sword. They have to be used carefully and at the right time. Increasing the number of
35+
test doubles could decrease the value of your tests. The amount of configuration required by this library might not
36+
justify the amount of test doubles that your application requires.
1237

13-
A TypeScript transformer that will allow you to create mocks for any types (interfaces, classes, etc.) without the need to create manual fakes/mocks.
38+
A TypeScript transformer that will allow you to create mocks for any types (interfaces, classes, etc.) without the need
39+
to create manual fakes/mocks.
1440

1541
## [API Documentation](https://typescript-tdd.github.io/ts-auto-mock)
1642

1743
#### [Installation](https://typescript-tdd.github.io/ts-auto-mock/installation)
44+
1845
#### [Usage](https://typescript-tdd.github.io/ts-auto-mock/create-mock)
1946

2047
#### Quick overview
48+
2149
```ts
2250
import { createMock } from 'ts-auto-mock';
2351

2452
interface Person {
25-
id: string;
26-
getName(): string;
27-
details: {
28-
phone: number
29-
}
53+
id: string;
54+
55+
getName(): string;
56+
57+
details: {
58+
phone: number
59+
}
3060
}
61+
3162
const mock = createMock<Person>();
3263
mock.id // ""
3364
mock.getName() // ""
3465
mock.details // "{ phone: 0 }"
3566
```
3667

37-
* If you are interested to use it with jasmine please go to [jasmine-ts-auto-mock](https://github.com/Typescript-TDD/jasmine-ts-auto-mock)
38-
* If you are interested to use it with jest please go to [jest-ts-auto-mock](https://github.com/Typescript-TDD/jest-ts-auto-mock)
68+
* If you are interested to use it with jasmine please go
69+
to [jasmine-ts-auto-mock](https://github.com/Typescript-TDD/jasmine-ts-auto-mock)
70+
* If you are interested to use it with jest please go
71+
to [jest-ts-auto-mock](https://github.com/Typescript-TDD/jest-ts-auto-mock)
3972

4073
## Changelog
4174

4275
Find the changelog here: [Changelog](CHANGELOG.md).
4376

4477
## Roadmap
4578

46-
You can find the roadmap of this project on the Wiki page: [Roadmap](https://github.com/Typescript-TDD/ts-auto-mock/wiki/Roadmap).
79+
You can find the roadmap of this project on the Wiki
80+
page: [Roadmap](https://github.com/Typescript-TDD/ts-auto-mock/wiki/Roadmap).
4781

4882
## Do you want to contribute?
83+
4984
* [Check how to make changes to the code base](https://typescript-tdd.github.io/ts-auto-mock/local-development)
5085

5186
## Authors
@@ -77,9 +112,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
77112

78113
<!-- ALL-CONTRIBUTORS-LIST:END -->
79114

80-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
115+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.
116+
Contributions of any kind welcome!
81117

82118
## Sponsor ✨
119+
83120
Thanks to these people
84121

85122
<table>
@@ -96,4 +133,5 @@ Thanks to these people
96133
</table>
97134

98135
## License
136+
99137
This project is licensed under the [MIT License](LICENSE.md)

0 commit comments

Comments
 (0)