Skip to content

Commit

Permalink
Merge branch 'main' into jacek/async-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekradko authored Oct 11, 2024
2 parents 63ebdf9 + 6ef3ec6 commit 8d7d247
Show file tree
Hide file tree
Showing 17 changed files with 162 additions and 130 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-pumpkins-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/clerk-js": patch
---

Correctly handle malformed or protocol-relative URLs before navigating to cross-origin URLs
2 changes: 2 additions & 0 deletions .changeset/witty-beds-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"printWidth": 120,
"singleAttributePerLine": true,
"arrowParens": "avoid",
"bracketSpacing": true,
"jsxSingleQuote": true,
"plugins": ["prettier-plugin-packagejson", "prettier-plugin-tailwindcss"],
"printWidth": 120,
"semi": true,
"singleAttributePerLine": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"plugins": ["prettier-plugin-tailwindcss"]
"trailingComma": "all"
}
10 changes: 5 additions & 5 deletions integration/templates/astro-hybrid/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "astro-clerk-hybrid-playground",
"type": "module",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "astro dev",
"start": "astro dev --port $PORT",
"astro": "astro",
"build": "astro check && astro build",
"dev": "astro dev",
"preview": "astro preview --port $PORT",
"astro": "astro"
"start": "astro dev --port $PORT"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/react": "^3.6.2",
"@astrojs/node": "^8.3.4",
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.15.11",
Expand Down
10 changes: 5 additions & 5 deletions integration/templates/astro-node/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "astro-clerk-playground",
"type": "module",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "astro dev",
"start": "astro dev --port $PORT",
"astro": "astro",
"build": "astro check && astro build",
"dev": "astro dev",
"preview": "astro preview --port $PORT",
"astro": "astro"
"start": "astro dev --port $PORT"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/node": "^8.3.4",
"@astrojs/react": "^3.6.2",
"@astrojs/tailwind": "^5.1.1",
"@astrojs/node": "^8.3.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.15.11",
Expand Down
16 changes: 8 additions & 8 deletions integration/templates/expo-web/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "expo-web",
"main": "expo-router/entry",
"version": "1.0.0",
"private": true,
"main": "expo-router/entry",
"scripts": {
"dev": "RCT_METRO_PORT=$PORT expo start --web --port $PORT",
"build": "expo export -p web",
"start": "npx serve dist --single",
"lint": "expo lint"
"dev": "RCT_METRO_PORT=$PORT expo start --web --port $PORT",
"lint": "expo lint",
"start": "npx serve dist --single"
},
"jest": {
"preset": "jest-expo"
Expand All @@ -30,8 +31,8 @@
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.9",
"react-native-screens": "~3.31.1",
"react-native-web": "~0.19.6",
"react-native-url-polyfill": "^2.0.0"
"react-native-url-polyfill": "^2.0.0",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand All @@ -42,6 +43,5 @@
"jest-expo": "~51.0.3",
"react-test-renderer": "18.2.0",
"typescript": "~5.6.2"
},
"private": true
}
}
2 changes: 1 addition & 1 deletion integration/templates/tanstack-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite --port=$PORT",
"build": "vite build",
"dev": "vite --port=$PORT",
"serve": "vite preview --port=$PORT",
"start": "vite"
},
Expand Down
61 changes: 40 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
"test": "FORCE_COLOR=1 turbo test --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:cache:clear": "FORCE_COLOR=1 turbo test:cache:clear --continue --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:integration:ap-flows": "npm run test:integration:base -- --grep @ap-flows",
"test:integration:astro": "E2E_APP_ID=astro.* npm run test:integration:base -- --grep @astro",
"test:integration:base": "npx playwright test --config integration/playwright.config.ts",
"test:integration:cleanup": "npx playwright test --config integration/playwright.cleanup.config.ts",
"test:integration:deployment:nextjs": "npx playwright test --config integration/playwright.deployments.config.ts",
"test:integration:elements": "E2E_APP_ID=elements.* npm run test:integration:base -- --grep @elements",
"test:integration:expo-web": "E2E_APP_ID=expo.expo-web npm run test:integration:base -- --grep @expo-web",
"test:integration:express": "E2E_APP_ID=express.* npm run test:integration:base -- --grep @express",
"test:integration:generic": "E2E_APP_ID=react.vite.*,next.appRouter.withEmailCodes* npm run test:integration:base -- --grep @generic",
"test:integration:nextjs": "E2E_APP_ID=next.appRouter.* npm run test:integration:base -- --grep @nextjs",
"test:integration:astro": "E2E_APP_ID=astro.* npm run test:integration:base -- --grep @astro",
"test:integration:expo-web": "E2E_APP_ID=expo.expo-web npm run test:integration:base -- --grep @expo-web",
"test:integration:quickstart": "E2E_APP_ID=quickstart.* npm run test:integration:base -- --grep @quickstart",
"test:integration:remix": "echo 'placeholder'",
"test:integration:sessions": "npm run test:integration:base -- --grep @sessions",
"test:integration:tanstack-start": "E2E_APP_ID=tanstack.start npm run test:integration:base -- --grep @tanstack-start",
"test:integration:tanstack-router": "E2E_APP_ID=tanstack.router npm run test:integration:base -- --grep @tanstack-router",
"test:integration:remix": "echo 'placeholder'",
"test:integration:tanstack-start": "E2E_APP_ID=tanstack.start npm run test:integration:base -- --grep @tanstack-start",
"turbo:clean": "turbo daemon clean",
"update:lockfile": "npm run nuke && npm install -D --arch=x64 --platform=linux turbo && npm install -D --arch=arm64 --platform=darwin turbo",
"version": "changeset version && npm install --package-lock-only --engine-strict=false",
Expand Down Expand Up @@ -90,7 +90,8 @@
"jest-chrome": "^0.8.0",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^14.0.1",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.5.3",
"prettier-plugin-tailwindcss": "^0.6.3",
"publint": "^0.2.4",
"react": "18.3.1",
Expand Down
Loading

0 comments on commit 8d7d247

Please sign in to comment.