Skip to content

Commit

Permalink
- upgrade dependencies
Browse files Browse the repository at this point in the history
- fixes #52
- fixes maxLength -> maxItems for array of tags in a token and add unit test
- switch from npm to yarn
  • Loading branch information
moodysalem committed Jul 9, 2021
1 parent b5865fb commit 2205498
Show file tree
Hide file tree
Showing 9 changed files with 6,532 additions and 9,243 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '10', '12' ]
node: [ '10', '12', '14' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: yarn install
- run: npm test
9 changes: 5 additions & 4 deletions DEVELOPMENT.md
Expand Up @@ -2,22 +2,23 @@

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

## `npm start`
## `yarn start`

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.
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.

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

Your library will be rebuilt if you make edits.

## `npm run build`
## `yarn build`

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

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

## `npm test`
## `yarn test`

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

0 comments on commit 2205498

Please sign in to comment.