-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update to Angular19
- Loading branch information
Showing
62 changed files
with
4,462 additions
and
4,035 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = { | ||
// automatically extends root eslint-config (which extends @shiftcode/eslint-config-recommended for TS) | ||
extends: ['@shiftcode/eslint-config-recommended/ng-config'], | ||
ignorePatterns: ['src/assets/**/*'], | ||
overrides: [ | ||
{ | ||
plugins: ['@shiftcode/rules'], | ||
files: ['*.ts'], | ||
rules: { | ||
'import/no-extraneous-dependencies': ['error', { packageDir: '../..' }], | ||
'import/no-internal-modules': [ | ||
'error', | ||
{ | ||
allow: ['rxjs/*'], | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
parserOptions: { | ||
project: ['./tsconfig.eslint.json'], | ||
tsconfigRootDir: __dirname, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"*.{ts,html}": | ||
- npm run prettier:staged | ||
- npm run lint:staged | ||
src/**/*.scss: | ||
- npm run prettier:staged | ||
# sort package.json keys | ||
./package.json: | ||
- sort-package-json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@shiftcode/styleguide", | ||
"private": true, | ||
"scripts": { | ||
"lint": "npm run lint:ci -- --fix", | ||
"lint:ci": "eslint ./src", | ||
"lint:staged": "eslint --fix", | ||
"prettier": "prettier --write --config ../../.prettierrc.yml 'src/**/*.{ts,html,scss}'", | ||
"prettier:staged": "prettier --write --config ../../.prettierrc.yml" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ | |
} | ||
|
||
li { | ||
|
||
} | ||
|
||
a { | ||
|
@@ -40,7 +39,6 @@ | |
} | ||
} | ||
|
||
|
||
::ng-deep { | ||
h2 { | ||
font-size: 24px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Styleguide</title> | ||
<base href="/"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Styleguide</title> | ||
<base href="/" /> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<style type="text/css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico" /> | ||
<style type="text/css"> | ||
html { | ||
box-sizing: border-box; | ||
} | ||
|
||
html { | ||
box-sizing: border-box; | ||
} | ||
body, | ||
html { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
} | ||
|
||
body, html { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0 | ||
} | ||
|
||
html { | ||
overflow-x: hidden; | ||
overflow-y: scroll; | ||
-webkit-overflow-scrolling: touch | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<sg-root></sg-root> | ||
</body> | ||
html { | ||
overflow-x: hidden; | ||
overflow-y: scroll; | ||
-webkit-overflow-scrolling: touch; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<sg-root></sg-root> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
apps/styleguide/src/routes/sg-autofocus/sg-autofocus.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
button { | ||
padding: 12px; | ||
|
||
} | ||
|
||
*:focus { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.