Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9689023
fix(deps): update dependency lucide-react to ^0.112.0
renovate[bot] Feb 7, 2023
aaa54d4
chore(deps): update yarn to v4.0.0-rc.38
renovate[bot] Feb 4, 2023
25b2745
docs: add netlify badge to readme
montchr Jan 20, 2023
150ec3b
chore(reuse): update copyright year
montchr Jan 20, 2023
181e082
chore(reuse): correct a few license headers
montchr Jan 20, 2023
c92697b
chore(deps): patch-version updates
montchr Jan 20, 2023
9841aa9
chore(deploy): remove vercel tooling+config
montchr Jan 20, 2023
80a286f
fix(deps|media): add `sharp` for nextjs prod image optimization
montchr Jan 20, 2023
afd7e4e
chore(deps): bump `dotenv-cli`
montchr Jan 20, 2023
f6e9535
chore(reuse): licensing fixes
montchr Feb 7, 2023
3eabe58
chore(fmt|tasks): justfile formatting
montchr Feb 7, 2023
59831e0
chore(lint|tasks): run `deadnix` with underscore check
montchr Feb 7, 2023
937d7e5
chore(deps): update inputs
montchr Feb 7, 2023
f8640ce
chore(deps): update node packages
montchr Feb 7, 2023
3d092d5
fix(deps|eslint): list `tailwindcss` as peer dep
montchr Feb 7, 2023
5f99d41
fix(fmt): commit prettier config
montchr Feb 7, 2023
d265b18
chore: add more fixes from infra
montchr Feb 7, 2023
63f10e9
ci(reuse): add license-check workflow
montchr Feb 7, 2023
107bf49
chore: fmt
montchr Feb 7, 2023
53a039b
feat: use standard layout
montchr Feb 7, 2023
74b75cc
chore(deps|devshell): add docker utils
montchr Feb 8, 2023
2cfdf9a
chore(vscode|secrets): update dotenv plugin recommendation
montchr Feb 10, 2023
56c6ef2
feat: add wordpress from bedrock template
montchr Feb 10, 2023
465a4c1
chore: duplicate gitignore files
montchr Feb 11, 2023
071b4c7
feat(env|wp|secrets): source wordpress dotenv file in direnv
montchr Feb 11, 2023
5924965
chore(tasks): shorten license task names
montchr Feb 11, 2023
9af85bd
feat(tasks|wp|deps): add commands to install deps and wp
montchr Feb 11, 2023
9ab9cf2
feat(tasks|deps): install `just` via npm for later use in ci
montchr Feb 11, 2023
0073100
feat(secrets): use `dotenv-vault` for environment secrets management
montchr Feb 11, 2023
06a7e9c
feat(wp:plugins|deps): add `intervention`
montchr Feb 11, 2023
2f202c9
chore(reuse): yep
montchr Feb 11, 2023
029c9ee
feat: add tasks for wp setup
montchr Feb 11, 2023
b90f707
fixup! chore(reuse): yep
montchr Feb 11, 2023
e03742e
chore(develop): release 1.0.0
montchr Feb 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: 2022 Temple University
#
# SPDX-FileCopyrightText: 2022-2023 Temple University
# SPDX-License-Identifier: CC0-1.0

# http://editorconfig.org
###: http://editorconfig.org

root = true

[*]
Expand All @@ -13,19 +13,25 @@ insert_final_newline = true
indent_style = space
indent_size = 2

[*.{xml,plist,php,py}]
indent_size = 4
indent_style = space
[*.md]
trim_trailing_whitespace=false

[*.{bash,sh}]
binary_next_line=true
simplify=true
switch_case_indent=true

[*.{plist,php,py,xml}]
indent_size=4
indent_style=space

# Ignore diffs/patches
[*.{diff,patch}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_size = unset

# Ignore secrets
[secrets/**]
[{LICENSES/**,LICENSE,secrets/**,keys/**}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
Expand Down
24 changes: 15 additions & 9 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2022 Temple University
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2022-2023 Temple University <[email protected]>
# SPDX-License-Identifier: GPL-3.0-or-later

# Uncomment to disable the automatic menu display.
# export DEVSHELL_NO_MOTD=1

watch_file nix/devshells/* flake.nix

# Load the default devshell.
use flake
# shellcheck disable=SC1090
. "$(
nix eval \
--no-update-lock-file \
--no-write-lock-file \
--no-warn-dirty \
--accept-flake-config \
.#__std.direnv_lib 2>/dev/null \
|| nix eval .#__std.direnv_lib # show the errors
)"
use std cells //_automation/devshells:default

# Ensure yarn dependencies.
yarn

dotenv apps/wordpress/.env
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2023 Temple University <[email protected]>
// SPDX-License-Identifier: GPL-3.0-or-later

module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-custom`
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023 Temple University <[email protected]>
# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. <https://fsfe.org>
# SPDX-License-Identifier: CC0-1.0

###: <https://github.com/marketplace/actions/reuse-compliance-check>

name: REUSE Compliance Check

on: [push, pull_request]

jobs:
license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1
39 changes: 29 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# SPDX-FileCopyrightText: 2022 Temple University
#
# SPDX-FileCopyrightText: 2022-2023 Temple University
# SPDX-License-Identifier: CC0-1.0

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
### <https://help.github.com/articles/ignoring-files/>


###: === //.gitignore ==========================================================
#
# Copy the following section from the repo-root `.gitignore`
# to all `.gitignore` files stored in descendent directories:
#
# $ fd --hidden --no-ignore --exclude vendor --exclude node_modules '.gitignore'
#
# This duplication ensures that each package/project/app follows the same rules.

##: build artifacts
build/
Expand Down Expand Up @@ -31,15 +40,27 @@ node_modules/
##: next.js
.next/

##: environment-specific
##: php: composer
**/vendor

# wp-cli
wp-cli.local.yml

##: local data
.data/
.direnv/
.env
.env*.local
*.local

##: secrets
*.pem
# <https://dotenv.org/env-me> {{{
.env*
.flaskenv*
!.env.project
!.env.vault
!.env.example
!.env.sample
# }}}

##: testing
coverage
Expand All @@ -57,9 +78,7 @@ tmp/
##: devops
*.tfstate*
.terraform/
.vercel

# nixago: ignore-linked-files
apps/wp-env/.wp-env.json
kleinweb.config.json
.prettierrc.json
.wp-env.json

2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# SPDX-FileCopyrightText: 2022 Temple University
# SPDX-FileCopyrightText: 2022-2023 Temple University
# SPDX-License-Identifier: GPL-3.0-or-later

# shellcheck disable=1091
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# SPDX-FileCopyrightText: 2022 Temple University
# SPDX-FileCopyrightText: 2022-2023 Temple University
# SPDX-License-Identifier: GPL-3.0-or-later

# shellcheck disable=1091
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
# SPDX-FileCopyrightText: 2022 Temple University
# SPDX-FileCopyrightText: 2022-2023 Temple University
# SPDX-License-Identifier: GPL-3.0-or-later

# shellcheck disable=1091
Expand Down
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"proseWrap": "preserve",
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
35 changes: 23 additions & 12 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,50 @@ Copyright: Temple University <[email protected]>
License: GPL-3.0-or-later
Source: https://github.com/kleinweb/logan-center

Files: apps/*
packages/*
codegen.ts
.eslintrc.js
*.yaml
Files: *.yaml
*.yml
*/*.d.ts
Copyright: 2022 Temple University <[email protected]>
Copyright: 2022-2023 Temple University <[email protected]>
License: GPL-3.0-or-later

Files: */*.md
Files: */.env*
*/.gitignore
*/.prettierignore
.env*
.gitattributes
.gitignore
.prettierignore
.vscode/*
.yarn/*
*.json
*.md
*.lock
Copyright: 2022 Temple University <[email protected]>
*.toml
Copyright: 2022-2023 Temple University <[email protected]>
License: CC0-1.0

Files: *.md
Copyright: 2022-2023 Temple University <[email protected]>
License: CC-BY-NC-SA-4.0

Files: apps/nextjs-app/*
Copyright: 2022 Temple University <[email protected]>
Copyright: 2022-2023 Temple University <[email protected]>
2021 Automattic
License: GPL-3.0-or-later OR MIT

Files: packages/site-assets/*
Copyright: 2022 Temple University <[email protected]>
Copyright: 2022-2023 Temple University <[email protected]>
License: CC-BY-NC-ND-4.0

Files: packages/tu-assets/*
Copyright: 2022 Temple University <[email protected]>
apps/nextjs-minimal/public/android-chrome-192x192.png
apps/nextjs-minimal/public/android-chrome-384x384.png
apps/nextjs-minimal/public/apple-touch-icon.png
apps/nextjs-minimal/public/browserconfig.xml
apps/nextjs-minimal/public/favicon-16x16.png
apps/nextjs-minimal/public/favicon-32x32.png
apps/nextjs-minimal/public/favicon.ico
apps/nextjs-minimal/public/mstile-150x150.png
apps/nextjs-minimal/public/safari-pinned-tab.svg
apps/nextjs-minimal/public/site.webmanifest
Copyright: 2022-2023 Temple University <[email protected]>
License: LicenseRef-TU-Trademark-Policy
6 changes: 6 additions & 0 deletions .reuse/templates/compact.jinja2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% for copyright_line in copyright_lines %}
{{ copyright_line }}
{% endfor %}
{% for expression in spdx_expressions %}
SPDX-License-Identifier: {{ expression }}
{% endfor %}
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"graphql.vscode-graphql",
"jnoortheen.nix-ide",
"kamadorueda.alejandra",
"mikestead.dotenv",
"mkhl.direnv",
"stylelint.vscode-stylelint",
"unifiedjs.vscode-mdx"
"unifiedjs.vscode-mdx",
"dotenv.dotenv-vscode"
]
}
43 changes: 43 additions & 0 deletions .vscode/logan-center.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"llibb": {
"scope": "nix",
"prefix": "llibb",
"body": ["l = ${1:inputs.nixpkgs.}lib // builtins;$0"]
},
"Standard Cell Block": {
"scope": "nix",
"prefix": "scblk",
"body": [
"$LINE_COMMENT SPDX-FileCopyrightText: $CURRENT_YEAR Temple University <[email protected]>",
"$LINE_COMMENT SPDX-License-Identifier: GPL-3.0-or-later",
"{",
"\tinputs,",
"\tcell,",
"}:",
"${1:let",
"${2:\tinherit (inputs) nixpkgs;}",
"\tl = inputs.nixpkgs.lib // builtins;",
"in",
"}{",
"\t$0",
"}"
],
"description": "Skeleton for a Standard Cell Block file"
}
// Place your logan-center workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
2 changes: 1 addition & 1 deletion apps/wp-env/.wp-env/.htaccess → .wp-env/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 Temple University
# SPDX-FileCopyrightText: 2022-2023 Temple University
#
# SPDX-License-Identifier: CC0-1.0

Expand Down
Loading