Move tsconfig.json to tsconfig.node.json

Distinguish the Node.js build in the same way the browser build is with
the .node suffix to the tsconfig files it uses.  This means
tsconfig.node outputs to dist/node and tsconfig.browser outputs to
dist/browser.
This commit is contained in:
Hornwitser committed 2024-02-08 03:20:26 +01:00
1 parent 8c4d2db192
commit e4f90b3480
13 files changed
+39 -39

No files matched your search

@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../lib" },
{ "path": "../lib/tsconfig.node.json" },
],
"include": ["index.ts", "controller.ts", "package.json", "src/**/*.ts"],
"compilerOptions": {
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../lib" },
{ "path": "../lib/tsconfig.node.json" },
],
"include": ["index.ts", "package.json", "ctl.ts", "src/**/*.ts"],
"compilerOptions": {
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../lib" },
{ "path": "../lib/tsconfig.node.json" },
],
"include": ["index.ts", "host.ts", "package.json", "src/**/*.ts", "src/**/*.js"],
"compilerOptions": {
File renamed without changes.
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
@@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
"compilerOptions": {
"outDir": "dist/node",
},
}
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
"compilerOptions": {
"outDir": "dist/node",
},
}
-11
View File
@@ -1,11 +0,0 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
"compilerOptions": {
"outDir": "dist/node",
},
}
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.node.json",
"references": [
{ "path": "../../packages/lib/tsconfig.node.json" },
],
"include": ["./**/*.ts"],
"exclude": ["test/*", "./dist/*"],
"compilerOptions": {
"outDir": "dist/node",
},
}
+10 -10
View File
@@ -1,16 +1,16 @@
{
"files": [],
"references": [
{ "path": "./packages/lib" },
{ "path": "./packages/controller" },
{ "path": "./packages/host" },
{ "path": "./packages/ctl" },
{ "path": "./plugins/global_chat" },
{ "path": "./plugins/inventory_sync" },
{ "path": "./plugins/player_auth" },
{ "path": "./plugins/research_sync" },
{ "path": "./plugins/statistics_exporter" },
{ "path": "./plugins/subspace_storage" },
{ "path": "./packages/lib/tsconfig.node.json" },
{ "path": "./packages/controller/tsconfig.node.json" },
{ "path": "./packages/host/tsconfig.node.json" },
{ "path": "./packages/ctl/tsconfig.node.json" },
{ "path": "./plugins/global_chat/tsconfig.node.json" },
{ "path": "./plugins/inventory_sync/tsconfig.node.json" },
{ "path": "./plugins/player_auth/tsconfig.node.json" },
{ "path": "./plugins/research_sync/tsconfig.node.json" },
{ "path": "./plugins/statistics_exporter/tsconfig.node.json" },
{ "path": "./plugins/subspace_storage/tsconfig.node.json" },
{ "path": "./packages/lib/tsconfig.browser.json" },
{ "path": "./packages/controller/tsconfig.browser.json" },
{ "path": "./packages/web_ui/tsconfig.browser.json" },