Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/loose-trams-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/clerk-js/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { defineConfig, devices } from '@playwright/test';
// import path from 'path';
// dotenv.config({ path: path.resolve(__dirname, '.env') });

const PORT = process.env.PORT || 4001;
const PORT = process.env.PORT || 4011;
const baseURL = `http://localhost:${PORT}`;

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ const devConfig = ({ mode, env }) => {
template: './sandbox/template.html',
inject: false,
templateParameters: {
uiScriptUrl: 'http://localhost:4001/npm/ui.browser.js',
uiScriptUrl: 'http://localhost:4011/npm/ui.browser.js',
},
}),
].filter(Boolean),
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"bundlewatch:fix": "node bundlewatch-fix.mjs",
"clean": "rimraf ./dist",
"dev": "tsdown --watch src",
"dev:origin": "rspack serve --config rspack.config.js --env devOrigin=http://localhost:${PORT:-4001}",
"dev:sandbox": "rspack serve --config rspack.config.js --env devOrigin=http://localhost:4001",
"dev:origin": "rspack serve --config rspack.config.js --env devOrigin=http://localhost:${PORT:-4011}",
"dev:sandbox": "rspack serve --config rspack.config.js --env devOrigin=http://localhost:4011",
"format": "node ../../scripts/format-package.mjs",
"format:check": "node ../../scripts/format-package.mjs --check",
"lint:attw": "attw --pack . --exclude-entrypoints themes/shadcn.css --profile esm-only",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const prodConfig = mode => {
*/
const devConfig = (mode, env) => {
const devUrl = new URL(env.devOrigin || 'https://ui.lclclerk.com');
const port = Number(new URL(env.devOrigin ?? 'http://localhost:4001').port || 4001);
const port = Number(new URL(env.devOrigin ?? 'http://localhost:4011').port || 4011);

return merge(entryForVariant(variants.uiBrowser), common({ mode, variant: variants.uiBrowser }), {
module: {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/internal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ export type {
*/
export const localUiForTesting = {
version: PACKAGE_VERSION,
url: 'http://localhost:4001/npm/ui.browser.js',
url: 'http://localhost:4011/npm/ui.browser.js',
} as Ui<Appearance & { newprop?: string }>;
Loading