Skip to content

Commit

Permalink
fix: compilation es2015
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Mar 13, 2019
1 parent d81764c commit 6965069
Show file tree
Hide file tree
Showing 53 changed files with 1,139 additions and 843 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"core-js": "^2.6.0",
"rxjs": "^6.3.3",
"systemjs": "0.19.43",
"tsickle": "0.34.0",
"tslib": "^1.9.3",
"zone.js": "^0.8.29"
},
Expand All @@ -38,6 +39,7 @@
"@angular/platform-browser-dynamic": "^7.2.1",
"@angular/platform-server": "^7.2.1",
"@angular/router": "^7.2.1",
"@angular/upgrade": "^7.2.9",
"@commitlint/cli": "^7.5.0",
"@commitlint/config-conventional": "^7.5.0",
"@octokit/rest": "^16.2.0",
Expand Down Expand Up @@ -82,8 +84,8 @@
"gulp-transform": "^2.0.0",
"gulp-util": "^3.0.8",
"highlight.js": "^9.13.1",
"http-rewrite-middleware": "^0.1.6",
"html-webpack-plugin": "^3.2.0",
"http-rewrite-middleware": "^0.1.6",
"husky": "^1.3.1",
"inquirer": "^6.2.1",
"jasmine-core": "^3.3.0",
Expand Down Expand Up @@ -143,6 +145,7 @@
"build:lib": "gulp mosaic:build-release",
"build:docs": "gulp docs",
"changelog": "gulp changelog",
"postinstall": "ngc -p angular.tsconfig.json",
"preinstall": "node ./tools/npm/check-npm.js",
"publish": "ts-node --project ./scripts/tsconfig.deploy.json ./scripts/deploy/publish-artifacts.ts",
"linter:lib": "gulp tslint",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/a11y/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/a11y",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/accordion/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/accordion",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/bidi/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/bidi",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/coercion/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/coercion",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/collections/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/collections",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/datetime/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/datetime",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/keycodes/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/keycodes",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/layout/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/layout",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/overlay/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/overlay",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/platform/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/platform",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/portal/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/portal",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/scrolling/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/scrolling",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/style-manager/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/style-manager",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/tree/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk/tree",
Expand Down
1 change: 1 addition & 0 deletions src/cdk/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/cdk",
Expand Down
1 change: 1 addition & 0 deletions src/lib/button/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/button",
Expand Down
1 change: 1 addition & 0 deletions src/lib/card/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/card",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/checkbox/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/checkbox",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/core/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/core",
Expand Down
1 change: 1 addition & 0 deletions src/lib/datepicker/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/datepicker",
Expand Down
1 change: 1 addition & 0 deletions src/lib/divider/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/divider",
Expand Down
1 change: 1 addition & 0 deletions src/lib/dropdown/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/dropdown",
Expand Down
1 change: 1 addition & 0 deletions src/lib/form-field/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/form-field",
Expand Down
1 change: 1 addition & 0 deletions src/lib/icon/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/icon",
Expand Down
1 change: 1 addition & 0 deletions src/lib/input/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/input",
Expand Down
1 change: 1 addition & 0 deletions src/lib/layout/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/layout",
Expand Down
1 change: 1 addition & 0 deletions src/lib/link/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/link",
Expand Down
1 change: 1 addition & 0 deletions src/lib/list/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/list",
Expand Down
1 change: 1 addition & 0 deletions src/lib/modal/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/modal",
Expand Down
1 change: 1 addition & 0 deletions src/lib/navbar/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/navbar",
Expand Down
1 change: 1 addition & 0 deletions src/lib/progress-bar/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/progress-bar",
Expand Down
1 change: 1 addition & 0 deletions src/lib/progress-spinner/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/progress-spinner",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/radio/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/radio",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/select/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/select",
Expand Down
1 change: 1 addition & 0 deletions src/lib/sidepanel/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/sidepanel",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/splitter/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/splitter",
Expand Down
1 change: 1 addition & 0 deletions src/lib/tabs/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/tabs",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/tag/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/tag",
Expand Down
1 change: 1 addition & 0 deletions src/lib/textarea/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/textarea",
Expand Down
1 change: 1 addition & 0 deletions src/lib/timepicker/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/timepicker",
Expand Down
5 changes: 4 additions & 1 deletion src/lib/toggle/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.build",
"files": ["public-api.ts"],
"files": [
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/toggle",
Expand Down
1 change: 1 addition & 0 deletions src/lib/tooltip/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"public-api.ts"
],
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@ptsecurity/mosaic/tooltip",
Expand Down
Loading

0 comments on commit 6965069

Please sign in to comment.