Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
docs: make examples work without yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
holvonixAdvay committed Aug 7, 2019
1 parent becdd25 commit ec06241
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 78 deletions.
2 changes: 2 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!node_modules/

1 change: 1 addition & 0 deletions examples/node_modules/io-ts-fuzzer

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions examples/quickstart/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!node_modules/

1 change: 1 addition & 0 deletions examples/quickstart/node_modules
77 changes: 0 additions & 77 deletions examples/quickstart/yarn.lock

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"lint": "yarn fix && yarn run check",
"check": "yarn run pretty.check && gts check",
"fix": "yarn run pretty.fix && gts fix",
"test.examples": "cd examples/quickstart && rm yarn.lock && yarn && yarn start",
"test.examples": "cd examples/quickstart && ts-node index.ts",
"preversion": "yarn test && yarn test.examples",
"docs": "yarn clean && yarn build && rm -rf docs && mkdir -p docs && ( mocha --grep='#private' --invert -R markdown >docs/index.md )",
"test-unit": "yarn test --grep='#e2e|#int' --invert",
Expand Down

0 comments on commit ec06241

Please sign in to comment.