Commit Graph
523 Commits
Author SHA1 Message Date
dependabot[bot]anddependabot-fix 33401a0901 build(deps): bump jest-mock-extended from 2.0.4 to 2.0.6 (#838)
* build(deps): bump jest-mock-extended from 2.0.4 to 2.0.6

Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 2.0.4 to 2.0.6.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](https://github.com/marchaos/jest-mock-extended/compare/2.0.4...2.0.6)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-02 16:05:47 +00:00
dependabot[bot]anddependabot-fix 285d6cdd07 build(deps): bump @babel/core from 7.17.10 to 7.18.2 (#836)
* build(deps): bump @babel/core from 7.17.10 to 7.18.2

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.10 to 7.18.2.
- [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.18.2/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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-02 00:55:53 +00:00
dependabot[bot]anddependabot-fix e8446e880b build(deps): bump usehooks-ts from 2.4.2 to 2.5.4 (#837)
* build(deps): bump usehooks-ts from 2.4.2 to 2.5.4

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.4.2 to 2.5.4.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Changelog](https://github.com/juliencrn/usehooks-ts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/usehooks-ts@2.4.2...usehooks-ts@2.5.4)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-02 00:29:58 +00:00
dependabot[bot]anddependabot-fix 8eee623a34 build(deps): bump sass from 1.51.0 to 1.52.1 (#834)
* build(deps): bump sass from 1.51.0 to 1.52.1

Bumps [sass](https://github.com/sass/dart-sass) from 1.51.0 to 1.52.1.
- [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.51.0...1.52.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-02 00:06:20 +00:00
dependabot[bot] 51fa97b55c Merge pull request #833 from pybricks/dependabot/npm_and_yarn/shopify/react-i18n-7.1.2
build(deps): bump @shopify/react-i18n from 6.3.13 to 7.1.2
2022-06-01 18:54:31 -05:00
dependabot[bot]anddependabot-fix 5ad0da8c14 build(deps): bump dotenv from 10.0.0 to 16.0.1 (#832)
* build(deps): bump dotenv from 10.0.0 to 16.0.1

Bumps [dotenv](https://github.com/motdotla/dotenv) from 10.0.0 to 16.0.1.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v10.0.0...v16.0.1)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-01 23:53:09 +00:00
4b38363b79 build(deps): bump react-redux from 7.2.6 to 8.0.2 (#831)
* build(deps): bump react-redux from 7.2.6 to 8.0.2

Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.6 to 8.0.2.
- [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.6...v8.0.2)

---
updated-dependencies:
- dependency-name: react-redux
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

* yarn: remove @types/react-redux

This is no longer needed since react-redux 8.

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@lechnology.com>
2022-06-01 23:31:48 +00:00
David Lechner 83132ad34b package.json: restore browserList
This reverts a workaround from long ago that should no longer be needed.
2022-06-01 18:03:15 -05:00
David Lechner 691783e3f8 yarn: update linters 2022-06-01 18:03:15 -05:00
David Lechner b57e716f9f yarn: fix duplicate eslint dep 2022-06-01 18:03:15 -05:00
dependabot[bot] b342daa0d6 Merge pull request #799 from pybricks/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.4
build(deps): bump @testing-library/jest-dom from 5.16.3 to 5.16.4
2022-06-01 15:01:43 -05:00
dependabot[bot]anddependabot-fix b40a02fa02 build(deps): bump @blueprintjs/popover2 from 0.13.0 to 1.3.0 (#821)
* build(deps): bump @blueprintjs/popover2 from 0.13.0 to 1.3.0

Bumps [@blueprintjs/popover2](https://github.com/palantir/blueprint/tree/HEAD/packages/core) from 0.13.0 to 1.3.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/popover2@1.3.0/packages/core)

---
updated-dependencies:
- dependency-name: "@blueprintjs/popover2"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-01 19:59:31 +00:00
dependabot[bot] 0dbfb4cd5e Merge pull request #822 from pybricks/dependabot/npm_and_yarn/blueprintjs/core-4.4.0
build(deps): bump @blueprintjs/core from 3.53.0 to 4.4.0
2022-06-01 14:44:06 -05:00
dependabot[bot]anddependabot-fix 3b691d0985 build(deps): bump dexie from 3.2.1 to 3.2.2 (#824)
* build(deps): bump dexie from 3.2.1 to 3.2.2

Bumps [dexie](https://github.com/dfahlander/Dexie.js) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/dfahlander/Dexie.js/releases)
- [Commits](https://github.com/dfahlander/Dexie.js/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: dexie
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
2022-06-01 14:27:56 -05:00
David Lechner 6386c90068 yarn: add source map explorer
https://create-react-app.dev/docs/analyzing-the-bundle-size/
2022-06-01 10:15:30 -05:00
David Lechner a005992a21 fileStorage: use dexie-react-hooks
This lets the dexie-react-hooks library do more of the work for us
instead of having to make redux-sagas wrappers for everything.
2022-05-18 17:06:08 -05:00
David Lechner 8ba4d49e3b components: add new component to fix a11y issues 2022-05-15 23:27:55 -05:00
David Lechner b729d90907 yarn: add patch for react-dev-utils
https://github.com/facebook/create-react-app/pull/11878
2022-05-14 14:18:49 -05:00
David Lechner 65623f801d update for breaking blueprintjs style changes
it is no longer feasible to build the blueprintjs css ourselves, so we
just use all of the default variable values and override things using
selectors instead.
2022-05-11 18:13:36 -05:00
David Lechner 896b3eae3e update monoco editor 2022-05-10 22:20:21 -05:00
David Lechner 8d522b963a update blueprints
This had a breaking change with regard to sass compiling.
2022-05-10 22:15:28 -05:00
David Lechner df12c40802 drop craco
Since we aren't using react-scripts any more, craco doesn't do anything.
This merges the craco config into the config created by `yarn eject`.
2022-05-10 20:27:58 -05:00
David Lechner 10a3efc41f yarn eject 2022-05-10 17:52:37 -05:00
David Lechner 54e826490d yarn up react-scripts
This doesn't compile due to breaking changes, but we have to commit
before ejecting.
2022-05-10 17:46:48 -05:00
David Lechner da7e983ad2 yarn: drop navigator.locks patch
The fix was merged upstream.
2022-04-05 18:52:59 -05:00
David Lechner b9dbaaa5cb fileStorage: implement file locks
This breaks down reading and writing into low-level and high level sagas.

Opening now takes a lock on the file so that it can only have one writer
or have multiple readers. The low-level read and write sagas use the
file descriptor to determine if the file is still open before actually
performing the action.

Since we are using the web locks api, these locks should work across
browser tabs/windows.

The high-level read/write sagas perform the low-level open, read/write,
close operations in a single call.

The high-level delete and rename sagas are also updated to take locks
on the files while performing the respective operations and will fail
if the file is already being used somewhere else.
2022-04-04 15:24:08 -05:00
David Lechner daa6c07910 yarn: update react-complex-tree 2022-04-01 14:42:18 -05:00
David Lechner 1515e5ae4f fileStorage: add file handles
This changes how files work. There is now an open function that
translates a path to a file handle (id). Then this handle is used
to perform other actions on the file. The file contents are moved
to a separate table so that the actual file storage is independent
of the database (e.g. in the future, we may use File Access API).

We store a hash of the file contents in the metadata file so we can
detect file changes without having to compare file contents.

We also separate the change and add actions.
2022-04-01 13:41:10 -05:00
David Lechner 75c3efc5ba fileStorage: replace localforage with dexie
This gives us more fine-grained control over database transaction and
cross-tab notifications and will facilitate upgrading the database with
new metadata in the future.
2022-03-28 17:04:45 -05:00
David Lechner 9de4227ec1 explorer: use keyboard accessible tree 2022-03-19 18:21:00 -05:00
David Lechner d6d5b8826e yarn: update to blueprintjs 4 2022-03-17 14:13:44 -05:00
David Lechner 38bfaf262b downgrade react-error-overlay
https://github.com/facebook/create-react-app/issues/11880#issuecomment-1005409614
2022-03-17 11:08:31 -05:00
David Lechner f9c1f7084c drop FileSaver
browser-fs-access already includes fallbacks to the file storage api
so we don't have to provide our own.
2022-03-16 14:59:10 -05:00
David Lechner d72ef77fec Merge remote-tracking branch 'origin/master' into dlech 2022-03-16 10:21:58 -05:00
David Lechner 062968ed9d yarn: patch mq-polyfill
Works around https://github.com/bigslycat/mq-polyfill/issues/7
2022-03-14 16:30:29 -05:00
David Lechner 5816ca32eb yarn: begin migration to 3.x
https://yarnpkg.com/getting-started/migration#step-by-step
2022-03-14 15:04:38 -05:00
dependabot[bot] e9aa0d82d9 build(deps-dev): bump eslint-plugin-react from 7.29.3 to 7.29.4
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.29.3 to 7.29.4.
- [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.29.3...v7.29.4)

---
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>
2022-03-14 16:27:30 +00:00
dependabot[bot] 9d370a5311 build(deps): bump @types/web-bluetooth from 0.0.12 to 0.0.13
Bumps [@types/web-bluetooth](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/web-bluetooth) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/web-bluetooth)

---
updated-dependencies:
- dependency-name: "@types/web-bluetooth"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 16:17:05 +00:00
David Lechner d8f958d18e explorer: implement file renaming 2022-03-12 14:45:06 -06:00
David Lechner 93111b6af4 explorer: implement import action 2022-03-11 15:41:16 -06:00
dependabot[bot] 1f17d72e26 build(deps): bump @types/react from 16.14.23 to 16.14.24
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.14.23 to 16.14.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 16:18:04 +00:00
dependabot[bot] 48bcf415fd build(deps): bump @shopify/react-i18n from 6.3.11 to 6.3.12
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 6.3.11 to 6.3.12.
- [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@6.3.12/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>
2022-03-09 17:04:31 +00:00
dependabot[bot] ab022caa49 build(deps): bump @testing-library/react from 12.1.3 to 12.1.4
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 12.1.3 to 12.1.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v12.1.3...v12.1.4)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 16:26:08 +00:00
dependabot[bot] 646d8ccf99 build(deps): bump @types/node from 12.20.46 to 12.20.47
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.46 to 12.20.47.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 16:16:16 +00:00
dependabot[bot] 08e59d2be7 build(deps): bump @shopify/react-i18n from 6.3.10 to 6.3.11
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 6.3.10 to 6.3.11.
- [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@6.3.11/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>
2022-03-07 16:17:51 +00:00
dependabot[bot] 6b104f8172 build(deps-dev): bump eslint-plugin-react from 7.29.2 to 7.29.3
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.29.2 to 7.29.3.
- [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.29.2...v7.29.3)

---
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>
2022-03-04 16:15:49 +00:00
dependabot[bot] 618a2f0633 build(deps): bump @types/react-redux from 7.1.22 to 7.1.23
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux) from 7.1.22 to 7.1.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux)

---
updated-dependencies:
- dependency-name: "@types/react-redux"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 16:23:39 +00:00
dependabot[bot] 3c0c593ffe build(deps): bump @shopify/react-i18n from 6.3.9 to 6.3.10
Bumps [@shopify/react-i18n](https://github.com/Shopify/quilt/tree/HEAD/packages/react-i18n) from 6.3.9 to 6.3.10.
- [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@6.3.10/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>
2022-03-01 16:31:38 +00:00
dependabot[bot] 8753ced58d build(deps): bump xterm from 4.17.0 to 4.18.0
Bumps [xterm](https://github.com/xtermjs/xterm.js) from 4.17.0 to 4.18.0.
- [Release notes](https://github.com/xtermjs/xterm.js/releases)
- [Commits](https://github.com/xtermjs/xterm.js/compare/4.17.0...4.18.0)

---
updated-dependencies:
- dependency-name: xterm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 16:22:10 +00:00
dependabot[bot] 451fceda0d build(deps): bump typescript from 4.5.5 to 4.6.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 16:14:52 +00:00