6c373c302c
build(deps): bump pyodide from 0.21.2 to 0.21.3 ( #1144 )
...
* build(deps): bump pyodide from 0.21.2 to 0.21.3
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.21.2...0.21.3 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
* update patch for pyodide 0.21.3
* make use of new pyodide version export
* fix breaking change in loadPyodide indexURL
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-17 18:05:44 +00:00
dependabot[bot] and dependabot-fix
64a52a8352
build(deps): bump browserslist from 4.21.3 to 4.21.4 ( #1147 )
...
* build(deps): bump browserslist from 4.21.3 to 4.21.4
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.21.3 to 4.21.4.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.3...4.21.4 )
---
updated-dependencies:
- dependency-name: browserslist
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-16 17:08:46 +00:00
dependabot[bot] and dependabot-fix
8fed3fa868
build(deps): bump @blueprintjs/select from 4.6.4 to 4.6.6 ( #1145 )
...
* build(deps): bump @blueprintjs/select from 4.6.4 to 4.6.6
Bumps [@blueprintjs/select](https://github.com/palantir/blueprint/tree/HEAD/packages/select ) from 4.6.4 to 4.6.6.
- [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/select@4.6.6/packages/select )
---
updated-dependencies:
- dependency-name: "@blueprintjs/select"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-16 16:54:50 +00:00
dependabot[bot] and dependabot-fix
816f776538
build(deps): bump @types/jest from 29.0.2 to 29.0.3 ( #1143 )
...
* build(deps): bump @types/jest from 29.0.2 to 29.0.3
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.0.2 to 29.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-16 16:41:21 +00:00
dependabot[bot] and dependabot-fix
9faf4674f6
build(deps): bump postcss-preset-env from 7.8.1 to 7.8.2 ( #1142 )
...
* build(deps): bump postcss-preset-env from 7.8.1 to 7.8.2
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env ) from 7.8.1 to 7.8.2.
- [Release notes](https://github.com/csstools/postcss-plugins/releases )
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md )
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env )
---
updated-dependencies:
- dependency-name: postcss-preset-env
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-16 16:24:43 +00:00
dependabot[bot] and dependabot-fix
08e8355457
build(deps): bump web-vitals from 3.0.1 to 3.0.2 ( #1140 )
...
* build(deps): bump web-vitals from 3.0.1 to 3.0.2
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/GoogleChrome/web-vitals/releases )
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md )
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: web-vitals
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-15 19:21:05 +00:00
dependabot[bot] and dependabot-fix
a6e766e69a
build(deps): bump @blueprintjs/popover2 from 1.6.4 to 1.6.6 ( #1141 )
...
* build(deps): bump @blueprintjs/popover2 from 1.6.4 to 1.6.6
Bumps [@blueprintjs/popover2](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 1.6.4 to 1.6.6.
- [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/popover2@1.6.6/packages/core )
---
updated-dependencies:
- dependency-name: "@blueprintjs/popover2"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-15 18:29:41 +00:00
dependabot[bot] and dependabot-fix
8c5cbc9234
build(deps): bump @blueprintjs/core from 4.9.4 to 4.10.1 ( #1139 )
...
* build(deps): bump @blueprintjs/core from 4.9.4 to 4.10.1
Bumps [@blueprintjs/core](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 4.9.4 to 4.10.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@4.10.1/packages/core )
---
updated-dependencies:
- dependency-name: "@blueprintjs/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-15 16:19:22 +00:00
David Lechner
6446a81fe1
Merge pull request #1138 from pybricks/dlech
...
updates
2022-09-14 18:33:26 -05:00
David Lechner
ed9510365a
Merge remote-tracking branch 'origin/master' into dlech
2022-09-14 18:25:56 -05:00
David Lechner
56630ef2cf
firmware/installPybricksDialog: drop support for including custom main.py
...
This removes the UI and internal support for selecting a file to include
as the main.py when flashing firmware. This feature was removed in the
firmware starting with firmware metadata v2.0.0 so the firmware that
ships with Pybricks code won't be able to do this in the near future.
So, it doesn't make sense to keep this feature only for old firmware.
It is still possible to replace the main.py in old firmware.zip files
and flash that way.
2022-09-14 18:12:34 -05:00
David Lechner
9811807d09
firmware: add support for firmware.metadata.json v2.0.0
...
This adds support for the new firmware.metadata.json v2.0.0 which drops
support for appending a main.py file to the firmware.
2022-09-14 17:58:54 -05:00
David Lechner
c4d98638b1
firmware/actions: fix error type check
...
we need to check that it matches the error interface, not that it is
an instance of an error
2022-09-14 17:38:19 -05:00
dependabot[bot] and dependabot-fix
84d705509f
build(deps-dev): bump eslint-plugin-functional from 4.3.0 to 4.3.1 ( #1137 )
...
* build(deps-dev): bump eslint-plugin-functional from 4.3.0 to 4.3.1
Bumps [eslint-plugin-functional](https://github.com/eslint-functional/eslint-plugin-functional ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/eslint-functional/eslint-plugin-functional/releases )
- [Changelog](https://github.com/eslint-functional/eslint-plugin-functional/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint-functional/eslint-plugin-functional/compare/v4.3.0...v4.3.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-functional
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-14 18:06:48 +00:00
dependabot[bot] and dependabot-fix
e7510b5670
build(deps): bump @types/jest from 29.0.1 to 29.0.2 ( #1136 )
...
* build(deps): bump @types/jest from 29.0.1 to 29.0.2
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.0.1 to 29.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-14 17:51:44 +00:00
dependabot[bot] and dependabot-fix
f34ddda7a8
build(deps): bump @babel/core from 7.19.0 to 7.19.1 ( #1135 )
...
* build(deps): bump @babel/core from 7.19.0 to 7.19.1
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.19.0 to 7.19.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.1/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-14 16:54:49 +00:00
David Lechner
0bd4a7a282
Merge remote-tracking branch 'origin/master' into dlech
2022-09-13 14:24:43 -05:00
David Lechner
7e2404d583
pybricksMicropython: add support for peer file code completion
...
This allows importing user-created files and getting code completion
for those imports. This is done by mirroring the dexie-based file
system used by the editor to the emscripten based file system used
by pyodide. In the future, ideally we would have some sort of shared
file system, but this works for now.
Note: completing `from ` doesn't list user files/modules because of
filters in the pybricks-jedi python package but completing
`from my_file import ` does work as expected.
2022-09-13 14:19:29 -05:00
dependabot[bot] and dependabot-fix
4d407ad558
build(deps-dev): bump eslint from 8.23.0 to 8.23.1 ( #1134 )
...
* build(deps-dev): bump eslint from 8.23.0 to 8.23.1
Bumps [eslint](https://github.com/eslint/eslint ) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.23.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-13 17:22:16 +00:00
9994e8f4b4
build(deps): bump jest and @types/jest ( #1131 )
...
* build(deps): bump jest and @types/jest
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ). These dependencies needed to be updated together.
Updates `jest` from 28.1.3 to 29.0.3
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest )
Updates `@types/jest` from 28.1.8 to 29.0.1
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:production
update-type: version-update:semver-major
- dependency-name: "@types/jest"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
* update test snapshots for jest 29
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-13 17:06:24 +00:00
dependabot[bot] and dependabot-fix
2c88b81d54
build(deps-dev): bump @typescript-eslint/parser from 5.36.2 to 5.37.0 ( #1133 )
...
* build(deps-dev): bump @typescript-eslint/parser from 5.36.2 to 5.37.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.37.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-13 16:59:12 +00:00
dependabot[bot] and dependabot-fix
dbd7990ac8
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.36.2 to 5.37.0 ( #1132 )
...
* build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.37.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-13 16:44:45 +00:00
dependabot[bot] and dependabot-fix
25834019a5
build(deps): bump typescript from 4.8.2 to 4.8.3 ( #1127 )
...
* build(deps): bump typescript from 4.8.2 to 4.8.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.2...v4.8.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-12 17:14:02 +00:00
dependabot[bot] and dependabot-fix
fcdcf9e586
build(deps): bump jest-environment-jsdom from 29.0.2 to 29.0.3 ( #1130 )
...
* build(deps): bump jest-environment-jsdom from 29.0.2 to 29.0.3
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.0.2 to 29.0.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.3/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-12 16:59:34 +00:00
dependabot[bot] and dependabot-fix
013c67826d
build(deps): bump css-minimizer-webpack-plugin from 4.0.0 to 4.1.0 ( #1129 )
...
* build(deps): bump css-minimizer-webpack-plugin from 4.0.0 to 4.1.0
Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/compare/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-12 16:45:06 +00:00
dependabot[bot] and dependabot-fix
1f19d6d456
build(deps): bump jest-watch-typeahead from 2.1.1 to 2.2.0 ( #1128 )
...
* build(deps): bump jest-watch-typeahead from 2.1.1 to 2.2.0
Bumps [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/jest-community/jest-watch-typeahead/releases )
- [Changelog](https://github.com/jest-community/jest-watch-typeahead/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/jest-watch-typeahead/compare/v2.1.1...v2.2.0 )
---
updated-dependencies:
- dependency-name: jest-watch-typeahead
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-12 16:29:52 +00:00
David Lechner
bb61438c26
Merge pull request #1126 from pybricks/dlech
...
new web server script
2022-09-09 11:48:39 -05:00
David Lechner
be36e8e73a
Merge remote-tracking branch 'origin/master' into dlech
2022-09-09 11:39:19 -05:00
David Lechner
37527630cf
scripts: new web server script
...
This provides a new script for serving the output of `yarn build`. This
is needed since the app now requires special http headers to be defined
to use certain web APIs.
2022-09-09 11:37:37 -05:00
David Lechner
f24db4a89b
implement cache bursting based on http header version
...
In 096eea7 , we made use of APIs that require special http headers to be
configured on the server. This had a side effect of causing the
documentation iframe to not load because the browser would cache the
headers of the iframe index.html page.
We can work around this by providing a header version to do cache
bursting via a query parameter on this page.
2022-09-09 11:33:20 -05:00
dependabot[bot] and dependabot-fix
963a0f10d0
build(deps-dev): bump eslint-plugin-react from 7.31.7 to 7.31.8 ( #1125 )
...
* build(deps-dev): bump eslint-plugin-react from 7.31.7 to 7.31.8
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.31.7 to 7.31.8.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.7...v7.31.8 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-09 16:25:25 +00:00
David Lechner
c2bd782114
Merge pull request #1124 from pybricks/dlech
...
fix offline code completion
2022-09-08 13:51:01 -05:00
David Lechner
d90aac1d9d
Merge remote-tracking branch 'origin/master' into dlech
2022-09-08 13:43:09 -05:00
David Lechner
76462a0f4a
python-worker: enable offline use
...
This makes the required changes to use Pyodide and Python packages
offline and use a fixed version of the Python packages instead of
fetching the latest from PyPI.
There were a number of issues encountered with Pyodide webpack
compatibility that were fixed using `yarn patch`:
- https://github.com/pyodide/pyodide/pull/3080
- https://github.com/pyodide/pyodide/pull/3085
- https://github.com/pyodide/pyodide/issues/3086
- https://github.com/pyodide/pyodide/issues/3087
Issue: https://github.com/pybricks/pybricks-code/issues/932
2022-09-08 13:43:00 -05:00
dependabot[bot] and dependabot-fix
1cc4c64af3
build(deps): bump @blueprintjs/select from 4.6.3 to 4.6.4 ( #1122 )
...
* build(deps): bump @blueprintjs/select from 4.6.3 to 4.6.4
Bumps [@blueprintjs/select](https://github.com/palantir/blueprint/tree/HEAD/packages/select ) from 4.6.3 to 4.6.4.
- [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/select@4.6.4/packages/select )
---
updated-dependencies:
- dependency-name: "@blueprintjs/select"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-08 17:51:58 +00:00
dependabot[bot] and dependabot-fix
0f729f44a5
build(deps): bump @blueprintjs/popover2 from 1.6.3 to 1.6.4 ( #1121 )
...
* build(deps): bump @blueprintjs/popover2 from 1.6.3 to 1.6.4
Bumps [@blueprintjs/popover2](https://github.com/palantir/blueprint/tree/HEAD/packages/core ) from 1.6.3 to 1.6.4.
- [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/popover2@1.6.4/packages/core )
---
updated-dependencies:
- dependency-name: "@blueprintjs/popover2"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-08 17:36:27 +00:00
dependabot[bot] and dependabot-fix
c1a4ede24e
build(deps): bump sass from 1.54.8 to 1.54.9 ( #1123 )
...
* build(deps): bump sass from 1.54.8 to 1.54.9
Bumps [sass](https://github.com/sass/dart-sass ) from 1.54.8 to 1.54.9.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.54.8...1.54.9 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-08 17:20:52 +00:00
6ae80e68eb
build(deps-dev): bump eslint-plugin-functional from 4.2.2 to 4.3.0 ( #1120 )
...
* build(deps-dev): bump eslint-plugin-functional from 4.2.2 to 4.3.0
Bumps [eslint-plugin-functional](https://github.com/eslint-functional/eslint-plugin-functional ) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/eslint-functional/eslint-plugin-functional/releases )
- [Changelog](https://github.com/eslint-functional/eslint-plugin-functional/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint-functional/eslint-plugin-functional/compare/v4.2.2...v4.3.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-functional
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-08 17:04:24 +00:00
dependabot[bot] and dependabot-fix
364184c476
build(deps): bump canvas from 2.10.0 to 2.10.1 ( #1119 )
...
* build(deps): bump canvas from 2.10.0 to 2.10.1
Bumps [canvas](https://github.com/Automattic/node-canvas ) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/Automattic/node-canvas/releases )
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/node-canvas/compare/v2.10.0...v2.10.1 )
---
updated-dependencies:
- dependency-name: canvas
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-08 16:28:29 +00:00
dependabot[bot] and dependabot-fix
14a7daf9c8
build(deps): bump postcss-preset-env from 7.8.0 to 7.8.1 ( #1116 )
...
* build(deps): bump postcss-preset-env from 7.8.0 to 7.8.1
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env ) from 7.8.0 to 7.8.1.
- [Release notes](https://github.com/csstools/postcss-plugins/releases )
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md )
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env )
---
updated-dependencies:
- dependency-name: postcss-preset-env
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-07 17:47:58 +00:00
dependabot[bot] and dependabot-fix
7be36284a6
build(deps): bump @shopify/react-i18n from 7.2.2 to 7.2.3 ( #1117 )
...
* build(deps): bump @shopify/react-i18n from 7.2.2 to 7.2.3
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n ) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/Shopify/quilt/releases )
- [Changelog](https://github.com/Shopify/quilt/blob/main/packages/react-i18n/CHANGELOG.md )
- [Commits](https://github.com/Shopify/quilt/commits/@shopify/react-i18n@7.2.3/packages/react-i18n )
---
updated-dependencies:
- dependency-name: "@shopify/react-i18n"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-07 17:35:53 +00:00
44ed71e7cf
build(deps): bump webpack-dev-server from 4.10.1 to 4.11.0 ( #1118 )
...
* build(deps): bump webpack-dev-server from 4.10.1 to 4.11.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.10.1 to 4.11.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.10.1...v4.11.0 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-07 17:20:20 +00:00
dependabot[bot] and dependabot-fix
b87d5915ef
build(deps): bump @babel/core from 7.18.13 to 7.19.0 ( #1115 )
...
* build(deps): bump @babel/core from 7.18.13 to 7.19.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.18.13 to 7.19.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.19.0/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-07 16:34:16 +00:00
David Lechner
40f2da46d2
Merge pull request #1114 from pybricks/dlech
...
restore custom firmware flashing
2022-09-06 14:24:53 -05:00
David Lechner
ce7295634c
Merge remote-tracking branch 'origin/master' into dlech
2022-09-06 14:15:47 -05:00
David Lechner
4e77efb34f
installPybricksDialog: add feature to install custom firmware
...
This restores the ability to drag and drop a custom firmware file to
flash the firmware on the hub.
Fixes: https://github.com/pybricks/pybricks-code/issues/1020
2022-09-06 14:14:57 -05:00
dependabot[bot] and dependabot-fix
34825d488a
build(deps-dev): bump eslint-plugin-react from 7.31.1 to 7.31.7 ( #1113 )
...
* build(deps-dev): bump eslint-plugin-react from 7.31.1 to 7.31.7
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.31.1 to 7.31.7.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.1...v7.31.7 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-06 18:27:18 +00:00
dependabot[bot] and dependabot-fix
f1ffc71b17
build(deps): bump react-joyride from 2.5.1 to 2.5.2 ( #1110 )
...
* build(deps): bump react-joyride from 2.5.1 to 2.5.2
Bumps [react-joyride](https://github.com/gilbarbara/react-joyride ) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/gilbarbara/react-joyride/releases )
- [Commits](https://github.com/gilbarbara/react-joyride/compare/v2.5.1...v2.5.2 )
---
updated-dependencies:
- dependency-name: react-joyride
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-06 18:12:42 +00:00
dependabot[bot] and dependabot-fix
5c88172d03
build(deps): bump canvas from 2.9.3 to 2.10.0 ( #1112 )
...
* build(deps): bump canvas from 2.9.3 to 2.10.0
Bumps [canvas](https://github.com/Automattic/node-canvas ) from 2.9.3 to 2.10.0.
- [Release notes](https://github.com/Automattic/node-canvas/releases )
- [Changelog](https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Automattic/node-canvas/compare/v2.9.3...v2.10.0 )
---
updated-dependencies:
- dependency-name: canvas
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-06 18:01:08 +00:00
dependabot[bot] and dependabot-fix
42cf8b2df2
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.36.1 to 5.36.2 ( #1111 )
...
* build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
2022-09-06 17:47:27 +00:00