-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into biome
- Loading branch information
Showing
79 changed files
with
4,603 additions
and
2,353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ packages/extension/build/ | |
*.log | ||
build | ||
playgrounds | ||
# SSL Certificates | ||
bin/certs/*.pem | ||
bin/certs/*.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "biomejs.biome" | ||
"editor.defaultFormatter": "biomejs.biome", | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"typescript.preferences.includePackageJsonAutoImports": "on" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p bin/certs | ||
openssl req -x509 -newkey rsa:2048 -keyout bin/certs/key.pem -out bin/certs/cert.pem -days 365 -nodes -subj "/CN=127.0.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# Determine the directory of the script | ||
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | ||
|
||
# Default values | ||
DEFAULT_PATH="./packages/scan/dist" | ||
DEFAULT_PORT="4000" | ||
DEFAULT_CERT="$SCRIPT_DIR/certs/cert.pem" | ||
DEFAULT_KEY="$SCRIPT_DIR/certs/key.pem" | ||
|
||
# Positional arguments | ||
SERVE_PATH="$1" # First argument is the path | ||
|
||
# Get optional flags | ||
shift # Remove the first argument from the list | ||
while [[ "$#" -gt 0 ]]; do | ||
case $1 in | ||
--port) PORT_ARG="$2"; shift ;; | ||
--cert) CERT_ARG="$2"; shift ;; | ||
--key) KEY_ARG="$2"; shift ;; | ||
*) echo "Unknown parameter: $1" >&2; exit 1 ;; | ||
esac | ||
shift | ||
done | ||
|
||
# Use provided arguments or defaults | ||
SERVE_PATH="${SERVE_PATH:-$DEFAULT_PATH}" | ||
SERVE_PORT="${PORT_ARG:-$DEFAULT_PORT}" | ||
SERVE_CERT="${CERT_ARG:-$DEFAULT_CERT}" | ||
SERVE_KEY="${KEY_ARG:-$DEFAULT_KEY}" | ||
|
||
# Run the server with CORS enabled | ||
http-server "$SERVE_PATH" -p "$SERVE_PORT" --ssl --cert "$SERVE_CERT" --key "$SERVE_KEY" --cors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
{ | ||
"name": "root", | ||
"private": true, | ||
"scripts": { | ||
"build": "pnpm --parallel --filter=!extension build", | ||
"dev": "pnpm --parallel --filter=!extension dev", | ||
"pack": "pnpm --parallel --filter=!extension pack", | ||
"pack:bump": "pnpm --filter scan pack:bump", | ||
"lint": "pnpm --parallel --filter=!extension lint", | ||
"eslint:fix": "eslint --fix packages/*" | ||
}, | ||
"devDependencies": { | ||
"@vercel/style-guide": "^6.0.0", | ||
"eslint": "^8.57.1", | ||
"@biomejs/biome": "^1.9.4" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@vercel/speed-insights": "^1.1.0" | ||
} | ||
"name": "root", | ||
"private": true, | ||
"scripts": { | ||
"build": "WORKSPACE_BUILD=true pnpm --parallel build", | ||
"postbuild": "node scripts/version-warning.mjs", | ||
"dev": "pnpm --parallel dev", | ||
"pack": "pnpm --parallel pack", | ||
"pack:bump": "pnpm --filter scan pack:bump", | ||
"lint": "pnpm --parallel lint", | ||
"eslint:fix": "eslint --fix packages/*" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^22.10.2", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"@vercel/style-guide": "^6.0.0", | ||
"boxen": "^8.0.1", | ||
"chalk": "^5.3.0", | ||
"eslint": "^8.57.1", | ||
"eslint-import-resolver-typescript": "^3.7.0", | ||
"eslint-plugin-jsonc": "^2.18.2", | ||
"eslint-plugin-tailwindcss": "^3.17.5", | ||
"@biomejs/biome": "^1.9.4", | ||
"typescript": "5.4.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@vercel/speed-insights": "^1.1.0" | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-92.7 KB
packages/extension/build/firefox-react-scanner-extension-v1.0.0.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/core/web/assets/css/styles.css |
Oops, something went wrong.