Skip to content

Commit

Permalink
🔨 cleanup tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
winetree94 committed May 7, 2024
1 parent d3ef148 commit b87418a
Show file tree
Hide file tree
Showing 75 changed files with 1,872 additions and 933 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"start": "yarn workspace docs start",
"dev": "yarn workspace dev start",
"clean": "yarn run clean:dist && yarn run clean:dependency",
"clean:dist": "yarn workspaces foreach --all run clean:dist",
"clean:dependency": "yarn workspaces foreach --all run clean:dependency && rimraf node_modules",
"reconfigure": "yarn clean:dist && yarn clean:dependency && yarn install",
Expand Down
5 changes: 2 additions & 3 deletions packages/blockquote/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
9 changes: 2 additions & 7 deletions packages/blockquote/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/blockquote/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
3 changes: 1 addition & 2 deletions packages/bold/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
3 changes: 1 addition & 2 deletions packages/bold/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": ["src/*"],
"files": ["src/index.ts"]
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/bold/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/code/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
3 changes: 1 addition & 2 deletions packages/code/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": ["src/*"],
"files": ["src/index.ts"]
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/code/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/codeblock/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
11 changes: 3 additions & 8 deletions packages/codeblock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"],
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/codeblock/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/core/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
11 changes: 3 additions & 8 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true
"outDir": "./dist"
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/core/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/devkit/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
10 changes: 3 additions & 7 deletions packages/devkit/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"],
"@edybara/ui": ["../../ui/src/index.ts"],
"@edybara/ui": ["../../ui/src/index.ts"]
}
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/devkit/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
10 changes: 5 additions & 5 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"clean:dependency": "rimraf node_modules"
},
"dependencies": {
"@docusaurus/core": "^3.1.1",
"@docusaurus/preset-classic": "^3.1.1",
"@docusaurus/core": "^3.3.2",
"@docusaurus/preset-classic": "^3.3.2",
"@edybara/blockquote": "*",
"@edybara/bold": "*",
"@edybara/code": "*",
Expand Down Expand Up @@ -65,9 +65,9 @@
"remixicon": "^3.5.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/tsconfig": "^3.1.1",
"@docusaurus/types": "^3.1.1",
"@docusaurus/module-type-aliases": "^3.3.2",
"@docusaurus/tsconfig": "^3.3.2",
"@docusaurus/types": "^3.3.2",
"autoprefixer": "^10.4.18",
"docusaurus-plugin-sass": "^0.2.5",
"postcss": "^8.4.37",
Expand Down
7 changes: 6 additions & 1 deletion packages/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"lib": ["DOM"],
"moduleResolution": "node",
"noEmit": true,
"types": ["node", "@docusaurus/module-type-aliases", "@docusaurus/theme-classic", "docusaurus-plugin-sass"],
"types": [
"node",
"@docusaurus/module-type-aliases",
"@docusaurus/theme-classic",
"docusaurus-plugin-sass"
],
"baseUrl": ".",
"resolveJsonModule": true,
"sourceMap": true,
Expand Down
5 changes: 2 additions & 3 deletions packages/flat-list/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
11 changes: 3 additions & 8 deletions packages/flat-list/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"],
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/flat-list/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/flat-task-list/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
9 changes: 2 additions & 7 deletions packages/flat-task-list/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"],
"@edybara/ui": ["../../ui/src/index.ts"],
"@edybara/flat-list": ["../../flat-list/src/index.ts"]
}
},
"include": [
"src/*"
],
"files": [
"src/index.ts"
]
"include": ["src/*"],
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/flat-task-list/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
5 changes: 2 additions & 3 deletions packages/font-family/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"skipLibCheck": true,
"paths": {}
},
}
}
}
3 changes: 1 addition & 2 deletions packages/font-family/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"declaration": true,
"paths": {
"@edybara/core": ["../../core/src/index.ts"]
}
},
"include": ["src/*"],
"files": ["src/index.ts"]
"files": ["./tsup.config.ts"]
}
4 changes: 1 addition & 3 deletions packages/font-family/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { defineConfig } from 'tsup';

export default defineConfig({
target: 'es2018',
entry: [
'src/index.ts',
],
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
splitting: false,
Expand Down
Loading

0 comments on commit b87418a

Please sign in to comment.