Skip to content
Merged
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
48 changes: 0 additions & 48 deletions .github/workflows/publish.yml

This file was deleted.

File renamed without changes.
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
integration/
tests/
coverage/
.gitignore
.github/
.prettierrc
.vscode/
vitest.config.ts
tsconfig.json
tsconfig.build.json
pnpm-lock.yaml
pnpm-workspace.yaml
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pnpm-lock.yaml
pnpm-workspace.yaml
17 changes: 8 additions & 9 deletions integration/generated/zero/schema.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
/* eslint-disable */

// // @ts-nocheck

// // noinspection JSUnusedGlobalSymbols

// // This file was automatically generated by prisma-zero.
// // You should NOT make any changes in this file as it will be overwritten.
// // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
// This file was automatically generated by prisma-zero.
// You should NOT make any changes in this file as it will be overwritten.

import {
boolean,
createBuilder,
createCRUDBuilder,
createSchema,
number,
relationships,
Expand Down Expand Up @@ -77,6 +71,11 @@ export const zql = createBuilder(schema);
* @deprecated Use `zql` instead.
*/
export const builder = zql;
/**
* Represents the Zero schema CRUD builder.
* This type is auto-generated from your Prisma schema definition.
*/
export const crud = createCRUDBuilder(schema);
/** Defines the default types for Zero */
declare module '@rocicorp/zero' {
interface DefaultTypes {
Expand Down
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "pnpm build"
},
"dependencies": {
"@rocicorp/zero": "0.24.3000000000",
"@rocicorp/zero": "0.25.0-canary.18",
"prisma-zero": "workspace:*"
},
"devDependencies": {
Expand Down
Loading