chore(project): fully support ProbeJS v7.0 (Also ProbeJS Legacy v5.2.3)

This commit is contained in:
2025-12-20 16:28:57 +08:00
parent 39865e058d
commit c494b5fb3e
6 changed files with 44 additions and 4 deletions

View File

@@ -3,12 +3,12 @@
"compilerOptions": { "compilerOptions": {
"lib": ["ES5", "ES2015"], "lib": ["ES5", "ES2015"],
"target": "ES2015", "target": "ES2015",
"module": "commonjs",
"strict": true, "strict": true,
"checkJs": true, "checkJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"noImplicitAny": true, "noImplicitAny": true,
"esModuleInterop": true, "esModuleInterop": true,
"moduleResolution": "bundler",
"forceConsistentCasingInFileNames": true "forceConsistentCasingInFileNames": true
} }
} }

View File

@@ -0,0 +1,15 @@
/**
* WARN: Need Probejs v7.0
*
* NOTE: This file is used for development. There is no need to load.
* Events execute when ProbeJS dumps.
*
* Author: SikongJueluo
* License: MIT
*/
ProbeEvents.assignType((event) => {});
ProbeEvents.modifyClass((event) => {});
ProbeEvents.snippets((event) => {});

View File

@@ -1 +0,0 @@

View File

@@ -0,0 +1,11 @@
{
"$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json",
"compilerOptions": {},
"include": [
"./**/*",
"../../types/*.d.ts",
"../../types/probe/shared/*.d.ts",
"../../types/probe/client/**/*.d.ts"
]
}

View File

@@ -0,0 +1,10 @@
{
"$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json",
"include": [
"./**/*",
"../../types/*.d.ts",
"../../types/probe/shared/*.d.ts",
"../../types/probe/server/**/*.d.ts"
]
}

View File

@@ -2,7 +2,12 @@
"$schema": "https://www.schemastore.org/jsconfig.json", "$schema": "https://www.schemastore.org/jsconfig.json",
"extends": "../../jsconfig.json", "extends": "../../jsconfig.json",
"compilerOptions": { "compilerOptions": {
"typeRoots": ["../../types/probe/startup/probe-types/"] "typeRoots": ["../../types/probe/startup/"]
}, },
"include": ["./**/*", "../../types/*.d.ts"] "include": [
"./**/*",
"../../types/*.d.ts",
"../../types/probe/shared/*.d.ts",
"../../types/probe/startup/**/*.d.ts"
]
} }