Commit Graph
118 Commits
Author SHA1 Message Date
David Lechner 69e52be259 remove wasm file extension rename workaround
This modifies the webpack config instead of renaming the .wasm file
to workaround default webpack behavior regarding import .wasm files.
2021-01-11 16:47:49 -06:00
David Lechner d04e022e83 drop use of GitHub package registry
Having to always authenticate to use packages hosted on GitHub was a
bit of a pain for developers and breaks dependabot.
2021-01-11 16:47:49 -06:00
David Lechner 3943f149a5 update @shopify/react-i18n
Requires special handling since they are using .esnext file extension
for some reason.
2021-01-08 20:39:15 -06:00
David Lechner 2342023f71 use craco
This lets us modify some config without ejecting create-react-app.

This allows us to target esnext which works around a number of issues
with multi-targeted packages like blueprintsjs and react-i18n.
2021-01-08 18:05:51 -06:00
David Lechner c146979429 upgrade typescript 2021-01-08 16:23:42 -06:00
David Lechner 62350f2e6d update @testing-library/jest-dom 2021-01-08 15:11:02 -06:00
David Lechner 6ffa5b78f9 sort eslint in correct order 2021-01-08 15:07:45 -06:00
David Lechner cb4efe42e3 add prop-types dependency for react-splitter-layout 2021-01-08 15:03:33 -06:00
David Lechner dd34a2170e Merge branch 'master' into dlech 2021-01-08 13:50:15 -06:00
David Lechner 17d40d4691 add @testing-library/dom package
peer dependency for @testing-library/user-event
2021-01-08 13:43:06 -06:00
dependabot[bot] 83d8730c59 Bump @testing-library/react from 10.4.9 to 11.2.3
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 10.4.9 to 11.2.3.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v10.4.9...v11.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 19:41:14 +00:00
David Lechner ad20a836ed Merge remote-tracking branch 'origin/master' into dlech 2021-01-08 13:35:12 -06:00
David Lechner 0d58a88c5b upgrade react-scripts
reverts 2b71b22
2021-01-08 13:31:33 -06:00
dependabot[bot] 0efd90a370 Bump @testing-library/user-event from 11.4.2 to 12.6.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.2 to 12.6.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v11.4.2...v12.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 19:24:34 +00:00
David Lechner d85229ad41 upgrade some @types 2021-01-08 13:09:14 -06:00
David Lechner 7ebca7a13a upgrade react-redux 2021-01-08 13:09:14 -06:00
David Lechner d377ba0bb4 upgrade react-dropzone 2021-01-08 13:09:14 -06:00
David Lechner 87d4d1e20f add eslint dev dependency
fixes warnings

    warning " > eslint-plugin-import@2.22.1" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0".
    warning " > @typescript-eslint/parser@4.12.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
    warning "@typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils@4.12.0" has unmet peer dependency "eslint@*".
    warning " > eslint-config-prettier@7.1.0" has unmet peer dependency "eslint@>=7.0.0".
    warning " > eslint-plugin-prettier@3.3.1" has unmet peer dependency "eslint@>=5.0.0".
    warning " > eslint-plugin-react@7.22.0" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
2021-01-08 13:09:14 -06:00
David Lechner fd24291706 upgrade ace 2021-01-08 13:09:14 -06:00
David Lechner a6a4132151 upgrade ace 2021-01-08 13:09:14 -06:00
David Lechner d7567233af upgrade xterm 2021-01-08 13:09:14 -06:00
David Lechner 4592c144e7 upgrade eslint and prettier 2021-01-08 13:09:14 -06:00
David Lechner 8856e1d3d3 upgrade blueprintsjs 2021-01-08 13:09:14 -06:00
dependabot[bot] 0218687571 Bump react-ace from 9.2.0 to 9.2.1
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.2.0...v9.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 18:16:26 +00:00
David Lechner a3d568d4b6 Pybricks firmware v3.0.0a13 2021-01-08 11:12:31 -06:00
David Lechner 9ccf5f8eb4 pybricks-micropython v3.0.0a12 2020-12-11 16:53:44 -06:00
David Lechner 6852d56316 fix service worker after update to create-react-app 4
https://github.com/facebook/create-react-app/issues/9776
2020-11-20 22:11:07 -06:00
David Lechner 4ee50072a0 Update firmware to v3.0.0a11
Also take advantage of new helper functions in firmware package.
2020-11-20 21:08:53 -06:00
David Lechner 71ad9c1b1b Update to create-react-app 4
- had to update eslint deps
- ran into https://github.com/palantir/blueprint/issues/4112
- had to move beta.svg out of static/
- had to fix prettier formatting changes
- ran into https://github.com/facebook/jest/issues/7780
2020-11-20 21:08:53 -06:00
dependabot-preview[bot] b9175543fd Bump @types/web-bluetooth from 0.0.8 to 0.0.9
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-bluetooth)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 10:16:26 -06:00
David Lechner 6e36a37008 Pybricks firmware v3.0.0a10 2020-11-09 10:10:41 -06:00
David Lechner d69d76b548 use double-quotes on eslint glob
It doesn't work on Windows with single quotes.
2020-10-09 20:41:52 -05:00
David Lechner 4922f4e82e use mkdirp package for cross-platform
mkdir -p causes an error on windows
2020-10-09 20:41:52 -05:00
Laurens Valk 5561de530b Rename CPlusHub to TechnicHub 2020-10-09 20:26:52 -05:00
David Lechner 124a959527 pybricks-micropython firmware v3.0.0a8 2020-09-04 16:21:56 -05:00
dependabot-preview[bot] 5b6d9d37a6 Bump react-ace from 9.1.2 to 9.1.3
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.1.2...v9.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 15:46:33 -05:00
David Lechner 11bec2eb59 pybricks-micropython firmware v3.0.0a7 2020-08-22 10:16:54 -05:00
dependabot-preview[bot] 0e3d06b7b2 Bump react-ace from 9.1.1 to 9.1.2
Bumps [react-ace](https://github.com/securingsincity/react-ace) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/securingsincity/react-ace/releases)
- [Changelog](https://github.com/securingsincity/react-ace/blob/main/CHANGELOG.md)
- [Commits](https://github.com/securingsincity/react-ace/compare/v9.1.1...v9.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 15:17:28 -05:00
David Lechner 1ac032497b update to pybricks-micropython v3.0.0a6 2020-08-05 16:34:22 -05:00
dependabot-preview[bot] 6f0b0d5061 Bump @blueprintjs/core from 3.30.0 to 3.30.1
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.1/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 12:23:12 -05:00
dependabot-preview[bot] 55457701a5 Bump eslint-plugin-react from 7.20.3 to 7.20.5
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.3 to 7.20.5.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 11:34:40 -05:00
dependabot-preview[bot] 1ceb59a459 Bump react-redux from 7.2.0 to 7.2.1
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.0 to 7.2.1.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.0...v7.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:03:37 -05:00
dependabot-preview[bot] 1f45a32dc3 Bump typescript from 3.9.6 to 3.9.7
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 11:48:44 -05:00
dependabot-preview[bot] 10005c7211 Bump @blueprintjs/core from 3.29.0 to 3.30.0
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 3.29.0 to 3.30.0.
- [Release notes](https://github.com/palantir/blueprint/releases)
- [Changelog](https://github.com/palantir/blueprint/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/palantir/blueprint/commits/@blueprintjs/core@3.30.0/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:51:40 -05:00
David Lechner 5c3727b3ce Update @types/web-bluetooth
Now includes writeValueWithResponse and writeValueWithoutResponse
2020-07-15 13:17:40 -05:00
David Lechner dff453af7b firmware v3.0.0a5 2020-07-15 13:01:56 -05:00
David Lechner 441d517a52 Rework web assembly inclusion
This moves the .wasm file out of the static/js/ folder and into the
source tree. This way we can import it and webpack will pick it up
and version the file with a hash.

This fixes possibly running with an out of date file from the browser
cache and also fixes running offline.

The file extension had to be changed because there is a default rule in
webpack that matches the .wasm extension and causes the following error:

    Failed to compile.

    ./src/sagas/mpy-cross.wasm
    Module parse failed: magic header not detected
    File was processed with these loaders:
    * ./node_modules/file-loader/dist/cjs.js
    You may need an additional loader to handle the result of these loaders.
    Error: magic header not detected

The webpack configuration cannot be modified without ejecting
create-react-app or using something like react-app-rewired, which we
would like to avoid.

Also using ncp to copy file now which fixes building on Windows.
2020-07-03 20:29:19 -05:00
David Lechner e7f9d55bc3 Update firmware to v3.0.0a4 2020-07-02 21:37:00 -05:00
dependabot-preview[bot] 369a15d604 Bump jszip from 3.4.0 to 3.5.0
Bumps [jszip](https://github.com/Stuk/jszip) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:34:07 -05:00
dependabot-preview[bot] c95e7e2493 Bump @testing-library/user-event from 11.4.1 to 11.4.2
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 11.4.1 to 11.4.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v11.4.1...v11.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:00 -05:00