Skip to content

Commit

Permalink
Merge pull request #53 from joematthews/update-to-angular-19-with-rework
Browse files Browse the repository at this point in the history
Update to Angular 19 with rework
  • Loading branch information
joematthews authored Jan 19, 2025
2 parents 60ccb0f + 71da0af commit 287729b
Show file tree
Hide file tree
Showing 40 changed files with 10,302 additions and 11,489 deletions.
25 changes: 23 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,32 @@
// language - current active spelling language
"language": "en",
// words - list of words to be always considered correct
"words": [],
"words": ["joematthews", "lintstagedrc", "robbyrussel", "Webstorm"],
// flagWords - list of words to be always considered incorrect
// This is useful for offensive words and common spelling errors.
// For example "hte" should be "the"
"flagWords": [],
"caseSensitive": false,
"useGitignore": true
"useGitignore": true,
"dictionaries": [
"bash",
"companies",
"cpp",
"csharp",
"css",
"filetypes",
"fonts",
"go",
"html",
"latex",
"misc",
"node",
"npm",
"php",
"powershell",
"python",
"softwareTerms",
"typescript"
],
"ignorePaths": []
}
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,ts,css,scss,sh,html,json}]
indent_size = 2

[*.ts]
quote_type = single
ij_typescript_use_double_quotes = false

[*.{js,cjs}]
quote_type = single

[*.md]
max_line_length = off
Expand Down
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

70 changes: 0 additions & 70 deletions .eslintrc.json

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "On Pull Request"

on: pull_request

jobs:
validate-code:
uses: ./.github/workflows/validate-code.yml
14 changes: 14 additions & 0 deletions .github/workflows/validate-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Validate Code

on: workflow_call

jobs:
called-workflow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci --ignore-scripts
- run: npm run ci:all
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
Expand Down Expand Up @@ -36,7 +36,7 @@ yarn-error.log
/libpeerconnection.log
testem.log
/typings
/notes
/.husky/_

# System files
.DS_Store
Expand Down
10 changes: 9 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/bash

npx --no -- commitlint --edit ${1}
npx --no -- commitlint --edit ${1} || {
# Print if commit message fails
echo -e 'Example conventional-commit messages:'
echo -e '- "feat: add user service for authentication"'
echo -e '- "fix(auth): correct validation error in login form"'
echo -e '- "chore(ci): update CI configuration to use Node 22"'
echo -e ''
exit 1
}
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test:ci
npm run ci:all
3 changes: 0 additions & 3 deletions .husky/prepare-commit-msg

This file was deleted.

1 change: 0 additions & 1 deletion .ignore

This file was deleted.

6 changes: 3 additions & 3 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"**/*.{js,ts,html,json,md}": "eslint",
"**/*.{js,ts,html,json}": "eslint",
"**/*.{css,scss}": "stylelint",
"**/*.{js,ts,html,css,md,json,sh}": "prettier --write",
"src/**/*": "cspell",
"**/*.{js,ts,css,scss,sh,html,md,json,yaml,yml}": "prettier --write --log-level warn",
"src/**/*": "cspell --quiet",
"**/*.ts": "tsc-files --noEmit"
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v22
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

2 changes: 0 additions & 2 deletions .stylelintignore

This file was deleted.

4 changes: 1 addition & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"streetsidesoftware.code-spell-checker",
"VisualStudioExptTeam.vscodeintellicode",
"VisualStudioExptTeam.vscodeintellicode-completions"
"streetsidesoftware.code-spell-checker"
]
}
6 changes: 1 addition & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"type": "chrome",
"request": "launch",
"preLaunchTask": "npm: start",
"url": "http://localhost:4200/",
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
]
"url": "http://localhost:4200/"
},
{
"name": "ng test",
Expand Down
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"source.fixAll": "explicit"
},
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 2000,
"search.useIgnoreFiles": true,
"files.autoSaveDelay": 3000,
"css.validate": false,
"scss.validate": false,
"stylelint.validate": ["css", "scss"]
}
4 changes: 3 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
The MIT License

Copyright (c) 2024 Joe Matthews
Copyright (c) 2010-2024 Google LLC. https://angular.dev/license

Copyright (c) 2024-2025 Joe Matthews, et al. https://github.com/joematthews/extreme-angular

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
Loading

0 comments on commit 287729b

Please sign in to comment.