Skip to content

Commit c9fc47e

Browse files
committed
refactor: Add tsconfig.base.json, move TS paths config to root tsconfig.json
1 parent ca021ac commit c9fc47e

File tree

11 files changed

+28
-28
lines changed

11 files changed

+28
-28
lines changed

fluent-bundle/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm",
55
"rootDir": "./src"

fluent-dedent/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm"
55
},

fluent-dom/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"allowJs": true,
55
"outDir": "./esm"

fluent-langneg/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm"
55
},

fluent-react/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm"
55
},

fluent-react/tsconfig.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
2-
"extends": "./tsconfig.build.json",
2+
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"baseUrl": ".",
5-
"paths": {
6-
"@fluent/bundle": ["../fluent-bundle/src/index.ts"],
7-
"@fluent/sequence": ["../fluent-sequence/src/index.ts"]
8-
}
4+
"jsx": "react"
95
}
106
}

fluent-sequence/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm",
55
"rootDir": "./src"

fluent-sequence/tsconfig.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
{
2-
"extends": "./tsconfig.build.json",
3-
"compilerOptions": {
4-
"baseUrl": ".",
5-
"paths": {
6-
"@fluent/bundle": ["../fluent-bundle/src/index.ts"]
7-
}
8-
}
2+
"extends": "../tsconfig.json"
93
}

fluent-syntax/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "../tsconfig.json",
2+
"extends": "../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./esm"
55
},

tsconfig.base.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es2019",
4+
"module": "es2015",
5+
"strict": true,
6+
"allowJs": false,
7+
"esModuleInterop": true,
8+
"moduleResolution": "node",
9+
"noEmitHelpers": true,
10+
"declaration": true
11+
}
12+
}

0 commit comments

Comments
 (0)