Skip to content

Commit

Permalink
Remove all combined configs
Browse files Browse the repository at this point in the history
  • Loading branch information
acidoxee committed Mar 9, 2023
1 parent ca718dd commit 0ae4791
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 303 deletions.
70 changes: 0 additions & 70 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,6 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/esm/tsconfig.json"
```
### Next.js + Strictest <kbd><a href="./bases/next-strictest.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/next-strictest
yarn add --dev @tsconfig/next-strictest
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/next-strictest/tsconfig.json"
```
### Next.js <kbd><a href="./bases/next.json">tsconfig.json</a></kbd>

Install:
Expand Down Expand Up @@ -188,34 +174,6 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/node14/tsconfig.json"
```
### Node 16 + ESM + Strictest <kbd><a href="./bases/node16-strictest-esm.combined.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/node16-strictest-esm
yarn add --dev @tsconfig/node16-strictest-esm
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node16-strictest-esm/tsconfig.json"
```
### Node 16 + Strictest <kbd><a href="./bases/node16-strictest.combined.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/node16-strictest
yarn add --dev @tsconfig/node16-strictest
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node16-strictest/tsconfig.json"
```
### Node 16 <kbd><a href="./bases/node16.json">tsconfig.json</a></kbd>

Install:
Expand Down Expand Up @@ -244,34 +202,6 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/node17/tsconfig.json"
```
### Node 18 + ESM + Strictest <kbd><a href="./bases/node18-strictest-esm.combined.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/node18-strictest-esm
yarn add --dev @tsconfig/node18-strictest-esm
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node18-strictest-esm/tsconfig.json"
```
### Node 18 + Strictest <kbd><a href="./bases/node18-strictest.combined.json">tsconfig.json</a></kbd>

Install:

```sh
npm install --save-dev @tsconfig/node18-strictest
yarn add --dev @tsconfig/node18-strictest
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node18-strictest/tsconfig.json"
```
### Node 18 <kbd><a href="./bases/node18.json">tsconfig.json</a></kbd>

Install:
Expand Down
31 changes: 0 additions & 31 deletions bases/next-strictest.json

This file was deleted.

30 changes: 0 additions & 30 deletions bases/node16-strictest-esm.combined.json

This file was deleted.

30 changes: 0 additions & 30 deletions bases/node16-strictest.combined.json

This file was deleted.

30 changes: 0 additions & 30 deletions bases/node18-strictest-esm.combined.json

This file was deleted.

30 changes: 0 additions & 30 deletions bases/node18-strictest.combined.json

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/create-npm-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for await (const tsconfigEntry of Deno.readDir("bases")) {
if (!tsconfigEntry.isFile) continue

const tsconfigFilePath = path.join("bases", tsconfigEntry.name)
const name = path.basename(tsconfigEntry.name).replace(".json", "").replace(".combined", "")
const name = path.basename(tsconfigEntry.name).replace(".json", "")

// Make the folder
const packagePath = path.join("packages", name)
Expand Down
80 changes: 0 additions & 80 deletions scripts/generate-combined.ts

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/update-markdown-readme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const sortedPaths = paths.sort((l, r) => l.localeCompare(r)).filter(r => !r.incl
const basePaths = ["recommended.json", ...sortedPaths]
for (const base of basePaths) {
const tsconfigFilePath = path.join("bases", base)
const name = path.basename(base).replace(".json", "").replace(".combined", "")
const name = path.basename(base).replace(".json", "")

const tsconfigText = await Deno.readTextFile(tsconfigFilePath)
const tsconfigJSON = JSON.parse(stripJsonComments(tsconfigText))
Expand Down

0 comments on commit 0ae4791

Please sign in to comment.