Skip to content

Commit

Permalink
test: software licenses
Browse files Browse the repository at this point in the history
Signed-off-by: Ourchitecture <[email protected]>
  • Loading branch information
ourchitectureio committed Sep 21, 2023
1 parent 6e6b3f7 commit 261f596
Show file tree
Hide file tree
Showing 15 changed files with 432 additions and 139 deletions.
2 changes: 2 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ dictionaries: []
words: []
ignoreWords:
- davidanson
- expressjs
- MADR
- nvmrc
- Ourchitecture
- pnpmrc
- todomvc
- wireit
import: []
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all: check

.PHONY: init
init:
@pnpm install --frozen-lockfile
@pnpm install --recursive --frozen-lockfile

.PHONY: check
check: init
Expand Down
20 changes: 18 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"keywords": [],
"author": "Ourchitecture",
"license": "MIT OR CC0-1.0",
"type": "module",
"scripts": {
"check": "wireit",
"check:formatting": "wireit",
"check:metadata": "wireit",
"check:spelling": "wireit",
"format": "prettier --write --config ./.prettierrc.yaml --ignore-path ./.gitignore --ignore-path ./.prettierignore ./",
"check:formatting:changes": "lint-staged",
Expand All @@ -17,11 +19,12 @@
"check": {
"dependencies": [
"check:formatting",
"check:metadata",
"check:spelling"
]
},
"check:formatting": {
"command": "node ./src/tasks/node/check/formatting",
"command": "node ./src/tasks/node/check/formatting.js",
"files": [
"**/*",
"!.husky",
Expand All @@ -32,8 +35,20 @@
"./.task-output/src/tasks/node/check/formatting.js/*"
]
},
"check:metadata": {
"command": "node ./src/tasks/node/check/tests.js",
"files": [
"**/*",
"!.husky",
"!.task-output",
"!pnpm-lock.yaml"
],
"output": [
"./.task-output/src/tasks/node/check/tests.js/*"
]
},
"check:spelling": {
"command": "node ./src/tasks/node/check/spelling",
"command": "node ./src/tasks/node/check/spelling.js",
"files": [
"**/*",
"!.husky",
Expand All @@ -48,6 +63,7 @@
"devDependencies": {
"cspell": "^7.0.0",
"dotenv": "^16.3.1",
"glob": "^10.3.5",
"husky": "^8.0.3",
"lint-staged": "^14.0.0",
"markdownlint-cli2": "^0.10.0",
Expand Down
Loading

0 comments on commit 261f596

Please sign in to comment.