Kaynağa Gözat

Merge pull request #67 from nanobrowser/dependency

Dependency
Ashu 4 ay önce
ebeveyn
işleme
757b1f96c5

+ 1 - 1
chrome-extension/package.json

@@ -1,6 +1,6 @@
 {
   "name": "chrome-extension",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - core settings",
   "type": "module",
   "scripts": {

+ 9 - 0
chrome-extension/vite.config.mts

@@ -19,6 +19,15 @@ export default defineConfig({
     conditions: ['browser', 'module', 'import', 'default'],
     mainFields: ['browser', 'module', 'main']
   },
+  server: {
+    // Restrict CORS to only allow localhost
+    cors: {
+      origin: ['http://localhost:5173', 'http://localhost:3000'],
+      methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
+      credentials: true
+    },
+    host: 'localhost',
+  },
   plugins: [
     libAssetsPlugin({
       outputPath: outDir,

+ 11 - 6
package.json

@@ -1,6 +1,6 @@
 {
   "name": "nanobrowser",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "AI web automation tool",
   "license": "Apache-2.0",
   "repository": {
@@ -43,25 +43,25 @@
     "@typescript-eslint/parser": "^7.18.0",
     "autoprefixer": "^10.4.20",
     "cross-env": "^7.0.3",
-    "esbuild": "^0.23.0",
+    "esbuild": "^0.25.1",
     "eslint": "8.57.0",
     "eslint-config-airbnb-typescript": "18.0.0",
     "eslint-config-prettier": "9.1.0",
     "eslint-plugin-import": "2.29.1",
     "eslint-plugin-jsx-a11y": "6.9.0",
-    "eslint-plugin-prettier": "5.2.1",
-    "eslint-plugin-react": "7.35.0",
+    "eslint-plugin-prettier": "5.2.4",
+    "eslint-plugin-react": "7.35.2",
     "eslint-plugin-react-hooks": "4.6.2",
     "husky": "^9.1.4",
     "lint-staged": "^15.2.7",
     "postcss": "^8.4.47",
     "prettier": "^3.3.3",
     "rimraf": "^6.0.1",
-    "tailwindcss": "^3.4.14",
+    "tailwindcss": "^3.4.17",
     "tslib": "^2.6.3",
     "typescript": "5.5.4",
     "turbo": "^2.3.3",
-    "vite": "6.0.5",
+    "vite": "6.0.12",
     "run-script-os": "^1.1.6"
   },
   "lint-staged": {
@@ -72,5 +72,10 @@
   "packageManager": "pnpm@9.15.1",
   "engines": {
     "node": ">=22.12.0"
+  },
+  "pnpm": {
+    "overrides": {
+      "cross-spawn": "^7.0.5"
+    }
   }
 }

+ 1 - 1
packages/dev-utils/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/dev-utils",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - dev utils",
   "private": true,
   "sideEffects": false,

+ 1 - 1
packages/hmr/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/hmr",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - hot module reload/refresh",
   "private": true,
   "sideEffects": true,

+ 1 - 1
packages/i18n/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/i18n",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - internationalization",
   "private": true,
   "sideEffects": false,

+ 1 - 1
packages/schema-utils/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/schema-utils",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "JSON schema and related helpers for tools",
   "private": true,
   "type": "module",

+ 1 - 1
packages/shared/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/shared",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - shared code",
   "private": true,
   "sideEffects": false,

+ 1 - 1
packages/storage/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/storage",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - storage",
   "private": true,
   "sideEffects": false,

+ 1 - 1
packages/tailwind-config/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/tailwindcss-config",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - tailwindcss configuration",
   "main": "tailwind.config.ts",
   "private": true

+ 1 - 1
packages/tsconfig/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/tsconfig",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - tsconfig",
   "private": true
 }

+ 1 - 1
packages/ui/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/ui",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - ui components",
   "private": true,
   "sideEffects": false,

+ 1 - 1
packages/vite-config/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/vite-config",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - vite base configuration",
   "main": "index.mjs",
   "type": "module",

+ 1 - 1
packages/zipper/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/zipper",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - zipper",
   "private": true,
   "sideEffects": false,

+ 1 - 1
pages/content/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/content-script",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - content script",
   "private": true,
   "sideEffects": true,

+ 1 - 1
pages/options/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/options",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - options",
   "private": true,
   "sideEffects": true,

+ 1 - 1
pages/side-panel/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@extension/sidepanel",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "chrome extension - side panel",
   "private": true,
   "sideEffects": true,

Dosya farkı çok büyük olduğundan ihmal edildi
+ 412 - 138
pnpm-lock.yaml


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor