Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coloration
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typescript
coloration
Commits
4ff9c5c6
Commit
4ff9c5c6
authored
May 01, 2020
by
Zéfling
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ng update @angular/cli
parent
e39284b3
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
13366 additions
and
7054 deletions
+13366
-7054
CHANGELOG.md
CHANGELOG.md
+13
-0
angular.json
angular.json
+12
-2
browserslist
browserslist
+0
-0
package-lock.json
package-lock.json
+13292
-6994
package.json
package.json
+9
-11
projects/coloration/tsconfig.lib.json
projects/coloration/tsconfig.lib.json
+0
-1
projects/coloration/tsconfig.lib.prod.json
projects/coloration/tsconfig.lib.prod.json
+6
-0
src/polyfills.ts
src/polyfills.ts
+20
-37
src/tsconfig.app.json
src/tsconfig.app.json
+6
-3
tsconfig.json
tsconfig.json
+4
-2
tslint.json
tslint.json
+4
-4
No files found.
CHANGELOG.md
View file @
4ff9c5c6
# Changelog of coloration-lib
## V0.1.0 (2020-05-01)
### Feature
-
add alpha support
### Corrections
-
add more control
-
fix blue additionnal
-
fix bug with float values for rgb
-
update demo
## V0.0.4 (2019-01-23)
### Feature
...
...
angular.json
View file @
4ff9c5c6
...
...
@@ -10,13 +10,14 @@
"prefix"
:
"app"
,
"schematics"
:
{
"@schematics/angular:component"
:
{
"style
ext
"
:
"scss"
"style"
:
"scss"
}
},
"architect"
:
{
"build"
:
{
"builder"
:
"@angular-devkit/build-angular:browser"
,
"options"
:
{
"aot"
:
true
,
"outputPath"
:
"dist/coloration-demo"
,
"index"
:
"src/index.html"
,
"main"
:
"src/main.ts"
,
...
...
@@ -53,6 +54,10 @@
"type"
:
"initial"
,
"maximumWarning"
:
"2mb"
,
"maximumError"
:
"5mb"
},
{
"type"
:
"anyComponentStyle"
,
"maximumWarning"
:
"6kb"
}
]
}
...
...
@@ -146,7 +151,12 @@
"tsConfig"
:
"projects/coloration/tsconfig.lib.json"
,
"project"
:
"projects/coloration/ng-package.json"
}
},
,
"configurations"
:
{
"production"
:
{
"tsConfig"
:
"projects/coloration/tsconfig.lib.prod.json"
}
}
},
"test"
:
{
"builder"
:
"@angular-devkit/build-angular:karma"
,
"options"
:
{
...
...
src/
browserslist
→
browserslist
View file @
4ff9c5c6
File moved
package-lock.json
View file @
4ff9c5c6
This diff is collapsed.
Click to expand it.
package.json
View file @
4ff9c5c6
...
...
@@ -21,24 +21,24 @@
"
@angular/compiler
"
:
"
~7.0.0
"
,
"
@angular/core
"
:
"
~7.0.0
"
,
"
@angular/forms
"
:
"
~7.0.0
"
,
"
@angular/http
"
:
"
~7.0.0
"
,
"
@angular/platform-browser
"
:
"
~7.0.0
"
,
"
@angular/platform-browser-dynamic
"
:
"
~7.0.0
"
,
"
@angular/router
"
:
"
~7.0.0
"
,
"
core-js
"
:
"
^2.5.4
"
,
"
rxjs
"
:
"
~6.3.3
"
,
"
zone.js
"
:
"
~0.8.26
"
"
rxjs
"
:
"
~6.5.5
"
,
"
tslib
"
:
"
^1.10.0
"
,
"
zone.js
"
:
"
~0.10.2
"
},
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
~0.
10.0
"
,
"
@angular-devkit/build-ng-packagr
"
:
"
~0.
10.0
"
,
"
@angular/cli
"
:
"
~
7.0
.4
"
,
"
@angular-devkit/build-angular
"
:
"
~0.
901.4
"
,
"
@angular-devkit/build-ng-packagr
"
:
"
~0.
901.4
"
,
"
@angular/cli
"
:
"
~
9.1
.4
"
,
"
@angular/compiler-cli
"
:
"
~7.0.0
"
,
"
@angular/language-service
"
:
"
~7.0.0
"
,
"
@types/node
"
:
"
~8.9.4
"
,
"
@types/node
"
:
"
^12.11.1
"
,
"
@types/jasmine
"
:
"
~2.8.8
"
,
"
@types/jasminewd2
"
:
"
~2.0.3
"
,
"
codelyzer
"
:
"
~4.5.0
"
,
"
codelyzer
"
:
"
^5.1.2
"
,
"
jasmine-core
"
:
"
~2.99.1
"
,
"
jasmine-spec-reporter
"
:
"
~4.2.1
"
,
"
karma
"
:
"
~3.0.0
"
,
...
...
@@ -46,11 +46,9 @@
"
karma-coverage-istanbul-reporter
"
:
"
~2.0.1
"
,
"
karma-jasmine
"
:
"
~1.1.2
"
,
"
karma-jasmine-html-reporter
"
:
"
^0.2.2
"
,
"
ng-packagr
"
:
"
^
4.2
.0
"
,
"
ng-packagr
"
:
"
^
9.0
.0
"
,
"
protractor
"
:
"
~5.4.0
"
,
"
ts-node
"
:
"
~7.0.0
"
,
"
tsickle
"
:
"
>=0.29.0
"
,
"
tslib
"
:
"
^1.9.0
"
,
"
tslint
"
:
"
~5.11.0
"
,
"
typescript
"
:
"
~3.1.1
"
}
...
...
projects/coloration/tsconfig.lib.json
View file @
4ff9c5c6
...
...
@@ -18,7 +18,6 @@
]
},
"angularCompilerOptions"
:
{
"annotateForClosureCompiler"
:
true
,
"skipTemplateCodegen"
:
true
,
"strictMetadataEmit"
:
true
,
"fullTemplateTypeCheck"
:
true
,
...
...
projects/coloration/tsconfig.lib.prod.json
0 → 100644
View file @
4ff9c5c6
{
"extends"
:
"./tsconfig.lib.json"
,
"angularCompilerOptions"
:
{
"enableIvy"
:
false
}
}
\ No newline at end of file
src/polyfills.ts
View file @
4ff9c5c6
...
...
@@ -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';
*
* 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.
*/
...
...
src/tsconfig.app.json
View file @
4ff9c5c6
...
...
@@ -4,8 +4,11 @@
"outDir"
:
"../out-tsc/app"
,
"types"
:
[]
},
"exclude"
:
[
"test.ts"
,
"**/*.spec.ts"
"files"
:
[
"main.ts"
,
"polyfills.ts"
],
"include"
:
[
"src/**/*.d.ts"
]
}
tsconfig.json
View file @
4ff9c5c6
...
...
@@ -2,14 +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"
:
"es5"
,
"target"
:
"es
201
5"
,
"typeRoots"
:
[
"node_modules/@types"
],
...
...
tslint.json
View file @
4ff9c5c6
...
...
@@ -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-inputs-metadata-property
"
:
true
,
"
no-outputs-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
Markdown
is supported
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