Skip to content

Commit

Permalink
chore: upgrade dependencies (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmkx authored Nov 13, 2024
1 parent 96fc63c commit 40c4854
Show file tree
Hide file tree
Showing 42 changed files with 4,260 additions and 4,521 deletions.
13 changes: 13 additions & 0 deletions .changeset/stupid-dolls-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@webx-kit/modernjs-plugin": patch
"@webx-kit/rsbuild-plugin": patch
"@webx-kit/chrome-types": patch
"@webx-kit/core-plugin": patch
"create-webx": patch
"@webx-kit/test-utils": patch
"@webx-kit/messaging": patch
"@webx-kit/runtime": patch
"@webx-kit/storage": patch
---

chore: upgrade deps
4 changes: 3 additions & 1 deletion apps/ai-assistant/modern.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ type PostCSSLoaderOptions = AppUserWebpackConfig extends {
}
? Exclude<P, Function | Array<any>>
: never;
type PostCSSAcceptedPlugin = NonNullable<NonNullable<PostCSSLoaderOptions['postcssOptions']>['plugins']>[number];
type PostCSSAcceptedPlugin = NonNullable<
Exclude<NonNullable<PostCSSLoaderOptions['postcssOptions']>, Function>['plugins']
>[number];

const bodyToHostCSSPlugin: PostCSSAcceptedPlugin = {
postcss(css) {
Expand Down
32 changes: 16 additions & 16 deletions apps/ai-assistant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
"lint:type": "tsc --noEmit"
},
"dependencies": {
"@google/generative-ai": "^0.19.0",
"@trpc/client": "11.0.0-rc.477",
"@trpc/server": "11.0.0-rc.477",
"@google/generative-ai": "^0.21.0",
"@trpc/client": "11.0.0-rc.621",
"@trpc/server": "11.0.0-rc.621",
"@webx-kit/messaging": "workspace:^",
"@webx-kit/runtime": "workspace:^",
"@webx-kit/storage": "workspace:^",
"clsx": "^2.1.1",
"jotai": "^2.9.3",
"lucide-react": "^0.441.0",
"jotai": "^2.10.2",
"lucide-react": "^0.456.0",
"react": "^18.3.1",
"react-aria-components": "^1.3.3",
"react-aria-components": "^1.4.1",
"react-dom": "^18.3.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@modern-js/app-tools": "^2.60.1",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@modern-js/app-tools": "^2.61.0",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@webx-kit/modernjs-plugin": "workspace:^",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.12",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.3.0",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-react-aria-components": "^1.1.5",
"typescript": "^5.6.2"
"tailwindcss-react-aria-components": "^1.1.6",
"typescript": "^5.6.3"
}
}
36 changes: 18 additions & 18 deletions apps/switchy-pi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,38 @@
"lint:type": "tsc --noEmit"
},
"dependencies": {
"@react-aria/interactions": "^3.22.2",
"@trpc/client": "11.0.0-rc.477",
"@trpc/server": "11.0.0-rc.477",
"@react-aria/interactions": "^3.22.4",
"@trpc/client": "11.0.0-rc.621",
"@trpc/server": "11.0.0-rc.621",
"@webx-kit/messaging": "workspace:^",
"@webx-kit/runtime": "workspace:^",
"@webx-kit/storage": "workspace:^",
"clsx": "^2.1.1",
"jotai": "^2.9.3",
"jotai": "^2.10.2",
"jotai-effect": "^1.0.3",
"lucide-react": "^0.441.0",
"lucide-react": "^0.456.0",
"react": "^18.3.1",
"react-aria": "^3.34.3",
"react-aria-components": "^1.3.3",
"react-aria": "^3.35.1",
"react-aria-components": "^1.4.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-router-dom": "^6.26.2",
"react-hook-form": "^7.53.2",
"react-router-dom": "^6.28.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@rsbuild/core": "catalog:",
"@rsbuild/plugin-less": "catalog:",
"@rsbuild/plugin-react": "catalog:",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@webx-kit/rsbuild-plugin": "workspace:^",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.12",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.3.0",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
"tailwindcss-react-aria-components": "^1.1.5",
"typescript": "^5.6.2"
"tailwindcss-react-aria-components": "^1.1.6",
"typescript": "^5.6.3"
}
}
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"preview": "vitepress preview"
},
"devDependencies": {
"vitepress": "^1.3.4"
"vitepress": "^1.5.0"
}
}
16 changes: 8 additions & 8 deletions examples/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@modern-js/app-tools": "^2.60.1",
"@playwright/test": "^1.47.1",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@modern-js/app-tools": "^2.61.0",
"@playwright/test": "^1.48.2",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@webx-kit/modernjs-plugin": "workspace:^",
"@webx-kit/test-utils": "workspace:^",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
}
}
14 changes: 7 additions & 7 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.48.2",
"@rsbuild/core": "catalog:",
"@rsbuild/plugin-less": "catalog:",
"@rsbuild/plugin-react": "catalog:",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/react-dom": "^18.3.0",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@webx-kit/rsbuild-plugin": "workspace:^",
"@webx-kit/test-utils": "workspace:^",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
}
}
12 changes: 6 additions & 6 deletions examples/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
},
"dependencies": {
"@webx-kit/runtime": "workspace:^",
"solid-js": "^1.8.22"
"solid-js": "^1.9.3"
},
"devDependencies": {
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.48.2",
"@rsbuild/core": "catalog:",
"@rsbuild/plugin-babel": "catalog:",
"@rsbuild/plugin-less": "catalog:",
"@rsbuild/plugin-solid": "catalog:",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@webx-kit/rsbuild-plugin": "workspace:^",
"@webx-kit/test-utils": "workspace:^",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
}
}
10 changes: 5 additions & 5 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"svelte": "^4.2.19"
},
"devDependencies": {
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.48.2",
"@rsbuild/core": "catalog:",
"@rsbuild/plugin-less": "catalog:",
"@rsbuild/plugin-svelte": "catalog:",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@webx-kit/rsbuild-plugin": "workspace:^",
"@webx-kit/test-utils": "workspace:^",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
}
}
12 changes: 6 additions & 6 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"dependencies": {
"@webx-kit/runtime": "workspace:^",
"vue": "^3.5.6"
"vue": "^3.5.12"
},
"devDependencies": {
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.48.2",
"@rsbuild/core": "catalog:",
"@rsbuild/plugin-less": "catalog:",
"@rsbuild/plugin-vue": "catalog:",
"@types/chrome": "^0.0.271",
"@types/node": "^22.5.5",
"@types/chrome": "^0.0.280",
"@types/node": "^22.9.0",
"@webx-kit/rsbuild-plugin": "workspace:^",
"@webx-kit/test-utils": "workspace:^",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.14",
"typescript": "^5.6.3"
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"engines": {
"node": ">=18.19.0"
},
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.3",
"scripts": {
"lint:type": "nx run-many -t lint:type",
"build": "nx run-many -t build",
"test": "nx run-many -t test"
},
"devDependencies": {
"@changesets/cli": "^2.27.8",
"@playwright/test": "^1.47.1",
"nx": "^19.7.4"
"@changesets/cli": "^2.27.9",
"@playwright/test": "^1.48.2",
"nx": "^20.1.0"
},
"publishConfig": {
"access": "public"
},
"pnpm": {
"patchedDependencies": {
"@react-aria/interactions@3.22.2": "patches/@react-aria__interactions@3.22.2.patch"
"@react-aria/interactions@3.22.4": "patches/@react-aria__interactions@3.22.4.patch"
}
}
}
4 changes: 2 additions & 2 deletions packages/chrome-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"lint:type": "tsc --noEmit"
},
"dependencies": {
"@types/chrome": "^0.0.271"
"@types/chrome": "^0.0.280"
},
"devDependencies": {
"typescript": "^5.6.2"
"typescript": "^5.6.3"
}
}
14 changes: 7 additions & 7 deletions packages/core-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@
"lint:type": "tsc --noEmit"
},
"dependencies": {
"@types/chrome": "^0.0.271",
"chokidar": "^4.0.0",
"jiti": "^1.21.6",
"@types/chrome": "^0.0.280",
"chokidar": "^4.0.1",
"jiti": "^2.4.0",
"type-fest": "^4.26.1"
},
"devDependencies": {
"@rsbuild/core": "catalog:",
"tailwindcss": "^3.4.12",
"tsup": "^8.3.0",
"typescript": "^5.6.2",
"webpack": "^5.94.0"
"tailwindcss": "^3.4.14",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"webpack": "^5.96.1"
},
"peerDependencies": {
"@rsbuild/core": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/core-plugin/src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'node:fs';
import path from 'node:path';
import type { RsbuildPluginAPI } from '@rsbuild/core';
import { FSWatcher, watch } from 'chokidar';
import createJITI from 'jiti';
import { createJiti } from 'jiti';
import type { PackageJson, SetOptional } from 'type-fest';
import { isDev } from './env';

Expand Down Expand Up @@ -49,10 +49,10 @@ function createManifestGenerator({
outputPath,
port: 0,
};
const jiti = createJITI(__filename, { requireCache: false, interopDefault: true });
const jiti = createJiti(__filename, { requireCache: false, interopDefault: true });

async function generate() {
const userManifest: UserManifest = await jiti(sourcePath);
const userManifest: UserManifest = await jiti.import(sourcePath, { default: true });
const manifest = typeof userManifest === 'function' ? await userManifest(context) : userManifest;

await applyDefaultValuePlugin(manifest, context);
Expand Down
10 changes: 5 additions & 5 deletions packages/create-webx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"lint:type": "tsc --noEmit"
},
"devDependencies": {
"@modern-js/utils": "^2.60.1",
"@modern-js/utils": "^2.61.0",
"@types/debug": "^4.1.12",
"@types/prompts": "^2.4.9",
"debug": "^4.3.7",
"execa": "^9.4.0",
"execa": "^9.5.1",
"fast-glob": "^3.3.2",
"kleur": "^4.1.5",
"prompts": "^2.4.2",
"tsup": "^8.3.0",
"tsup": "^8.3.5",
"type-fest": "^4.26.1",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
"typescript": "^5.6.3",
"vitest": "^2.1.4"
}
}
5 changes: 0 additions & 5 deletions packages/messaging/demo/global.css

This file was deleted.

8 changes: 3 additions & 5 deletions packages/messaging/demo/manifest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const isDev = process.env.NODE_ENV === 'development';
import { defineManifest } from '@webx-kit/rsbuild-plugin/manifest';

const manifest: chrome.runtime.ManifestV3 = {
export default defineManifest(({ isDev }) => ({
manifest_version: 3,
name: 'WebX Kit Messaging',
version: '0.0.0',
Expand All @@ -24,6 +24,4 @@ const manifest: chrome.runtime.ManifestV3 = {
},
}
: {}),
};

export default manifest;
}));
2 changes: 0 additions & 2 deletions packages/messaging/demo/modern-app-env.d.ts

This file was deleted.

Loading

0 comments on commit 40c4854

Please sign in to comment.