Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit e43c8a1

Browse files
authored
Move common tsconfig configuration to a utility package (#395)
* Add package with common tsconfig settings * Use nodecg-io-tsconfig package instead of relative paths to common tsconfig
1 parent fd45333 commit e43c8a1

File tree

173 files changed

+2171
-6640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+2171
-6640
lines changed

.scripts/exec.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@ const colors = [
4343
if (commands.length > 0) {
4444
concurrently(commands, {
4545
prefixColors: colors,
46+
}).catch(() => {
47+
console.log("At least one build task has failed")
48+
process.exit(1);
4649
});
4750
}

nodecg-io-core/dashboard/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"compilerOptions": {
44
"target": "ES2015",
55
"lib": ["ES2015", "dom"],

nodecg-io-core/extension/__tests__/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"compilerOptions": {
44
"noEmit": true,
55
"composite": false

nodecg-io-core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"exclude": ["dashboard", "extension/__tests__"],
3-
"extends": "../tsconfig.common.json"
3+
"extends": "nodecg-io-tsconfig"
44
}

package-lock.json

Lines changed: 1900 additions & 6477 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/ahk-sendcommand/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"references": [
44
{
55
"path": "../../nodecg-io-core"

samples/android/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"references": [
44
{
55
"path": "../../nodecg-io-core"

samples/artnet-console/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"references": [
44
{
55
"path": "../../nodecg-io-core"

samples/atem/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"references": [
44
{
55
"path": "../../nodecg-io-core"

samples/curseforge/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../../tsconfig.common.json",
2+
"extends": "nodecg-io-tsconfig",
33
"references": [
44
{
55
"path": "../../nodecg-io-core"

0 commit comments

Comments
 (0)