feat: change package name

This commit is contained in:
Supan Adit Pratama 2024-10-29 10:30:21 +07:00
parent abfc3b5a2f
commit 0b3dbfc8b4
18 changed files with 25 additions and 25 deletions

View File

@ -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';

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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

View File

@ -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 {}

View File

@ -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 {

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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 {}

View File

@ -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';

View File

@ -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 {}

View File

@ -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 {}

View File

@ -80,8 +80,8 @@
"<rootDir>/libs/"
],
"moduleNameMapper": {
"^@autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/src/$1",
"^@autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
"^@aditama-labs/nest-autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/src/$1",
"^@aditama-labs/nest-autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
}
}
}

View File

@ -1,4 +1,4 @@
import { SkeletonCRUDController } from '@autocrud/skeleton';
import { SkeletonCRUDController } from '@aditama-labs/nest-autocrud/skeleton';
import { Controller } from '@nestjs/common';
@Controller('hello')

View File

@ -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';

View File

@ -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<any> {

View File

@ -11,9 +11,9 @@
"^.+\\.(t|j)s$": "ts-jest"
},
"moduleNameMapper": {
"@autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/src/$1",
"@autocrud/skeleton": "<rootDir>/../libs/skeleton/src",
"@autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/src/$1",
"@autocrud/prisma": "<rootDir>/../libs/prisma/src"
"@aditama-labs/nest-autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/src/$1",
"@aditama-labs/nest-autocrud/skeleton": "<rootDir>/../libs/skeleton/src",
"@aditama-labs/nest-autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/src/$1",
"@aditama-labs/nest-autocrud/prisma": "<rootDir>/../libs/prisma/src"
}
}

View File

@ -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/*"
]
}