Skip to content

Commit 7ae5575

Browse files
chore(*): i did a bunch of stuff, yw @dan-online
1 parent 3a830e6 commit 7ae5575

32 files changed

+16951
-212
lines changed

.commitlintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"type-enum": [2, "always", ["chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]],
5+
"footer-leading-blank": [2, "always"]
6+
}
7+
}

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
indent_size = 2
5+
charset = utf-8
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.{js,ts,astro}]
11+
block_comment_start = /*
12+
block_comment = *
13+
block_comment_end = */
14+
15+
[*.{yml,yaml}]
16+
indent_style = space
17+
18+
[*.{md,rmd,mkd,mkdn,mdwn,mdown,markdown,litcoffee}]
19+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Ignore a blackhole
2+
node_modules/
3+
.vs/
4+
5+
# Ignore build artifacts
6+
dist/
7+
build/
8+
docs/
9+
coverage/
10+
.turbo/
11+
12+
# Ignore heapsnapshot and log files
13+
*.heapsnapshot
14+
*.log
15+
16+
# Ignore package locks
17+
package-lock.json
18+
19+
# Ignore the GH cli downloaded by workflows
20+
gh
21+
22+
# Ignore Yarn files
23+
.yarn/install-state.gz
24+
.yarn/build-state.yml

.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@joshdb"
3+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text eol=lf

.github/CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.github/ @RealShadowNova
2+
/.husky/ @RealShadowNova
3+
/.vscode/ @RealShadowNova
4+
/.yarn/ @RealShadowNova
5+
LICENSE.md @eslachance
6+
package.json @RealShadowNova

.github/problemMatchers/eslint.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "eslint-stylish",
5+
"pattern": [
6+
{
7+
"regexp": "^([^\\s].*)$",
8+
"file": 1
9+
},
10+
{
11+
"regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
12+
"line": 1,
13+
"column": 2,
14+
"severity": 3,
15+
"message": 4,
16+
"code": 5,
17+
"loop": true
18+
}
19+
]
20+
}
21+
]
22+
}

.github/problemMatchers/tsc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "tsc",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:\\s+\\d+\\>)?([^\\s].*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\)\\s*:\\s+(error|warning|info)\\s+(\\w{1,2}\\d+)\\s*:\\s*(.*)$",
8+
"file": 1,
9+
"location": 2,
10+
"severity": 3,
11+
"code": 4,
12+
"message": 5
13+
}
14+
]
15+
}
16+
]
17+
}

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["github>josh-development/.github:josh-renovate"]
4+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
linting:
11+
name: Linting
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Project
15+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
16+
- name: Add ESLint Problem Matcher
17+
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
18+
- name: Use Node.js v16
19+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
20+
with:
21+
node-version: 16
22+
cache: yarn
23+
registry-url: https://registry.npmjs.org/
24+
- name: Install Dependencies
25+
run: yarn --immutable
26+
- name: Run ESLint
27+
run: yarn lint --fix=false
28+
29+
building:
30+
name: Compile Source Code
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout Project
34+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
35+
- name: Add TypeScript Problem Matcher
36+
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
37+
- name: Use Node.js v16
38+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
39+
with:
40+
node-version: 16
41+
cache: yarn
42+
registry-url: https://registry.npmjs.org/
43+
- name: Install Dependencies
44+
run: yarn --immutable
45+
- name: Build Code
46+
run: yarn build

.gitignore

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
# build output
1+
# Ignore a blackhole
2+
node_modules/
3+
.vs/
4+
5+
# Ignore build artifacts
26
dist/
3-
# generated types
7+
build/
48
.astro/
59

6-
# dependencies
7-
node_modules/
10+
# Ignore heapsnapshot and log files
11+
*.heapsnapshot
12+
*.log
813

9-
# logs
10-
npm-debug.log*
11-
yarn-debug.log*
12-
yarn-error.log*
13-
pnpm-debug.log*
14+
# Ignore package locks
15+
package-lock.json
1416

17+
# Ignore the GH cli downloaded by workflows
18+
gh
1519

16-
# environment variables
20+
# Ignore Yarn files
21+
.yarn/install-state.gz
22+
.yarn/build-state.yml
23+
24+
# Enviroment Variables
1725
.env
1826
.env.production
19-
20-
# macOS-specific files
21-
.DS_Store
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export { o as onRequest } from './renderers.mjs';
2+
import 'cookie';
3+
import 'kleur/colors';
4+
import '@astrojs/internal-helpers/path';
5+
import 'path-to-regexp';
6+
import 'mime';
7+
import 'string-width';
8+
import 'solid-js/web';
9+
import 'fs';
10+
import 'node:fs/promises';
11+
import 'node:url';
12+
import 'node:fs';
13+
import 'node:path';
14+
import 'mime/lite.js';
15+
import 'path';
16+
import 'html-escaper';
17+
import 'node:worker_threads';
18+
import 'os';
19+
import 'url';
20+
import 'module';
21+
import 'worker_threads';
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
export { o as onRequest, renderers } from '../renderers.mjs';
2+
import 'cookie';
3+
import 'kleur/colors';
4+
import '@astrojs/internal-helpers/path';
5+
import 'path-to-regexp';
6+
import 'mime';
7+
import 'string-width';
8+
import 'solid-js/web';
9+
import 'fs';
10+
import 'node:fs/promises';
11+
import 'node:url';
12+
import 'node:fs';
13+
import 'node:path';
14+
import 'mime/lite.js';
15+
import 'path';
16+
import 'html-escaper';
17+
import 'node:worker_threads';
18+
import 'os';
19+
import 'url';
20+
import 'module';
21+
import 'worker_threads';
22+
23+
const page = () => import('./prerender.353f41cf.mjs');
24+
25+
export { page };

0 commit comments

Comments
 (0)