mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
regenerate lock
This commit is contained in:
@@ -106,7 +106,7 @@ export class FormDemoComponent implements OnInit, AfterViewInit {
|
||||
id => {
|
||||
this.formService.getFormDefinitionById(id).subscribe(
|
||||
form => {
|
||||
this.form = this.formService.parseForm((form);
|
||||
this.form = this.formService.parseForm(form);
|
||||
},
|
||||
(error) => {
|
||||
this.showError = true;
|
||||
|
@@ -4,7 +4,6 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||
const helpers = require('./helpers');
|
||||
const path = require('path');
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
@@ -26,7 +25,7 @@ module.exports = {
|
||||
test: /\.js$/,
|
||||
include: [helpers.root('app'), helpers.root('../ng2-components')],
|
||||
loader: 'source-map-loader',
|
||||
exclude: [ /node_modules/, /public/, /resources/, /dist/]
|
||||
exclude: [/node_modules/, /public/, /resources/, /dist/]
|
||||
},
|
||||
{
|
||||
enforce: 'pre',
|
||||
@@ -36,18 +35,18 @@ module.exports = {
|
||||
options: {
|
||||
emitErrors: true
|
||||
},
|
||||
exclude: [ /node_modules/, /public/, /resources/, /dist/]
|
||||
exclude: [/node_modules/, /public/, /resources/, /dist/]
|
||||
},
|
||||
{
|
||||
enforce: 'pre',
|
||||
test: /\.ts$/,
|
||||
use: 'source-map-loader',
|
||||
exclude: [ /public/, /resources/, /dist/]
|
||||
exclude: [/public/, /resources/, /dist/]
|
||||
},
|
||||
{
|
||||
test: /\.html$/,
|
||||
loader: 'html-loader',
|
||||
exclude: [ /node_modules/, /public/, /resources/, /dist/]
|
||||
exclude: [/node_modules/, /public/, /resources/, /dist/]
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
@@ -71,7 +70,7 @@ module.exports = {
|
||||
}, {
|
||||
loader: "sass-loader",
|
||||
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: [
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
// Workaround for angular/angular#11580
|
||||
new webpack.ContextReplacementPlugin(
|
||||
// The (\\|\/) piece accounts for path separators in *nix and Windows
|
||||
/angular(\\|\/)core(\\|\/)@angular/,
|
||||
|
@@ -6,6 +6,7 @@ const helpers = require('./helpers');
|
||||
const path = require('path');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
var HappyPack = require('happypack');
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
|
||||
const alfrescoLibs = [
|
||||
'ng2-activiti-analytics',
|
||||
@@ -74,6 +75,8 @@ module.exports = webpackMerge(commonConfig, {
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new ForkTsCheckerWebpackPlugin({tsconfig: "tsconfig.dev.json"}),
|
||||
|
||||
new HappyPack({
|
||||
id: 'ts',
|
||||
threads: 8,
|
||||
|
@@ -5,6 +5,7 @@ const commonConfig = require('./webpack.common.js');
|
||||
const helpers = require('./helpers');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
var HappyPack = require('happypack');
|
||||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
|
||||
|
||||
const ENV = process.env.NODE_ENV = process.env.ENV = 'production';
|
||||
|
||||
@@ -54,6 +55,8 @@ module.exports = webpackMerge(commonConfig, {
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
|
||||
new HappyPack({
|
||||
id: 'ts',
|
||||
threads: 4,
|
||||
|
755
demo-shell-ng2/package-lock.json
generated
755
demo-shell-ng2/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Alfresco-Angular2-Demo",
|
||||
"description": "Demo shell for Alfresco Angular2 components",
|
||||
"version": "1.6.0-beta6",
|
||||
"version": "1.6.1",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"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",
|
||||
"clean": "npm run clean-build && rimraf dist node_modules typings dist",
|
||||
"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",
|
||||
"webpack-dev-server": "node node_modules/webpack-dev-server/bin/webpack-dev-server.js",
|
||||
"webpack": "node node_modules/webpack/bin/webpack.js",
|
||||
@@ -66,7 +67,7 @@
|
||||
"@angular/platform-browser-dynamic": "~4.0.0",
|
||||
"@angular/router": "~4.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",
|
||||
"core-js": "2.4.1",
|
||||
"dialog-polyfill": "^0.4.7",
|
||||
@@ -77,22 +78,22 @@
|
||||
"md-date-time-picker": "2.2.0",
|
||||
"moment": "2.15.1",
|
||||
"ng2-3d-editor": "0.0.15",
|
||||
"ng2-activiti-analytics": "1.6.0-beta6",
|
||||
"ng2-activiti-diagrams": "1.6.0-beta6",
|
||||
"ng2-activiti-form": "1.6.0-beta6",
|
||||
"ng2-activiti-processlist": "1.6.0-beta6",
|
||||
"ng2-activiti-tasklist": "1.6.0-beta6",
|
||||
"ng2-alfresco-core": "1.6.0-beta6",
|
||||
"ng2-alfresco-datatable": "1.6.0-beta6",
|
||||
"ng2-alfresco-documentlist": "1.6.0-beta6",
|
||||
"ng2-alfresco-login": "1.6.0-beta6",
|
||||
"ng2-alfresco-search": "1.6.0-beta6",
|
||||
"ng2-alfresco-social": "1.6.0-beta6",
|
||||
"ng2-alfresco-tag": "1.6.0-beta6",
|
||||
"ng2-alfresco-upload": "1.6.0-beta6",
|
||||
"ng2-alfresco-userinfo": "1.6.0-beta6",
|
||||
"ng2-alfresco-viewer": "1.6.0-beta6",
|
||||
"ng2-alfresco-webscript": "1.6.0-beta6",
|
||||
"ng2-activiti-analytics": "1.6.1",
|
||||
"ng2-activiti-diagrams": "1.6.1",
|
||||
"ng2-activiti-form": "1.6.1",
|
||||
"ng2-activiti-processlist": "1.6.1",
|
||||
"ng2-activiti-tasklist": "1.6.1",
|
||||
"ng2-alfresco-core": "1.6.1",
|
||||
"ng2-alfresco-datatable": "1.6.1",
|
||||
"ng2-alfresco-documentlist": "1.6.1",
|
||||
"ng2-alfresco-login": "1.6.1",
|
||||
"ng2-alfresco-search": "1.6.1",
|
||||
"ng2-alfresco-social": "1.6.1",
|
||||
"ng2-alfresco-tag": "1.6.1",
|
||||
"ng2-alfresco-upload": "1.6.1",
|
||||
"ng2-alfresco-userinfo": "1.6.1",
|
||||
"ng2-alfresco-viewer": "1.6.1",
|
||||
"ng2-alfresco-webscript": "1.6.1",
|
||||
"ng2-charts": "^1.6.0",
|
||||
"pdfjs-dist": "1.5.404",
|
||||
"raphael": "2.2.7",
|
||||
|
56
demo-shell-ng2/tsconfig.dev.json
Normal file
56
demo-shell-ng2/tsconfig.dev.json
Normal 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
|
||||
}
|
||||
}
|
@@ -23,24 +23,6 @@
|
||||
"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/*": ["../ng2-components/node_modules/@angular/*"],
|
||||
"rxjs/*": ["../ng2-components/node_modules/rxjs/*"]
|
||||
},
|
||||
"suppressImplicitAnyIndexErrors": true
|
||||
},
|
||||
|
Reference in New Issue
Block a user