Skip to content

Commit

Permalink
chore(content-schema): change absolute paths to relative for schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
arturvoloshyn committed Mar 8, 2024
1 parent 21e794d commit 5de68dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content-schema/example/courses/test-course-1/course.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ArturW1998/course-app/main/content-schema/schemas/course.schema.json
# yaml-language-server: $schema=../../../schemas/course.schema.json

id: "{cuid}"
thumbnail: "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/2300px-React-icon.svg.png"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ArturW1998/course-app/main/content-schema/schemas/lesson.schema.json
# yaml-language-server: $schema=../../../../../schemas/lesson.schema.json
id: "{cuid}"
title: "Advanced Python Programming"
blocks:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "jest",
"prettier": "prettier -w .",
"test:e2e": "npx prisma migrate reset --force && playwright test",
"upload-content-schema": "ts-node --project tsconfig.script.json ./scripts/upload-content-schema https://raw.githubusercontent.com/ArturW1998/course-app/main/content-schema/schemas/ ./src/shared/api/content/schemas",
"upload-content-schema": "ts-node --project tsconfig.script.json ./scripts/upload-content-schema ./content-schema/schemas/ ./src/shared/api/content/schemas",
"dev:content-schema": "npm run dev --workspace=@core/content-schema"
},
"prisma": {
Expand Down

0 comments on commit 5de68dc

Please sign in to comment.