Skip to content

Commit

Permalink
rename types lib
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Nov 26, 2023
1 parent ae9af63 commit 67e76bc
Show file tree
Hide file tree
Showing 8 changed files with 7,409 additions and 2,545 deletions.
2 changes: 1 addition & 1 deletion apps/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@company/types": "workspace:*",
"@repo/types": "workspace:*",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/nestjs/src/cats/schemas/cat.schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Cat as CatInterface } from '@company/types'
import type { Cat as CatInterface } from '@repo/types'
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'
import { HydratedDocument } from 'mongoose'

Expand Down
2 changes: 1 addition & 1 deletion apps/nestjs/src/dogs/dogs.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dog } from '@company/types'
import { Dog } from '@repo/types'
import { Controller, Get } from '@nestjs/common'

import { DogsService } from './dogs.service'
Expand Down
2 changes: 1 addition & 1 deletion apps/nestjs/src/dogs/dogs.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dog } from '@company/types'
import { Dog } from '@repo/types'
import { Injectable } from '@nestjs/common'

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion apps/remix/app/api/cats.api.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Cat } from '@company/types'
import type { Cat } from '@repo/types'
import axios from 'axios'

const client = axios.create({
Expand Down
2 changes: 1 addition & 1 deletion apps/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@company/types": "workspace:*",
"@repo/types": "workspace:*",
"@remix-run/dev": "^2.3.1",
"@remix-run/eslint-config": "^2.3.1",
"@repo/tailwind-config": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion libs/types/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@company/types",
"name": "@repo/types",
"private": true,
"main": "index.ts",
"devDependencies": {
Expand Down
Loading

0 comments on commit 67e76bc

Please sign in to comment.