chore: backup before OpenSpec installation

This commit is contained in:
FrankZamora
2025-12-05 12:51:08 -06:00
parent 61c67acca5
commit b40e5b671a
5 changed files with 1310 additions and 3 deletions

43
.commitlintrc.json Normal file
View 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
View File

@@ -0,0 +1 @@
npx --no -- commitlint --edit $1

1
.husky/pre-commit Normal file
View File

@@ -0,0 +1 @@
npm test

1259
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,12 @@
{
"name": "roi-theme",
"version": "1.0.0",
"description": "WordPress theme con Clean Architecture para analisisdepreciosunitarios.com",
"description": "",
"main": "index.js",
"scripts": {
"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": {
"type": "git",
@@ -18,9 +19,11 @@
"url": "https://github.com/prime-leads-app/roi-theme/issues"
},
"homepage": "https://github.com/prime-leads-app/roi-theme#readme",
"description": "",
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"glob": "^13.0.0",
"husky": "^9.1.7",
"purgecss": "^7.0.2"
}
}