Skip to content

Commit

Permalink
Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
raleksandar committed Jul 12, 2024
0 parents commit 74b235f
Show file tree
Hide file tree
Showing 30 changed files with 7,999 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = false
insert_final_newline = false

[*.json]
indent_size = 2

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Don't allow merging changes to the lock file, because the result
# may be invalid. Instead, conflicts should be resolved with "pnpm install".
pnpm-lock.yaml merge=binary
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Logs
logs
*.log
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# Dependency directories
node_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Build output
package/
dist/
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.4.1
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Package manager files
pnpm-lock.yaml

# Build outputs
dist/*

# Prettier reformats code blocks inside Markdown, which affects rendered output
*.md
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# N.B.: whitespace rules are inferred from .editorconfig
printWidth: 100 # wrap at 100 chars
singleQuote: true # force single quotes for strings
arrowParens: 'always' # force (x) => x over x => x
trailingComma: 'all' # force trailing commas wherever possible on multiline expressions
bracketSpacing: true # force { foo: 123 } instead of {foo: 123} (single line literals)
bracketSameLine: false # force:
# <button id={id}
# className={className}
# >
# {label}
# </button>

55 changes: 55 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"explorer.autoRevealExclude": {
"**/node_modules": true
},
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.test.ts",
"*.d.ts": "${capture}.map",
"package.json": ".git*, .editorconfig, .eslint*, .node-version, .pnpm*, pnpm-*, .prettier*, .vscode*, eslint*, prettier*, tsconfig.json, *.log",
},
"search.exclude": {
"**/node_modules": true,
"**/dist": true
},
"typescript.tsdk": "node_modules/typescript/lib",
"prettier.prettierPath": "node_modules/prettier",
"nodejs-testing.include": [
"./src"
],
"nodejs-testing.extensions": [
{
"extensions": [
"mjs",
"cjs",
"js"
],
"parameters": []
},
{
"extensions": [
"mts",
"cts",
"ts"
],
"parameters": [
"--import",
"tsx"
]
}
],
"cSpell.words": [
"arethetypeswrong",
"attw",
"decrementally",
"haragei",
"nonconstructor",
"pkgroll",
"postbuild",
"postpublish",
"ruleset",
"voxpelli"
],
"references.preferredLocation": "peek"
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Aleksandar Ružičić

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 74b235f

Please sign in to comment.