-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preparations for importing 2022 and 2023
- Loading branch information
Showing
7 changed files
with
1,527 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname "$0")/h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"*.ts": "prettier --write" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
# Advent of Code | ||
|
||
Solutions for https://adventofcode.com/ using various languages, various techniques, basically whatever I was | ||
playing with at the time or felt like doing it. | ||
playing with at the time or felt like doing it. | ||
|
||
| Year | Language | Comments | | ||
|--------------|-----------------------|-----------------------------------------------------| | ||
| [2015](2015) | [Go](https://go.dev/) | Day 12 part 2 done using JavaScript | | ||
Some editions were finished later, or even done in a different time (for example I've done 2015 edition in 2024 :D) | ||
|
||
| Year | Language | Comments | | ||
|--------------|-----------------------|-----------------------------------------------------------------| | ||
| [2015](2015) | [Go][lang-go] | Day 12 part 2 done using JavaScript. | | ||
| [2022](2022) | [TypeScript][lang-ts] | With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | | ||
| [2023](2023) | [TypeScript][lang-ts] | With some help from [Radash][lib-radash] and [Ramda][lib-ramda] | | ||
|
||
[lang-go]: https://go.dev/ | ||
[lang-ts]: https://www.typescriptlang.org/ | ||
|
||
[lib-radash]: https://github.com/rayepps/radash | ||
[lib-ramda]: https://github.com/ramda/ramda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,22 @@ | |
"author": "Michał Kleszczyński <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"format": "prettier 2022 --write" | ||
"format": "prettier 2022 2023 --write", | ||
"postinstall": "husky" | ||
}, | ||
"dependencies": { | ||
"prettier": "^3.3.3" | ||
"devDependencies": { | ||
"@types/node": "^22.9.0", | ||
"husky": "^9.1.6", | ||
"lint-staged": "^15.2.10", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5.6.3" | ||
}, | ||
"workspaces": [ | ||
"2022" | ||
"2022", | ||
"2023" | ||
], | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"tsx": "^4.19.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowImportingTsExtensions": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["ESNext"], | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"noEmit": true, | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"pretty": true, | ||
"skipLibCheck": true, | ||
"strict": false, | ||
"target": "ESNext", | ||
"useUnknownInCatchVariables": true | ||
} | ||
} |
Oops, something went wrong.