update import paths for compatibility with @medusajs/medusa 1.12.0

This commit is contained in:
Lacey Pevey
2023-05-30 08:09:11 -05:00
parent 8049278c69
commit c5b0ec732e
6 changed files with 18 additions and 8 deletions
+8
View File
@@ -1,5 +1,13 @@
# Change Log
## 0.1.0
### Patch Changes
- Update import paths for compatibility with @medusajs/medusa 1.12.0.
# Change Log
## 0.0.7
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "medusa-plugin-blog",
"version": "0.0.7",
"version": "0.1.0",
"description": "Basic blog backend for Medusa",
"repository": {
"type": "git",
@@ -17,7 +17,6 @@
"medusa"
],
"devDependencies": {
"@medusajs/medusa": "^1.10.1",
"cross-env": "^5.2.1",
"typeorm": "^0.3.16",
"typescript": "^4.4.4"
@@ -29,7 +28,8 @@
"watch": "tsc --watch"
},
"peerDependencies": {
"@medusajs/medusa": "^1.10.1"
"@medusajs/medusa": "^1.12.0",
"@medusajs/utils": "1.9.0"
},
"dependencies": {
"zod": "^3.21.4"
+2 -1
View File
@@ -1,4 +1,5 @@
import { BaseEntity, generateEntityId } from "@medusajs/utils"
import { BaseEntity } from "@medusajs/medusa"
import { generateEntityId } from "@medusajs/utils"
import { BeforeInsert, Column, Entity, Index, OneToMany } from "typeorm"
import { BlogPost } from "./blog-post"
+2 -2
View File
@@ -1,5 +1,5 @@
import { Product, ProductCollection } from "@medusajs/medusa"
import { BaseEntity, generateEntityId } from "@medusajs/utils"
import { BaseEntity, Product, ProductCollection } from "@medusajs/medusa"
import { generateEntityId } from "@medusajs/utils"
import { BeforeInsert, Column, Entity, Index, JoinColumn, ManyToOne, ManyToMany, JoinTable } from "typeorm"
import { BlogCategory } from "./blog-category"
import { BlogTag } from "./blog-tag"
+2 -1
View File
@@ -1,4 +1,5 @@
import { BaseEntity, generateEntityId } from "@medusajs/utils"
import { BaseEntity } from "@medusajs/medusa"
import { generateEntityId } from "@medusajs/utils"
import { BeforeInsert, Column, Entity } from "typeorm"
@Entity()
+1 -1
View File
@@ -1,4 +1,4 @@
import { TransactionBaseService } from '@medusajs/utils'
import { TransactionBaseService } from '@medusajs/medusa'
import { ProductRepository } from '@medusajs/medusa/dist/repositories/product'
import { ProductCollectionRepository } from '@medusajs/medusa/dist/repositories/product-collection'
import { BlogCategoryRepository } from '../repositories/blog-category'