Skip to content

Commit

Permalink
feat: add onecx watermark (onecx#453)
Browse files Browse the repository at this point in the history
* feat: add onecx watermark, fix translations

* feat: add husky

* feat: add favicon

* fix: adjust text size on error pages

* fix: tuning error pages

* fix: tuning error pages 2

* fix: added missed html

* fix: code smells

* fix: code smells

* fix: code smells
  • Loading branch information
HenryT-CG authored Jan 3, 2025
1 parent fbd5d4c commit bda5ef4
Show file tree
Hide file tree
Showing 26 changed files with 2,982 additions and 494 deletions.
9 changes: 9 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-case": [2, "always", ["lowerCase"]],
"type-enum": [2, "always", ["build", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "ticket"]],
"subject-min-length": [2, "always", [5]],
"subject-max-length": [2, "always", [200]]
}
}
19 changes: 9 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,36 @@
# compiled output
dist
tmp
out-tsc
reports

# dependencies
node_modules

# profiling files
chrome-profiler-events*.json
speed-measure-plugin*.json

# IDEs and editors
.idea
.project
.classpath
.c9
.history
.settings
*.launch
*.sublime-workspace

# IDE - VSCode
.vscode
*.launch

# misc
.nx
.angular
.eslintcache
.husky/_
.sass-cache
.husky/_
.gitlab*
connect.lock
coverage
reports
typings
*.log
*.sh

# System Files
.DS_Store
Thumbs.db

2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

npx --no-install commitlint --edit $1
10 changes: 10 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# .husky/pre-commit

bash << EOF

echo "[Husky] Running lint check on changed files:"
nx lint --cache=true
echo "[Husky] Running prettier check on changed files:"
npx prettier -c --cache .

EOF
Loading

0 comments on commit bda5ef4

Please sign in to comment.