regenerate lock

This commit is contained in:
Eugenio Romano 2017-06-30 01:19:47 +01:00
parent 8ead3d8aae
commit b3ae674f7a
26 changed files with 1696 additions and 1471 deletions

View File

@ -106,7 +106,7 @@ export class FormDemoComponent implements OnInit, AfterViewInit {
id => { id => {
this.formService.getFormDefinitionById(id).subscribe( this.formService.getFormDefinitionById(id).subscribe(
form => { form => {
this.form = this.formService.parseForm((form); this.form = this.formService.parseForm(form);
}, },
(error) => { (error) => {
this.showError = true; this.showError = true;

View File

@ -4,7 +4,6 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
const ExtractTextPlugin = require("extract-text-webpack-plugin"); const ExtractTextPlugin = require("extract-text-webpack-plugin");
const helpers = require('./helpers'); const helpers = require('./helpers');
const path = require('path'); const path = require('path');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
module.exports = { module.exports = {
entry: { entry: {
@ -26,7 +25,7 @@ module.exports = {
test: /\.js$/, test: /\.js$/,
include: [helpers.root('app'), helpers.root('../ng2-components')], include: [helpers.root('app'), helpers.root('../ng2-components')],
loader: 'source-map-loader', loader: 'source-map-loader',
exclude: [ /node_modules/, /public/, /resources/, /dist/] exclude: [/node_modules/, /public/, /resources/, /dist/]
}, },
{ {
enforce: 'pre', enforce: 'pre',
@ -36,18 +35,18 @@ module.exports = {
options: { options: {
emitErrors: true emitErrors: true
}, },
exclude: [ /node_modules/, /public/, /resources/, /dist/] exclude: [/node_modules/, /public/, /resources/, /dist/]
}, },
{ {
enforce: 'pre', enforce: 'pre',
test: /\.ts$/, test: /\.ts$/,
use: 'source-map-loader', use: 'source-map-loader',
exclude: [ /public/, /resources/, /dist/] exclude: [/public/, /resources/, /dist/]
}, },
{ {
test: /\.html$/, test: /\.html$/,
loader: 'html-loader', loader: 'html-loader',
exclude: [ /node_modules/, /public/, /resources/, /dist/] exclude: [/node_modules/, /public/, /resources/, /dist/]
}, },
{ {
test: /\.css$/, test: /\.css$/,
@ -71,7 +70,7 @@ module.exports = {
}, { }, {
loader: "sass-loader", loader: "sass-loader",
options: { options: {
includePaths: [ path.resolve(__dirname, '../../ng2-components/ng2-alfresco-core/styles')] includePaths: [path.resolve(__dirname, '../../ng2-components/ng2-alfresco-core/styles')]
} }
}] }]
}, },
@ -94,8 +93,6 @@ module.exports = {
}, },
plugins: [ plugins: [
new ForkTsCheckerWebpackPlugin(),
// Workaround for angular/angular#11580
new webpack.ContextReplacementPlugin( new webpack.ContextReplacementPlugin(
// The (\\|\/) piece accounts for path separators in *nix and Windows // The (\\|\/) piece accounts for path separators in *nix and Windows
/angular(\\|\/)core(\\|\/)@angular/, /angular(\\|\/)core(\\|\/)@angular/,

View File

@ -6,6 +6,7 @@ const helpers = require('./helpers');
const path = require('path'); const path = require('path');
const CopyWebpackPlugin = require('copy-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin');
var HappyPack = require('happypack'); var HappyPack = require('happypack');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const alfrescoLibs = [ const alfrescoLibs = [
'ng2-activiti-analytics', 'ng2-activiti-analytics',
@ -74,6 +75,8 @@ module.exports = webpackMerge(commonConfig, {
}, },
plugins: [ plugins: [
new ForkTsCheckerWebpackPlugin({tsconfig: "tsconfig.dev.json"}),
new HappyPack({ new HappyPack({
id: 'ts', id: 'ts',
threads: 8, threads: 8,

View File

@ -5,6 +5,7 @@ const commonConfig = require('./webpack.common.js');
const helpers = require('./helpers'); const helpers = require('./helpers');
const CopyWebpackPlugin = require('copy-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin');
var HappyPack = require('happypack'); var HappyPack = require('happypack');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const ENV = process.env.NODE_ENV = process.env.ENV = 'production'; const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
@ -54,6 +55,8 @@ module.exports = webpackMerge(commonConfig, {
}, },
plugins: [ plugins: [
new ForkTsCheckerWebpackPlugin(),
new HappyPack({ new HappyPack({
id: 'ts', id: 'ts',
threads: 4, threads: 4,

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"name": "Alfresco-Angular2-Demo", "name": "Alfresco-Angular2-Demo",
"description": "Demo shell for Alfresco Angular2 components", "description": "Demo shell for Alfresco Angular2 components",
"version": "1.6.0-beta6", "version": "1.6.1",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"build": "npm run server-versions && rimraf dist && npm run webpack -- --config config/webpack.prod.js --progress --profile --bail", "build": "npm run server-versions && rimraf dist && npm run webpack -- --config config/webpack.prod.js --progress --profile --bail",
@ -12,6 +12,7 @@
"test": "rimraf coverage && karma start --single-run", "test": "rimraf coverage && karma start --single-run",
"clean": "npm run clean-build && rimraf dist node_modules typings dist", "clean": "npm run clean-build && rimraf dist node_modules typings dist",
"clean-build": "rimraf 'app/{,**/}**.js' 'app/{,**/}**.js.map' 'app/{,**/}**.d.ts'", "clean-build": "rimraf 'app/{,**/}**.js' 'app/{,**/}**.js.map' 'app/{,**/}**.d.ts'",
"clean-lock": "rimraf package-lock.json",
"server-versions": "rimraf versions.json && npm list --depth=0 --json=true --prod=true > versions.json || exit 0", "server-versions": "rimraf versions.json && npm list --depth=0 --json=true --prod=true > versions.json || exit 0",
"webpack-dev-server": "node node_modules/webpack-dev-server/bin/webpack-dev-server.js", "webpack-dev-server": "node node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"webpack": "node node_modules/webpack/bin/webpack.js", "webpack": "node node_modules/webpack/bin/webpack.js",
@ -66,7 +67,7 @@
"@angular/platform-browser-dynamic": "~4.0.0", "@angular/platform-browser-dynamic": "~4.0.0",
"@angular/router": "~4.0.0", "@angular/router": "~4.0.0",
"@ngx-translate/core": "^7.0.0", "@ngx-translate/core": "^7.0.0",
"alfresco-js-api": "~1.6.0-beta6", "alfresco-js-api": "~1.6.1",
"chart.js": "2.5.0", "chart.js": "2.5.0",
"core-js": "2.4.1", "core-js": "2.4.1",
"dialog-polyfill": "^0.4.7", "dialog-polyfill": "^0.4.7",
@ -77,22 +78,22 @@
"md-date-time-picker": "2.2.0", "md-date-time-picker": "2.2.0",
"moment": "2.15.1", "moment": "2.15.1",
"ng2-3d-editor": "0.0.15", "ng2-3d-editor": "0.0.15",
"ng2-activiti-analytics": "1.6.0-beta6", "ng2-activiti-analytics": "1.6.1",
"ng2-activiti-diagrams": "1.6.0-beta6", "ng2-activiti-diagrams": "1.6.1",
"ng2-activiti-form": "1.6.0-beta6", "ng2-activiti-form": "1.6.1",
"ng2-activiti-processlist": "1.6.0-beta6", "ng2-activiti-processlist": "1.6.1",
"ng2-activiti-tasklist": "1.6.0-beta6", "ng2-activiti-tasklist": "1.6.1",
"ng2-alfresco-core": "1.6.0-beta6", "ng2-alfresco-core": "1.6.1",
"ng2-alfresco-datatable": "1.6.0-beta6", "ng2-alfresco-datatable": "1.6.1",
"ng2-alfresco-documentlist": "1.6.0-beta6", "ng2-alfresco-documentlist": "1.6.1",
"ng2-alfresco-login": "1.6.0-beta6", "ng2-alfresco-login": "1.6.1",
"ng2-alfresco-search": "1.6.0-beta6", "ng2-alfresco-search": "1.6.1",
"ng2-alfresco-social": "1.6.0-beta6", "ng2-alfresco-social": "1.6.1",
"ng2-alfresco-tag": "1.6.0-beta6", "ng2-alfresco-tag": "1.6.1",
"ng2-alfresco-upload": "1.6.0-beta6", "ng2-alfresco-upload": "1.6.1",
"ng2-alfresco-userinfo": "1.6.0-beta6", "ng2-alfresco-userinfo": "1.6.1",
"ng2-alfresco-viewer": "1.6.0-beta6", "ng2-alfresco-viewer": "1.6.1",
"ng2-alfresco-webscript": "1.6.0-beta6", "ng2-alfresco-webscript": "1.6.1",
"ng2-charts": "^1.6.0", "ng2-charts": "^1.6.0",
"pdfjs-dist": "1.5.404", "pdfjs-dist": "1.5.404",
"raphael": "2.2.7", "raphael": "2.2.7",

View File

@ -0,0 +1,56 @@
{
"compilerOptions": {
"baseUrl": ".",
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"noLib": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noImplicitAny": false,
"noImplicitReturns": false,
"noImplicitUseStrict": false,
"noFallthroughCasesInSwitch": true,
"removeComments": true,
"declaration": true,
"outDir": "./dist",
"lib": [
"es2015",
"dom"
],
"paths": {
"ng2-alfresco-core": ["../ng2-components/ng2-alfresco-core/"],
"ng2-alfresco-datatable": ["../ng2-components/ng2-alfresco-datatable/"],
"ng2-activiti-diagrams": ["../ng2-components/ng2-activiti-diagrams/"],
"ng2-activiti-analytics":["../ng2-components/ng2-activiti-analytics/"],
"ng2-activiti-form":["../ng2-components/ng2-activiti-form/"],
"ng2-activiti-tasklist": ["../ng2-components/ng2-activiti-tasklist/"],
"ng2-activiti-processlist": ["../ng2-components/ng2-activiti-processlist/"],
"ng2-alfresco-documentlist": ["../ng2-components/ng2-alfresco-documentlist/"],
"ng2-alfresco-login": ["../ng2-components/ng2-alfresco-login/"],
"ng2-alfresco-search": ["../ng2-components/ng2-alfresco-search/"],
"ng2-alfresco-social": ["../ng2-components/ng2-alfresco-social/"],
"ng2-alfresco-tag": ["../ng2-components/ng2-alfresco-tag/"],
"ng2-alfresco-upload": ["../ng2-components/ng2-alfresco-upload/"],
"ng2-alfresco-viewer": ["../ng2-components/ng2-alfresco-viewer/"],
"ng2-alfresco-webscript": ["../ng2-components/ng2-alfresco-webscript/"],
"ng2-alfresco-userinfo": ["../ng2-components/ng2-alfresco-userinfo/"],
"@angular/*": ["node_modules/@angular/*"],
"rxjs/*": ["node_modules/rxjs/*"]
},
"suppressImplicitAnyIndexErrors": true
},
"exclude": [
"demo",
"node_modules",
"dist"
],
"angularCompilerOptions": {
"strictMetadataEmit": false,
"skipTemplateCodegen": true
}
}

View File

@ -23,24 +23,6 @@
"dom" "dom"
], ],
"paths": { "paths": {
"ng2-alfresco-core": ["../ng2-components/ng2-alfresco-core/"],
"ng2-alfresco-datatable": ["../ng2-components/ng2-alfresco-datatable/"],
"ng2-activiti-diagrams": ["../ng2-components/ng2-activiti-diagrams/"],
"ng2-activiti-analytics":["../ng2-components/ng2-activiti-analytics/"],
"ng2-activiti-form":["../ng2-components/ng2-activiti-form/"],
"ng2-activiti-tasklist": ["../ng2-components/ng2-activiti-tasklist/"],
"ng2-activiti-processlist": ["../ng2-components/ng2-activiti-processlist/"],
"ng2-alfresco-documentlist": ["../ng2-components/ng2-alfresco-documentlist/"],
"ng2-alfresco-login": ["../ng2-components/ng2-alfresco-login/"],
"ng2-alfresco-search": ["../ng2-components/ng2-alfresco-search/"],
"ng2-alfresco-social": ["../ng2-components/ng2-alfresco-social/"],
"ng2-alfresco-tag": ["../ng2-components/ng2-alfresco-tag/"],
"ng2-alfresco-upload": ["../ng2-components/ng2-alfresco-upload/"],
"ng2-alfresco-viewer": ["../ng2-components/ng2-alfresco-viewer/"],
"ng2-alfresco-webscript": ["../ng2-components/ng2-alfresco-webscript/"],
"ng2-alfresco-userinfo": ["../ng2-components/ng2-alfresco-userinfo/"],
"@angular/*": ["../ng2-components/node_modules/@angular/*"],
"rxjs/*": ["../ng2-components/node_modules/rxjs/*"]
}, },
"suppressImplicitAnyIndexErrors": true "suppressImplicitAnyIndexErrors": true
}, },

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

File diff suppressed because it is too large Load Diff

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -137,9 +137,9 @@
"dev": true "dev": true
}, },
"alfresco-js-api": { "alfresco-js-api": {
"version": "1.6.0", "version": "1.6.1",
"resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.0.tgz", "resolved": "https://registry.npmjs.org/alfresco-js-api/-/alfresco-js-api-1.6.1.tgz",
"integrity": "sha512-DwbXyJbg0V5ktY7NDz2kx2BJrKhekOqnmGCH8qfVZPu+pqaI9hVRKskHNVYPyVBmsnNUcsCuSviMnw7gfiACxw==" "integrity": "sha512-rKSJr1SKcUi1ZcrOSAAP4IYP9TmT/f1y3GYXdfOQ6nesFwJK/ffAHiaTgGhyQb8CjdxbsBPLzWiy2LLgFu/W0g=="
}, },
"align-text": { "align-text": {
"version": "0.1.4", "version": "0.1.4",

View File

@ -5,6 +5,7 @@
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"clean": "rimraf node_modules", "clean": "rimraf node_modules",
"clean-lock": "rimraf package-lock.json",
"build": "npm run webpack -- --config config/webpack.build.js --progress --profile --bail", "build": "npm run webpack -- --config config/webpack.build.js --progress --profile --bail",
"pkg-build": "package-json-merge ng2-alfresco-core/package.json ng2-alfresco-datatable/package.json ng2-activiti-diagrams/package.json ng2-activiti-analytics/package.json ng2-activiti-form/package.json ng2-activiti-tasklist/package.json ng2-activiti-processlist/package.json ng2-alfresco-documentlist/package.json ng2-alfresco-login/package.json ng2-alfresco-search/package.json ng2-alfresco-tag/package.json ng2-alfresco-upload/package.json ng2-alfresco-viewer/package.json ng2-alfresco-webscript/package.json ng2-alfresco-webscript/package.json ng2-alfresco-userinfo/package.json ng2-alfresco-social/package.json package-base.json > package.json", "pkg-build": "package-json-merge ng2-alfresco-core/package.json ng2-alfresco-datatable/package.json ng2-activiti-diagrams/package.json ng2-activiti-analytics/package.json ng2-activiti-form/package.json ng2-activiti-tasklist/package.json ng2-activiti-processlist/package.json ng2-alfresco-documentlist/package.json ng2-alfresco-login/package.json ng2-alfresco-search/package.json ng2-alfresco-tag/package.json ng2-alfresco-upload/package.json ng2-alfresco-viewer/package.json ng2-alfresco-webscript/package.json ng2-alfresco-webscript/package.json ng2-alfresco-userinfo/package.json ng2-alfresco-social/package.json package-base.json > package.json",
"test": "node node_modules/karma/bin/karma start --reporters mocha,coverage --single-run --component .", "test": "node node_modules/karma/bin/karma start --reporters mocha,coverage --single-run --component .",

View File

@ -48,6 +48,8 @@ while [[ $1 == -* ]]; do
esac esac
done done
npm install rimraf -g
for PACKAGE in "$@" for PACKAGE in "$@"
do do
SELECTED_UNITS="$SELECTED_UNITS \"$PACKAGE\"" SELECTED_UNITS="$SELECTED_UNITS \"$PACKAGE\""
@ -64,15 +66,24 @@ for PACKAGE in ${projects[@]}
echo "====== $PACKAGE =====" echo "====== $PACKAGE ====="
DESTDIR="$DIR/../ng2-components/$PACKAGE" DESTDIR="$DIR/../ng2-components/$PACKAGE"
cd $DESTDIR cd $DESTDIR
npm install rimraf
npm run clean-lock npm run clean-lock
npm run clean npm run clean
npm install npm install
if $RUN_TEST == true; then if $RUN_TEST == true; then
test_project $PACKAGE test_project $PACKAGE
fi fi
done done
cd "$DIR/../demo-shell-ng2"
npm run clean-lock
npm run clean
npm install
cd "$DIR/../ng2-components"
npm run clean-lock
npm run clean
npm install
cd ${DIR}