Skip to content

Commit

Permalink
Merge branch 'protocol_designer-migrate-webpack-to-vite' of https://g…
Browse files Browse the repository at this point in the history
…ithub.com/Opentrons/opentrons into protocol_designer-migrate-webpack-to-vite
  • Loading branch information
koji committed Feb 28, 2024
2 parents 0bcf663 + 9105de8 commit e5e345b
Show file tree
Hide file tree
Showing 35 changed files with 1,120 additions and 268 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
3 changes: 2 additions & 1 deletion app-shell-odd/src/config/migrate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import path from 'path'
import { app } from 'electron'
import uuid from 'uuid/v4'
import { CONFIG_VERSION_LATEST } from '@opentrons/app/src/redux/config'

import type {
Config,
Expand All @@ -21,6 +20,8 @@ import type {
// any default values for later config versions are specified in the migration
// functions for those version below

const CONFIG_VERSION_LATEST = 21 // update this after each config version bump

export const DEFAULTS_V12: ConfigV12 = {
version: 12,
devtools: false,
Expand Down
2 changes: 1 addition & 1 deletion app-shell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ all: package
# must be wrapped in pnpm run otherwise `prebuild-install` will fail silently
# due to how `electron-rebuild` calls `prebuild-install`
setup:
pnpm rebuild
pnpm i

.PHONY: clean
clean:
Expand Down
9 changes: 5 additions & 4 deletions app-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
]
},
"devDependencies": {
"@opentrons/app": "link:../app",
"@opentrons/discovery-client": "link:../discovery-client",
"@opentrons/shared-data": "link:../shared-data",
"@opentrons/usb-bridge/node-client": "link:../usb-bridge/node-client",
"electron-notarize": "^1.2.1",
"electron-publisher-s3": "^20.17.2"
},
"dependencies": {
"@opentrons/app": "link:../app",
"@opentrons/discovery-client": "link:../discovery-client",
"@opentrons/shared-data": "link:../shared-data",
"@opentrons/usb-bridge/node-client": "link:../usb-bridge/node-client",
"@thi.ng/paths": "1.6.5",
"@types/dateformat": "^3.0.1",
"@types/fs-extra": "9.0.13",
Expand All @@ -48,6 +48,7 @@
"dateformat": "3.0.3",
"electron-context-menu": "3.6.1",
"electron-debug": "3.0.1",
"electron-is-dev": "1.2.0",
"electron-localshortcut": "3.2.1",
"electron-devtools-installer": "3.2.0",
"electron-store": "5.1.1",
Expand Down
4 changes: 0 additions & 4 deletions app-shell/src/__mocks__/log.ts

This file was deleted.

Loading

0 comments on commit e5e345b

Please sign in to comment.