Skip to content

Commit 3c7b9c4

Browse files
committed
fix: Update dojo scripts for new repo structure
- Update prep-dojo-everything.js paths - Update run-dojo-everything.js paths - typescript-sdk/integrations → integrations - typescript-sdk/apps/dojo → apps/dojo - cloudflare/examples/server → cloudflare/typescript/examples/server
1 parent 5566c31 commit 3c7b9c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/dojo/scripts/prep-dojo-everything.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Examples:
4444
}
4545

4646
const gitRoot = execSync("git rev-parse --show-toplevel", { encoding: "utf-8" }).trim();
47-
const integrationsRoot = path.join(gitRoot, "typescript-sdk", "integrations");
47+
const integrationsRoot = path.join(gitRoot, "integrations");
4848

4949
// Define all prep targets keyed by a stable id
5050
const ALL_TARGETS = {
@@ -109,12 +109,12 @@ const ALL_TARGETS = {
109109
cloudflare: {
110110
command: "pnpm install --no-frozen-lockfile",
111111
name: "Cloudflare",
112-
cwd: path.join(integrationsRoot, "cloudflare/examples/server"),
112+
cwd: path.join(integrationsRoot, "cloudflare/typescript/examples/server"),
113113
},
114114
dojo: {
115115
command: "pnpm install --no-frozen-lockfile && pnpm build --filter=demo-viewer...",
116116
name: "Dojo",
117-
cwd: path.join(gitRoot, "typescript-sdk"),
117+
cwd: path.join(gitRoot, "apps/dojo"),
118118
},
119119
};
120120

apps/dojo/scripts/run-dojo-everything.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Examples:
4343
}
4444

4545
const gitRoot = execSync('git rev-parse --show-toplevel', { encoding: 'utf-8' }).trim();
46-
const integrationsRoot = path.join(gitRoot, 'typescript-sdk', 'integrations');
46+
const integrationsRoot = path.join(gitRoot, 'integrations');
4747

4848
// Define all runnable services keyed by a stable id
4949
const ALL_SERVICES = {
@@ -143,13 +143,13 @@ const ALL_SERVICES = {
143143
'cloudflare': [{
144144
command: 'pnpm start',
145145
name: 'Cloudflare',
146-
cwd: path.join(integrationsRoot, 'cloudflare/examples/server'),
146+
cwd: path.join(integrationsRoot, 'cloudflare/typescript/examples/server'),
147147
env: { PORT: 4114, HOST: '0.0.0.0' },
148148
}],
149149
'dojo': [{
150150
command: 'pnpm run start',
151151
name: 'Dojo',
152-
cwd: path.join(gitRoot, 'typescript-sdk/apps/dojo'),
152+
cwd: path.join(gitRoot, 'apps/dojo'),
153153
env: {
154154
PORT: 9999,
155155
SERVER_STARTER_URL: 'http://localhost:8000',

0 commit comments

Comments
 (0)