Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ updates:
commit-message:
prefix: "(chore)"
versioning-strategy: lockfile-only
cooldown:
default-days: 7
exclude:
- '@yardinternet/*'

registries:
github:
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm test
pnpm verify
6 changes: 0 additions & 6 deletions .lintstagedrc.json

This file was deleted.

33 changes: 33 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"css.validate": false,
"[scss][css][postcss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.prettier": "explicit",
"source.fixAll.stylelint": "explicit"
}
},
"[javascript][typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.prettier": "explicit",
"source.fixAll.eslint": "explicit"
},
"editor.formatOnPaste": false
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"stylelint.validate": [ "css", "scss", "postcss" ],
"eslint.validate": [ "javascript", "typescript" ],
"eslint.workingDirectories": [
{
"changeProcessCWD": true,
"mode": "auto"
}
]
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"npmClient": "pnpm",
"command": {
"publish": {
"message": "(chore): publish version %v"
"message": "chore: lerna publish"
Comment thread
WybeBosch marked this conversation as resolved.
}
}
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com/@yardinternet"
},
"packageManager": "pnpm@10.33.0",
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"scripts": {
"test": "vitest run",
"lint:js": "yard-toolkit lint js -m custom ./packages/**/src/**/*.js",
"lint:check:js": "yard-toolkit lint js --no-fix -m custom ./packages/**/src/**/*.js",
"format:js": "yard-toolkit format js -m custom ./packages/**/*.js",
"format:check:js": "prettier --check \"./packages/**/*.js\"",
"verify": "pnpm lint:check:js && pnpm format:check:js && pnpm test",
"dep:check": "syncpack list-mismatches",
"dep:fix": "syncpack fix-mismatches",
Comment thread
WybeBosch marked this conversation as resolved.
"dep:outdated": "pnpm outdated --recursive",
Expand All @@ -27,10 +30,10 @@
"devDependencies": {
"@babel/core": "^7.29.7",
"@babel/eslint-parser": "^7.25.7",
"prettier": "npm:wp-prettier@3.0.3",
Comment thread
WybeBosch marked this conversation as resolved.
"@yardinternet/toolkit": "workspace:*",
"husky": "^9.1.7",
"lerna": "^9.0.4",
"lint-staged": "^16.2.7",
"syncpack": "^14.0.0",
"vitest": "^3.2.6"
}
Expand Down
227 changes: 49 additions & 178 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ publicHoistPattern:
- '@eslint/*'
- '@typescript-eslint/*'
- '@wordpress/eslint-plugin'

minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- '@yardinternet/*'