Skip to content

Commit 2205498

Browse files
committed
- upgrade dependencies
- fixes #52 - fixes maxLength -> maxItems for array of tags in a token and add unit test - switch from npm to yarn
1 parent b5865fb commit 2205498

9 files changed

+6532
-9243
lines changed

.github/workflows/tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node: [ '10', '12' ]
13+
node: [ '10', '12', '14' ]
1414
name: Node ${{ matrix.node }}
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Setup node
1818
uses: actions/setup-node@v1
1919
with:
2020
node-version: ${{ matrix.node }}
21-
- run: npm install
21+
- run: yarn install
2222
- run: npm test

DEVELOPMENT.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,23 @@
22

33
Below is a list of commands you will probably find useful.
44

5-
## `npm start`
5+
## `yarn start`
66

7-
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
7+
Runs the project in development/watch mode. Your project will be rebuilt upon changes.
8+
TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
89

910
<img src="https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif" width="600" />
1011

1112
Your library will be rebuilt if you make edits.
1213

13-
## `npm run build`
14+
## `yarn build`
1415

1516
Bundles the package to the `dist` folder.
1617
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
1718

1819
<img src="https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif" width="600" />
1920

20-
## `npm test`
21+
## `yarn test`
2122

2223
Runs the test watcher (Jest) in an interactive mode.
2324
By default, runs tests related to files changed since the last commit.

0 commit comments

Comments
 (0)