mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-11-22 03:16:21 +00:00
feat: change package name
This commit is contained in:
parent
abfc3b5a2f
commit
0b3dbfc8b4
@ -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 { DynamicModule, Module } from '@nestjs/common';
|
||||||
import { ConfigurableModuleClass } from './config.module-definition';
|
import { ConfigurableModuleClass } from './config.module-definition';
|
||||||
import { PRISMA_DELEGATE } from './constants';
|
import { PRISMA_DELEGATE } from './constants';
|
||||||
|
@ -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 {}
|
export class PrismaBatchDeleteProcess extends BatchDeleteProcess {}
|
||||||
|
@ -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 {}
|
export class PrismaBatchUpdateProcess extends BatchUpdateProcess {}
|
||||||
|
@ -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';
|
import { PrismaProcess } from './prisma.process';
|
||||||
|
|
||||||
export class PrismaCreateProcess
|
export class PrismaCreateProcess
|
||||||
|
@ -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 {}
|
export class PrismaDeleteProcess extends DeleteProcess {}
|
||||||
|
@ -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';
|
import { PrismaProcess } from './prisma.process';
|
||||||
|
|
||||||
export class PrismaListProcess extends PrismaProcess implements ListProcess {
|
export class PrismaListProcess extends PrismaProcess implements ListProcess {
|
||||||
|
@ -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 {}
|
export class PrismaPaginationProcess extends PaginationProcess {}
|
||||||
|
@ -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 {}
|
export class PrismaPartialBatchUpdateProcess extends PartialBatchUpdateProcess {}
|
||||||
|
@ -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 {}
|
export class PrismaPartialUpdateProcess extends PartialUpdateProcess {}
|
||||||
|
@ -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 { Inject, Injectable } from '@nestjs/common';
|
||||||
import { PRISMA_DELEGATE } from '../constants';
|
import { PRISMA_DELEGATE } from '../constants';
|
||||||
|
|
||||||
|
@ -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 {}
|
export class PrismaReadProcess extends ReadProcess {}
|
||||||
|
@ -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 {}
|
export class PrismaUpdateProcess extends UpdateProcess {}
|
||||||
|
@ -80,8 +80,8 @@
|
|||||||
"<rootDir>/libs/"
|
"<rootDir>/libs/"
|
||||||
],
|
],
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"^@autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/src/$1",
|
"^@aditama-labs/nest-autocrud/skeleton(|/.*)$": "<rootDir>/libs/skeleton/src/$1",
|
||||||
"^@autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
|
"^@aditama-labs/nest-autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
import { SkeletonCRUDController } from '@autocrud/skeleton';
|
import { SkeletonCRUDController } from '@aditama-labs/nest-autocrud/skeleton';
|
||||||
import { Controller } from '@nestjs/common';
|
import { Controller } from '@nestjs/common';
|
||||||
|
|
||||||
@Controller('hello')
|
@Controller('hello')
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { PrismaModule } from '@autocrud/prisma';
|
import { PrismaModule } from '@aditama-labs/nest-autocrud/prisma';
|
||||||
import { Module } from '@nestjs/common';
|
import { Module } from '@nestjs/common';
|
||||||
import { AppController } from './app.controller';
|
import { AppController } from './app.controller';
|
||||||
import { AppService } from './app.service';
|
import { AppService } from './app.service';
|
||||||
|
@ -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 {
|
export class AppListProcess extends PrismaListProcess {
|
||||||
async process(): Promise<any> {
|
async process(): Promise<any> {
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
"^.+\\.(t|j)s$": "ts-jest"
|
"^.+\\.(t|j)s$": "ts-jest"
|
||||||
},
|
},
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"@autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/src/$1",
|
"@aditama-labs/nest-autocrud/skeleton/(.*)": "<rootDir>/../libs/skeleton/src/$1",
|
||||||
"@autocrud/skeleton": "<rootDir>/../libs/skeleton/src",
|
"@aditama-labs/nest-autocrud/skeleton": "<rootDir>/../libs/skeleton/src",
|
||||||
"@autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/src/$1",
|
"@aditama-labs/nest-autocrud/prisma/(.*)": "<rootDir>/../libs/prisma/src/$1",
|
||||||
"@autocrud/prisma": "<rootDir>/../libs/prisma/src"
|
"@aditama-labs/nest-autocrud/prisma": "<rootDir>/../libs/prisma/src"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,16 +18,16 @@
|
|||||||
"forceConsistentCasingInFileNames": false,
|
"forceConsistentCasingInFileNames": false,
|
||||||
"noFallthroughCasesInSwitch": false,
|
"noFallthroughCasesInSwitch": false,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@autocrud/skeleton": [
|
"@aditama-labs/nest-autocrud/skeleton": [
|
||||||
"libs/skeleton/src"
|
"libs/skeleton/src"
|
||||||
],
|
],
|
||||||
"@autocrud/skeleton/*": [
|
"@aditama-labs/nest-autocrud/skeleton/*": [
|
||||||
"libs/skeleton/src/*"
|
"libs/skeleton/src/*"
|
||||||
],
|
],
|
||||||
"@autocrud/prisma": [
|
"@aditama-labs/nest-autocrud/prisma": [
|
||||||
"libs/prisma/src"
|
"libs/prisma/src"
|
||||||
],
|
],
|
||||||
"@autocrud/prisma/*": [
|
"@aditama-labs/nest-autocrud/prisma/*": [
|
||||||
"libs/prisma/src/*"
|
"libs/prisma/src/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user