Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
angular
twitter-archive
Commits
4914826e
Commit
4914826e
authored
Jan 15, 2020
by
Zéfling
🎨
Browse files
Update to Angular 8
parent
a9fd813b
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
package-lock.json
View file @
4914826e
This diff is collapsed.
Click to expand it.
package.json
View file @
4914826e
...
...
@@ -11,31 +11,30 @@
},
"private"
:
true
,
"dependencies"
:
{
"
@angular/animations
"
:
"
~7.2.12
"
,
"
@angular/common
"
:
"
~7.2.12
"
,
"
@angular/compiler
"
:
"
~7.2.12
"
,
"
@angular/core
"
:
"
~7.2.12
"
,
"
@angular/forms
"
:
"
~7.2.12
"
,
"
@angular/http
"
:
"
~7.2.12
"
,
"
@angular/platform-browser
"
:
"
~7.2.12
"
,
"
@angular/platform-browser-dynamic
"
:
"
~7.2.12
"
,
"
@angular/router
"
:
"
~7.2.12
"
,
"
@angular/animations
"
:
"
~8.2.14
"
,
"
@angular/common
"
:
"
~8.2.14
"
,
"
@angular/compiler
"
:
"
~8.2.14
"
,
"
@angular/core
"
:
"
~8.2.14
"
,
"
@angular/forms
"
:
"
~8.2.14
"
,
"
@angular/platform-browser
"
:
"
~8.2.14
"
,
"
@angular/platform-browser-dynamic
"
:
"
~8.2.14
"
,
"
@angular/router
"
:
"
~8.2.14
"
,
"
bakujs
"
:
"
^0.3.0
"
,
"
core-js
"
:
"
^2.5.4
"
,
"
ngx-lightbox
"
:
"
^1.1
.0
"
,
"
rxjs
"
:
"
~6.
4.0
"
,
"
ngx-lightbox
"
:
"
^
2.
1.1
"
,
"
rxjs
"
:
"
~6.
5.4
"
,
"
tslib
"
:
"
^1.9.0
"
,
"
zone.js
"
:
"
~0.
8.26
"
"
zone.js
"
:
"
~0.
9.1
"
},
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
^
0.
13.1
"
,
"
@angular/cli
"
:
"
~
7
.3.
8
"
,
"
@angular/compiler-cli
"
:
"
~
7
.2.1
2
"
,
"
@angular/language-service
"
:
"
~
7
.2.1
2
"
,
"
@angular-devkit/build-angular
"
:
"
~
0.
803.22
"
,
"
@angular/cli
"
:
"
~
8
.3.
22
"
,
"
@angular/compiler-cli
"
:
"
~
8
.2.1
4
"
,
"
@angular/language-service
"
:
"
~
8
.2.1
4
"
,
"
@types/jasmine
"
:
"
~2.8.8
"
,
"
@types/jasminewd2
"
:
"
~2.0.3
"
,
"
@types/node
"
:
"
~8.9.4
"
,
"
codelyzer
"
:
"
~4.
5.0
"
,
"
codelyzer
"
:
"
^
5.0
.1
"
,
"
jasmine-core
"
:
"
~2.99.1
"
,
"
jasmine-spec-reporter
"
:
"
~4.2.1
"
,
"
karma
"
:
"
~3.0.0
"
,
...
...
@@ -46,6 +45,6 @@
"
protractor
"
:
"
~5.4.0
"
,
"
ts-node
"
:
"
~7.0.0
"
,
"
tslint
"
:
"
~5.11.0
"
,
"
typescript
"
:
"
~3.
2.4
"
"
typescript
"
:
"
~3.
5.3
"
}
}
src/app/tweets/tweets-calendar.component.scss
View file @
4914826e
...
...
@@ -10,7 +10,7 @@
[
footer-left
]
"b d f"
30px
[
footer-right
]
/
250px
1fr
250px
;
max-width
:
100%
;
&
/
deep
/
.key
{
&
::ng-
deep
.key
{
background-color
:
#fefe72
;
padding
:
2px
3px
;
margin
:
0
-3px
;
...
...
src/polyfills.ts
View file @
4914826e
...
...
@@ -18,57 +18,40 @@
* BROWSER POLYFILLS
*/
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
// import 'core-js/es6/symbol';
// import 'core-js/es6/object';
// import 'core-js/es6/function';
// import 'core-js/es6/parse-int';
// import 'core-js/es6/parse-float';
// import 'core-js/es6/number';
// import 'core-js/es6/math';
// import 'core-js/es6/string';
// import 'core-js/es6/date';
// import 'core-js/es6/array';
// import 'core-js/es6/regexp';
// import 'core-js/es6/map';
// import 'core-js/es6/weak-map';
// import 'core-js/es6/set';
/**
* If the application will be indexed by Google Search, the following is required.
* Googlebot uses a renderer based on Chrome 41.
* https://developers.google.com/search/docs/guides/rendering
**/
// import 'core-js/es6/array';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
// import 'core-js/es6/reflect';
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*
*/
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
* because those flags need to be set before `zone.js` being loaded, and webpack
* will put import in the top of bundle, so user need to create a separate file
* in this directory (for example: zone-flags.ts), and put the following flags
* into that file, and then add the following code before importing zone.js.
* import './zone-flags.ts';
*
* The flags allowed in zone-flags.ts are listed here.
*
* The following flags will work for all browsers.
*
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*
* (window as any).__Zone_enable_cross_context_check = true;
*
*/
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
/*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*/
// (window as any).__Zone_enable_cross_context_check = true;
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
...
...
tsconfig.json
View file @
4914826e
...
...
@@ -2,15 +2,16 @@
"compileOnSave"
:
false
,
"compilerOptions"
:
{
"baseUrl"
:
"./"
,
"downlevelIteration"
:
true
,
"importHelpers"
:
true
,
"outDir"
:
"./dist/out-tsc"
,
"sourceMap"
:
true
,
"declaration"
:
false
,
"module"
:
"es
2015
"
,
"module"
:
"es
next
"
,
"moduleResolution"
:
"node"
,
"emitDecoratorMetadata"
:
true
,
"experimentalDecorators"
:
true
,
"target"
:
"es
6
"
,
"target"
:
"es
2015
"
,
"typeRoots"
:
[
"node_modules/@types"
],
...
...
tslint.json
View file @
4914826e
...
...
@@ -118,12 +118,12 @@
"check-type"
],
"no-output-on-prefix"
:
true
,
"
use
-input
-property-decorator
"
:
true
,
"
use
-output
-property-decorator
"
:
true
,
"
use
-host-
property-decorator
"
:
true
,
"
no
-input
s-metadata-property
"
:
true
,
"
no
-output
s-metadata-property
"
:
true
,
"
no
-host-
metadata-property
"
:
true
,
"no-input-rename"
:
true
,
"no-output-rename"
:
true
,
"use-life
-
cycle-interface"
:
true
,
"use-lifecycle-interface"
:
true
,
"use-pipe-transform-interface"
:
true
,
"component-class-suffix"
:
true
,
"directive-class-suffix"
:
true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment