diff --git a/libs/prisma/src/prisma.module.ts b/libs/prisma/src/prisma.module.ts index cc1e597..45eecfe 100644 --- a/libs/prisma/src/prisma.module.ts +++ b/libs/prisma/src/prisma.module.ts @@ -1,4 +1,4 @@ -import { READ_ENTIRE_PROCESS } from '@autocrud/skeleton'; +import { READ_ENTIRE_PROCESS } from '@aditama-labs/nest-autocrud/skeleton'; import { DynamicModule, Module } from '@nestjs/common'; import { ConfigurableModuleClass } from './config.module-definition'; import { PRISMA_DELEGATE } from './constants'; diff --git a/libs/prisma/src/processes/batch/delete.process.ts b/libs/prisma/src/processes/batch/delete.process.ts index 0226a7e..5f4d393 100644 --- a/libs/prisma/src/processes/batch/delete.process.ts +++ b/libs/prisma/src/processes/batch/delete.process.ts @@ -1,3 +1,3 @@ -import { BatchDeleteProcess } from '@autocrud/skeleton/processes/batch/delete.process'; +import { BatchDeleteProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/batch/delete.process'; export class PrismaBatchDeleteProcess extends BatchDeleteProcess {} diff --git a/libs/prisma/src/processes/batch/update.process.ts b/libs/prisma/src/processes/batch/update.process.ts index f5b3259..f516e22 100644 --- a/libs/prisma/src/processes/batch/update.process.ts +++ b/libs/prisma/src/processes/batch/update.process.ts @@ -1,3 +1,3 @@ -import { BatchUpdateProcess } from '@autocrud/skeleton/processes/batch/update.process'; +import { BatchUpdateProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/batch/update.process'; export class PrismaBatchUpdateProcess extends BatchUpdateProcess {} diff --git a/libs/prisma/src/processes/create.process.ts b/libs/prisma/src/processes/create.process.ts index 49018be..f98eec1 100644 --- a/libs/prisma/src/processes/create.process.ts +++ b/libs/prisma/src/processes/create.process.ts @@ -1,4 +1,4 @@ -import { CreateProcess } from '@autocrud/skeleton/processes/create.process'; +import { CreateProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/create.process'; import { PrismaProcess } from './prisma.process'; export class PrismaCreateProcess diff --git a/libs/prisma/src/processes/delete.process.ts b/libs/prisma/src/processes/delete.process.ts index dee31cc..9ad9e8e 100644 --- a/libs/prisma/src/processes/delete.process.ts +++ b/libs/prisma/src/processes/delete.process.ts @@ -1,3 +1,3 @@ -import { DeleteProcess } from '@autocrud/skeleton/processes/delete.process'; +import { DeleteProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/delete.process'; export class PrismaDeleteProcess extends DeleteProcess {} diff --git a/libs/prisma/src/processes/list.process.ts b/libs/prisma/src/processes/list.process.ts index 4cf4200..0bc5671 100644 --- a/libs/prisma/src/processes/list.process.ts +++ b/libs/prisma/src/processes/list.process.ts @@ -1,4 +1,4 @@ -import { ListProcess } from '@autocrud/skeleton/processes/list.process'; +import { ListProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/list.process'; import { PrismaProcess } from './prisma.process'; export class PrismaListProcess extends PrismaProcess implements ListProcess { diff --git a/libs/prisma/src/processes/pagination.process.ts b/libs/prisma/src/processes/pagination.process.ts index e998e6f..bf44e43 100644 --- a/libs/prisma/src/processes/pagination.process.ts +++ b/libs/prisma/src/processes/pagination.process.ts @@ -1,3 +1,3 @@ -import { PaginationProcess } from '@autocrud/skeleton/processes/pagination.process'; +import { PaginationProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/pagination.process'; export class PrismaPaginationProcess extends PaginationProcess {} diff --git a/libs/prisma/src/processes/partial/batch/update.process.ts b/libs/prisma/src/processes/partial/batch/update.process.ts index 9426845..b3d396e 100644 --- a/libs/prisma/src/processes/partial/batch/update.process.ts +++ b/libs/prisma/src/processes/partial/batch/update.process.ts @@ -1,3 +1,3 @@ -import { PartialBatchUpdateProcess } from '@autocrud/skeleton/processes/partial/batch/update.process'; +import { PartialBatchUpdateProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/partial/batch/update.process'; export class PrismaPartialBatchUpdateProcess extends PartialBatchUpdateProcess {} diff --git a/libs/prisma/src/processes/partial/update.process.ts b/libs/prisma/src/processes/partial/update.process.ts index fa8759d..98265f2 100644 --- a/libs/prisma/src/processes/partial/update.process.ts +++ b/libs/prisma/src/processes/partial/update.process.ts @@ -1,3 +1,3 @@ -import { PartialUpdateProcess } from '@autocrud/skeleton/processes/partial/update.process'; +import { PartialUpdateProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/partial/update.process'; export class PrismaPartialUpdateProcess extends PartialUpdateProcess {} diff --git a/libs/prisma/src/processes/prisma.process.ts b/libs/prisma/src/processes/prisma.process.ts index e771a20..fa31d56 100644 --- a/libs/prisma/src/processes/prisma.process.ts +++ b/libs/prisma/src/processes/prisma.process.ts @@ -1,4 +1,4 @@ -import { DefaultProcess } from '@autocrud/skeleton/processes/default.process'; +import { DefaultProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/default.process'; import { Inject, Injectable } from '@nestjs/common'; import { PRISMA_DELEGATE } from '../constants'; diff --git a/libs/prisma/src/processes/read.process.ts b/libs/prisma/src/processes/read.process.ts index 0505134..32f5cf3 100644 --- a/libs/prisma/src/processes/read.process.ts +++ b/libs/prisma/src/processes/read.process.ts @@ -1,3 +1,3 @@ -import { ReadProcess } from '@autocrud/skeleton/processes/read.process'; +import { ReadProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/read.process'; export class PrismaReadProcess extends ReadProcess {} diff --git a/libs/prisma/src/processes/update.process.ts b/libs/prisma/src/processes/update.process.ts index 371b71d..42127b6 100644 --- a/libs/prisma/src/processes/update.process.ts +++ b/libs/prisma/src/processes/update.process.ts @@ -1,3 +1,3 @@ -import { UpdateProcess } from '@autocrud/skeleton/processes/update.process'; +import { UpdateProcess } from '@aditama-labs/nest-autocrud/skeleton/processes/update.process'; export class PrismaUpdateProcess extends UpdateProcess {} diff --git a/package.json b/package.json index 3880efc..49f8690 100644 --- a/package.json +++ b/package.json @@ -80,8 +80,8 @@ "/libs/" ], "moduleNameMapper": { - "^@autocrud/skeleton(|/.*)$": "/libs/skeleton/src/$1", - "^@autocrud/prisma(|/.*)$": "/libs/prisma/src/$1" + "^@aditama-labs/nest-autocrud/skeleton(|/.*)$": "/libs/skeleton/src/$1", + "^@aditama-labs/nest-autocrud/prisma(|/.*)$": "/libs/prisma/src/$1" } } } \ No newline at end of file diff --git a/src/app.controller.ts b/src/app.controller.ts index 95abbd1..a9bafcf 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -1,4 +1,4 @@ -import { SkeletonCRUDController } from '@autocrud/skeleton'; +import { SkeletonCRUDController } from '@aditama-labs/nest-autocrud/skeleton'; import { Controller } from '@nestjs/common'; @Controller('hello') diff --git a/src/app.module.ts b/src/app.module.ts index 9e95035..3720d65 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -1,4 +1,4 @@ -import { PrismaModule } from '@autocrud/prisma'; +import { PrismaModule } from '@aditama-labs/nest-autocrud/prisma'; import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { AppService } from './app.service'; diff --git a/src/processes/list.process.ts b/src/processes/list.process.ts index 1f44478..c846fe1 100644 --- a/src/processes/list.process.ts +++ b/src/processes/list.process.ts @@ -1,4 +1,4 @@ -import { PrismaListProcess } from '@autocrud/prisma/processes/list.process'; +import { PrismaListProcess } from '@aditama-labs/nest-autocrud/prisma/processes/list.process'; export class AppListProcess extends PrismaListProcess { async process(): Promise { diff --git a/test/jest-e2e.json b/test/jest-e2e.json index 0cae2df..3c0f589 100644 --- a/test/jest-e2e.json +++ b/test/jest-e2e.json @@ -11,9 +11,9 @@ "^.+\\.(t|j)s$": "ts-jest" }, "moduleNameMapper": { - "@autocrud/skeleton/(.*)": "/../libs/skeleton/src/$1", - "@autocrud/skeleton": "/../libs/skeleton/src", - "@autocrud/prisma/(.*)": "/../libs/prisma/src/$1", - "@autocrud/prisma": "/../libs/prisma/src" + "@aditama-labs/nest-autocrud/skeleton/(.*)": "/../libs/skeleton/src/$1", + "@aditama-labs/nest-autocrud/skeleton": "/../libs/skeleton/src", + "@aditama-labs/nest-autocrud/prisma/(.*)": "/../libs/prisma/src/$1", + "@aditama-labs/nest-autocrud/prisma": "/../libs/prisma/src" } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index a2de892..39a9d87 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,16 +18,16 @@ "forceConsistentCasingInFileNames": false, "noFallthroughCasesInSwitch": false, "paths": { - "@autocrud/skeleton": [ + "@aditama-labs/nest-autocrud/skeleton": [ "libs/skeleton/src" ], - "@autocrud/skeleton/*": [ + "@aditama-labs/nest-autocrud/skeleton/*": [ "libs/skeleton/src/*" ], - "@autocrud/prisma": [ + "@aditama-labs/nest-autocrud/prisma": [ "libs/prisma/src" ], - "@autocrud/prisma/*": [ + "@aditama-labs/nest-autocrud/prisma/*": [ "libs/prisma/src/*" ] }