mirror of
https://github.com/Such-Software/medusa-plugin-blog.git
synced 2026-10-21 06:08:32 +02:00
update import paths for compatibility with @medusajs/medusa 1.12.0
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,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'
|
||||
|
||||
Reference in New Issue
Block a user