generated from fluid-project/trivet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e01a7d8
Showing
106 changed files
with
31,725 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.git | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
insert_final_newline = true | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
README.md | ||
src/**/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: [ | ||
"fluid", | ||
"plugin:yml/standard", | ||
"plugin:markdown/recommended" | ||
], | ||
ignorePatterns: ["_site/", "src/_locales/messages.js", "!.*.cjs", "!.*.js", "!.github/"], | ||
env: { | ||
amd: true, | ||
browser: true, | ||
node: true, | ||
es6: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2020 | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown" | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: Bug | ||
assignees: '' | ||
--- | ||
|
||
## Describe the bug | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
### To reproduce | ||
|
||
Steps to reproduce the behaviour: | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
### Expected behaviour | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
## Screenshots | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
## Technical details | ||
|
||
### Desktop | ||
|
||
* OS: [e.g. iOS] | ||
* Browser [e.g. chrome, safari] | ||
* Version [e.g. 22] | ||
|
||
### Smartphone / tablet | ||
|
||
* Device: [e.g. iPhone6] | ||
* OS: [e.g. iOS8.1] | ||
* Browser [e.g. stock browser, safari] | ||
* Version [e.g. 22] | ||
|
||
### Assistive technology used | ||
|
||
* Name: [Name of assistive technology] | ||
* Version: [e.g. 22] | ||
|
||
## Additional context or notes | ||
|
||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: Enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Is your feature request related to a problem? | ||
|
||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
## Describe the solution you'd like | ||
|
||
A clear and concise description of what you want to happen. | ||
|
||
## Describe alternative solutions you've considered | ||
|
||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
## Additional context or notes | ||
|
||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: monthly | ||
allow: | ||
- dependency-type: direct | ||
ignore: | ||
- dependency-name: react | ||
versions: [">16"] | ||
- dependency-name: stylelint | ||
versions: [">14"] | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: monthly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
|
||
* [ ] This pull request has been linted by running `npm run lint` without errors | ||
* [ ] This pull request has been tested by running `npm run start` and reviewing affected routes | ||
* [ ] This pull request has been built by running `npm run build` without errors | ||
* [ ] This isn't a duplicate of an existing pull request | ||
|
||
## Description | ||
|
||
<!-- A description of the pull request --> | ||
|
||
## Steps to test | ||
|
||
1. <!-- First step --> | ||
2. <!-- Second step --> | ||
3. <!-- and so on... --> | ||
|
||
**Expected behaviour:** <!-- What should happen --> | ||
|
||
## Additional information | ||
|
||
<!-- Please provide any additional information that can help us review your contribution. --> | ||
|
||
## Related issues | ||
|
||
<!-- If this pull request resolves an issue, please indicate the issue number here, e.g. 'Resolves #42' --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Docker build | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build with Docker | ||
run: docker build . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Lint and build | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
lint-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Cache node modules | ||
uses: actions/cache@v4 | ||
with: | ||
path: node_modules | ||
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }} | ||
- name: Install dependencies | ||
run: npm install | ||
env: | ||
CI: true | ||
- name: Lint files | ||
run: npm run lint | ||
env: | ||
CI: true | ||
- name: Build site | ||
run: npm run build | ||
env: | ||
CI: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Publish release | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@v4 | ||
id: release | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
**/.DS_Store | ||
node_modules | ||
_site | ||
src/_data/assets.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no -- commitlint --edit "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
config: require("./node_modules/markdownlint-config-fluid/.markdownlintrc.json"), | ||
ignores: ["node_modules", "src/collections", "CHANGELOG.md"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
".": "2.1.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
extends: "stylelint-config-fluid", | ||
plugins: ["stylelint-use-logical-spec"], | ||
ignoreFiles: ["_site/**/*.css"], | ||
rules: { | ||
"custom-property-pattern": null, | ||
"import-notation": "string", | ||
"selector-class-pattern": null, | ||
"liberty/use-logical-spec": [ | ||
"always", | ||
{ except: ["float", "top", "left", "right", "bottom"] } | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Authors | ||
|
||
## Copyright Holders | ||
|
||
Copyright 2020 | ||
|
||
This is the list of Trivet copyright holders. It does not list all individual contributors because some have assigned | ||
copyright to an institution, only made minor changes, or their contributions no longer appear in the codebase. | ||
Please see the version control system's revision history for details on contributions. | ||
|
||
* OCAD University | ||
|
||
## Contributors | ||
|
||
Individual contributions can be viewed on the | ||
[Contributors](https://github.com/fluid-project/trivet/graphs/contributors) page, or through the version control | ||
system's revision history. | ||
|
||
**Note**: Individual authors may not hold copyright. See above "Copyright Holders" section for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Changelog | ||
|
||
## [2.1.1](https://github.com/fluid-project/trivet/compare/v2.1.0...v2.1.1) (2024-01-08) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* don't include package name in tag ([#406](https://github.com/fluid-project/trivet/issues/406)) ([6ab56df](https://github.com/fluid-project/trivet/commit/6ab56dfb3e0a7aa08a09c407d58511372d8d414b)) | ||
* restore manifest ([#408](https://github.com/fluid-project/trivet/issues/408)) ([ad3dcf0](https://github.com/fluid-project/trivet/commit/ad3dcf05cc0d9bf95d55ea8c8865b93f9de6fdd1)) | ||
|
||
## [2.1.0](https://github.com/fluid-project/trivet/compare/trivet-v2.0.1...trivet-v2.1.0) (2024-01-08) | ||
|
||
|
||
### Features | ||
|
||
* lint JavaScript in Markdown files ([#364](https://github.com/fluid-project/trivet/issues/364)) ([cb9527c](https://github.com/fluid-project/trivet/commit/cb9527c5998a4788e9c87f5b7f6ca7a66a210171)) | ||
* replace Netlify CMS with Decap CMS ([#371](https://github.com/fluid-project/trivet/issues/371)) ([1be7787](https://github.com/fluid-project/trivet/commit/1be77878bf626a33c34439d0ef228e2864b76061)) | ||
* update robots.txt ([#367](https://github.com/fluid-project/trivet/issues/367)) ([cce5674](https://github.com/fluid-project/trivet/commit/cce5674784c1f35a43d227d58c766c9c0dcd8d44)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* use correct Dependabot ignore syntax ([#366](https://github.com/fluid-project/trivet/issues/366)) ([d11c2ae](https://github.com/fluid-project/trivet/commit/d11c2ae8501a730a3362069ae1aaa84b04b055fa)) | ||
* use more descriptive script names for linting (S)CSS and JavaScript ([#369](https://github.com/fluid-project/trivet/issues/369)) ([db7f00a](https://github.com/fluid-project/trivet/commit/db7f00a094e6b24667c89f7c22e1cc792f1bf331)) | ||
|
||
## [2.0.1](https://github.com/fluid-project/trivet/compare/v2.0.0...v2.0.1) (2023-08-15) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* simplify YAML lint config ([#362](https://github.com/fluid-project/trivet/issues/362)) ([40ea5f9](https://github.com/fluid-project/trivet/commit/40ea5f9df913fa55c7b9a5249bbd3badb8309515)) | ||
|
||
## [2.0.0](https://github.com/fluid-project/trivet/compare/v1.0.0...v2.0.0) (2023-08-15) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* update Docker Node version ([#335](https://github.com/fluid-project/trivet/issues/335)) | ||
* add NVM configuration, use Node 18 ([#322](https://github.com/fluid-project/trivet/issues/322)) | ||
|
||
### Features | ||
|
||
* add NVM configuration, use Node 18 ([#322](https://github.com/fluid-project/trivet/issues/322)) ([aa63bf2](https://github.com/fluid-project/trivet/commit/aa63bf2a1320fd2bf2fb3ffaa72649e789579878)) | ||
* disallow GPT from crawling any Trivet-based sites ([#343](https://github.com/fluid-project/trivet/issues/343)) ([c56e172](https://github.com/fluid-project/trivet/commit/c56e172fbe2de41a1dfc67a8f7f1cb60133376e6)) | ||
* generate sitemap.xml (resolves [#243](https://github.com/fluid-project/trivet/issues/243)) ([#244](https://github.com/fluid-project/trivet/issues/244)) ([cea3049](https://github.com/fluid-project/trivet/commit/cea304998a7586446b18739883436272732321fe)) | ||
* update Docker Node version ([#335](https://github.com/fluid-project/trivet/issues/335)) ([c437bd4](https://github.com/fluid-project/trivet/commit/c437bd4be37fbb3afb0356b44fee2dcd1f8fbd21)) | ||
* use Eleventy localization features and Eleventy asset processing ([#337](https://github.com/fluid-project/trivet/issues/337)) ([610868d](https://github.com/fluid-project/trivet/commit/610868d0ccd4e67c8dd84bb7c0f965d1228957eb)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* better YAML pattern to handle .github files as well as config.yml ([#355](https://github.com/fluid-project/trivet/issues/355)) ([7642a09](https://github.com/fluid-project/trivet/commit/7642a09066951eb21fd3522abe7b4d4623d71296)) | ||
* localized pagination ([#353](https://github.com/fluid-project/trivet/issues/353)) ([43df5ff](https://github.com/fluid-project/trivet/commit/43df5ff18faf0cc9519293fb7e4b861005f8d171)) | ||
* move generatePermalink out of eleventyComputed ([#354](https://github.com/fluid-project/trivet/issues/354)) ([d37829e](https://github.com/fluid-project/trivet/commit/d37829e7a2a4ddfe8fd22426214df8316e7dc49d)) | ||
* resolve sitemap parsing error in Chrome ([#351](https://github.com/fluid-project/trivet/issues/351)) ([64387bf](https://github.com/fluid-project/trivet/commit/64387bfeaf3ce9e42b80b6112b6f590dc6658be9)) | ||
|
||
## 1.0.0 (2022-03-23) | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:18-alpine AS builder | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json ./ | ||
|
||
RUN apk add --no-cache git | ||
|
||
RUN npm install | ||
|
||
COPY . ./ | ||
|
||
RUN npm run build | ||
|
||
FROM nginx:1.18.0-alpine | ||
|
||
COPY --from=builder /app/_site /usr/share/nginx/html |
Oops, something went wrong.