Skip to content

Commit

Permalink
v1 (#34)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jstayton authored Aug 27, 2024
1 parent 266ced2 commit cb3c442
Show file tree
Hide file tree
Showing 37 changed files with 4,432 additions and 8,459 deletions.
12 changes: 0 additions & 12 deletions .do/deploy.template.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions .eleventy.js

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
workflow_dispatch:

jobs:
lint-test:
name: Lint & test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x', '22.x']
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install npm dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# npm
/node_modules

# Logs
npm-debug.log*
# JSDoc
/docs

# 11ty
/_site
# Test builds
/test/templates/*/build
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/_site
# Test files with invalid syntax
/test/templates/fail_config_json/suri.config.json
/test/templates/fail_links_json/src/links.json
3 changes: 0 additions & 3 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"github": {
"release": true,
"releaseName": "v${version}"
},
"npm": {
"publish": false
}
}
25 changes: 12 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
MIT License

Copyright (c) 2022 Justin Stayton
Copyright (c) 2024 Justin Stayton

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:
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.
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 cb3c442

Please sign in to comment.