mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 07:24:53 +09:00
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:
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/*"],
|
||||
@@ -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",
|
||||
},
|
||||
}
|
||||
@@ -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
@@ -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" },
|
||||
|
||||
Reference in new issue
Block a user