Skip to content

Commit cb3c442

Browse files
authored
v1 (#34)
* Start of v1 * Update dependencies * Create link with mkdir recursive * Update README * Tweak README header * Try taller logo * Update logo * Tweak README header * More README tweaks * More README tweaks * More README tweaks * Update package description * Add eslint-plugin-node * Add JSDoc documentation * Ignore docs in ESLint * Update dependencies * Use well-maintained fork of eslint-plugin-node * Add tests * Remove test path that's invalid in v22 * Update license year * Update dependencies * Replace originalError with native cause * Shortlinks => short links * npm pkg fix * Specify files to publish * Update ESLint * Add keywords to package.json * Update URLs * Set version back
1 parent 266ced2 commit cb3c442

File tree

37 files changed

+4432
-8459
lines changed

37 files changed

+4432
-8459
lines changed

.do/deploy.template.yaml

-12
This file was deleted.

.eleventy.js

-12
This file was deleted.

.github/workflows/ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
lint-test:
9+
name: Lint & test
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: ['18.x', '20.x', '22.x']
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
- name: Set up Node.js v${{ matrix.node-version }}
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
cache: 'npm'
22+
- name: Install npm dependencies
23+
run: npm install
24+
- name: Run lint
25+
run: npm run lint
26+
- name: Run tests
27+
run: npm test

.gitignore

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# npm
22
/node_modules
33

4-
# Logs
5-
npm-debug.log*
4+
# JSDoc
5+
/docs
66

7-
# 11ty
8-
/_site
7+
# Test builds
8+
/test/templates/*/build

.nvmrc

-1
This file was deleted.

.prettierignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
/_site
1+
# Test files with invalid syntax
2+
/test/templates/fail_config_json/suri.config.json
3+
/test/templates/fail_links_json/src/links.json

.release-it.json

-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
"github": {
88
"release": true,
99
"releaseName": "v${version}"
10-
},
11-
"npm": {
12-
"publish": false
1310
}
1411
}

LICENSE

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
MIT License
22

3-
Copyright (c) 2022 Justin Stayton
3+
Copyright (c) 2024 Justin Stayton
44

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:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
1111

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

1515
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.
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)