Merge branch 'master' into 3.8.0
This commit is contained in:
commit
04dcd971c6
@ -31,11 +31,6 @@ const licenseFile = "../LICENSE.md";
|
|||||||
*/
|
*/
|
||||||
const compile = async () => await exec("swc src -d obj", { stdio });
|
const compile = async () => await exec("swc src -d obj", { stdio });
|
||||||
|
|
||||||
/**
|
|
||||||
* Transpiles the src files into javascript with tsc for the profiler run
|
|
||||||
*/
|
|
||||||
const compileProfiler = async () => await exec("tsc -p tsconfig.test.json", { stdio });
|
|
||||||
|
|
||||||
// Packaging
|
// Packaging
|
||||||
const fetchPackageImage = async () =>
|
const fetchPackageImage = async () =>
|
||||||
{
|
{
|
||||||
@ -290,6 +285,7 @@ gulp.task("run:build", async () => await exec("Aki.Server.exe", { stdio, cwd: bu
|
|||||||
gulp.task("run:debug", async () => await exec("ts-node-dev -r tsconfig-paths/register src/ide/TestEntry.ts", { stdio }));
|
gulp.task("run:debug", async () => await exec("ts-node-dev -r tsconfig-paths/register src/ide/TestEntry.ts", { stdio }));
|
||||||
gulp.task("run:profiler", async () =>
|
gulp.task("run:profiler", async () =>
|
||||||
{
|
{
|
||||||
await compileProfiler();
|
await cleanCompiled();
|
||||||
|
await compile();
|
||||||
await exec("node --prof --inspect --trace-warnings obj/ide/TestEntry.js", { stdio });
|
await exec("node --prof --inspect --trace-warnings obj/ide/TestEntry.js", { stdio });
|
||||||
});
|
});
|
||||||
|
@ -8,7 +8,13 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"downlevelIteration": true,
|
"downlevelIteration": true,
|
||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"emitDecoratorMetadata": true
|
"emitDecoratorMetadata": true,
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@spt-aki/*": [
|
||||||
|
"src/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/*",
|
"src/*",
|
||||||
|
@ -3,13 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"outDir": "obj",
|
"outDir": "obj",
|
||||||
"declaration": true,
|
"declaration": true
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
|
||||||
"@spt-aki/*": [
|
|
||||||
"src/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src/**/*",
|
"./src/**/*",
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./tsconfig.base.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "obj",
|
|
||||||
"declaration": true,
|
|
||||||
"sourceMap": true,
|
|
||||||
"noImplicitAny": false
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"./types/**/*",
|
|
||||||
"./src/**/*"
|
|
||||||
]
|
|
||||||
}
|
|
@ -3,13 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationDir": "./types",
|
"declarationDir": "./types"
|
||||||
"baseUrl": ".",
|
|
||||||
"paths": {
|
|
||||||
"@spt-aki/*": [
|
|
||||||
"src/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"./types/**/*"
|
"./types/**/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user