Skip to content

Commit 3f1dce6

Browse files
committed
Initial commit
0 parents  commit 3f1dce6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+29045
-0
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/out/**
2+
**/node_modules/**

.eslintrc.json

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"plugins": ["@typescript-eslint", "react", "jsdoc"],
4+
"extends": [
5+
"eslint:recommended",
6+
"plugin:react/all",
7+
"plugin:react-hooks/recommended",
8+
"plugin:@typescript-eslint/eslint-recommended",
9+
"plugin:@typescript-eslint/recommended",
10+
"prettier"
11+
],
12+
"env": {
13+
"browser": true,
14+
"es6": true,
15+
"node": true
16+
},
17+
"globals": {
18+
"page": true,
19+
"browser": true,
20+
"context": true
21+
},
22+
"parserOptions": {
23+
"ecmaVersion": 7,
24+
"ecmaFeatures": {
25+
"experimentalObjectRestSpread": true,
26+
"globalReturn": true,
27+
"jsx": true
28+
},
29+
"sourceType": "module"
30+
},
31+
"settings": {"react": {"version": "16.12.0"}},
32+
"rules": {
33+
"@typescript-eslint/no-explicit-any": 0,
34+
"@typescript-eslint/no-var-requires": 0,
35+
"@typescript-eslint/no-unused-vars": [
36+
2,
37+
{"argsIgnorePattern": "^_.*", "varsIgnorePattern": "^_.*"}
38+
],
39+
"max-len": [2, {"code": 80, "ignorePattern": "^(im|ex)ports?\\W.*"}],
40+
"no-var": 2,
41+
"no-console": 2,
42+
"object-curly-spacing": [2, "never"],
43+
"comma-dangle": [
44+
2,
45+
{
46+
"arrays": "always-multiline",
47+
"objects": "always-multiline",
48+
"imports": "always-multiline",
49+
"exports": "always-multiline",
50+
"functions": "always-multiline"
51+
}
52+
],
53+
"indent": 0,
54+
"no-empty": [2, {"allowEmptyCatch": true}],
55+
"linebreak-style": [2, "unix"],
56+
"space-infix-ops": 2,
57+
"quotes": [2, "single", {"allowTemplateLiterals": true}],
58+
"semi": [2, "always"],
59+
"sort-keys": 0,
60+
"sort-imports": 2,
61+
"no-multiple-empty-lines": [2, {"max": 1}],
62+
"react/function-component-definition": [
63+
2,
64+
{
65+
"namedComponents": "arrow-function",
66+
"unnamedComponents": "arrow-function"
67+
}
68+
],
69+
"react/no-multi-comp": [2, {"ignoreStateless": true}],
70+
"react/no-find-dom-node": 0,
71+
"react/no-set-state": 0,
72+
"react/no-unsafe": 2,
73+
"jsx-quotes": [2, "prefer-double"],
74+
"react-hooks/exhaustive-deps": 2,
75+
"react-hooks/rules-of-hooks": 2,
76+
"react/destructuring-assignment": 0,
77+
"react/display-name": 0,
78+
"react/jsx-boolean-value": 0,
79+
"react/jsx-filename-extension": 0,
80+
"react/jsx-first-prop-new-line": [2, "multiline"],
81+
"react/jsx-handler-names": [
82+
2,
83+
{"eventHandlerPrefix": "_handle", "eventHandlerPropPrefix": "on"}
84+
],
85+
"react/jsx-indent": 0,
86+
"react/jsx-indent-props": [2, 2],
87+
"react/jsx-max-depth": [2, {"max": 5}],
88+
"react/jsx-max-props-per-line": [2, {"maximum": 1, "when": "multiline"}],
89+
"react/jsx-newline": 0,
90+
"react/jsx-no-literals": 0,
91+
"react/jsx-one-expression-per-line": 0,
92+
"react/jsx-props-no-spreading": 0,
93+
"react/jsx-sort-props": 0,
94+
"react/require-default-props": 0,
95+
"react/sort-comp": 0,
96+
"react/forbid-component-props": 0,
97+
"react/button-has-type": 0
98+
},
99+
"overrides": [
100+
{
101+
"files": ["src/types/**"],
102+
"extends": ["plugin:jsdoc/recommended"],
103+
"rules": {
104+
"jsdoc/check-tag-names": [
105+
2,
106+
{"definedTags": ["category", "packageDocumentation", "jsx"]}
107+
],
108+
"jsdoc/require-jsdoc": [2, {"contexts": ["any"]}],
109+
"jsdoc/check-examples": [0, {"contexts": ["any"]}],
110+
"jsdoc/require-description": [2, {"contexts": ["any"]}],
111+
"jsdoc/require-returns-check": [0],
112+
"jsdoc/require-param-type": [0],
113+
"jsdoc/require-returns-type": [0]
114+
}
115+
}
116+
]
117+
}

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
logs
2+
*.log
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
pnpm-debug.log*
7+
lerna-debug.log*
8+
9+
node_modules
10+
out
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
.vscode/*
16+
!.vscode/extensions.json
17+
.idea
18+
.DS_Store
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?
24+
25+
.partykit

.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"bracketSpacing": false,
3+
"singleQuote": true,
4+
"trailingComma": "all"
5+
}

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) James Pearce, 2023-
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

cspell.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"ignorePaths": ["*.tsv", "*.webp", "*.svg"],
3+
"words": [
4+
"httponly",
5+
"linebreak",
6+
"outdir",
7+
"proxying",
8+
"samesite",
9+
"tinyrooms",
10+
"tsndr"
11+
]
12+
}

docs/0.png

64.2 KB
Loading

docs/1.png

53.5 KB
Loading

docs/2.png

55.9 KB
Loading

docs/3.png

78.2 KB
Loading

docs/4.png

72.4 KB
Loading

docs/5.png

43.5 KB
Loading

docs/6.png

72.1 KB
Loading

docs/CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tinyrooms.org

docs/index.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<meta
2+
http-equiv="refresh"
3+
content="0; url=https://github.com/tinyplex/tinyrooms"
4+
/>

0 commit comments

Comments
 (0)