Repository: mpsq/arewewaylandyet
Branch: master
Commit: 0bd8456ebda6
Files: 33
Total size: 29.9 KB
Directory structure:
gitextract_iy1hlo00/
├── .eslintrc.js
├── .github/
│ ├── pull_request_template.md
│ └── workflows/
│ ├── hugo-ci.yml
│ └── typescript-ci.yml
├── .gitignore
├── .ignore
├── CODEOWNERS
├── LICENSE.md
├── README.md
├── archetypes/
│ └── default.md
├── config.toml
├── content/
│ └── .gitkeep
├── husky.config.js
├── layouts/
│ ├── 404.html
│ ├── _default/
│ │ └── baseof.html
│ ├── index.html
│ ├── partials/
│ │ ├── footer.html
│ │ ├── head.html
│ │ ├── header.html
│ │ └── title.html
│ └── robots.txt
├── lint-staged.config.js
├── netlify.toml
├── package.json
├── prettier.config.js
├── src/
│ ├── css/
│ │ ├── main.css
│ │ └── normalize.css
│ └── scripts/
│ ├── theme-preload.ts
│ ├── theme-switcher.ts
│ └── theme-utils.ts
├── static/
│ ├── _headers
│ └── img/
│ └── site.webmanifest
└── tsconfig.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .eslintrc.js
================================================
const path = require("path")
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
"standard-with-typescript",
"plugin:prettier/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/babel",
"prettier/standard",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: {},
ecmaVersion: 2018,
project: path.resolve(__dirname, "./tsconfig.json"),
tsconfigRootDir: __dirname,
sourceType: "module",
},
plugins: ["@typescript-eslint", "babel", "prettier", "standard"],
rules: {
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-explicit-any": "off",
"quote-props": ["error", "as-needed"],
"object-shorthand": ["error", "always"],
"no-console": ["warn", { allow: ["warn", "error", "info"] }],
},
}
================================================
FILE: .github/pull_request_template.md
================================================
## Description
Short description of the changes:
## Checklist
I have:
- [ ] 🤳 made sure that what I am adding is an app for end users, not a developer tool / library (no "wl-clipboard-rs")
- [ ] 🔗 checked that the link I am using refers to the root of the project (example, https://mpv.io) or GitHub repo **if the first is not available**
- [ ] 🤓 checked BOTH the name and the casing of the project(s) I am adding ("GNOME Terminal" and not "gnome-terminal", "bemenu" and not "Bemenu", etc.)
- [ ] 💣 checked that I am using spaces for indentation and that my levels are correct (**no tabs!**)
- [ ] ✋ checked that my section has the correct casing ("My section", and not "My Section")
- [ ] 📝 checked that the projects and / or the section are alphabetically sorted ("Clipboard manager" then "Color picker", "bemenu" then "Fuzzel")
================================================
FILE: .github/workflows/hugo-ci.yml
================================================
name: Hugo CI
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
- name: Test build
run: hugo
================================================
FILE: .github/workflows/typescript-ci.yml
================================================
name: TypeScript CI
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install dependencies
run: npm install
- name: Linting
run: npm run ci:lint
env:
CI: true
- name: Type checking
run: npm run ci:type-check
env:
CI: true
================================================
FILE: .gitignore
================================================
node_modules
/.log
/public
/resources
================================================
FILE: .ignore
================================================
package-lock.json
================================================
FILE: CODEOWNERS
================================================
* @mpsq
================================================
FILE: LICENSE.md
================================================
The MIT License
Copyright (c) 2020 Méril P.
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.
================================================
FILE: README.md
================================================
# [Are we Wayland yet?](https://arewewaylandyet.com)
I think so... This is an opinionated answer, if you disagree or if you think
something is missing, I would love to hear about it, please open an issue or a
pull request.
# Discussion
I posted this website on the
[Arch Linux subreddit](https://www.reddit.com/r/archlinux/). The post has many
interesting comments and valuable links, it is worth
[having a look](https://www.reddit.com/r/archlinux/comments/jm8743/are_we_wayland_yet/).
# How to build
## Prerequisites
- [Hugo](https://github.com/gohugoio/hugo) 0.78+
- [NodeJS](https://nodejs.org) 12 with `npm` or `yarn`
## Steps
1. Get the code
```bash
git clone git@github.com:mpsq/arewewaylandyet.git
cd arewewaylandyet
```
2. Install dependencies
```bash
npm install # yarn will work too
```
3. Run the development server
```bash
hugo server -D
```
The server should be accessible at http://localhost:1313.
================================================
FILE: archetypes/default.md
================================================
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---
================================================
FILE: config.toml
================================================
baseURL = "https://arewewaylandyet.com/"
languageCode = "en-us"
title = "Are we Wayland yet?"
disableKinds = ["taxonomy", "taxonomyTerm"]
enableRobotsTXT = true
assetDir = "src"
[sitemap]
changefreq = "monthly"
filename = "sitemap.xml"
priority = 0.5
[build]
noJSConfigInAssets = true
================================================
FILE: content/.gitkeep
================================================
================================================
FILE: husky.config.js
================================================
module.exports = {
hooks: {
"pre-commit": "lint-staged",
},
}
================================================
FILE: layouts/404.html
================================================
{{ define "main"}}
{{ partial "title" . }}
404
If you want to know if Wayland is ready, check this page instead.