mirror of
https://github.com/SikongJueluo/kubejs-utils.git
synced 2026-01-11 00:37:50 +08:00
chore(project): fully support ProbeJS v7.0 (Also ProbeJS Legacy v5.2.3)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
src/client_scripts/ProbeDev.js
Normal file
15
src/client_scripts/ProbeDev.js
Normal 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) => {});
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
11
src/client_scripts/jsconfig.json
Normal file
11
src/client_scripts/jsconfig.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
10
src/server_scripts/jsconfig.json
Normal file
10
src/server_scripts/jsconfig.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user