Skip to content

Commit

Permalink
refactor(types): DRY tsconfig build options
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Dec 5, 2023
1 parent 4b4ef62 commit 1ef3262
Show file tree
Hide file tree
Showing 32 changed files with 163 additions and 186 deletions.
11 changes: 5 additions & 6 deletions packages/base64/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/bundle-source/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/captp/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/check-bundle/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/cjs-module-analyzer/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/cli/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/compartment-mapper/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/daemon/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/env-options/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/errors/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/evasive-transform/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/eventual-send/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/exo/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/far/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/import-bundle/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/init/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/lp32/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/marshal/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/memoize/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/netstring/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/pass-style/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/patterns/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
11 changes: 5 additions & 6 deletions packages/promise-kit/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "./tsconfig.json",
"extends": [
"./tsconfig.json",
"../../tsconfig-build-options.json"
],
"compilerOptions": {
"allowJs": true,
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
"allowJs": true
},
"exclude": [
"test/"
Expand Down
Loading

0 comments on commit 1ef3262

Please sign in to comment.