Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refactor for newspack-scripts dependency updates #206

Merged
merged 11 commits into from
Aug 2, 2024
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
67 changes: 37 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
{
"name": "automattic/republication-tracker-tool",
"description": "Republication Tracker Tool",
"type": "wordpress-plugin",
"require-dev": {
"composer/installers": "~1.6",
"automattic/vipwpcs": "^2.0.0",
"brainmaestro/composer-git-hooks": "^2.6",
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*"
},
"license": "GPL-2.0-or-later",
"scripts": {
"post-install-cmd": [ "vendor/bin/cghooks add --no-lock" ],
"post-update-cmd": [ "vendor/bin/cghooks update" ]
},
"extra": {
"hooks": {
"commit-msg": [
"cat $1 | ./node_modules/.bin/commitlint"
]
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
"name": "automattic/republication-tracker-tool",
"description": "Republication Tracker Tool",
"type": "wordpress-plugin",
"require-dev": {
"composer/installers": "~1.6",
"automattic/vipwpcs": "^2.0.0",
"brainmaestro/composer-git-hooks": "^2.6",
"wp-coding-standards/wpcs": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*"
},
"license": "GPL-2.0-or-later",
"scripts": {
"post-install-cmd": [
"vendor/bin/cghooks add --no-lock"
],
"post-update-cmd": [
"vendor/bin/cghooks update"
]
},
"extra": {
"hooks": {
"commit-msg": [
"cat $1 | node_modules/.bin/newspack-scripts commitlint"
]
}
},
"config": {
"platform": {
"php": "8.0"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading