Skip to content

Commit

Permalink
Merge pull request #71 from prisma/ankur-patch
Browse files Browse the repository at this point in the history
feat: add layered architecture support
  • Loading branch information
ankur-arch authored Dec 27, 2024
2 parents 8bc609a + 524dba9 commit 6e616be
Show file tree
Hide file tree
Showing 9 changed files with 346 additions and 238 deletions.
170 changes: 146 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"chalk": "^5.3.0",
"defu": "^6.1.4",
"execa": "^8.0.1",
"nypm": "^0.4.1",
"pathe": "^1.1.2",
"prompts": "^2.4.2"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions playground/database/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
# Keep environment variables out of version control
.env
1 change: 1 addition & 0 deletions playground/database/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default defineNuxtConfig({});
6 changes: 5 additions & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export default defineNuxtConfig({
modules: ["../src/module"],
prisma: {},
extends: ["./database"],
prisma: {
prismaRoot: "./database",
prismaSchemaPath: "./database/prisma/schema.prisma",
},
experimental: {
componentIslands: true,
},
Expand Down
Loading

0 comments on commit 6e616be

Please sign in to comment.