Skip to content

Commit fc1487c

Browse files
committed
Merge branch 'main' into stacks-799/support-object/array-class-syntax-stacks-svelte
# Conflicts: # packages/stacks-svelte/src/components/Avatar/Avatar.svelte
2 parents 79a5456 + 2a0e489 commit fc1487c

597 files changed

Lines changed: 42045 additions & 57373 deletions

File tree

Some content is hidden

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

.changeset/pre.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040
"great-coats-remain",
4141
"heavy-kiwis-speak",
4242
"heavy-years-attack",
43+
"icy-maps-play",
4344
"itchy-mirrors-yawn",
4445
"itchy-spies-cover",
4546
"itchy-tomatoes-grin",
47+
"large-rooms-cheer",
4648
"lazy-lies-exercise",
4749
"lazy-teachers-wink",
4850
"legal-jobs-marry",
@@ -84,6 +86,7 @@
8486
"solid-mugs-jog",
8587
"sour-jobs-collect",
8688
"strong-stamps-occur",
89+
"swift-clocks-ring",
8790
"tall-shrimps-deny",
8891
"ten-sheep-call",
8992
"ten-sides-fail",

.changeset/strong-news-float.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@stackoverflow/stacks-svelte": patch
3+
---
4+
5+
* `<Avatar>` nested `<img>` dimensions.
6+
* Screen reader text for the private badge variant.

.changeset/swift-clocks-ring.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stackoverflow/stacks-svelte": patch
3+
---
4+
5+
Pre-bundle dayjs plugins with .js extension in optimizeDeps

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @StackExchange/stacks

.github/workflows/main.yml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [develop, beta]
5+
branches: [main, beta]
66
pull_request:
7-
branches: [develop, beta]
7+
branches: [main, beta]
88

99
jobs:
1010
build-and-test:
@@ -51,12 +51,15 @@ jobs:
5151
command_description: ${{ matrix.command_description }}
5252
needs_playwright: ${{ matrix.needs_playwright }}
5353
needs_lfs: ${{ matrix.needs_lfs }}
54+
secrets: inherit
5455

5556
release:
5657
name: Release (latest or beta)
57-
if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta'
58+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta'
5859
needs: [build-and-test]
5960
runs-on: ubuntu-latest
61+
env:
62+
BETTER_AUTH_SECRET: ${{ secrets.AUTH_SECRET || 'ci-build-placeholder-secret' }}
6063
outputs:
6164
published: ${{ steps.changesets.outputs.published }}
6265
steps:
@@ -79,7 +82,7 @@ jobs:
7982
title: "chore(new-release)"
8083
commit: "chore(new-release)"
8184
branch: ${{ github.ref == 'refs/heads/beta' && 'beta' || null }}
82-
createGithubReleases: ${{ github.ref == 'refs/heads/develop' }}
85+
createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
8386
env:
8487
GITHUB_TOKEN: ${{ secrets.STACKS_TOOLING_GH_RW_PAT }}
8588
NPM_TOKEN: ${{ secrets.NPM_API_KEY }}
@@ -95,25 +98,6 @@ jobs:
9598
This is necessary because the PR is updated by github-actions[bot].
9699
This is a technical user which does not trigger actions workflows on push events.
97100
See this GH issue for more details: https://github.com/changesets/action/issues/187
98-
99-
update-docs:
100-
name: Update main site stackoverflow.design
101-
if: ${{ needs.release.outputs.published == 'true' && github.ref == 'refs/heads/develop' }}
102-
needs: [build-and-test, release]
103-
runs-on: ubuntu-latest
104-
steps:
105-
- uses: actions/checkout@v5
106-
- name: 🔄 Update stackoverflow.design docs
107-
run: |
108-
git config --global user.name 'github-actions[bot]'
109-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
110-
git fetch origin
111-
git checkout production
112-
git merge --no-ff --allow-unrelated-histories origin/develop -m "chore: merge develop into production"
113-
git push origin production
114-
env:
115-
GITHUB_TOKEN: ${{ secrets.STACKS_TOOLING_GH_RW_PAT }}
116-
117101
# cancel the jobs if another workflow is kicked off for the same branch
118102
concurrency:
119103
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,18 @@ jobs:
4343
if: inputs.needs_playwright == true
4444
run: npx playwright install --with-deps
4545

46+
- name: 🔑 Setup SSH for private submodule
47+
run: |
48+
mkdir -p ~/.ssh
49+
echo -e "${SUBMODULE_SSH_KEY//_/\\n}" > ~/.ssh/id_rsa
50+
chmod og-rwx ~/.ssh/id_rsa
51+
env:
52+
SUBMODULE_SSH_KEY: ${{ secrets.SUBMODULE_SSH_KEY }}
53+
4654
- name: ▶️ ${{ inputs.command_description }}
4755
run: ${{ inputs.command }}
56+
env:
57+
BETTER_AUTH_SECRET: ${{ secrets.AUTH_SECRET || 'ci-build-placeholder-secret' }}
4858

4959
- name: ⬆️ Upload Visual Regression Test Results
5060
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 15 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
1-
# Compiled source #
2-
###################
3-
*.com
4-
*.class
5-
*.dll
6-
*.exe
7-
*.o
8-
*.so
9-
10-
# Packages #
11-
############
12-
# it's better to unpack these files and commit the raw source
13-
# git has its own built in compression methods
14-
*.7z
15-
*.dmg
16-
*.gz
17-
*.iso
18-
*.jar
19-
*.rar
20-
*.tar
21-
22-
# Logs and databases #
23-
######################
1+
# Logs #
2+
########
243
*.log
25-
*.sql
26-
*.sqlite
274

285
# OS generated files #
296
######################
@@ -37,53 +14,33 @@ Thumbs.db
3714
*_rsa
3815
*_rsa.pub
3916

40-
# Sublime #
41-
######################
42-
*.sublime-workspace
43-
44-
# 11ty Site #
45-
###############
46-
# This is compiled by Netlify on its servers, so no need to include it.
47-
_site/
48-
.asset-cache
49-
50-
# Komodo Edit #
51-
###############
52-
*.komodoproject
53-
5417
# NPM #
5518
###############
56-
node_modules
19+
node_modules/
5720

5821
# Compiled CSS/JS #
5922
###############
60-
dist/
61-
/packages/stacks-docs/assets/css/
62-
/packages/stacks-docs/assets/js/stacks.*
63-
/packages/stacks-docs/assets/js/controllers.js
64-
/packages/stacks-docs/assets/js/controllers.js.map
65-
/packages/stacks-docs/assets/js/library.*
23+
/packages/stacks-classic/dist/
24+
/packages/stacks-svelte/netlify/dist/
25+
/packages/stacks-utils/dist/
6626
/build/
27+
28+
# Build caches #
29+
################
6730
.tscache
31+
*.tsbuildinfo
32+
.svelte-kit/
33+
34+
# Private docs are cloned during docs builds and must not be tracked.
35+
/packages/stacks-docs/src/docs/private/
6836

6937
# legacy compiled files -- these are no longer generated, but may still be lingering around
7038
/packages/stacks-classic/lib/css/*.css
7139

72-
# Environment normalization #
73-
###############
74-
/packages/stacks-docs/.bundle
75-
/packages/stacks-docs/vendor/bundle
76-
/packages/stacks-docs/_includes/svg-icons
77-
/packages/stacks-docs/_includes/svg-spots
78-
7940
# Testing Assets #
8041
###############
8142
**/screenshots/**/failed/**
8243

83-
# GitHub Actions #
84-
###############
85-
/.github/main.workflow
86-
8744
# Editors #
8845
###########
8946
/.idea
@@ -92,6 +49,4 @@ dist/
9249
################
9350
**/storybook-static
9451
.eslintcache
95-
*.tsbuildinfo
96-
.svelte-kit
97-
/packages/stacks-svelte/lib/
52+
/packages/stacks-svelte/lib/

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.md
21
.vscode/
32
dist/
43
**/.svelte-kit

0 commit comments

Comments
 (0)