瀏覽代碼

core: update project configuration files

Removes permission setting from opencode config and adds test root configuration to prevent running tests from project root.
Dax Raad 3 月之前
父節點
當前提交
8d8f544ccf
共有 3 個文件被更改,包括 6 次插入2 次删除
  1. 0 1
      .opencode/opencode.jsonc
  2. 4 0
      bunfig.toml
  3. 2 1
      package.json

+ 0 - 1
.opencode/opencode.jsonc

@@ -5,7 +5,6 @@
   //   "url": "https://enterprise.dev.opencode.ai",
   // },
   "instructions": ["STYLE_GUIDE.md"],
-  "permission": "ask",
   "provider": {
     "opencode": {
       "options": {},

+ 4 - 0
bunfig.toml

@@ -1,2 +1,6 @@
 [install]
 exact = true
+
+[test]
+root = "./do-not-run-tests-from-root"
+

+ 2 - 1
package.json

@@ -10,7 +10,8 @@
     "typecheck": "bun turbo typecheck",
     "prepare": "husky",
     "random": "echo 'Random script'",
-    "hello": "echo 'Hello World!'"
+    "hello": "echo 'Hello World!'",
+    "test": "echo 'do not run tests from root' && exit 1"
   },
   "workspaces": {
     "packages": [