Skip to content

Commit 0e988f4

Browse files
authored
Merge pull request #9592 from ever-co/stage
Apps
2 parents e1bac4d + 8f48977 commit 0e988f4

File tree

438 files changed

+22125
-4720
lines changed

Some content is hidden

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

438 files changed

+22125
-4720
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
description: how to do comprehensive file search on Windows
3+
---
4+
5+
# Comprehensive File Search on Windows
6+
7+
The built-in `grep_search` tool can **silently miss files** on Windows, returning no results even for files that clearly contain the search term. This may be related to workspace paths with spaces, long paths, or other Windows-specific issues.
8+
9+
## Steps
10+
11+
// turbo-all
12+
13+
1. Use `findstr /S /N` for comprehensive recursive search across all directories:
14+
15+
```powershell
16+
findstr /S /N "searchTerm" packages\*.ts
17+
```
18+
19+
2. For case-insensitive search, add `/I`:
20+
21+
```powershell
22+
findstr /S /N /I "searchterm" packages\*.ts
23+
```
24+
25+
3. To search multiple file types or directories:
26+
27+
```powershell
28+
findstr /S /N "searchTerm" packages\*.ts apps\*.ts
29+
```
30+
31+
## When to Use
32+
33+
- **Always** use `findstr /S /N` when searching for function/class usage references, because plugins and other gitignored code may reference them
34+
- **Always** use `findstr /S /N` when auditing for security-related patterns across the entire codebase
35+
- Use `grep_search` only for quick searches where completeness is not critical

.claude/settings.local.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"Bash(yarn list:*)",
1414
"Bash(ls:*)",
1515
"Bash(done)",
16-
"Bash(xargs -I {} sh -c 'echo \"\"=== {} ===\"\" && head -20 {}')"
16+
"Bash(xargs -I {} sh -c 'echo \"\"=== {} ===\"\" && head -20 {}')",
17+
"Bash(yarn nx build:*)",
18+
"Bash(npx tsc:*)"
1719
]
1820
}
1921
}

.cspell.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
"fesm",
209209
"fieldname",
210210
"filepond",
211+
"findstr",
211212
"FIVERR",
212213
"flexbox",
213214
"flexbox",
@@ -631,6 +632,7 @@
631632
"resave",
632633
"rfdc",
633634
"rfdc",
635+
"ripgrep",
634636
"roboto",
635637
"rpmbuild",
636638
"rubygems",
@@ -648,6 +650,7 @@
648650
"scrollbars",
649651
"scrollblock",
650652
"scrollgrid",
653+
"searchterm",
651654
"secp",
652655
"Seedable",
653656
"Segoe",
@@ -780,6 +783,7 @@
780783
"uniquelocal",
781784
"unixepoch",
782785
"unixepoch",
786+
"unmap",
783787
"unmaximize",
784788
"UNPROCESSABLE",
785789
"Unregisters",
@@ -835,6 +839,7 @@
835839
"xplat",
836840
"xplatframework",
837841
"xplatframework",
842+
"yarnrc",
838843
"Yoster",
839844
"Yostorono",
840845
"zfgk",
@@ -862,8 +867,19 @@
862867
"THREADPOOL",
863868
"EMFILE",
864869
"gracefulify",
870+
"kanban",
871+
"Kanban",
872+
"unsubscriptions",
873+
"Tobus",
874+
"preloadable",
875+
"Suivi",
876+
"Démarrer",
877+
"Neue",
865878
"viewports",
866-
"sidemenu"
879+
"sidemenu",
880+
"ptdu",
881+
"ptau",
882+
"Centralises"
867883
],
868884
"useGitignore": true,
869885
"ignorePaths": [

.deploy/api/Dockerfile

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ARG API_BASE_URL
66
ARG CLIENT_BASE_URL
77
ARG API_HOST
88
ARG API_PORT
9+
ARG ALLOWED_ORIGINS
910
ARG CLOUD_PROVIDER
1011
ARG SENTRY_DSN
1112
ARG SENTRY_HTTP_TRACING_ENABLED
@@ -183,13 +184,17 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
183184
ARG VERDACCIO_TOKEN
184185
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
185186
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
186-
echo "registry=https://packages.ever.co/" >> .npmrc; \
187+
echo "registry=https://packages.ever.co/" >> .npmrc && \
188+
echo "always-auth=true" >> .npmrc && \
189+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
190+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
191+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
187192
fi
188193

189194
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts && yarn postinstall.manual && yarn cache clean
190195

191-
# Remove .npmrc so the auth token is not copied to downstream stages
192-
RUN rm -f .npmrc
196+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
197+
RUN rm -f .npmrc .yarnrc
193198

194199
FROM node:24.14.0-alpine3.23 AS prodDependencies
195200

@@ -259,13 +264,17 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
259264
ARG VERDACCIO_TOKEN
260265
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
261266
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
262-
echo "registry=https://packages.ever.co/" >> .npmrc; \
267+
echo "registry=https://packages.ever.co/" >> .npmrc && \
268+
echo "always-auth=true" >> .npmrc && \
269+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
270+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
271+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
263272
fi
264273

265274
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts --production && yarn postinstall.manual && yarn cache clean
266275

267-
# Remove .npmrc so the auth token is not copied to downstream stages
268-
RUN rm -f .npmrc
276+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
277+
RUN rm -f .npmrc .yarnrc
269278

270279
# We remove Angular modules as it's not used in APIs
271280
RUN rm -r node_modules/@angular
@@ -408,6 +417,7 @@ ENV API_PORT=${API_PORT:-3000}
408417

409418
ENV API_BASE_URL=${API_BASE_URL:-http://localhost:3000}
410419
ENV CLIENT_BASE_URL=${CLIENT_BASE_URL:-http://localhost:4200}
420+
ENV ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
411421
ENV SENTRY_DSN=${SENTRY_DSN}
412422
ENV SENTRY_HTTP_TRACING_ENABLED=${SENTRY_HTTP_TRACING_ENABLED:-false}
413423
ENV SENTRY_PROFILING_ENABLED=${SENTRY_PROFILING_ENABLED:-false}

.deploy/mcp-auth/Dockerfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,19 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
7171
ARG VERDACCIO_TOKEN
7272
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
7373
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
74-
echo "registry=https://packages.ever.co/" >> .npmrc; \
74+
echo "registry=https://packages.ever.co/" >> .npmrc && \
75+
echo "always-auth=true" >> .npmrc && \
76+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
77+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
78+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
7579
fi
7680

7781
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts \
7882
&& yarn postinstall.manual \
7983
&& yarn cache clean
8084

81-
# Remove .npmrc so the auth token is not copied to downstream stages
82-
RUN rm -f .npmrc
85+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
86+
RUN rm -f .npmrc .yarnrc
8387

8488
COPY --chown=node:node apps/mcp-auth ./apps/mcp-auth
8589
COPY --chown=node:node packages/auth ./packages/auth/
@@ -145,15 +149,19 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
145149
ARG VERDACCIO_TOKEN
146150
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
147151
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
148-
echo "registry=https://packages.ever.co/" >> .npmrc; \
152+
echo "registry=https://packages.ever.co/" >> .npmrc && \
153+
echo "always-auth=true" >> .npmrc && \
154+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
155+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
156+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
149157
fi
150158

151159
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts --production \
152160
&& yarn postinstall.manual \
153161
&& yarn cache clean
154162

155-
# Remove .npmrc so the auth token is not copied to downstream stages
156-
RUN rm -f .npmrc
163+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
164+
RUN rm -f .npmrc .yarnrc
157165

158166
# PROD
159167
FROM proddependencies AS production

.deploy/mcp/Dockerfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,19 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
116116
ARG VERDACCIO_TOKEN
117117
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
118118
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
119-
echo "registry=https://packages.ever.co/" >> .npmrc; \
119+
echo "registry=https://packages.ever.co/" >> .npmrc && \
120+
echo "always-auth=true" >> .npmrc && \
121+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
122+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
123+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
120124
fi
121125

122126
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts \
123127
&& yarn postinstall.manual \
124128
&& yarn cache clean
125129

126-
# Remove .npmrc so the auth token is not copied to downstream stages
127-
RUN rm -f .npmrc
130+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
131+
RUN rm -f .npmrc .yarnrc
128132

129133
COPY --chown=node:node apps/mcp ./apps/mcp
130134
COPY --chown=node:node packages/mcp-server ./packages/mcp-server/
@@ -188,15 +192,19 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
188192
ARG VERDACCIO_TOKEN
189193
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
190194
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
191-
echo "registry=https://packages.ever.co/" >> .npmrc; \
195+
echo "registry=https://packages.ever.co/" >> .npmrc && \
196+
echo "always-auth=true" >> .npmrc && \
197+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
198+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
199+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
192200
fi
193201

194202
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts --production \
195203
&& yarn postinstall.manual \
196204
&& yarn cache clean
197205

198-
# Remove .npmrc so the auth token is not copied to downstream stages
199-
RUN rm -f .npmrc
206+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
207+
RUN rm -f .npmrc .yarnrc
200208

201209
# PROD
202210
FROM proddependencies AS production

.deploy/webapp/Dockerfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ COPY --chown=node:node packages/auth/package.json ./packages/auth/
104104
COPY --chown=node:node packages/core/package.json ./packages/core/
105105
COPY --chown=node:node packages/plugin/package.json ./packages/plugin/
106106
COPY --chown=node:node packages/plugin-ui/package.json ./packages/plugin-ui/
107+
COPY --chown=node:node packages/ui-react/package.json ./packages/ui-react/
108+
COPY --chown=node:node packages/ui-react-components/package.json ./packages/ui-react-components/
107109
COPY --chown=node:node packages/desktop-ui-lib/package.json ./packages/desktop-ui-lib/
108110
COPY --chown=node:node packages/plugins/integration-ai-ui/package.json ./packages/plugins/integration-ai-ui/
109111
COPY --chown=node:node packages/plugins/integration-ai/package.json ./packages/plugins/integration-ai/
@@ -118,6 +120,7 @@ COPY --chown=node:node packages/plugins/integration-make-com-ui/package.json ./p
118120
COPY --chown=node:node packages/plugins/integration-zapier-ui/package.json ./packages/plugins/integration-zapier-ui/
119121
COPY --chown=node:node packages/plugins/integration-zapier/package.json ./packages/plugins/integration-zapier/
120122
COPY --chown=node:node packages/plugins/integration-sim/package.json ./packages/plugins/integration-sim/
123+
COPY --chown=node:node packages/plugins/integration-sim-ui/package.json ./packages/plugins/integration-sim-ui/
121124
COPY --chown=node:node packages/plugins/integration-activepieces/package.json ./packages/plugins/integration-activepieces/
122125
COPY --chown=node:node packages/plugins/integration-activepieces-ui/package.json ./packages/plugins/integration-activepieces-ui/
123126
COPY --chown=node:node packages/plugins/jitsu-analytics/package.json ./packages/plugins/jitsu-analytics/
@@ -143,6 +146,7 @@ COPY --chown=node:node packages/plugins/videos/package.json ./packages/plugins/v
143146
COPY --chown=node:node packages/plugins/camshot/package.json ./packages/plugins/camshot/
144147
COPY --chown=node:node packages/plugins/soundshot/package.json ./packages/plugins/soundshot/
145148
COPY --chown=node:node packages/plugins/registry/package.json ./packages/plugins/registry/
149+
COPY --chown=node:node packages/plugins/dashboard-time-track-react-ui/package.json ./packages/plugins/dashboard-time-track-react-ui/
146150
COPY --chown=node:node packages/ui-core/package.json ./packages/ui-core/
147151
COPY --chown=node:node packages/ui-config/package.json ./packages/ui-config/
148152
COPY --chown=node:node packages/ui-auth/package.json ./packages/ui-auth/
@@ -156,16 +160,20 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
156160
ARG VERDACCIO_TOKEN
157161
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
158162
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
159-
echo "registry=https://packages.ever.co/" >> .npmrc; \
163+
echo "registry=https://packages.ever.co/" >> .npmrc && \
164+
echo "always-auth=true" >> .npmrc && \
165+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
166+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
167+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
160168
fi
161169

162170
# Must be without --production because we need dev deps installed
163171
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts
164172
RUN yarn postinstall.manual
165173
RUN yarn cache clean
166174

167-
# Remove .npmrc so the auth token is not copied to downstream stages
168-
RUN rm -f .npmrc
175+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
176+
RUN rm -f .npmrc .yarnrc
169177

170178
FROM node:24.14.0-alpine3.23 AS development
171179

.deploy/worker/Dockerfile

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,17 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
188188
ARG VERDACCIO_TOKEN
189189
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
190190
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
191-
echo "registry=https://packages.ever.co/" >> .npmrc; \
191+
echo "registry=https://packages.ever.co/" >> .npmrc && \
192+
echo "always-auth=true" >> .npmrc && \
193+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
194+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
195+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
192196
fi
193197

194198
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts && yarn postinstall.manual && yarn cache clean
195199

196-
# Remove .npmrc so the auth token is not copied to downstream stages
197-
RUN rm -f .npmrc
200+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
201+
RUN rm -f .npmrc .yarnrc
198202

199203
FROM node:24.14.0-alpine3.23 AS prodDependencies
200204

@@ -264,13 +268,17 @@ COPY --chown=node:node .scripts/postinstall.js ./.scripts/
264268
ARG VERDACCIO_TOKEN
265269
RUN if [ -n "$VERDACCIO_TOKEN" ]; then \
266270
echo "//packages.ever.co/:_authToken=${VERDACCIO_TOKEN}" >> .npmrc && \
267-
echo "registry=https://packages.ever.co/" >> .npmrc; \
271+
echo "registry=https://packages.ever.co/" >> .npmrc && \
272+
echo "always-auth=true" >> .npmrc && \
273+
echo 'registry "https://packages.ever.co/"' >> .yarnrc && \
274+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock && \
275+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock; \
268276
fi
269277

270278
RUN yarn install --network-timeout 1000000 --frozen-lockfile --ignore-scripts --production && yarn postinstall.manual && yarn cache clean
271279

272-
# Remove .npmrc so the auth token is not copied to downstream stages
273-
RUN rm -f .npmrc
280+
# Remove .npmrc and .yarnrc so the auth token is not copied to downstream stages
281+
RUN rm -f .npmrc .yarnrc
274282

275283
# We remove Angular modules as it's not used in Workers
276284
RUN rm -r node_modules/@angular

.github/workflows/agent-demo.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
if [ -n "${{ secrets.VERDACCIO_TOKEN }}" ]; then
8383
echo "//packages.ever.co/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" >> .npmrc
8484
echo "registry=https://packages.ever.co/" >> .npmrc
85+
echo "always-auth=true" >> .npmrc
86+
echo 'registry "https://packages.ever.co/"' >> .yarnrc
87+
sed -i 's|https://registry.yarnpkg.com|https://packages.ever.co|g' yarn.lock
88+
sed -i 's|https://registry.npmjs.org|https://packages.ever.co|g' yarn.lock
8589
fi
8690
8791
- name: Install Yarn dependencies

0 commit comments

Comments
 (0)