Skip to content

Commit 9d2cfc7

Browse files
authored
merge dev to main (#205)
2 parents e415370 + ea6bbec commit 9d2cfc7

File tree

18 files changed

+234
-21
lines changed

18 files changed

+234
-21
lines changed

.github/workflows/build-test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
branches: ['dev', 'main', 'canary']
1515

1616
jobs:
17-
build:
17+
build-test:
1818
runs-on: ubuntu-latest
1919

2020
strategy:
@@ -35,11 +35,14 @@ jobs:
3535
cache: 'pnpm'
3636
- run: pnpm install --frozen-lockfile
3737
- run: |
38-
if [[ $GITHUB_REF == 'refs/heads/canary' ]]; then
39-
DEFAULT_NPM_TAG=canary pnpm run build
40-
else
41-
DEFAULT_NPM_TAG=latest pnpm run build
42-
fi
38+
if [[ $GITHUB_REF == 'refs/heads/canary' ]]; then
39+
DEFAULT_NPM_TAG=canary pnpm run build
40+
else
41+
DEFAULT_NPM_TAG=latest pnpm run build
42+
fi
43+
44+
- run: pnpm lint
45+
4346
# install again for internal dependencies
4447
- run: pnpm install --frozen-lockfile
4548
- run: pnpm run test

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ const MyPosts = () => {
8989
};
9090
```
9191

92+
The following diagram gives a high-level overview of how it works.
93+
94+
![Architecture](https://zenstack.dev/img/architecture-light.png)
95+
9296
## Links
9397

9498
- [Home](https://zenstack.dev)

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.31",
3+
"version": "1.0.0-alpha.33",
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.31",
3+
"version": "1.0.0-alpha.33",
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.31",
3+
"version": "1.0.0-alpha.33",
44
"displayName": "ZenStack Next.js integration",
55
"description": "ZenStack Next.js integration",
66
"homepage": "https://zenstack.dev",

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.31",
4+
"version": "1.0.0-alpha.33",
55
"description": "ZenStack plugin and runtime for ReactJS",
66
"main": "index.js",
77
"repository": {

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.31",
4+
"version": "1.0.0-alpha.33",
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.31",
4+
"version": "1.0.0-alpha.33",
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.31",
6+
"version": "1.0.0-alpha.33",
77
"author": {
88
"name": "ZenStack Team"
99
},

packages/schema/src/language-server/constants.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ export const SCALAR_TYPES = ['String', 'Int', 'Float', 'Decimal', 'BigInt', 'Boo
1212
* Name of standard library module
1313
*/
1414
export const STD_LIB_MODULE_NAME = 'stdlib.zmodel';
15+
16+
export enum IssueCodes {
17+
MissingOppositeRelation = 'miss-opposite-relation',
18+
}

0 commit comments

Comments
 (0)