Skip to content

Commit

Permalink
Update journeys folders structure - Bundle journeys by domain (#356)
Browse files Browse the repository at this point in the history
Bundle journeys by domain

Co-authored-by: vatsala-glory <[email protected]>
Co-authored-by: Tomás Corral Casas <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2025
1 parent ffeb1b7 commit f622645
Show file tree
Hide file tree
Showing 394 changed files with 2,009 additions and 1,987 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@backbase/transactions-http-ang';
import { TransactionsCommunicationService } from '@backbase-gsa/transactions-journey';
import { MakeTransferCommunicationService } from '@backbase-gsa/transfer-journey';
import { Transfer } from '@backbase-gsa/internal-transfer-shared-data';
import { Transfer } from '@backbase-gsa/transfer-journey/internal/shared-data';
import { BehaviorSubject } from 'rxjs';

@Injectable({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["../../../.eslintrc.json"],
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
Expand Down
File renamed without changes.
7 changes: 0 additions & 7 deletions libs/ach-positive-pay-journey/data-access/ng-package.json

This file was deleted.

11 changes: 0 additions & 11 deletions libs/ach-positive-pay-journey/data-access/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions libs/ach-positive-pay-journey/feature/ng-package.json

This file was deleted.

11 changes: 0 additions & 11 deletions libs/ach-positive-pay-journey/feature/package.json

This file was deleted.

38 changes: 0 additions & 38 deletions libs/ach-positive-pay-journey/feature/project.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["../../../.eslintrc.json"],
"extends": ["../../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable */
export default {
displayName: 'ach-positive-pay-journey-data-access',
preset: '../../../jest.preset.js',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory:
'../../../coverage/libs/ach-positive-pay-journey/data-access',
'../../../../coverage/libs/ach-positive-pay-journey/internal/data-access',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../../dist/internal/libs/ach-positive-pay-journey/internal/data-access",
"lib": {
"entryFile": "src/index.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "../../../../node_modules/ng-packagr/ng-entrypoint.schema.json",
"lib": {
"entryFile": "src/index.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@backbase-gsa/ach-positive-pay-journey/internal/data-access",
"description": "Autogenerated package.json for secondary entry-point.",
"private": true
}
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
{
"name": "ach-positive-pay-journey-data-access",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/ach-positive-pay-journey/data-access/src",
"sourceRoot": "libs/ach-positive-pay-journey/internal/data-access/src",
"prefix": "bb",
"tags": ["scope:ach-positive-pay-journey", "type:data-access"],
"targets": {
"build": {
"executor": "@nx/angular:package",
"outputs": [
"{workspaceRoot}/dist/libs/ach-positive-pay-journey/data-access"
],
"outputs": ["{workspaceRoot}/dist/internal/{projectRoot}"],
"options": {
"project": "libs/ach-positive-pay-journey/data-access/ng-package.json"
"project": "libs/ach-positive-pay-journey/internal/data-access/ng-package.internal.json"
},
"configurations": {
"production": {
"tsConfig": "libs/ach-positive-pay-journey/data-access/tsconfig.lib.prod.json"
"tsConfig": "libs/ach-positive-pay-journey/internal/data-access/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "libs/ach-positive-pay-journey/data-access/tsconfig.lib.json"
"tsConfig": "libs/ach-positive-pay-journey/internal/data-access/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": [
"{workspaceRoot}/coverage/libs/ach-positive-pay-journey/data-access"
"{workspaceRoot}/coverage/libs/ach-positive-pay-journey/internal/data-access"
],
"options": {
"jestConfig": "libs/ach-positive-pay-journey/data-access/jest.config.ts"
"jestConfig": "libs/ach-positive-pay-journey/internal/data-access/jest.config.ts"
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
},
"tags": ["scope:ach-positive-pay-journey", "type:data-access"]
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../../tsconfig.base.json",
"files": [],
"include": [],
"references": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"outDir": "../../../../dist/out-tsc",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"outDir": "../../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
Expand Down
36 changes: 36 additions & 0 deletions libs/ach-positive-pay-journey/internal/feature/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"extends": ["../../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"extends": [
"plugin:@nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "bb",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "bb",
"style": "kebab-case"
}
]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@nx/angular-template"],
"rules": {}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* eslint-disable */
export default {
displayName: 'ach-positive-pay-journey-feature',
preset: '../../../jest.preset.js',
preset: '../../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
globals: {},
coverageDirectory: '../../../coverage/libs/ach-positive-pay-journey/feature',
coverageDirectory:
'../../../../coverage/libs/ach-positive-pay-journey/internal/feature',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../../dist/internal/libs/ach-positive-pay-journey/internal/feature",
"lib": {
"entryFile": "src/index.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "../../../../node_modules/ng-packagr/ng-entrypoint.schema.json",
"lib": {
"entryFile": "src/index.ts"
}
}
5 changes: 5 additions & 0 deletions libs/ach-positive-pay-journey/internal/feature/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "@backbase-gsa/ach-positive-pay-journey/internal/feature",
"description": "Autogenerated package.json for secondary entry-point.",
"private": true
}
38 changes: 38 additions & 0 deletions libs/ach-positive-pay-journey/internal/feature/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "ach-positive-pay-journey-feature",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/ach-positive-pay-journey/internal/feature/src",
"prefix": "bb",
"tags": ["scope:ach-positive-pay-journey", "type:feature"],
"targets": {
"build": {
"executor": "@nx/angular:package",
"outputs": ["{workspaceRoot}/dist/internal/{projectRoot}"],
"options": {
"project": "libs/ach-positive-pay-journey/internal/feature/ng-package.internal.json"
},
"configurations": {
"production": {
"tsConfig": "libs/ach-positive-pay-journey/internal/feature/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "libs/ach-positive-pay-journey/internal/feature/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": [
"{workspaceRoot}/coverage/libs/ach-positive-pay-journey/internal/feature"
],
"options": {
"jestConfig": "libs/ach-positive-pay-journey/internal/feature/jest.config.ts"
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component } from '@angular/core';
import { ActivatedRoute, Router, RouterModule } from '@angular/router';
import { PERMISSIONS } from '@backbase-gsa/internal-ach-positive-pay-shared-data';
import { PERMISSIONS } from '@backbase-gsa/ach-positive-pay-journey/internal/shared-data';
import { HeadingModule } from '@backbase/ui-ang/heading';

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { FormBuilder } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '@backbase/ui-ang/notification';
import { of, throwError } from 'rxjs';
import { AchPositivePayHttpService } from '@backbase-gsa/internal-ach-positive-pay-data-access';
import { AchPositivePayHttpService } from '@backbase-gsa/ach-positive-pay-journey/internal/data-access';
import { AchPositivePayNewRuleComponent } from './ach-positive-pay-new-rule.component';
import { ProductSummaryItem } from '@backbase/arrangement-manager-http-ang';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { Component, OnInit } from '@angular/core';
import { NgbModalOptions } from '@ng-bootstrap/ng-bootstrap';
import { ActivatedRoute, Router } from '@angular/router';
import { FormBuilder, FormGroup } from '@angular/forms';
import { AchPositivePayHttpService } from '@backbase-gsa/internal-ach-positive-pay-data-access';
import { AchPositivePayHttpService } from '@backbase-gsa/ach-positive-pay-journey/internal/data-access';
import { NotificationService } from '@backbase/ui-ang/notification';
import { ACH_POSITIVE_PAY_TRANSLATIONS } from '@backbase-gsa/internal-ach-positive-pay-shared-data';
import { ACH_POSITIVE_PAY_TRANSLATIONS } from '@backbase-gsa/ach-positive-pay-journey/internal/shared-data';
import { ProductSummaryItem } from '@backbase/arrangement-manager-http-ang';
import { Observable } from 'rxjs';
import { ModalModule } from '@backbase/ui-ang/modal';
import { HeaderModule } from '@backbase/ui-ang/header';
import { AlertModule } from '@backbase/ui-ang/alert';
import { AchPositivePayRuleFormComponent } from '@backbase-gsa/internal-ach-positive-pay-ui';
import { AchPositivePayRuleFormComponent } from '@backbase-gsa/ach-positive-pay-journey/internal/ui';
import { LoadButtonModule } from '@backbase/ui-ang/load-button';
import { CommonModule } from '@angular/common';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../../../tsconfig.base.json",
"files": [],
"include": [],
"references": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"outDir": "../../../../dist/out-tsc",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"outDir": "../../../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
},
Expand Down
Loading

0 comments on commit f622645

Please sign in to comment.