Skip to content

Commit 63096ce

Browse files
release: v1.0.0 #7711
2 parents 9b58b92 + b696ae9 commit 63096ce

File tree

2,333 files changed

+48709
-24337
lines changed

Some content is hidden

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

2,333 files changed

+48709
-24337
lines changed

.dockerignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,48 @@ out/
1616
**/out/
1717
dist/
1818
**/dist/
19+
# Logs
20+
npm-debug.log*
21+
pnpm-debug.log*
22+
.pnpm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
26+
# OS junk
27+
.DS_Store
28+
Thumbs.db
29+
30+
# Editor settings
31+
.vscode
32+
.idea
33+
34+
# Coverage and test output
35+
coverage/
36+
**/coverage/
37+
*.lcov
38+
.junit/
39+
test-results/
40+
41+
# Caches and build artifacts
42+
.cache/
43+
**/.cache/
44+
storybook-static/
45+
*storybook.log
46+
*.tsbuildinfo
47+
48+
# Local env and secrets
49+
.env.local
50+
.env.development.local
51+
.env.test.local
52+
.env.production.local
53+
.secrets
54+
tmp/
55+
temp/
56+
57+
# Database/cache dumps
58+
*.rdb
59+
*.rdb.gz
60+
61+
# Misc
62+
*.pem
63+
*.key

.github/workflows/build-branch.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ on:
3535
- preview
3636
- canary
3737

38+
concurrency:
39+
group: ${{ github.workflow }}-${{ github.ref }}
40+
cancel-in-progress: true
41+
3842
env:
3943
TARGET_BRANCH: ${{ github.ref_name }}
4044
ARM64_BUILD: ${{ github.event.inputs.arm64 }}
@@ -268,15 +272,14 @@ jobs:
268272
if: ${{ needs.branch_build_setup.outputs.aio_build == 'true' }}
269273
name: Build-Push AIO Docker Image
270274
runs-on: ubuntu-22.04
271-
needs: [
272-
branch_build_setup,
273-
branch_build_push_admin,
274-
branch_build_push_web,
275-
branch_build_push_space,
276-
branch_build_push_live,
277-
branch_build_push_api,
278-
branch_build_push_proxy
279-
]
275+
needs:
276+
- branch_build_setup
277+
- branch_build_push_admin
278+
- branch_build_push_web
279+
- branch_build_push_space
280+
- branch_build_push_live
281+
- branch_build_push_api
282+
- branch_build_push_proxy
280283
steps:
281284
- name: Checkout Files
282285
uses: actions/checkout@v4
@@ -285,7 +288,7 @@ jobs:
285288
id: prepare_aio_assets
286289
run: |
287290
cd deployments/aio/community
288-
291+
289292
if [ "${{ needs.branch_build_setup.outputs.build_type }}" == "Release" ]; then
290293
aio_version=${{ needs.branch_build_setup.outputs.release_version }}
291294
else
@@ -324,7 +327,14 @@ jobs:
324327
upload_build_assets:
325328
name: Upload Build Assets
326329
runs-on: ubuntu-22.04
327-
needs: [branch_build_setup, branch_build_push_admin, branch_build_push_web, branch_build_push_space, branch_build_push_live, branch_build_push_api, branch_build_push_proxy]
330+
needs:
331+
- branch_build_setup
332+
- branch_build_push_admin
333+
- branch_build_push_web
334+
- branch_build_push_space
335+
- branch_build_push_live
336+
- branch_build_push_api
337+
- branch_build_push_proxy
328338
steps:
329339
- name: Checkout Files
330340
uses: actions/checkout@v4
@@ -397,4 +407,3 @@ jobs:
397407
${{ github.workspace }}/deployments/cli/community/docker-compose.yml
398408
${{ github.workspace }}/deployments/cli/community/variables.env
399409
${{ github.workspace }}/deployments/swarm/community/swarm.sh
400-

.github/workflows/build-test-pull-request.yml

Lines changed: 0 additions & 95 deletions
This file was deleted.

.github/workflows/check-version.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717

1818
- name: Setup Node.js
1919
uses: actions/setup-node@v4
20-
with:
21-
node-version: '18'
2220

2321
- name: Get PR Branch version
2422
run: echo "PR_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build and lint API
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- "preview"
8+
types:
9+
- "opened"
10+
- "synchronize"
11+
- "ready_for_review"
12+
- "review_requested"
13+
- "reopened"
14+
paths:
15+
- "apps/api/**"
16+
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
lint-api:
23+
name: Lint API
24+
runs-on: ubuntu-latest
25+
timeout-minutes: 25
26+
if: |
27+
github.event.pull_request.draft == false &&
28+
github.event.pull_request.requested_reviewers != null
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Set up Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: "3.x"
35+
- name: Install Pylint
36+
run: python -m pip install ruff
37+
- name: Install API Dependencies
38+
run: cd apps/api && pip install -r requirements.txt
39+
- name: Lint apps/api
40+
run: ruff check --fix apps/api
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build and lint web apps
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- "preview"
8+
types:
9+
- "opened"
10+
- "synchronize"
11+
- "ready_for_review"
12+
- "review_requested"
13+
- "reopened"
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build-and-lint:
21+
name: Build and lint web apps
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 25
24+
if: |
25+
github.event.pull_request.draft == false &&
26+
github.event.pull_request.requested_reviewers != null
27+
env:
28+
TURBO_SCM_BASE: ${{ github.event.pull_request.base.sha }}
29+
TURBO_SCM_HEAD: ${{ github.sha }}
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 50
35+
filter: blob:none
36+
37+
- name: Set up Node.js
38+
uses: actions/setup-node@v4
39+
40+
- name: Enable Corepack and pnpm
41+
run: corepack enable pnpm
42+
43+
- name: Install dependencies
44+
run: pnpm install --frozen-lockfile
45+
46+
- name: Lint Affected
47+
run: pnpm turbo run check:lint --affected
48+
49+
- name: Check Affected format
50+
run: pnpm turbo run check:format --affected
51+
52+
- name: Build Affected
53+
run: pnpm turbo run build --affected

.gitignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ out/
2424
.DS_Store
2525
*.pem
2626
.history
27+
tsconfig.tsbuildinfo
2728

2829
# Debug
2930
npm-debug.log*
3031
yarn-debug.log*
3132
yarn-error.log*
33+
pnpm-debug.log*
3234
.pnpm-debug.log*
3335

3436
# Local env files
@@ -60,6 +62,7 @@ node_modules/
6062
assets/dist/
6163
npm-debug.log
6264
yarn-error.log
65+
pnpm-debug.log
6366

6467
# Editor directories and files
6568
.idea
@@ -75,10 +78,9 @@ package-lock.json
7578

7679
# lock files
7780
package-lock.json
78-
pnpm-lock.yaml
79-
pnpm-workspace.yaml
8081

81-
.npmrc
82+
83+
8284
.secrets
8385
tmp/
8486

@@ -95,3 +97,5 @@ dev-editor
9597
# Redis
9698
*.rdb
9799
*.rdb.gz
100+
101+
storybook-static

.npmrc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Enforce pnpm workspace behavior and allow Turbo's lifecycle hooks if scripts are disabled
2+
# This repo uses pnpm with workspaces.
3+
4+
# Prefer linking local workspace packages when available
5+
prefer-workspace-packages=true
6+
link-workspace-packages=true
7+
shared-workspace-lockfile=true
8+
9+
# Make peer installs smoother across the monorepo
10+
auto-install-peers=true
11+
strict-peer-dependencies=false
12+
13+
# If scripts are disabled (e.g., CI with --ignore-scripts), allowlisted packages can still run their hooks
14+
# Turbo occasionally performs postinstall tasks for optimal performance
15+
# moved to pnpm-workspace.yaml: onlyBuiltDependencies (e.g., allow turbo)
16+
17+
public-hoist-pattern[]=*eslint*
18+
public-hoist-pattern[]=prettier
19+
public-hoist-pattern[]=typescript
20+
21+
# Reproducible installs across CI and dev
22+
prefer-frozen-lockfile=true
23+
24+
# Prefer resolving to highest versions in monorepo to reduce duplication
25+
resolution-mode=highest
26+
27+
# Speed up native module builds by caching side effects
28+
side-effects-cache=true
29+
30+
# Speed up local dev by reusing local store when possible
31+
prefer-offline=true
32+
33+
# Ensure workspace protocol is used when adding internal deps
34+
save-workspace-protocol=true

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)