Skip to content

Commit

Permalink
chore(repo): Run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tmilewski committed Oct 19, 2023
1 parent 17f941c commit ed81d4f
Show file tree
Hide file tree
Showing 19 changed files with 285 additions and 285 deletions.
16 changes: 8 additions & 8 deletions integration/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
{
"name": "integration",
"private": true,
"version": "0.0.0",
"license": "MIT",
"private": true,
"description": "Clerk Integration Tests",
"homepage": "https://clerk.com/",
"repository": {
"type": "git",
"url": "https://github.com/clerkinc/javascript.git"
},
"license": "MIT",
"scripts": {
"lint": "eslint .",
"test:integration:base": "DEBUG=1 npx playwright test --config ./playwright.config.ts",
"test:integration:deployment:nextjs": "DEBUG=1 npx playwright test --config ./playwright.deployments.config.ts",
"test:integration:nextjs": "E2E_APP_ID=next.appRouter.withEmailCodes npm run test:integration:base -- --grep \"@generic|@nextjs\"",
"test:integration:generic": "E2E_APP_ID=react.vite.* npm run test:integration:base -- --grep @generic",
"test:integration:nextjs": "E2E_APP_ID=next.appRouter.withEmailCodes npm run test:integration:base -- --grep \"@generic|@nextjs\"",
"test:integration:remix": "echo 'placeholder'"
},
"devDependencies": {
Expand All @@ -19,11 +24,6 @@
"tsup": "*",
"typescript": "*"
},
"homepage": "https://clerk.com/",
"repository": {
"type": "git",
"url": "https://github.com/clerkinc/javascript.git"
},
"engines": {
"node": ">=14"
}
Expand Down
6 changes: 3 additions & 3 deletions integration/templates/next-app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"@types/node": "20.3.2",
Expand Down
46 changes: 23 additions & 23 deletions integration/templates/react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,11 @@
"name": "react-cra",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.37",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "BROWSER=none react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
"eject": "react-scripts eject",
"start": "BROWSER=none react-scripts start",
"test": "react-scripts test"
},
"browserslist": {
"production": [
Expand All @@ -39,5 +19,25 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.37",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
}
}
4 changes: 2 additions & 2 deletions integration/templates/react-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "react-vite",
"private": true,
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite --port $PORT --no-open",
"build": "tsc && vite build",
"dev": "vite --port $PORT --no-open",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview --port $PORT --no-open"
},
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"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:ci": "FORCE_COLOR=1 turbo test --concurrency=${TURBO_CONCURRENCY:-80%}",
"test:integration:base": "DEBUG=1 npx playwright test --config integration/playwright.config.ts",
"test:integration:deployment:nextjs": "DEBUG=1 npx playwright test --config integration/playwright.deployments.config.ts",
"test:integration:generic": "E2E_APP_ID=react.vite.* npm run test:integration:base -- --grep @generic",
"test:integration:nextjs": "E2E_APP_ID=next.appRouter.withEmailCodes npm run test:integration:base -- --grep \"@generic|@nextjs\"",
"test:integration:remix": "echo 'placeholder'",
"test:integration:base": "npm run test:integration:base -w integration",
"test:integration:deployment:nextjs": "npm run test:integration:deployment:nextjs -w integration",
"test:integration:generic": "npm run test:integration:generic -w integration",
"test:integration:nextjs": "npm run test:integration:nextjs -w integration",
"test:integration:remix": "npm run test:integration:deployment:remix -w integration",
"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 && ./scripts/version-info.sh",
Expand Down
34 changes: 17 additions & 17 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"name": "@clerk/backend",
"version": "0.31.2",
"license": "MIT",
"description": "Clerk Backend SDK - REST Client for Backend API & JWT verification utilities",
"types": "./dist/types/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"homepage": "https://clerk.com/",
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/backend"
},
"license": "MIT",
"imports": {
"#crypto": {
"edge-light": "./dist/runtime/browser/crypto.mjs",
Expand All @@ -22,6 +28,9 @@
"default": "./dist/runtime/browser/fetch.mjs"
}
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
Expand Down Expand Up @@ -60,7 +69,7 @@
"@cloudflare/workers-types": "^3.18.0",
"@types/chai": "^4.3.3",
"@types/cookie": "^0.5.1",
"@types/qunit": "^2.19.3",
"@types/qunit": "^2.19.7",
"@types/sinon": "^10.0.13",
"chai": "^4.3.6",
"edge-runtime": "^2.0.0",
Expand All @@ -75,19 +84,10 @@
"typescript": "*",
"workerd": "^1.20230518.0"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://clerk.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/backend"
},
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}
38 changes: 19 additions & 19 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@clerk/chrome-extension",
"version": "0.4.9",
"license": "MIT",
"description": "Clerk SDK for Chrome extensions",
"keywords": [
"auth",
Expand All @@ -12,27 +11,38 @@
"chrome",
"extension"
],
"types": "./dist/types/index.d.ts",
"homepage": "https://clerk.com/",
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/chrome-extension"
},
"license": "MIT",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"dev:publish": "npm run dev -- --env.publish",
"build:declarations": "tsc -p tsconfig.declarations.json",
"publish:local": "npx yalc push --replace --sig",
"clean": "rimraf ./dist",
"dev": "tsup --watch",
"dev:publish": "npm run dev -- --env.publish",
"lint": "eslint src/",
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"lint:publint": "publint",
"prepublishOnly": "npm run build",
"publish:local": "npx yalc push --replace --sig",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%",
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html",
"prepublishOnly": "npm run build"
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html"
},
"dependencies": {
"@clerk/clerk-js": "4.62.1",
Expand All @@ -52,15 +62,5 @@
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/chrome-extension"
},
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
},
"homepage": "https://clerk.com/",
"sideEffects": false
}
}
40 changes: 20 additions & 20 deletions packages/clerk-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "4.62.1",
"license": "MIT",
"description": "Clerk JS library",
"keywords": [
"clerk",
Expand All @@ -11,37 +10,45 @@
"session",
"jwt"
],
"homepage": "https://clerk.com/",
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/clerk-js"
},
"license": "MIT",
"author": "Clerk",
"jsdelivr": "dist/clerk.browser.js",
"main": "dist/clerk.js",
"jsdelivr": "dist/clerk.browser.js",
"module": "dist/clerk.mjs",
"types": "dist/types/index.d.ts",
"files": [
"dist",
"headless"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run build:bundle && npm run build:declarations",
"build:stats": "webpack --config webpack.config.js --env production --json=stats.json --env variant=\"clerk.browser\"",
"build:analyze": "webpack-bundle-analyzer stats.json dist/",
"bundlewatch": "npx bundlewatch --config bundlewatch.config.json",
"build:bundle": "npm run clean && webpack --config webpack.config.js --env production",
"build:declarations": "tsc -p tsconfig.declarations.json",
"build:stats": "webpack --config webpack.config.js --env production --json=stats.json --env variant=\"clerk.browser\"",
"bundlewatch": "npx bundlewatch --config bundlewatch.config.json",
"clean": "rimraf ./dist",
"dev": "webpack serve --config webpack.config.js",
"dev:headless": "webpack serve --config webpack.config.js --env variant=\"clerk.headless.browser\"",
"clean": "rimraf ./dist",
"lint": "eslint src/",
"lint:publint": "publint",
"lint:attw": "attw --pack .",
"lint:publint": "publint",
"test": "jest",
"test:cache:clear": "jest --clearCache --useStderr",
"test:ci": "jest --maxWorkers=70%",
"test:coverage": "jest --collectCoverage && open coverage/lcov-report/index.html",
"watch": "webpack --config webpack.config.js --env production --watch"
},
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"dependencies": {
"@clerk/localizations": "1.26.6",
"@clerk/shared": "0.24.5",
Expand All @@ -59,9 +66,6 @@
"qs": "6.11.0",
"regenerator-runtime": "0.13.11"
},
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
Expand Down Expand Up @@ -92,14 +96,10 @@
"webpack-dev-server": "^4.15.0",
"webpack-merge": "^5.9.0"
},
"browserslist": "last 2 versions, ios_saf > 12, Safari > 12, > 1%, not dead, not ie > 0",
"repository": {
"type": "git",
"url": "git+https://github.com/clerkinc/javascript.git",
"directory": "packages/clerk-js"
"peerDependencies": {
"react": ">=18"
},
"homepage": "https://clerk.com/",
"bugs": {
"url": "https://github.com/clerkinc/javascript/issues"
"publishConfig": {
"access": "public"
}
}
Loading

0 comments on commit ed81d4f

Please sign in to comment.