Skip to content

Commit 30fa093

Browse files
authored
chore: bump version (#316)
1 parent 38c97bd commit 30fa093

File tree

14 files changed

+17
-18
lines changed

14 files changed

+17
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenstack-monorepo",
3-
"version": "1.0.0-alpha.95",
3+
"version": "1.0.0-alpha.96",
44
"description": "",
55
"scripts": {
66
"build": "pnpm -r build",

packages/language/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/language",
3-
"version": "1.0.0-alpha.95",
3+
"version": "1.0.0-alpha.96",
44
"displayName": "ZenStack modeling language compiler",
55
"description": "ZenStack modeling language compiler",
66
"homepage": "https://zenstack.dev",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/next",
3-
"version": "1.0.0-alpha.95",
3+
"version": "1.0.0-alpha.96",
44
"displayName": "ZenStack Next.js integration",
55
"description": "ZenStack Next.js integration",
66
"homepage": "https://zenstack.dev",

packages/plugins/openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/openapi",
33
"displayName": "ZenStack Plugin and Runtime for OpenAPI",
4-
"version": "1.0.0-alpha.95",
4+
"version": "1.0.0-alpha.96",
55
"description": "ZenStack plugin and runtime supporting OpenAPI",
66
"main": "index.js",
77
"repository": {

packages/plugins/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/react",
33
"displayName": "ZenStack plugin and runtime for ReactJS",
4-
"version": "1.0.0-alpha.95",
4+
"version": "1.0.0-alpha.96",
55
"description": "ZenStack plugin and runtime for ReactJS",
66
"main": "index.js",
77
"repository": {

packages/plugins/react/src/generator/swr.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export async function generate(model: Model, options: PluginOptions, dmmf: DMMF.
2222

2323
generateIndex(project, outDir, models);
2424

25-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
26-
models.forEach((dataModel: any) => {
25+
models.forEach((dataModel) => {
2726
const mapping = dmmf.mappings.modelOperations.find((op) => op.model === dataModel.name);
2827
if (!mapping) {
2928
warnings.push(`Unable to find mapping for model ${dataModel.name}`);

packages/plugins/trpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/trpc",
33
"displayName": "ZenStack plugin for tRPC",
4-
"version": "1.0.0-alpha.95",
4+
"version": "1.0.0-alpha.96",
55
"description": "ZenStack plugin for tRPC",
66
"main": "index.js",
77
"repository": {

packages/runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/runtime",
33
"displayName": "ZenStack Runtime Library",
4-
"version": "1.0.0-alpha.95",
4+
"version": "1.0.0-alpha.96",
55
"description": "Runtime of ZenStack for both client-side and server-side environments.",
66
"repository": {
77
"type": "git",

packages/schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publisher": "zenstack",
44
"displayName": "ZenStack Language Tools",
55
"description": "A toolkit for building secure CRUD apps with Next.js + Typescript",
6-
"version": "1.0.0-alpha.95",
6+
"version": "1.0.0-alpha.96",
77
"author": {
88
"name": "ZenStack Team"
99
},

packages/schema/tests/cli/cli.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('CLI Tests', () => {
3737
createNpmrc();
3838

3939
const program = createProgram();
40-
program.parse(['init'], { from: 'user' });
40+
program.parse(['init', '--tag', 'latest'], { from: 'user' });
4141

4242
expect(fs.readFileSync('schema.zmodel', 'utf-8')).toEqual(fs.readFileSync('prisma/schema.prisma', 'utf-8'));
4343

@@ -53,7 +53,7 @@ describe('CLI Tests', () => {
5353
createNpmrc();
5454

5555
const program = createProgram();
56-
program.parse(['init'], { from: 'user' });
56+
program.parse(['init', '--tag', 'latest'], { from: 'user' });
5757

5858
expect(fs.readFileSync('schema.zmodel', 'utf-8')).toEqual(fs.readFileSync('prisma/schema.prisma', 'utf-8'));
5959

@@ -69,7 +69,7 @@ describe('CLI Tests', () => {
6969
createNpmrc();
7070

7171
const program = createProgram();
72-
program.parse(['init'], { from: 'user' });
72+
program.parse(['init', '--tag', 'latest'], { from: 'user' });
7373

7474
expect(fs.readFileSync('schema.zmodel', 'utf-8')).toEqual(fs.readFileSync('prisma/schema.prisma', 'utf-8'));
7575

0 commit comments

Comments
 (0)