Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ Click the **Use this template** button and provide details for your Client exten
Install the dependencies:

```
npm install
pnpm install
```

Build the extension:

```
npm run build
pnpm run build
```

Set up the example app:

```
cd example
npm install
npx prisma db push
pnpm install
pnpm prisma db push
```

Test the extension in the example app:
```
npm run dev
pnpm run dev
```

### Evolve the extension
Expand Down
3 changes: 3 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
# Keep environment variables out of version control
.env

# Prisma
src/generated/
8 changes: 4 additions & 4 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "example",
"scripts": {
"dev": "ts-node --transpile-only index.ts"
"dev": "ts-node --transpile-only ./src/index.ts"
},
"dependencies": {
"@prisma/client": "^4.15.0"
"@prisma/client": "^6.15.0"
},
"devDependencies": {
"prisma": "^4.15.0",
"prisma": "^6.15.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.0"
"typescript": "latest"
}
}
Loading