Skip to content

Commit 39a14dd

Browse files
Merge pull request #601 from elbwalker/600-router
600 router
2 parents d49895a + 764652d commit 39a14dd

File tree

344 files changed

+32986
-35736
lines changed

Some content is hidden

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

344 files changed

+32986
-35736
lines changed

.changeset/config.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,47 @@
22
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
5-
"fixed": [],
5+
"fixed": [
6+
[
7+
"@walkeros/core",
8+
"@walkeros/collector",
9+
"@walkeros/cli",
10+
"@walkeros/web-core",
11+
"@walkeros/server-core",
12+
"@walkeros/config",
13+
"@walkeros/mcp",
14+
"@walkeros/web-source-browser",
15+
"@walkeros/web-source-session",
16+
"@walkeros/web-source-datalayer",
17+
"@walkeros/web-source-cmp-cookiefirst",
18+
"@walkeros/web-source-cmp-cookiepro",
19+
"@walkeros/web-source-cmp-usercentrics",
20+
"@walkeros/web-destination-api",
21+
"@walkeros/web-destination-gtag",
22+
"@walkeros/web-destination-meta",
23+
"@walkeros/web-destination-piwikpro",
24+
"@walkeros/web-destination-plausible",
25+
"@walkeros/web-destination-snowplow",
26+
"@walkeros/server-source-aws",
27+
"@walkeros/server-source-express",
28+
"@walkeros/server-source-fetch",
29+
"@walkeros/server-source-gcp",
30+
"@walkeros/server-destination-api",
31+
"@walkeros/server-destination-aws",
32+
"@walkeros/server-destination-datamanager",
33+
"@walkeros/server-destination-gcp",
34+
"@walkeros/server-destination-meta",
35+
"@walkeros/transformer-router",
36+
"@walkeros/transformer-validator",
37+
"@walkeros/server-transformer-fingerprint",
38+
"@walkeros/walker.js",
39+
"@walkeros/storybook-addon"
40+
]
41+
],
642
"linked": [],
743
"access": "public",
844
"baseBranch": "main",
9-
"updateInternalDependencies": "patch",
45+
"updateInternalDependencies": "minor",
1046
"ignore": [],
1147
"snapshot": {
1248
"useCalculatedVersion": true,

.changeset/fix-json-output-newline.md

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

.cursor/rules/01-core.rule

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

.cursor/rules/02-packages.rule

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

.cursor/rules/03-priorities.rule

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

.cursor/rules/04-standards.rule

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

.github/workflows/release.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ jobs:
4545
- name: Build
4646
run: npm run build
4747

48+
- name: Test
49+
run: npm run test
50+
4851
- name: Lint
4952
run: npm run lint
5053

51-
- name: Test
52-
run: npm run test
54+
- name: Integration tests
55+
run: npm run test:integration
5356

5457
- name: Capture changeset info
5558
id: changesets
@@ -117,7 +120,12 @@ jobs:
117120
run: npm install --package-lock-only
118121

119122
- name: Publish to npm
120-
run: npx changeset publish
123+
run: |
124+
if [ "${{ inputs.release_type }}" = "pre-release (next)" ]; then
125+
npx changeset publish --tag next
126+
else
127+
npx changeset publish
128+
fi
121129
env:
122130
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
123131

@@ -158,6 +166,20 @@ jobs:
158166
CLI_VERSION=$(node -p "require('./packages/cli/package.json').version")
159167
echo "cli=$CLI_VERSION" >> $GITHUB_OUTPUT
160168
169+
- name: Verify CLI published to npm
170+
run: |
171+
CLI_VERSION=${{ steps.versions.outputs.cli }}
172+
for i in 1 2 3 4 5; do
173+
if npm view "@walkeros/cli@$CLI_VERSION" version 2>/dev/null; then
174+
echo "Verified: @walkeros/cli@$CLI_VERSION exists on npm"
175+
exit 0
176+
fi
177+
echo "Attempt $i: waiting for npm propagation..."
178+
sleep 10
179+
done
180+
echo "ERROR: @walkeros/cli@$CLI_VERSION not found on npm after publish"
181+
exit 1
182+
161183
- name: Check if Flow image exists
162184
id: check-flow
163185
run: |
@@ -190,6 +212,8 @@ jobs:
190212
context: ./packages/cli
191213
file: ./packages/cli/Dockerfile
192214
push: true
215+
build-args: |
216+
CLI_VERSION=${{ steps.versions.outputs.cli }}
193217
tags: |
194218
walkeros/flow:${{ steps.versions.outputs.cli }}
195219
walkeros/flow:${{ inputs.release_type == 'stable release' && 'latest' || 'next' }}

.github/workflows/storybook.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Deploy Storybook
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'apps/demos/storybook/**'
8+
- 'apps/storybook-addon/**'
9+
- '.github/workflows/storybook.yml'
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
deploy:
18+
runs-on: ubuntu-latest
19+
env:
20+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
21+
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: '22'
28+
cache: 'npm'
29+
30+
- run: corepack enable
31+
- run: npm ci
32+
- run: npm run build
33+
34+
- name: Build Storybook
35+
working-directory: apps/demos/storybook
36+
run: npm run build-storybook
37+
38+
- name: Deploy to Bunny
39+
working-directory: apps/demos/storybook
40+
run: node scripts/deploy-bunny.mjs
41+
env:
42+
BUNNY_STORAGE_ZONE: ${{ secrets.BUNNY_STORYBOOK_STORAGE_ZONE }}
43+
BUNNY_STORAGE_PASSWORD: ${{ secrets.BUNNY_STORYBOOK_STORAGE_PASSWORD }}
44+
BUNNY_API_KEY: ${{ secrets.BUNNY_API_KEY }}
45+
BUNNY_PULLZONE_URL: ${{ secrets.BUNNY_STORYBOOK_PULLZONE_URL }}

.github/workflows/tagging.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy Tagging Demo
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'apps/demos/tagging/**'
8+
- '.github/workflows/tagging.yml'
9+
workflow_dispatch:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
deploy:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: '22'
24+
25+
- name: Deploy to Bunny
26+
working-directory: apps/demos/tagging
27+
run: node scripts/deploy-bunny.mjs
28+
env:
29+
BUNNY_STORAGE_ZONE: ${{ secrets.BUNNY_TAGGING_STORAGE_ZONE }}
30+
BUNNY_STORAGE_PASSWORD: ${{ secrets.BUNNY_TAGGING_STORAGE_PASSWORD }}
31+
BUNNY_API_KEY: ${{ secrets.BUNNY_API_KEY }}
32+
BUNNY_PULLZONE_URL: ${{ secrets.BUNNY_TAGGING_PULLZONE_URL }}

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ jobs:
6565
packages/*/coverage/
6666
packages/*/.tmp/
6767
retention-days: 7
68+
- run: npm run typecheck
6869
- run: npm run lint
6970
- name: Validate documentation
7071
run: npm run validate:links
72+
- name: Run integration tests
73+
run: npm run test:integration
74+
env:
75+
CI: true

0 commit comments

Comments
 (0)