Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update more deps #54

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion app/components/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const Trigger = RadixDialog.Trigger
export const Portal = ({
container: _container,
...rest
}: RadixDialog.PortalProps) => (
}: React.ComponentProps<typeof RadixDialog.Portal>) => (
<RadixDialog.Portal
container={
typeof document !== 'undefined'
Expand Down
2,361 changes: 1,111 additions & 1,250 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@
"check": "npm run lint && npm run typecheck && npm run test:ci"
},
"dependencies": {
"@heroicons/react": "^2.1.3",
"@heroicons/react": "^2.1.4",
"@mediapipe/selfie_segmentation": "^0.1.1675465747",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-visually-hidden": "^1.0.3",
"@remix-run/cloudflare": "2.9.2",
"@remix-run/react": "2.9.2",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-checkbox": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-tooltip": "^1.1.1",
"@radix-ui/react-visually-hidden": "^1.1.0",
"@remix-run/cloudflare": "2.10.0",
"@remix-run/react": "2.10.0",
"@tensorflow-models/body-segmentation": "^1.0.2",
"@tensorflow/tfjs-backend-webgl": "^4.15.0",
"@tensorflow/tfjs-core": "^4.15.0",
Expand All @@ -52,10 +52,11 @@
"webrtc-adapter": "^9.0.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/vitest-pool-workers": "^0.4.7",
"@cloudflare/workers-types": "^4.20240620.0",
"@peculiar/webcrypto": "^1.5.0",
"@remix-run/dev": "2.9.2",
"@remix-run/eslint-config": "2.9.2",
"@remix-run/dev": "2.10.0",
"@remix-run/eslint-config": "2.10.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"del-cli": "^5.1.0",
Expand All @@ -67,14 +68,15 @@
"prettier": "^3.3.2",
"prettier-plugin-organize-imports": "^3.2.4",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5",
"vitest": "^1.6.0",
"wrangler": "^3.60.2"
"typescript": "^5.5.2",
"vitest": "1.5.0",
"wrangler": "^3.62.0"
},
"overrides": {
"msw": {
"typescript": "$typescript"
}
},
"pretty-format": "29.7.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh, just monorepo things

},
"engines": {
"node": ">=16.13"
Expand Down
1 change: 0 additions & 1 deletion remix.env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/// <reference types="@remix-run/dev" />
/// <reference types="@remix-run/cloudflare" />
/// <reference types="@cloudflare/workers-types" />
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"types": ["@cloudflare/workers-types"],
"isolatedModules": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"moduleResolution": "node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"target": "ES2019",
"strict": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"skipLibCheck": true,
"paths": {
"~/*": ["./app/*"]
},
Expand Down
5 changes: 0 additions & 5 deletions vite.config.ts

This file was deleted.

17 changes: 17 additions & 0 deletions vitest.workers.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as path from 'path'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file isn't used anywhere yet, just getting it in place for now

import { defineConfig } from 'vitest/config'

export default defineConfig({
resolve: {
alias: {
'~': path.resolve(__dirname, './app'),
},
},
test: {
poolOptions: {
workers: {
wrangler: { configPath: './wrangler.toml' },
},
},
},
})
3 changes: 2 additions & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name = "orange-meets"
# https://developers.cloudflare.com/workers/platform/compatibility-dates
compatibility_date = "2022-04-05"
compatibility_date = "2024-06-20"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's gooo

account_id = "a67e14daa5f8dceeb91fe5449ba496eb"
main = "./build/index.js"
compatibility_flags = ["nodejs_compat"]

[site]
bucket = "./public"
Expand Down