Browse Source

Imports improved.

pull/356/head
Sebastian 7 years ago
parent
commit
1c02122130
  1. 10
      src/Squidex/app-config/webpack.config.js
  2. 1
      src/Squidex/app-config/webpack.run.base.js
  3. 7
      src/Squidex/app/features/administration/declarations.ts
  4. 3
      src/Squidex/app/features/administration/guards/unset-user.guard.spec.ts
  5. 2
      src/Squidex/app/features/administration/guards/unset-user.guard.ts
  6. 3
      src/Squidex/app/features/administration/guards/user-must-exist.guard.spec.ts
  7. 2
      src/Squidex/app/features/administration/guards/user-must-exist.guard.ts
  8. 13
      src/Squidex/app/features/administration/internal.ts
  9. 2
      src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts
  10. 2
      src/Squidex/app/features/administration/pages/users/user-page.component.ts
  11. 2
      src/Squidex/app/features/administration/pages/users/users-page.component.ts
  12. 4
      src/Squidex/app/features/administration/state/event-consumers.state.spec.ts
  13. 6
      src/Squidex/app/features/administration/state/users.state.spec.ts
  14. 2
      src/Squidex/app/framework/angular/forms/error-formatting.ts
  15. 2
      src/Squidex/app/framework/angular/forms/file-drop.directive.ts
  16. 2
      src/Squidex/app/framework/angular/forms/forms-helper.ts
  17. 2
      src/Squidex/app/framework/angular/forms/validators.spec.ts
  18. 2
      src/Squidex/app/framework/angular/http/caching.interceptor.ts
  19. 9
      src/Squidex/app/framework/angular/http/http-extensions.ts
  20. 4
      src/Squidex/app/framework/angular/modals/dialog-renderer.component.ts
  21. 3
      src/Squidex/app/framework/angular/modals/modal-target.directive.ts
  22. 3
      src/Squidex/app/framework/angular/modals/tooltip.directive.ts
  23. 2
      src/Squidex/app/framework/angular/pipes/date-time.pipes.spec.ts
  24. 2
      src/Squidex/app/framework/angular/pipes/money.pipe.spec.ts
  25. 2
      src/Squidex/app/framework/angular/shortcut.component.spec.ts
  26. 2
      src/Squidex/app/framework/angular/stateful.component.ts
  27. 2
      src/Squidex/app/framework/services/analytics.service.ts
  28. 1
      src/Squidex/app/framework/state.ts
  29. 2
      src/Squidex/app/shared/components/asset.component.ts
  30. 12
      src/Squidex/app/shared/declarations.ts
  31. 3
      src/Squidex/app/shared/guards/content-must-exist.guard.spec.ts
  32. 3
      src/Squidex/app/shared/guards/schema-must-exist-published.guard.spec.ts
  33. 3
      src/Squidex/app/shared/guards/schema-must-exist.guard.spec.ts
  34. 3
      src/Squidex/app/shared/guards/schema-must-not-be-singleton.guard.spec.ts
  35. 2
      src/Squidex/app/shared/guards/unset-app.guard.spec.ts
  36. 2
      src/Squidex/app/shared/guards/unset-content.guard.spec.ts
  37. 7
      src/Squidex/app/shared/interceptors/auth.interceptor.spec.ts
  38. 12
      src/Squidex/app/shared/internal.ts
  39. 2
      src/Squidex/app/shared/services/app-languages.service.spec.ts
  40. 2
      src/Squidex/app/shared/services/apps.service.spec.ts
  41. 2
      src/Squidex/app/shared/services/assets.service.spec.ts
  42. 2
      src/Squidex/app/shared/services/backups.service.spec.ts
  43. 2
      src/Squidex/app/shared/services/clients.service.spec.ts
  44. 2
      src/Squidex/app/shared/services/comments.service.spec.ts
  45. 2
      src/Squidex/app/shared/services/contents.service.spec.ts
  46. 2
      src/Squidex/app/shared/services/contributors.service.spec.ts
  47. 2
      src/Squidex/app/shared/services/graphql.service.spec.ts
  48. 2
      src/Squidex/app/shared/services/help.service.spec.ts
  49. 5
      src/Squidex/app/shared/services/history.service.spec.ts
  50. 2
      src/Squidex/app/shared/services/languages.service.spec.ts
  51. 2
      src/Squidex/app/shared/services/news.service.spec.ts
  52. 2
      src/Squidex/app/shared/services/patterns.service.spec.ts
  53. 2
      src/Squidex/app/shared/services/plans.service.spec.ts
  54. 2
      src/Squidex/app/shared/services/roles.service.spec.ts
  55. 2
      src/Squidex/app/shared/services/rules.service.spec.ts
  56. 2
      src/Squidex/app/shared/services/schemas.service.spec.ts
  57. 2
      src/Squidex/app/shared/services/translations.service.spec.ts
  58. 2
      src/Squidex/app/shared/services/ui.service.spec.ts
  59. 2
      src/Squidex/app/shared/services/usages.service.spec.ts
  60. 2
      src/Squidex/app/shared/services/users-provider.service.spec.ts
  61. 2
      src/Squidex/app/shared/services/users.service.spec.ts
  62. 2
      src/Squidex/app/shared/state/apps.state.spec.ts
  63. 6
      src/Squidex/app/shared/state/asset-uploader.state.spec.ts
  64. 2
      src/Squidex/app/shared/state/asset-uploader.state.ts
  65. 2
      src/Squidex/app/shared/state/assets.state.spec.ts
  66. 2
      src/Squidex/app/shared/state/backups.state.spec.ts
  67. 2
      src/Squidex/app/shared/state/clients.state.spec.ts
  68. 2
      src/Squidex/app/shared/state/comments.state.spec.ts
  69. 5
      src/Squidex/app/shared/state/contents.forms.spec.ts
  70. 2
      src/Squidex/app/shared/state/contributors.state.spec.ts
  71. 2
      src/Squidex/app/shared/state/filter.state.spec.ts
  72. 4
      src/Squidex/app/shared/state/filter.state.ts
  73. 2
      src/Squidex/app/shared/state/languages.forms.ts
  74. 2
      src/Squidex/app/shared/state/languages.state.spec.ts
  75. 2
      src/Squidex/app/shared/state/patterns.state.spec.ts
  76. 2
      src/Squidex/app/shared/state/plans.state.spec.ts
  77. 2
      src/Squidex/app/shared/state/queries.spec.ts
  78. 2
      src/Squidex/app/shared/state/roles.state.spec.ts
  79. 2
      src/Squidex/app/shared/state/rule-events.state.spec.ts
  80. 2
      src/Squidex/app/shared/state/rules.state.spec.ts
  81. 2
      src/Squidex/app/shared/state/schemas.forms.ts
  82. 2
      src/Squidex/app/shared/state/schemas.state.spec.ts
  83. 2
      src/Squidex/app/shared/state/ui.state.spec.ts
  84. 18
      src/Squidex/package-lock.json
  85. 1
      src/Squidex/package.json

10
src/Squidex/app-config/webpack.config.js

@ -6,7 +6,9 @@ const plugins = {
// https://github.com/webpack-contrib/mini-css-extract-plugin // https://github.com/webpack-contrib/mini-css-extract-plugin
MiniCssExtractPlugin: require('mini-css-extract-plugin'), MiniCssExtractPlugin: require('mini-css-extract-plugin'),
// https://github.com/dividab/tsconfig-paths-webpack-plugin // https://github.com/dividab/tsconfig-paths-webpack-plugin
TsconfigPathsPlugin: require('tsconfig-paths-webpack-plugin') TsconfigPathsPlugin: require('tsconfig-paths-webpack-plugin'),
// https://github.com/aackerman/circular-dependency-plugin
CircularDependencyPlugin: require('circular-dependency-plugin')
}; };
const isDevServer = path.basename(require.main.filename) === 'webpack-dev-server.js'; const isDevServer = path.basename(require.main.filename) === 'webpack-dev-server.js';
@ -140,6 +142,12 @@ module.exports = {
context: '/' context: '/'
} }
}), }),
new plugins.CircularDependencyPlugin({
exclude: /([\\\/]node_modules[\\\/])|(ngfactory\.js$)/,
// Add errors to webpack instead of warnings
failOnError: true
}),
new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/) new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/)
] ]

1
src/Squidex/app-config/webpack.run.base.js

@ -5,6 +5,7 @@
commonConfig = require('./webpack.config.js'); commonConfig = require('./webpack.config.js');
const plugins = { const plugins = {
// https://github.com/jantimon/html-webpack-plugin
HtmlWebpackPlugin: require('html-webpack-plugin') HtmlWebpackPlugin: require('html-webpack-plugin')
}; };

7
src/Squidex/app/features/administration/declarations.ts

@ -15,9 +15,4 @@ export * from './pages/restore/restore-page.component';
export * from './pages/users/user-page.component'; export * from './pages/users/user-page.component';
export * from './pages/users/users-page.component'; export * from './pages/users/users-page.component';
export * from './services/event-consumers.service'; export * from './internal';
export * from './services/users.service';
export * from './state/event-consumers.state';
export * from './state/users.forms';
export * from './state/users.state';

3
src/Squidex/app/features/administration/guards/unset-user.guard.spec.ts

@ -8,7 +8,8 @@
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { UsersState } from './../state/users.state'; import { UsersState } from '@app/features/administration/internal';
import { UnsetUserGuard } from './unset-user.guard'; import { UnsetUserGuard } from './unset-user.guard';
describe('UnsetUserGuard', () => { describe('UnsetUserGuard', () => {

2
src/Squidex/app/features/administration/guards/unset-user.guard.ts

@ -10,7 +10,7 @@ import { CanActivate } from '@angular/router';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { map } from 'rxjs/operators'; import { map } from 'rxjs/operators';
import { UsersState } from './../state/users.state'; import { UsersState } from '@app/features/administration/internal';
@Injectable() @Injectable()
export class UnsetUserGuard implements CanActivate { export class UnsetUserGuard implements CanActivate {

3
src/Squidex/app/features/administration/guards/user-must-exist.guard.spec.ts

@ -9,7 +9,8 @@ import { Router } from '@angular/router';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { SnapshotUser, UsersState } from './../state/users.state'; import { SnapshotUser, UsersState } from '@app/features/administration/internal';
import { UserMustExistGuard } from './user-must-exist.guard'; import { UserMustExistGuard } from './user-must-exist.guard';
describe('UserMustExistGuard', () => { describe('UserMustExistGuard', () => {

2
src/Squidex/app/features/administration/guards/user-must-exist.guard.ts

@ -12,7 +12,7 @@ import { map, tap } from 'rxjs/operators';
import { allParams } from '@app/framework'; import { allParams } from '@app/framework';
import { UsersState } from './../state/users.state'; import { UsersState } from '@app/features/administration/internal';
@Injectable() @Injectable()
export class UserMustExistGuard implements CanActivate { export class UserMustExistGuard implements CanActivate {

13
src/Squidex/app/features/administration/internal.ts

@ -0,0 +1,13 @@
/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
export * from './services/event-consumers.service';
export * from './services/users.service';
export * from './state/event-consumers.state';
export * from './state/users.forms';
export * from './state/users.state';

2
src/Squidex/app/features/administration/pages/event-consumers/event-consumers-page.component.ts

@ -11,7 +11,7 @@ import { onErrorResumeNext, switchMap } from 'rxjs/operators';
import { DialogModel, ResourceOwner } from '@app/shared'; import { DialogModel, ResourceOwner } from '@app/shared';
import { EventConsumerDto, EventConsumersState } from '../../declarations'; import { EventConsumerDto, EventConsumersState } from '@app/features/administration/internal';
@Component({ @Component({
selector: 'sqx-event-consumers-page', selector: 'sqx-event-consumers-page',

2
src/Squidex/app/features/administration/pages/users/user-page.component.ts

@ -16,7 +16,7 @@ import {
UserDto, UserDto,
UserForm, UserForm,
UsersState UsersState
} from '../../declarations'; } from '@app/features/administration/internal';
@Component({ @Component({
selector: 'sqx-user-page', selector: 'sqx-user-page',

2
src/Squidex/app/features/administration/pages/users/users-page.component.ts

@ -8,7 +8,7 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms'; import { FormControl } from '@angular/forms';
import { UserDto, UsersState } from '../../declarations'; import { UserDto, UsersState } from '@app/features/administration/internal';
@Component({ @Component({
selector: 'sqx-users-page', selector: 'sqx-users-page',

4
src/Squidex/app/features/administration/state/event-consumers.state.spec.ts

@ -9,9 +9,9 @@ import { of, throwError } from 'rxjs';
import { onErrorResumeNext } from 'rxjs/operators'; import { onErrorResumeNext } from 'rxjs/operators';
import { IMock, It, Mock, Times } from 'typemoq'; import { IMock, It, Mock, Times } from 'typemoq';
import { DialogService } from '@app/shared'; import { DialogService } from '@app/framework';
import { EventConsumerDto, EventConsumersService } from './../services/event-consumers.service'; import { EventConsumerDto, EventConsumersService } from '@app/features/administration/internal';
import { EventConsumersState } from './event-consumers.state'; import { EventConsumersState } from './event-consumers.state';
describe('EventConsumersState', () => { describe('EventConsumersState', () => {

6
src/Squidex/app/features/administration/state/users.state.spec.ts

@ -10,13 +10,13 @@ import { IMock, It, Mock, Times } from 'typemoq';
import { AuthService, DialogService } from '@app/shared'; import { AuthService, DialogService } from '@app/shared';
import { SnapshotUser, UsersState } from './users.state';
import { import {
UserDto, UserDto,
UsersDto, UsersDto,
UsersService UsersService
} from './../services/users.service'; } from '@app/features/administration/internal';
import { SnapshotUser, UsersState } from './users.state';
describe('UsersState', () => { describe('UsersState', () => {
const oldUsers = [ const oldUsers = [

2
src/Squidex/app/framework/angular/forms/error-formatting.ts

@ -5,7 +5,7 @@
* Copyright (c) Sebastian Stehle. All rights r vbeserved * Copyright (c) Sebastian Stehle. All rights r vbeserved
*/ */
import { Types } from './../../utils/types'; import { Types } from '@app/framework/internal';
const DEFAULT_ERRORS: { [key: string]: string } = { const DEFAULT_ERRORS: { [key: string]: string } = {
between: '{field} must be between \'{min}\' and \'{max}\'.', between: '{field} must be between \'{min}\' and \'{max}\'.',

2
src/Squidex/app/framework/angular/forms/file-drop.directive.ts

@ -9,7 +9,7 @@
import { Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2 } from '@angular/core'; import { Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2 } from '@angular/core';
import { Types } from './../../utils/types'; import { Types } from '@app/framework/internal';
const ImageTypes = [ const ImageTypes = [
'image/jpeg', 'image/jpeg',

2
src/Squidex/app/framework/angular/forms/forms-helper.ts

@ -9,7 +9,7 @@
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { map, startWith } from 'rxjs/operators'; import { map, startWith } from 'rxjs/operators';
import { Types } from '@app/framework/internal'; import { Types } from './../../utils/types';
export function formControls(form: AbstractControl): AbstractControl[] { export function formControls(form: AbstractControl): AbstractControl[] {
if (Types.is(form, FormGroup)) { if (Types.is(form, FormGroup)) {

2
src/Squidex/app/framework/angular/forms/validators.spec.ts

@ -7,7 +7,7 @@
import { FormControl, FormGroup, Validators } from '@angular/forms'; import { FormControl, FormGroup, Validators } from '@angular/forms';
import { DateTime } from './../../utils/date-time'; import { DateTime } from '@app/framework/internal';
import { ValidatorsEx } from './validators'; import { ValidatorsEx } from './validators';

2
src/Squidex/app/framework/angular/http/caching.interceptor.ts

@ -10,7 +10,7 @@ import { Injectable} from '@angular/core';
import { Observable, of, throwError } from 'rxjs'; import { Observable, of, throwError } from 'rxjs';
import { catchError, tap } from 'rxjs/operators'; import { catchError, tap } from 'rxjs/operators';
import { Types } from '@app/shared/internal'; import { Types } from '@app/framework/internal';
@Injectable() @Injectable()
export class CachingInterceptor implements HttpInterceptor { export class CachingInterceptor implements HttpInterceptor {

9
src/Squidex/app/framework/angular/http/http-extensions.ts

@ -9,9 +9,12 @@ import { HttpClient, HttpErrorResponse, HttpHeaders, HttpResponse } from '@angul
import { Observable, throwError } from 'rxjs'; import { Observable, throwError } from 'rxjs';
import { catchError, map } from 'rxjs/operators'; import { catchError, map } from 'rxjs/operators';
import { ErrorDto } from './../../utils/error'; import {
import { Types} from './../../utils/types'; ErrorDto,
import { Version, Versioned } from './../../utils/version'; Types,
Version,
Versioned
} from '@app/framework/internal';
export module HTTP { export module HTTP {
export function getVersioned<T>(http: HttpClient, url: string, version?: Version): Observable<Versioned<HttpResponse<T>>> { export function getVersioned<T>(http: HttpClient, url: string, version?: Version): Observable<Versioned<HttpResponse<T>>> {

4
src/Squidex/app/framework/angular/modals/dialog-renderer.component.ts

@ -14,9 +14,9 @@ import {
DialogService, DialogService,
fadeAnimation, fadeAnimation,
Notification, Notification,
StatefulComponent StatefulComponent,
Tooltip
} from '@app/framework/internal'; } from '@app/framework/internal';
import { Tooltip } from '@app/shared';
interface State { interface State {
dialogRequest?: DialogRequest | null; dialogRequest?: DialogRequest | null;

3
src/Squidex/app/framework/angular/modals/modal-target.directive.ts

@ -8,8 +8,7 @@
import { AfterViewInit, Directive, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core'; import { AfterViewInit, Directive, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core';
import { timer } from 'rxjs'; import { timer } from 'rxjs';
import { ResourceOwner } from '@app/framework/internal'; import { positionModal, ResourceOwner } from '@app/framework/internal';
import { positionModal } from '@app/shared';
@Directive({ @Directive({
selector: '[sqxModalTarget]' selector: '[sqxModalTarget]'

3
src/Squidex/app/framework/angular/modals/tooltip.directive.ts

@ -9,8 +9,7 @@
import { Directive, ElementRef, HostListener, Input, Renderer2 } from '@angular/core'; import { Directive, ElementRef, HostListener, Input, Renderer2 } from '@angular/core';
import { DialogService } from '@app/framework/internal'; import { DialogService, Tooltip } from '@app/framework/internal';
import { Tooltip } from '@app/shared';
@Directive({ @Directive({
selector: '[title]' selector: '[title]'

2
src/Squidex/app/framework/angular/pipes/date-time.pipes.spec.ts

@ -5,7 +5,7 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/ */
import { DateTime, Duration } from './../../'; import { DateTime, Duration } from '@app/framework/internal';
import { import {
DatePipe, DatePipe,

2
src/Squidex/app/framework/angular/pipes/money.pipe.spec.ts

@ -5,7 +5,7 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/ */
import { CurrencyConfig, DecimalSeparatorConfig } from './../../'; import { CurrencyConfig, DecimalSeparatorConfig } from '@app/framework/internal';
import { MoneyPipe } from './money.pipe'; import { MoneyPipe } from './money.pipe';

2
src/Squidex/app/framework/angular/shortcut.component.spec.ts

@ -7,7 +7,7 @@
import { NgZone } from '@angular/core'; import { NgZone } from '@angular/core';
import { ShortcutService } from './../'; import { ShortcutService } from '@app/framework/internal';
import { ShortcutComponent } from './shortcut.component'; import { ShortcutComponent } from './shortcut.component';
describe('ShortcutComponent', () => { describe('ShortcutComponent', () => {

2
src/Squidex/app/framework/angular/stateful.component.ts

@ -12,7 +12,7 @@ import { onErrorResumeNext, skip } from 'rxjs/operators';
import { Types } from './../utils/types'; import { Types } from './../utils/types';
import { State } from '../state'; import { State } from './../state';
declare type UnsubscribeFunction = () => void; declare type UnsubscribeFunction = () => void;

2
src/Squidex/app/framework/services/analytics.service.ts

@ -9,7 +9,7 @@ import { Injectable } from '@angular/core';
import { NavigationEnd, Router } from '@angular/router'; import { NavigationEnd, Router } from '@angular/router';
import { filter } from 'rxjs/operators'; import { filter } from 'rxjs/operators';
import { AnalyticsIdConfig } from '../configurations'; import { AnalyticsIdConfig } from './../configurations';
import { Types } from './../utils/types'; import { Types } from './../utils/types';
import { ResourceLoaderService } from './resource-loader.service'; import { ResourceLoaderService } from './resource-loader.service';

1
src/Squidex/app/framework/state.ts

@ -10,6 +10,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
import { map } from 'rxjs/operators'; import { map } from 'rxjs/operators';
import { ErrorDto } from './utils/error'; import { ErrorDto } from './utils/error';
import { Types } from './utils/types'; import { Types } from './utils/types';
import { fullValue} from './angular/forms/forms-helper'; import { fullValue} from './angular/forms/forms-helper';

2
src/Squidex/app/shared/components/asset.component.ts

@ -15,7 +15,7 @@ import {
StatefulComponent, StatefulComponent,
Types Types
} from '@app/shared/internal'; } from '@app/shared/internal';
import { AssetUploaderState, UploadCanceled } from '../state/asset-uploader.state'; import { AssetUploaderState, UploadCanceled } from './../state/asset-uploader.state';
interface State { interface State {
progress: number; progress: number;

12
src/Squidex/app/shared/declarations.ts

@ -27,4 +27,16 @@ export * from './components/schema-category.component';
export * from './components/search-form.component'; export * from './components/search-form.component';
export * from './components/table-header.component'; export * from './components/table-header.component';
export * from './guards/app-must-exist.guard';
export * from './guards/content-must-exist.guard';
export * from './guards/load-apps.guard';
export * from './guards/load-languages.guard';
export * from './guards/must-be-authenticated.guard';
export * from './guards/must-be-not-authenticated.guard';
export * from './guards/schema-must-exist-published.guard';
export * from './guards/schema-must-exist.guard';
export * from './guards/schema-must-not-be-singleton.guard';
export * from './guards/unset-app.guard';
export * from './guards/unset-content.guard';
export * from './internal'; export * from './internal';

3
src/Squidex/app/shared/guards/content-must-exist.guard.spec.ts

@ -9,8 +9,7 @@ import { Router } from '@angular/router';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, It, Mock, Times } from 'typemoq'; import { IMock, It, Mock, Times } from 'typemoq';
import { ContentDto } from './../services/contents.service'; import { ContentDto, ContentsState } from '@app/shared/internal';
import { ContentsState } from './../state/contents.state';
import { ContentMustExistGuard } from './content-must-exist.guard'; import { ContentMustExistGuard } from './content-must-exist.guard';
describe('ContentMustExistGuard', () => { describe('ContentMustExistGuard', () => {

3
src/Squidex/app/shared/guards/schema-must-exist-published.guard.spec.ts

@ -9,8 +9,7 @@ import { Router } from '@angular/router';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, It, Mock, Times } from 'typemoq'; import { IMock, It, Mock, Times } from 'typemoq';
import { SchemaDetailsDto } from './../services/schemas.service'; import { SchemaDetailsDto, SchemasState } from '@app/shared/internal';
import { SchemasState } from './../state/schemas.state';
import { SchemaMustExistPublishedGuard } from './schema-must-exist-published.guard'; import { SchemaMustExistPublishedGuard } from './schema-must-exist-published.guard';
describe('SchemaMustExistPublishedGuard', () => { describe('SchemaMustExistPublishedGuard', () => {

3
src/Squidex/app/shared/guards/schema-must-exist.guard.spec.ts

@ -9,8 +9,7 @@ import { Router } from '@angular/router';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { SchemaDetailsDto } from './../services/schemas.service'; import { SchemaDetailsDto, SchemasState } from '@app/shared/internal';
import { SchemasState } from './../state/schemas.state';
import { SchemaMustExistGuard } from './schema-must-exist.guard'; import { SchemaMustExistGuard } from './schema-must-exist.guard';
describe('SchemaMustExistGuard', () => { describe('SchemaMustExistGuard', () => {

3
src/Squidex/app/shared/guards/schema-must-not-be-singleton.guard.spec.ts

@ -9,8 +9,7 @@ import { Router, RouterStateSnapshot, UrlSegment } from '@angular/router';
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, It, Mock, Times } from 'typemoq'; import { IMock, It, Mock, Times } from 'typemoq';
import { SchemaDetailsDto } from './../services/schemas.service'; import { SchemaDetailsDto, SchemasState } from '@app/shared/internal';
import { SchemasState } from './../state/schemas.state';
import { SchemaMustNotBeSingletonGuard } from './schema-must-not-be-singleton.guard'; import { SchemaMustNotBeSingletonGuard } from './schema-must-not-be-singleton.guard';
describe('SchemaMustNotBeSingletonGuard', () => { describe('SchemaMustNotBeSingletonGuard', () => {

2
src/Squidex/app/shared/guards/unset-app.guard.spec.ts

@ -8,7 +8,7 @@
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { AppsState } from '@app/shared'; import { AppsState } from '@app/shared/internal';
import { UnsetAppGuard } from './unset-app.guard'; import { UnsetAppGuard } from './unset-app.guard';

2
src/Squidex/app/shared/guards/unset-content.guard.spec.ts

@ -8,7 +8,7 @@
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { ContentsState } from './../state/contents.state'; import { ContentsState } from '@app/shared/internal';
import { UnsetContentGuard } from './unset-content.guard'; import { UnsetContentGuard } from './unset-content.guard';
describe('UnsetContentGuard', () => { describe('UnsetContentGuard', () => {

7
src/Squidex/app/shared/interceptors/auth.interceptor.spec.ts

@ -12,11 +12,8 @@ import { of } from 'rxjs';
import { onErrorResumeNext } from 'rxjs/operators'; import { onErrorResumeNext } from 'rxjs/operators';
import { IMock, Mock, Times } from 'typemoq'; import { IMock, Mock, Times } from 'typemoq';
import { import { ApiUrlConfig, AuthService } from '@app/shared/internal';
ApiUrlConfig, import { AuthInterceptor } from './auth.interceptor';
AuthInterceptor,
AuthService
} from './../';
describe('AuthInterceptor', () => { describe('AuthInterceptor', () => {
let authService: IMock<AuthService>; let authService: IMock<AuthService>;

12
src/Squidex/app/shared/internal.ts

@ -5,18 +5,6 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/ */
export * from './guards/app-must-exist.guard';
export * from './guards/content-must-exist.guard';
export * from './guards/load-apps.guard';
export * from './guards/load-languages.guard';
export * from './guards/must-be-authenticated.guard';
export * from './guards/must-be-not-authenticated.guard';
export * from './guards/schema-must-exist-published.guard';
export * from './guards/schema-must-exist.guard';
export * from './guards/schema-must-not-be-singleton.guard';
export * from './guards/unset-app.guard';
export * from './guards/unset-content.guard';
export * from './interceptors/auth.interceptor'; export * from './interceptors/auth.interceptor';
export * from './services/app-languages.service'; export * from './services/app-languages.service';

2
src/Squidex/app/shared/services/app-languages.service.spec.ts

@ -15,7 +15,7 @@ import {
AppLanguagesDto, AppLanguagesDto,
AppLanguagesService, AppLanguagesService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('AppLanguagesService', () => { describe('AppLanguagesService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/apps.service.spec.ts

@ -15,7 +15,7 @@ import {
AppsService, AppsService,
DateTime, DateTime,
Permission Permission
} from './../'; } from '@app/shared/internal';
describe('AppsService', () => { describe('AppsService', () => {
const now = DateTime.now(); const now = DateTime.now();

2
src/Squidex/app/shared/services/assets.service.spec.ts

@ -19,7 +19,7 @@ import {
ErrorDto, ErrorDto,
Version, Version,
Versioned Versioned
} from './../'; } from '@app/shared/internal';
describe('AssetDto', () => { describe('AssetDto', () => {
const creation = DateTime.today(); const creation = DateTime.today();

2
src/Squidex/app/shared/services/backups.service.spec.ts

@ -15,7 +15,7 @@ import {
BackupsService, BackupsService,
DateTime, DateTime,
RestoreDto RestoreDto
} from './../'; } from '@app/shared/internal';
describe('BackupsService', () => { describe('BackupsService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/clients.service.spec.ts

@ -16,7 +16,7 @@ import {
ClientsDto, ClientsDto,
ClientsService, ClientsService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('ClientsService', () => { describe('ClientsService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/comments.service.spec.ts

@ -15,7 +15,7 @@ import {
CommentsService, CommentsService,
DateTime, DateTime,
Version Version
} from './../'; } from '@app/shared/internal';
describe('CommentsService', () => { describe('CommentsService', () => {
const user = 'me'; const user = 'me';

2
src/Squidex/app/shared/services/contents.service.spec.ts

@ -18,7 +18,7 @@ import {
ScheduleDto, ScheduleDto,
Version, Version,
Versioned Versioned
} from './../'; } from '@app/shared/internal';
describe('ContentsService', () => { describe('ContentsService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/contributors.service.spec.ts

@ -16,7 +16,7 @@ import {
ContributorsDto, ContributorsDto,
ContributorsService, ContributorsService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('ContributorsService', () => { describe('ContributorsService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/graphql.service.spec.ts

@ -8,7 +8,7 @@
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { inject, TestBed } from '@angular/core/testing'; import { inject, TestBed } from '@angular/core/testing';
import { ApiUrlConfig, GraphQlService } from './../'; import { ApiUrlConfig, GraphQlService } from '@app/shared/internal';
describe('GraphQlService', () => { describe('GraphQlService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/help.service.spec.ts

@ -8,7 +8,7 @@
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { inject, TestBed } from '@angular/core/testing'; import { inject, TestBed } from '@angular/core/testing';
import { HelpService } from './../'; import { HelpService } from '@app/shared/internal';
describe('ClientsService', () => { describe('ClientsService', () => {
beforeEach(() => { beforeEach(() => {

5
src/Squidex/app/shared/services/history.service.spec.ts

@ -8,13 +8,12 @@
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { inject, TestBed } from '@angular/core/testing'; import { inject, TestBed } from '@angular/core/testing';
import { DateTime } from '@app/framework';
import { import {
ApiUrlConfig, ApiUrlConfig,
DateTime,
HistoryEventDto, HistoryEventDto,
HistoryService HistoryService
} from './../'; } from '@app/shared/internal';
describe('HistoryService', () => { describe('HistoryService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/languages.service.spec.ts

@ -12,7 +12,7 @@ import {
ApiUrlConfig, ApiUrlConfig,
LanguageDto, LanguageDto,
LanguagesService LanguagesService
} from './../'; } from '@app/shared/internal';
describe('LanguageService', () => { describe('LanguageService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/news.service.spec.ts

@ -13,7 +13,7 @@ import {
FeatureDto, FeatureDto,
FeaturesDto, FeaturesDto,
NewsService NewsService
} from './../'; } from '@app/shared/internal';
describe('NewsService', () => { describe('NewsService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/patterns.service.spec.ts

@ -15,7 +15,7 @@ import {
PatternsDto, PatternsDto,
PatternsService, PatternsService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('PatternsService', () => { describe('PatternsService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/plans.service.spec.ts

@ -16,7 +16,7 @@ import {
PlansDto, PlansDto,
PlansService, PlansService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('PlansService', () => { describe('PlansService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/roles.service.spec.ts

@ -15,7 +15,7 @@ import {
RolesDto, RolesDto,
RolesService, RolesService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('RolesService', () => { describe('RolesService', () => {
const version = new Version('1'); const version = new Version('1');

2
src/Squidex/app/shared/services/rules.service.spec.ts

@ -20,7 +20,7 @@ import {
RuleEventsDto, RuleEventsDto,
RulesService, RulesService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('RulesService', () => { describe('RulesService', () => {
const now = DateTime.now(); const now = DateTime.now();

2
src/Squidex/app/shared/services/schemas.service.spec.ts

@ -23,7 +23,7 @@ import {
SchemaPropertiesDto, SchemaPropertiesDto,
SchemasService, SchemasService,
Version Version
} from './../'; } from '@app/shared/internal';
describe('SchemasService', () => { describe('SchemasService', () => {
const now = DateTime.now(); const now = DateTime.now();

2
src/Squidex/app/shared/services/translations.service.spec.ts

@ -12,7 +12,7 @@ import {
ApiUrlConfig, ApiUrlConfig,
TranslationDto, TranslationDto,
TranslationsService TranslationsService
} from './../'; } from '@app/shared/internal';
describe('TranslationsService', () => { describe('TranslationsService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/ui.service.spec.ts

@ -12,7 +12,7 @@ import {
ApiUrlConfig, ApiUrlConfig,
UIService, UIService,
UISettingsDto UISettingsDto
} from './../'; } from '@app/shared/internal';
describe('UIService', () => { describe('UIService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/usages.service.spec.ts

@ -16,7 +16,7 @@ import {
DateTime, DateTime,
StorageUsageDto, StorageUsageDto,
UsagesService UsagesService
} from './../'; } from '@app/shared/internal';
describe('UsagesService', () => { describe('UsagesService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/services/users-provider.service.spec.ts

@ -14,7 +14,7 @@ import {
UserDto, UserDto,
UsersProviderService, UsersProviderService,
UsersService UsersService
} from './../'; } from '@app/shared/internal';
describe('UsersProviderService', () => { describe('UsersProviderService', () => {
let authService: IMock<AuthService>; let authService: IMock<AuthService>;

2
src/Squidex/app/shared/services/users.service.spec.ts

@ -12,7 +12,7 @@ import {
ApiUrlConfig, ApiUrlConfig,
UserDto, UserDto,
UsersService UsersService
} from './../'; } from '@app/shared/internal';
describe('UsersService', () => { describe('UsersService', () => {
beforeEach(() => { beforeEach(() => {

2
src/Squidex/app/shared/state/apps.state.spec.ts

@ -15,7 +15,7 @@ import {
DateTime, DateTime,
DialogService, DialogService,
Permission Permission
} from './../'; } from '@app/shared/internal';
describe('AppsState', () => { describe('AppsState', () => {
const now = DateTime.now(); const now = DateTime.now();

6
src/Squidex/app/shared/state/asset-uploader.state.spec.ts

@ -10,15 +10,17 @@ import { onErrorResumeNext } from 'rxjs/operators';
import { IMock, Mock } from 'typemoq'; import { IMock, Mock } from 'typemoq';
import { import {
AssetDto,
AssetReplacedDto,
AssetsService,
AssetUploaderState, AssetUploaderState,
DialogService, DialogService,
ofForever, ofForever,
Types, Types,
Version, Version,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { AssetDto, AssetReplacedDto, AssetsService } from '../services/assets.service';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';
describe('AssetsState', () => { describe('AssetsState', () => {

2
src/Squidex/app/shared/state/asset-uploader.state.ts

@ -18,8 +18,8 @@ import {
Types Types
} from '@app/framework'; } from '@app/framework';
import { AuthService } from '../services/auth.service';
import { AssetDto, AssetsService } from './../services/assets.service'; import { AssetDto, AssetsService } from './../services/assets.service';
import { AuthService } from './../services/auth.service';
import { AppsState } from './apps.state'; import { AppsState } from './apps.state';
import { AssetsState } from './assets.state'; import { AssetsState } from './assets.state';

2
src/Squidex/app/shared/state/assets.state.spec.ts

@ -15,7 +15,7 @@ import {
AssetsState, AssetsState,
DialogService, DialogService,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/backups.state.spec.ts

@ -15,7 +15,7 @@ import {
BackupsState, BackupsState,
DateTime, DateTime,
DialogService DialogService
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/clients.state.spec.ts

@ -14,7 +14,7 @@ import {
ClientsState, ClientsState,
DialogService, DialogService,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/comments.state.spec.ts

@ -16,7 +16,7 @@ import {
DialogService, DialogService,
ImmutableArray, ImmutableArray,
Version Version
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

5
src/Squidex/app/shared/state/contents.forms.spec.ts

@ -5,12 +5,11 @@
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/ */
import { DateTime } from '@app/framework';
import { import {
ArrayFieldPropertiesDto, ArrayFieldPropertiesDto,
AssetsFieldPropertiesDto, AssetsFieldPropertiesDto,
BooleanFieldPropertiesDto, BooleanFieldPropertiesDto,
DateTime,
DateTimeFieldPropertiesDto, DateTimeFieldPropertiesDto,
FieldDefaultValue, FieldDefaultValue,
FieldFormatter, FieldFormatter,
@ -25,7 +24,7 @@ import {
SchemaPropertiesDto, SchemaPropertiesDto,
StringFieldPropertiesDto, StringFieldPropertiesDto,
TagsFieldPropertiesDto TagsFieldPropertiesDto
} from './../'; } from '@app/shared/internal';
describe('SchemaDetailsDto', () => { describe('SchemaDetailsDto', () => {
it('should return label as display name', () => { it('should return label as display name', () => {

2
src/Squidex/app/shared/state/contributors.state.spec.ts

@ -14,7 +14,7 @@ import {
ContributorsState, ContributorsState,
DialogService, DialogService,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/filter.state.spec.ts

@ -9,7 +9,7 @@ import {
FilterState, FilterState,
LanguageDto, LanguageDto,
Sorting Sorting
} from './../'; } from '@app/shared/internal';
describe('FilterState', () => { describe('FilterState', () => {
let query: string | undefined; let query: string | undefined;

4
src/Squidex/app/shared/state/filter.state.ts

@ -10,9 +10,9 @@ import { distinctUntilChanged, map } from 'rxjs/internal/operators';
import { State, Types } from '@app/framework'; import { State, Types } from '@app/framework';
import { LanguageDto } from '../services/languages.service'; import { LanguageDto } from './../services/languages.service';
import { RootFieldDto } from '../services/schemas.service'; import { RootFieldDto } from './../services/schemas.service';
interface Snapshot { interface Snapshot {
// The current language. // The current language.

2
src/Squidex/app/shared/state/languages.forms.ts

@ -9,7 +9,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Form } from '@app/framework'; import { Form } from '@app/framework';
import { LanguageDto } from '../services/languages.service'; import { LanguageDto } from './../services/languages.service';
export class EditLanguageForm extends Form<FormGroup, { isMaster: boolean, isOptional: boolean }> { export class EditLanguageForm extends Form<FormGroup, { isMaster: boolean, isOptional: boolean }> {
constructor(formBuilder: FormBuilder) { constructor(formBuilder: FormBuilder) {

2
src/Squidex/app/shared/state/languages.state.spec.ts

@ -17,7 +17,7 @@ import {
LanguagesService, LanguagesService,
LanguagesState, LanguagesState,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/patterns.state.spec.ts

@ -14,7 +14,7 @@ import {
PatternsService, PatternsService,
PatternsState, PatternsState,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/plans.state.spec.ts

@ -15,7 +15,7 @@ import {
PlansService, PlansService,
PlansState, PlansState,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/queries.spec.ts

@ -12,7 +12,7 @@ import {
Queries, Queries,
Query, Query,
UIState UIState
} from './../'; } from '@app/shared/internal';
describe('Queries', () => { describe('Queries', () => {
const prefix = 'schemas.my-schema'; const prefix = 'schemas.my-schema';

2
src/Squidex/app/shared/state/roles.state.spec.ts

@ -14,7 +14,7 @@ import {
RolesService, RolesService,
RolesState, RolesState,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/rule-events.state.spec.ts

@ -15,7 +15,7 @@ import {
RuleEventsDto, RuleEventsDto,
RuleEventsState, RuleEventsState,
RulesService RulesService
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/rules.state.spec.ts

@ -15,7 +15,7 @@ import {
RuleDto, RuleDto,
RulesService, RulesService,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/schemas.forms.ts

@ -14,7 +14,7 @@ import {
value$ value$
} from '@app/framework'; } from '@app/framework';
import { AddFieldDto } from '../services/schemas.service'; import { AddFieldDto } from './../services/schemas.service';
import { createProperties } from './../services/schemas.types'; import { createProperties } from './../services/schemas.types';

2
src/Squidex/app/shared/state/schemas.state.spec.ts

@ -22,7 +22,7 @@ import {
SchemasService, SchemasService,
UpdateSchemaCategoryDto, UpdateSchemaCategoryDto,
versioned versioned
} from './../'; } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

2
src/Squidex/app/shared/state/ui.state.spec.ts

@ -8,7 +8,7 @@
import { of } from 'rxjs'; import { of } from 'rxjs';
import { IMock, It, Mock, Times } from 'typemoq'; import { IMock, It, Mock, Times } from 'typemoq';
import { UIService, UIState } from './../'; import { UIService, UIState } from '@app/shared/internal';
import { TestValues } from './_test-helpers'; import { TestValues } from './_test-helpers';

18
src/Squidex/package-lock.json

@ -2741,7 +2741,7 @@
"dependencies": { "dependencies": {
"jsesc": { "jsesc": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
"integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
"dev": true "dev": true
}, },
@ -3546,6 +3546,12 @@
"safe-buffer": "^5.0.1" "safe-buffer": "^5.0.1"
} }
}, },
"circular-dependency-plugin": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-5.0.2.tgz",
"integrity": "sha512-oC7/DVAyfcY3UWKm0sN/oVoDedQDQiw/vIiAnuTWTpE5s0zWf7l3WY417Xw/Fbi/QbAjctAkxgMiS9P0s3zkmA==",
"dev": true
},
"circular-json": { "circular-json": {
"version": "0.3.3", "version": "0.3.3",
"resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz",
@ -4178,7 +4184,7 @@
}, },
"json5": { "json5": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", "resolved": "http://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
"integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
"dev": true, "dev": true,
"requires": { "requires": {
@ -10663,7 +10669,7 @@
}, },
"node-fetch": { "node-fetch": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", "resolved": "http://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz",
"integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=" "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U="
}, },
"node-forge": { "node-forge": {
@ -11080,7 +11086,7 @@
}, },
"onetime": { "onetime": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
"dev": true "dev": true
}, },
@ -15320,7 +15326,7 @@
"dependencies": { "dependencies": {
"json5": { "json5": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", "resolved": "http://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
"integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
"dev": true, "dev": true,
"requires": { "requires": {
@ -18603,7 +18609,7 @@
}, },
"whatwg-fetch": { "whatwg-fetch": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", "resolved": "http://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
"integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
}, },
"which": { "which": {

1
src/Squidex/package.json

@ -62,6 +62,7 @@
"angular2-template-loader": "0.6.2", "angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "5.2.1", "awesome-typescript-loader": "5.2.1",
"babel-core": "6.26.3", "babel-core": "6.26.3",
"circular-dependency-plugin": "5.0.2",
"codelyzer": "5.0.1", "codelyzer": "5.0.1",
"cpx": "1.5.0", "cpx": "1.5.0",
"css-loader": "2.1.1", "css-loader": "2.1.1",

Loading…
Cancel
Save