chore: backup before OpenSpec installation
This commit is contained in:
43
.commitlintrc.json
Normal file
43
.commitlintrc.json
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"extends": ["@commitlint/config-conventional"],
|
||||||
|
"rules": {
|
||||||
|
"type-enum": [
|
||||||
|
2,
|
||||||
|
"always",
|
||||||
|
[
|
||||||
|
"feat",
|
||||||
|
"fix",
|
||||||
|
"docs",
|
||||||
|
"style",
|
||||||
|
"refactor",
|
||||||
|
"perf",
|
||||||
|
"test",
|
||||||
|
"build",
|
||||||
|
"ci",
|
||||||
|
"chore",
|
||||||
|
"revert"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"scope-enum": [
|
||||||
|
2,
|
||||||
|
"always",
|
||||||
|
[
|
||||||
|
"theme",
|
||||||
|
"templates",
|
||||||
|
"assets",
|
||||||
|
"css",
|
||||||
|
"js",
|
||||||
|
"php",
|
||||||
|
"admin",
|
||||||
|
"api",
|
||||||
|
"schema",
|
||||||
|
"seo",
|
||||||
|
"config",
|
||||||
|
"deps"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"subject-case": [2, "always", "lower-case"],
|
||||||
|
"subject-max-length": [2, "always", 72],
|
||||||
|
"body-max-line-length": [2, "always", 72]
|
||||||
|
}
|
||||||
|
}
|
||||||
1
.husky/commit-msg
Normal file
1
.husky/commit-msg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
npx --no -- commitlint --edit $1
|
||||||
1
.husky/pre-commit
Normal file
1
.husky/pre-commit
Normal file
@@ -0,0 +1 @@
|
|||||||
|
npm test
|
||||||
1259
package-lock.json
generated
1259
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "roi-theme",
|
"name": "roi-theme",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "WordPress theme con Clean Architecture para analisisdepreciosunitarios.com",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:bootstrap": "node build-bootstrap-subset.js",
|
"build:bootstrap": "node build-bootstrap-subset.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"prepare": "husky"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -18,9 +19,11 @@
|
|||||||
"url": "https://github.com/prime-leads-app/roi-theme/issues"
|
"url": "https://github.com/prime-leads-app/roi-theme/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/prime-leads-app/roi-theme#readme",
|
"homepage": "https://github.com/prime-leads-app/roi-theme#readme",
|
||||||
"description": "",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@commitlint/cli": "^20.1.0",
|
||||||
|
"@commitlint/config-conventional": "^20.0.0",
|
||||||
"glob": "^13.0.0",
|
"glob": "^13.0.0",
|
||||||
|
"husky": "^9.1.7",
|
||||||
"purgecss": "^7.0.2"
|
"purgecss": "^7.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user