Skip to content

Commit bdb95ff

Browse files
authored
merge dev to main (release 1.6.0) (#919)
2 parents 6edf836 + 7e9cc35 commit bdb95ff

File tree

95 files changed

+17531
-870
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+17531
-870
lines changed

.github/workflows/build-test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,20 @@ jobs:
7272
- name: Install dependencies
7373
run: pnpm install --frozen-lockfile
7474

75+
- name: Gradle Wrapper Validation
76+
uses: gradle/[email protected]
77+
78+
- name: Setup Java
79+
uses: actions/setup-java@v4
80+
with:
81+
distribution: zulu
82+
java-version: 17
83+
84+
- name: Setup Gradle
85+
uses: gradle/gradle-build-action@v2
86+
with:
87+
gradle-home-cache-cleanup: true
88+
7589
- name: Build
7690
run: DEFAULT_NPM_TAG=latest pnpm run build
7791

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ The following diagram gives a high-level architecture overview of ZenStack.
182182

183183
### Todo SaaS App
184184

185-
Check out the [Collaborative Todo App](https://zenstack-todo.vercel.app/) for a running example. You can find different implementations below:
185+
Check out the [Multi-tenant Todo App](https://zenstack-todo.vercel.app/) for a running example. You can find different implementations below:
186186

187187
- [Next.js 13 + NextAuth + SWR](https://github.com/zenstackhq/sample-todo-nextjs)
188188
- [Next.js 13 + NextAuth + TanStack Query](https://github.com/zenstackhq/sample-todo-nextjs-tanstack)

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.5.0",
3+
"version": "1.6.0",
44
"description": "",
55
"scripts": {
66
"build": "pnpm -r build",

packages/ide/jetbrains/.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
.idea/modules.xml
9+
.idea/jarRepositories.xml
10+
.idea/compiler.xml
11+
.idea/libraries/
12+
*.iws
13+
*.iml
14+
*.ipr
15+
out/
16+
!**/src/main/**/out/
17+
!**/src/test/**/out/
18+
.sign

packages/ide/jetbrains/.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ide/jetbrains/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ide/jetbrains/.idea/gradle.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ide/jetbrains/.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ide/jetbrains/.idea/misc.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ide/jetbrains/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
plugins {
2+
id("java")
3+
id("org.jetbrains.kotlin.jvm") version "1.9.21"
4+
id("org.jetbrains.intellij") version "1.16.1"
5+
}
6+
7+
group = "dev.zenstack"
8+
version = "1.6.0"
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
// Configure Gradle IntelliJ Plugin
15+
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
16+
intellij {
17+
version.set("2023.3.2")
18+
type.set("IU") // Target IDE Platform
19+
20+
plugins.set(listOf("JavaScript", "org.jetbrains.plugins.textmate"))
21+
}
22+
23+
tasks {
24+
// Set the JVM compatibility versions
25+
withType<JavaCompile> {
26+
sourceCompatibility = "17"
27+
targetCompatibility = "17"
28+
}
29+
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
30+
kotlinOptions.jvmTarget = "17"
31+
}
32+
33+
prepareSandbox {
34+
doLast {
35+
copy {
36+
from("${project.projectDir}/../../schema/bundle/language-server/main.js")
37+
into("${destinationDir.path}/zenstack/language-server/")
38+
}
39+
copy {
40+
from("${project.projectDir}/../../schema/src/res/stdlib.zmodel")
41+
into("${destinationDir.path}/zenstack/res/")
42+
}
43+
copy {
44+
from("${project.projectDir}/src/main/textMate/zmodel.tmbundle")
45+
into("${destinationDir.path}/zenstack/res/zmodel.tmbundle")
46+
}
47+
copy {
48+
from("${project.projectDir}/../../language/syntaxes/zmodel.tmLanguage")
49+
into("${destinationDir.path}/zenstack/res/zmodel.tmbundle/Syntaxes/")
50+
}
51+
}
52+
}
53+
54+
patchPluginXml {
55+
sinceBuild.set("231")
56+
untilBuild.set("241.*")
57+
}
58+
59+
signPlugin {
60+
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
61+
privateKey.set(System.getenv("PRIVATE_KEY"))
62+
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
63+
}
64+
65+
publishPlugin {
66+
token.set(System.getenv("PUBLISH_TOKEN"))
67+
}
68+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2+
kotlin.stdlib.default.dependency=false
3+
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
4+
org.gradle.configuration-cache=false
5+
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
6+
org.gradle.caching=true
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)