Skip to content

Commit

Permalink
Switch to yarn, jest, parcel, single package supporting mobx 4, 5, 6
Browse files Browse the repository at this point in the history
  • Loading branch information
danielearwicker committed Dec 28, 2020
1 parent 48fb11a commit 44d1aa7
Show file tree
Hide file tree
Showing 54 changed files with 7,827 additions and 3,834 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ node_modules
coverage
built
.DS_Store
interactive-tests/.cache
interactive-tests/dist
.cache
dist
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
language: node_js
env:
- MOBX_VERSION=4
- MOBX_VERSION=5
- MOBX_VERSION=6
install:
- npm install
script: npm run all
- node version-switcher.js $MOBX_VERSION
- yarn
script:
- pushd packages/computed-async-mobx
- yarn test
- popd
after_success:
- cat ./coverage/lcov.info|./node_modules/coveralls/bin/coveralls.js
- cat ./packages/computed-async-mobx/coverage/lcov.info|./node_modules/coveralls/bin/coveralls.js
node_js:
- 10
- 14
28 changes: 18 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,29 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug NXG-UI Tests",
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/built/test/asyncComputedRenderTests.js",
"cwd": "${workspaceRoot}",
"outFiles": [],
"sourceMaps": true
"runtimeExecutable": "${workspaceRoot}/packages/computed-async-mobx/node_modules/.bin/jest",
"args": [
"--runInBand",
"--no-cache",
"--no-watch",
"--coverage", "false",
"--testTimeout=1000000",
"-t", "throttledComputed - propagates exceptions"],
"cwd": "${workspaceRoot}/packages/computed-async-mobx",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "Debug Jest Tests",
"type": "node",
"request": "attach",
"name": "Attach to Process",
"port": 5858,
"outFiles": [],
"sourceMaps": true
"request": "launch",
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand", "--coverage", "false"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
13 changes: 0 additions & 13 deletions CHANGES.md

This file was deleted.

7 changes: 7 additions & 0 deletions clean-packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
rm -rf node_modules
rm -rf docs/typedoc
rm -rf packages/computed-async-mobx/node_modules
rm -rf packages/computed-async-mobx/coverage
rm -rf packages/computed-async-mobx/built
rm -rf packages/computed-async-mobx-interactive-tests/node_modules
rm yarn.lock
1 change: 0 additions & 1 deletion tsconfig.json → config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"noUnusedParameters": true,
"noImplicitReturns": true,
"esModuleInterop": true,
"outDir": "built",
"lib": [
"es6",
"dom"
Expand Down
1 change: 0 additions & 1 deletion docs/typedoc/assets/css/main.css

This file was deleted.

Binary file removed docs/typedoc/assets/images/icons.png
Binary file not shown.
Binary file removed docs/typedoc/assets/images/icons@2x.png
Binary file not shown.
Binary file removed docs/typedoc/assets/images/widgets.png
Binary file not shown.
Binary file removed docs/typedoc/assets/images/widgets@2x.png
Binary file not shown.
51 changes: 0 additions & 51 deletions docs/typedoc/assets/js/main.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/typedoc/assets/js/search.json

This file was deleted.

Loading

0 comments on commit 44d1aa7

Please sign in to comment.