Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit b0cfd3e

Browse files
authoredJul 15, 2021
build: upgrade angular to 12 (#24)
1 parent f2fef01 commit b0cfd3e

29 files changed

+395
-481
lines changed
 

‎.browserslistrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
last 1 Chrome version
1212
last 1 Firefox version
1313
last 2 Edge major versions
14-
last 2 Safari major version
14+
last 2 Safari major versions
1515
last 2 iOS major versions
1616
Firefox ESR
17-
not IE 9-11 # For IE 9-11 support, remove 'not'.
17+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

‎.editorconfig

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Editor configuration, see http://editorconfig.org
1+
# Editor configuration, see https://editorconfig.org
22
root = true
33

44
[*]
@@ -8,6 +8,9 @@ indent_size = 2
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

11+
[*.ts]
12+
quote_type = single
13+
1114
[*.md]
1215
max_line_length = off
1316
trim_trailing_whitespace = false

‎.eslintrc.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"parserOptions": {
12+
"project": [
13+
"tsconfig.json",
14+
"e2e/tsconfig.json"
15+
],
16+
"createDefaultProgram": true
17+
},
18+
"extends": [
19+
"plugin:@angular-eslint/recommended",
20+
"plugin:@angular-eslint/template/process-inline-templates"
21+
],
22+
"rules": {
23+
"@angular-eslint/directive-selector": [
24+
"off",
25+
{
26+
"type": "attribute",
27+
"prefix": "app",
28+
"style": "camelCase"
29+
}
30+
],
31+
"@angular-eslint/component-selector": [
32+
"off",
33+
{
34+
"type": "element",
35+
"prefix": "app",
36+
"style": "kebab-case"
37+
}
38+
],
39+
"@angular-eslint/no-host-metadata-property": [
40+
"off"
41+
]
42+
}
43+
},
44+
{
45+
"files": [
46+
"*.html"
47+
],
48+
"extends": [
49+
"plugin:@angular-eslint/template/recommended"
50+
],
51+
"rules": {}
52+
}
53+
]
54+
}

‎.gitignore

+41-44
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
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-
/__gen_lib
8-
/publish-es5
9-
/publish-es2015
10-
/publish
11-
12-
# dependencies
13-
/node_modules
14-
yarn.lock
15-
16-
# IDEs and editors
17-
/.idea
18-
.project
19-
.classpath
20-
.c9/
21-
*.launch
22-
.settings/
23-
*.sublime-workspace
24-
25-
# IDE - VSCode
26-
.vscode/*
27-
!.vscode/settings.json
28-
!.vscode/tasks.json
29-
!.vscode/launch.json
30-
!.vscode/extensions.json
31-
32-
# misc
33-
/.sass-cache
34-
/connect.lock
35-
/coverage
36-
/libpeerconnection.log
37-
npm-debug.log
38-
yarn-error.log
39-
testem.log
40-
/typings
41-
42-
# System Files
43-
.DS_Store
44-
Thumbs.db
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+
/publish
8+
/yarn.lock
9+
10+
# dependencies
11+
/node_modules
12+
13+
# IDEs and editors
14+
/.idea
15+
.project
16+
.classpath
17+
.c9/
18+
*.launch
19+
.settings/
20+
*.sublime-workspace
21+
22+
# IDE - VSCode
23+
.vscode/*
24+
!.vscode/settings.json
25+
!.vscode/tasks.json
26+
!.vscode/launch.json
27+
!.vscode/extensions.json
28+
29+
# misc
30+
/.sass-cache
31+
/connect.lock
32+
/coverage
33+
/libpeerconnection.log
34+
npm-debug.log
35+
yarn-error.log
36+
testem.log
37+
/typings
38+
39+
# System Files
40+
.DS_Store
41+
Thumbs.db

‎.npmignore

+66-66
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
# Logs
2-
logs
3-
*.log
4-
5-
# Runtime data
6-
pids
7-
*.pid
8-
*.seed
9-
10-
# Directory for instrumented libs generated by jscoverage/JSCover
11-
lib-cov
12-
13-
# Coverage directory used by tools like istanbul
14-
coverage
15-
16-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17-
.grunt
18-
19-
# Compiled binary addons (http://nodejs.org/api/addons.html)
20-
build/Release
21-
22-
# Dependency directory
23-
# Commenting this out is preferred by some people, see
24-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
25-
node_modules
26-
27-
# Users Environment Variables
28-
.lock-wscript
29-
.tsdrc
30-
31-
#IntelliJ configuration files
32-
.idea
33-
34-
dist
35-
dev
36-
docs
37-
lib
38-
test
39-
tmp
40-
41-
Thumbs.db
42-
.DS_Store
43-
44-
*.ts
45-
!*.d.ts
46-
47-
src/app/example*
48-
src/public
49-
typings
50-
*_spec.*
51-
CONTRIBUTING.md
52-
gulpfile.ts
53-
favicon.ico
54-
karma-shim.js
55-
karma.conf.js
56-
make.js
57-
protractor.conf.js
58-
test-main.js
59-
tsconfig.json
60-
tslint.json
61-
typedoc.json
62-
typings.json
63-
webpack.config.js
64-
*.yml
65-
.jshintrc
66-
.editorconfig
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
# Coverage directory used by tools like istanbul
14+
coverage
15+
16+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17+
.grunt
18+
19+
# Compiled binary addons (http://nodejs.org/api/addons.html)
20+
build/Release
21+
22+
# Dependency directory
23+
# Commenting this out is preferred by some people, see
24+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
25+
node_modules
26+
27+
# Users Environment Variables
28+
.lock-wscript
29+
.tsdrc
30+
31+
#IntelliJ configuration files
32+
.idea
33+
34+
dist
35+
dev
36+
docs
37+
lib
38+
test
39+
tmp
40+
41+
Thumbs.db
42+
.DS_Store
43+
44+
*.ts
45+
!*.d.ts
46+
47+
src/app/example*
48+
src/public
49+
typings
50+
*_spec.*
51+
CONTRIBUTING.md
52+
gulpfile.ts
53+
favicon.ico
54+
karma-shim.js
55+
karma.conf.js
56+
make.js
57+
protractor.conf.js
58+
test-main.js
59+
tsconfig.json
60+
tslint.json
61+
typedoc.json
62+
typings.json
63+
webpack.config.js
64+
*.yml
65+
.jshintrc
66+
.editorconfig

‎.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.14.1
1+
12.16.1

‎.prettierrc

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"printWidth": 80,
3-
"singleQuote": true,
4-
"trailingComma": "all"
5-
}
1+
{
2+
"printWidth": 140,
3+
"singleQuote": true,
4+
"trailingComma": "all"
5+
}

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class AppModule { }
5454

5555
```less
5656
// src/style.less
57-
@import '~ngx-simplemde/lib/index.less';
57+
@import '~ngx-simplemde/index.less';
5858
// Change existing parameters here:
5959
@simplemde-icon-url: '//at.alicdn.com/t/font_700857_mnodkd1cp9l766r';
6060
@simplemde-statusbar-lines: 'Lins:';

0 commit comments

Comments
 (0)
This repository has been archived.