Commit Graph
10 Commits
Author SHA1 Message Date
David Lechner d95c550248 editor: change from ace to monaco
This replaces the ace editor with the monaco editor. It fixes quite a
few small paper-cut bugs and should be easier to add code completion
to in the future.

Many of the snippets are omitted but can be added back later if needed.
Otherwise, we have tried to preserve the existing look and feel as much
as possible.
2021-07-02 20:59:09 -05:00
David Lechner 944770fa98 public/manifest: use variables for program name
This requires a craco hack due to https://github.com/facebook/create-react-app/issues/7953
2021-06-23 14:28:59 -05:00
David Lechner afc8e7c628 include offline copy of docs
This grabs the docs via the @pybricks/ide-docs package and copies them
to the build directory with copy-webpack-plugin.

The service worker automatically picks up these files for precache
since they go through webpack.
2021-01-25 21:05:14 -06:00
David Lechner 9551bdc7f0 Pybricks firmware v3.0.0b1 2021-01-22 10:35:11 -06:00
David Lechner 904de515c0 fix missing newlines in compiler error 2021-01-21 12:37:29 -06:00
David Lechner deac69fdab switch to license-webpack-plugin
This package is a bit more versatile. For example, it lets us include
the app's package too.

webpack-license-plugin had a bug that made it unusable anyway.
2021-01-17 13:11:47 -06:00
David Lechner 1626533cca add license dialog 2021-01-17 10:39:38 -06:00
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 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