Skip to content

Commit

Permalink
chore: prepare 2024, migrate to tsx from ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Dec 1, 2024
1 parent edeb62f commit cb88ffe
Show file tree
Hide file tree
Showing 167 changed files with 1,746 additions and 1,139 deletions.
6 changes: 6 additions & 0 deletions .github/badges/python/2024.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"schemaVersion": 1,
"label": "Advent of Python 2024",
"message": "0/25",
"color": "red"
}
6 changes: 6 additions & 0 deletions .github/badges/rust/2024.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"schemaVersion": 1,
"label": "Advent of Rust 2024",
"message": "0/25",
"color": "red"
}
6 changes: 6 additions & 0 deletions .github/badges/typescript/2024.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"schemaVersion": 1,
"label": "Advent of TypeScript 2024",
"message": "0/25",
"color": "orange"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"remark-cli": "^12.0.1",
"stylelint": "^16.11.0",
"svelte-check": "^4.1.0",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"turbo-ignore": "^2.3.3",
"typedoc": "^0.27.2",
Expand Down
1,849 changes: 1,078 additions & 771 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ packages:
- 'solutions/typescript/2021/*'
- 'solutions/typescript/2022/*'
- 'solutions/typescript/2023/*'
- 'solutions/typescript/2024/*'
link-workspace-packages: 'deep'
13 changes: 8 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resources
│ └── 25
│ └── input.txt
│ ...
└── 2023
└── 2024
├── 01
│ ├── example.1.txt
│ ├── example.2.txt
Expand All @@ -56,6 +56,7 @@ git clone --recurse-submodules -j8 [email protected]:AlexAegis/advent-of-code.git

## [TypeScript](./solutions/typescript)

[![2024 TypeScript Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/typescript/2024.json)](/solutions/typescript/2024/)
[![2023 TypeScript Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/typescript/2023.json)](/solutions/typescript/2023/)
[![2022 TypeScript Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/typescript/2022.json)](/solutions/typescript/2022/)
[![2021 TypeScript Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/typescript/2021.json)](/solutions/typescript/2021/)
Expand All @@ -78,7 +79,7 @@ pnpm install

```sh
# Navigate to the solution
cd solutions/typescript/2023/01
cd solutions/typescript/2024/01
pnpm p1
pnpm p2
```
Expand All @@ -97,15 +98,15 @@ pnpm test

```sh
# Navigate to the solution
cd solutions/typescript/2023/01
cd solutions/typescript/2024/01
pnpm test
```

### Benchmarking individual TypeScript solutions

```sh
# Navigate to the solution
cd solutions/typescript/2023/01
cd solutions/typescript/2024/01
pnpm bench
```

Expand All @@ -119,14 +120,15 @@ pnpm lint

```sh
# Navigate to the solution
cd solutions/typescript/2023/01
cd solutions/typescript/2024/01
pnpm lint:tsc
pnpm lint:es
pnpm lint:format
```

## [Rust](./solutions/rust)

![2024 Rust Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/rust/2024.json)
![2023 Rust Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/rust/2023.json)
![2022 Rust Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/rust/2022.json)
![2021 Rust Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/rust/2021.json)
Expand All @@ -139,6 +141,7 @@ pnpm lint:format

## [Python](./solutions/python)

![2024 Python Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/python/2024.json)
![2023 Python Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/python/2023.json)
[![2022 Python Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/python/2022.json)](/solutions/python/year2022/)
![2021 Python Progress](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AlexAegis/advent-of-code/master/.github/badges/python/2021.json)
Expand Down
5 changes: 2 additions & 3 deletions solutions/typescript/2015/01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2015-01",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand All @@ -67,7 +67,6 @@
"@alexaegis/vite": "^0.12.0",
"@alexaegis/vitest": "^0.12.0",
"@types/node": "^22.10.1",
"ts-node": "^10.9.2",
"vite": "^6.0.1",
"vitest": "^2.1.6"
}
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2015/02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2015-02",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2015/03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2015-03",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2015/04/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2015-04",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./hash-search.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2015/05/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2015-05",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2016/01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2016-01",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2016/02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2016-02",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2016/03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2016-03",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2017/01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2017-01",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2017/02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2017-02",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/01/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-01",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/02/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-02",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/03/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-03",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./interpret.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/04/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-04",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./interpret.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/05/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-05",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./collapse.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/06/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-06",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./interpret.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/07/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-07",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
6 changes: 3 additions & 3 deletions solutions/typescript/2018/08/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"test_": "vitest --passWithNoTests --coverage --run",
"test:watch": "vitest --passWithNoTests --coverage",
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-08",
"bench": "ts-node-esm src/bench.ts",
"bench": "tsx src/bench.ts",
"build": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/advent-of-code-2018-08",
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-08",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/09/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-09",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-10",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./interpreter.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-11",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/12/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-12",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./interpreter.function": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-13",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./bench": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-14",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./p1": {
Expand Down
4 changes: 2 additions & 2 deletions solutions/typescript/2018/15/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build-lib_": "vite build",
"format": "turbo run format_ --concurrency 16 --filter @alexaegis/advent-of-code-2018-15",
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
"p1": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 ts-node-esm src/p2.ts"
"p1": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p1.ts",
"p2": "RUN=1 NODE_NO_WARNINGS=1 tsx src/p2.ts"
},
"exports": {
"./cave.class": {
Expand Down
Loading

0 comments on commit cb88ffe

Please sign in to comment.