mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 16:23:12 +09:00
Move tsconfig.web.json to tsconfig.browser.json
Rename the config files for the browser build of modules to better communicate that it's purpose is to compile code for a browser environment rather than the Web UI in particular. This also aligns with the "browser" option in package.json, the existing browser.ts entrypoint in lib, and how the browser environment is typically referred to.
This commit is contained in:
1 parent
99990c7a0d
commit
8e5d581b9b
18 files changed
+82
-82
No files matched your search
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.web.json",
|
"extends": "../../tsconfig.browser.json",
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../lib/tsconfig.web.json" },
|
{ "path": "../lib/tsconfig.browser.json" },
|
||||||
{ "path": "../web_ui/tsconfig.web.json" },
|
{ "path": "../web_ui/tsconfig.browser.json" },
|
||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.web.json",
|
"extends": "../../tsconfig.browser.json",
|
||||||
"include": [
|
"include": [
|
||||||
"browser.ts",
|
"browser.ts",
|
||||||
"package.json",
|
"package.json",
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.web.json",
|
"extends": "../../tsconfig.browser.json",
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "../lib/tsconfig.web.json" },
|
{ "path": "../lib/tsconfig.browser.json" },
|
||||||
],
|
],
|
||||||
"include": [ "src/**/*.tsx", "src/**/*.ts", "package.json", "global.d.ts" ],
|
"include": [ "src/**/*.tsx", "src/**/*.ts", "package.json", "global.d.ts" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
@@ -79,7 +79,7 @@ module.exports = (env = {}) => ({
|
|||||||
use: {
|
use: {
|
||||||
loader: require.resolve("ts-loader"),
|
loader: require.resolve("ts-loader"),
|
||||||
options: {
|
options: {
|
||||||
configFile: "tsconfig.web.json",
|
configFile: "tsconfig.browser.json",
|
||||||
projectReferences: true,
|
projectReferences: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.browser.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../../packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "../../packages/web_ui/tsconfig.browser.json" },
|
||||||
|
],
|
||||||
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "dist/web/build",
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../../tsconfig.web.json",
|
|
||||||
"references": [
|
|
||||||
{ "path": "../../packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "../../packages/web_ui/tsconfig.web.json" },
|
|
||||||
],
|
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "dist/web/build",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
File renamed without changes.
+9
-9
@@ -2,23 +2,23 @@
|
|||||||
"files": [],
|
"files": [],
|
||||||
"references": [
|
"references": [
|
||||||
{ "path": "./packages/lib" },
|
{ "path": "./packages/lib" },
|
||||||
{ "path": "./packages/lib/tsconfig.web.json" },
|
|
||||||
{ "path": "./packages/controller" },
|
{ "path": "./packages/controller" },
|
||||||
{ "path": "./packages/controller/tsconfig.web.json" },
|
|
||||||
{ "path": "./packages/host" },
|
{ "path": "./packages/host" },
|
||||||
{ "path": "./packages/ctl" },
|
{ "path": "./packages/ctl" },
|
||||||
{ "path": "./packages/web_ui/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/global_chat" },
|
{ "path": "./plugins/global_chat" },
|
||||||
{ "path": "./plugins/global_chat/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/inventory_sync" },
|
{ "path": "./plugins/inventory_sync" },
|
||||||
{ "path": "./plugins/inventory_sync/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/player_auth" },
|
{ "path": "./plugins/player_auth" },
|
||||||
{ "path": "./plugins/player_auth/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/research_sync" },
|
{ "path": "./plugins/research_sync" },
|
||||||
{ "path": "./plugins/research_sync/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/statistics_exporter" },
|
{ "path": "./plugins/statistics_exporter" },
|
||||||
{ "path": "./plugins/statistics_exporter/tsconfig.web.json" },
|
|
||||||
{ "path": "./plugins/subspace_storage" },
|
{ "path": "./plugins/subspace_storage" },
|
||||||
{ "path": "./plugins/subspace_storage/tsconfig.web.json" },
|
{ "path": "./packages/lib/tsconfig.browser.json" },
|
||||||
|
{ "path": "./packages/controller/tsconfig.browser.json" },
|
||||||
|
{ "path": "./packages/web_ui/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/global_chat/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/inventory_sync/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/player_auth/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/research_sync/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/statistics_exporter/tsconfig.browser.json" },
|
||||||
|
{ "path": "./plugins/subspace_storage/tsconfig.browser.json" },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user