Skip to content

Commit 8e12d54

Browse files
authored
chore: bump angular to 20 (#29)
1 parent 442efb5 commit 8e12d54

26 files changed

+2068
-1973
lines changed

.editorconfig

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,47 @@
1-
# Editor configuration, see https://editorconfig.org
2-
root = true
3-
41
[*]
5-
charset = utf-8
6-
indent_style = space
7-
indent_size = 2
8-
insert_final_newline = true
9-
trim_trailing_whitespace = true
10-
11-
[*.ts]
12-
quote_type = single
13-
14-
[*.md]
15-
max_line_length = off
16-
trim_trailing_whitespace = false
2+
charset=utf-8
3+
end_of_line=lf
4+
trim_trailing_whitespace=true
5+
insert_final_newline=false
6+
indent_style=space
7+
indent_size=2
8+
9+
[{*.ng,*.sht,*.html,*.shtm,*.shtml,*.htm}]
10+
indent_style=space
11+
indent_size=2
12+
13+
[{.babelrc,.stylelintrc,.eslintrc,jest.config,*.json,*.jsb3,*.jsb2,*.bowerrc}]
14+
indent_style=space
15+
indent_size=2
16+
17+
[*.css]
18+
indent_style=space
19+
indent_size=2
20+
21+
[{*.applejs,*.js}]
22+
indent_style=space
23+
indent_size=2
24+
25+
[{*.ats,*.ts}]
26+
indent_style=space
27+
indent_size=2
28+
29+
[*.tsx]
30+
indent_style=space
31+
indent_size=2
32+
33+
[*.js]
34+
indent_style=space
35+
indent_size=2
36+
37+
[*.js.map]
38+
indent_style=space
39+
indent_size=2
40+
41+
[*.less]
42+
indent_style=space
43+
indent_size=2
44+
45+
[{.analysis_options,*.yml,*.yaml}]
46+
indent_style=space
47+
indent_size=2

.eslintrc.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: run
3131
run: yarn run test
3232

33-
- uses: codecov/codecov-action@v4
33+
- uses: codecov/codecov-action@v5
3434
name: upload
3535
with:
3636
token: ${{ secrets.CODECOV_TOKEN }}
@@ -66,11 +66,11 @@ jobs:
6666
- name: build
6767
run: |
6868
node ./node_modules/@angular/cli/bin/ng build --base-href /ngx-highlight-js/
69-
cp ./dist/browser/index.html ./dist/browser/404.html
70-
ls ./dist/browser
69+
cp ./dist/ngx-highlight-js/browser/index.html ./dist/ngx-highlight-js/browser/404.html
70+
ls ./dist/ngx-highlight-js/browser
7171
7272
- name: deploy-to-gh-pages
7373
uses: peaceiris/actions-gh-pages@v3
7474
with:
7575
github_token: ${{ secrets.GITHUB_TOKEN }}
76-
publish_dir: ./dist/browser
76+
publish_dir: ./dist/ngx-highlight-js/browser

.gitignore

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# Compiled output
4-
/dist
5-
/tmp
6-
/out-tsc
7-
/bazel-out
8-
9-
# Node
10-
/node_modules
11-
npm-debug.log
12-
yarn-error.log
13-
14-
# IDEs and editors
15-
.idea/
16-
.project
17-
.classpath
18-
.c9/
19-
*.launch
20-
.settings/
21-
*.sublime-workspace
22-
23-
# Visual Studio Code
24-
.vscode/*
25-
!.vscode/settings.json
26-
!.vscode/tasks.json
27-
!.vscode/launch.json
28-
!.vscode/extensions.json
29-
.history/*
30-
31-
# Miscellaneous
32-
/.angular/cache
33-
.sass-cache/
34-
/connect.lock
35-
/coverage
36-
/libpeerconnection.log
37-
testem.log
38-
/typings
39-
40-
# System files
41-
.DS_Store
42-
Thumbs.db
43-
44-
/publish
45-
/yarn.lock
46-
47-
/.angular/cache
48-
49-
# Yarn
50-
yarn.lock
51-
yarn-error.log
52-
.yarn/*
53-
!.yarn/patches
54-
!.yarn/plugins
55-
!.yarn/releases
56-
!.yarn/sdks
57-
!.yarn/versions
58-
.pnp.*
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
43+
44+
/publish
45+
/yarn.lock
46+
47+
/.angular/cache
48+
49+
# Yarn
50+
yarn.lock
51+
yarn-error.log
52+
.yarn/*
53+
!.yarn/patches
54+
!.yarn/plugins
55+
!.yarn/releases
56+
!.yarn/sdks
57+
!.yarn/versions
58+
.pnp.*

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.19.1
1+
22.16.0

.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

.prettierrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
singleQuote: true,
3+
useTabs: false,
4+
printWidth: 120,
5+
tabWidth: 2,
6+
semi: true,
7+
htmlWhitespaceSensitivity: 'strict',
8+
arrowParens: 'avoid',
9+
bracketSpacing: true,
10+
proseWrap: 'preserve',
11+
trailingComma: 'none',
12+
endOfLine: 'lf'
13+
};

.vscode/settings.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"editor.formatOnSave": true,
33
"editor.codeActionsOnSave": {
4-
"source.fixAll.eslint": "explicit",
5-
"source.fixAll.stylelint": "explicit"
4+
"source.fixAll": "explicit"
5+
},
6+
"[javascript]": {
7+
"editor.formatOnSave": false
68
}
7-
}
9+
}

.yarn/releases/yarn-4.5.2.cjs

Lines changed: 0 additions & 934 deletions
This file was deleted.

.yarn/releases/yarn-4.9.1.cjs

Lines changed: 948 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)