Skip to content

Commit

Permalink
rename the nodeLts files to node-lts
Browse files Browse the repository at this point in the history
  • Loading branch information
thematrimix committed Nov 4, 2022
1 parent b4b344b commit 2f30f48
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 47 deletions.
84 changes: 42 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,48 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/next/tsconfig.json"
```
### Node LTS + ESM + Strictest <kbd><a href="./bases/node-lts-strictest-esm.combined.json">tsconfig.json</a></kbd>

Install:

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

Add to your `tsconfig.json`:

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

Install:

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

Add to your `tsconfig.json`:

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

Install:

```sh
npm install --save-dev @tsconfig/node-lts
yarn add --dev @tsconfig/node-lts
```

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/node-lts/tsconfig.json"
```
### Node 10 <kbd><a href="./bases/node10.json">tsconfig.json</a></kbd>

Install:
Expand Down Expand Up @@ -272,48 +314,6 @@ Add to your `tsconfig.json`:
```json
"extends": "@tsconfig/node18/tsconfig.json"
```
### Node LTS + ESM + Strictest <kbd><a href="./bases/nodeLts-strictest-esm.combined.json">tsconfig.json</a></kbd>

Install:

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

Add to your `tsconfig.json`:

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

Install:

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

Add to your `tsconfig.json`:

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

Install:

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

Add to your `tsconfig.json`:

```json
"extends": "@tsconfig/nodeLts/tsconfig.json"
```
### Nuxt <kbd><a href="./bases/nuxt.json">tsconfig.json</a></kbd>

Install:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node LTS + ESM + Strictest",
"_version": "18.12.0",
"_version": "18.12.1",
"compilerOptions": {
"lib": [
"es2022"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node LTS + Strictest",
"_version": "18.12.0",
"_version": "18.12.1",
"compilerOptions": {
"lib": [
"es2022"
Expand Down
2 changes: 1 addition & 1 deletion bases/nodeLts.json → bases/node-lts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node LTS",
"_version": "18.12.0",
"_version": "18.12.1",
"compilerOptions": {
"lib": [
"es2022"
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-lts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// deno run --allow-read --allow-write scripts/generate-combined.ts
// deno run --allow-read --allow-write scripts/generate-lts.ts
//

interface NodeReleaseMetadata {
Expand Down Expand Up @@ -45,7 +45,7 @@ const lts = releasesJson
);
const baseMajorVersion = (lts.version.match(versionRegex) || [])[1];
const base = `node${baseMajorVersion}`;
const name = "nodeLts";
const name = "node-lts";
const versioned = {
$schema: "https://json.schemastore.org/tsconfig",
display: "Node LTS",
Expand Down

0 comments on commit 2f30f48

Please sign in to comment.