-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Next 3.0.2 (#13) - support dark devtools colour scheme
- change layout: fixed toolbar, scrollable body - fix messaging in anonymous frames and local html files - update and improve local build tools
- Loading branch information
Showing
21 changed files
with
1,219 additions
and
1,303 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/bundle/js | ||
.ts-built | ||
*.min.js | ||
pnpm-lock.yaml |
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,3 +1,3 @@ | ||
{ | ||
"json.schemaDownload.enable": true | ||
} | ||
} |
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,46 @@ | ||
ZIP_FILE="extension.zip" | ||
HASH_ALG=sha384 | ||
BIN=node_modules/.bin | ||
|
||
.PHONY: | ||
install all dev prod build format lint clean | ||
|
||
install: | ||
npm i -g pnpm | ||
pnpm i | ||
|
||
all: build | ||
|
||
dev: | ||
NODE_OPTIONS="--loader=ts-node/esm" \ | ||
$(BIN)/webpack --progress --watch --mode=development | ||
|
||
prod: | ||
NODE_OPTIONS="--loader=ts-node/esm --no-warnings=ExperimentalWarning" \ | ||
NODE_ENV="production" \ | ||
$(BIN)/webpack --mode=production | ||
|
||
build: | ||
make lint | ||
make prod | ||
make zip | ||
make print_zip_hash | ||
|
||
zip: | ||
rm -rf $(ZIP_FILE) | ||
zip -r $(ZIP_FILE) ./bundle ./manifest.json > /dev/null | ||
|
||
print_zip_hash: | ||
FILE_HASH=$$(openssl dgst -$(HASH_ALG) -binary $(ZIP_FILE) | openssl base64 -A); \ | ||
echo "$(ZIP_FILE) $(HASH_ALG):$$FILE_HASH" | ||
|
||
format: | ||
$(BIN)/prettier . --write | ||
|
||
lint: | ||
$(BIN)/tsc -noEmit | ||
|
||
clean: | ||
rm -rf ./node_modules | ||
rm -rf $(ZIP_FILE) | ||
rm -rf ./bundle/js/ |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,11 +1,20 @@ | ||
{ | ||
"name": "console.diff(...)", | ||
"description": "Compare objects in memory with console.diff(old, new) devtools function", | ||
"version": "3.0.1", | ||
"manifest_version": 3, | ||
"name": "console.diff(...)", | ||
"version": "3.0.2", | ||
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlCx2Bl0li+3idvfrH9cQL/MzphafGFqMUA2P+0vbyhwxsxWl0llOaGQbkirX5qCoAVHoUCPqu3hCjpVCv35igPbfqDs5bdLZZmXt2F0HjEQnWI/eZKd9IKcKYMplEeL2BodmpU02VrP1UnUzQHZeeMWk9ybgWOqCimkwliILVubRj5dxNB9AidLwO4Z5iGq/OvW9AJMYdxKxrLP2lF6/GGNcCBg+iCJZwlQOhFB9LbUjytT4ws3bIEX4b5zmWLqGKR1NiZfGug2eCWXt9oEKg2WkbXmBBzFKqxnM/bBUrVR29N9qNgx0f42qnyhsW3Bo4kPzE3d0asXCV5nofLTLEwIDAQAB", | ||
"description": "Compare objects in memory with console.diff(old, new) devtools function", | ||
"minimum_chrome_version": "100.0", | ||
"homepage_url": "https://github.com/zendive/jsdiff", | ||
"author": "[email protected]", | ||
"permissions": ["storage"], | ||
"host_permissions": ["*://*/*"], | ||
"devtools_page": "bundle/jsdiff-devtools.html", | ||
"icons": { | ||
"28": "bundle/img/panel-icon28.png", | ||
"64": "bundle/img/panel-icon64.png", | ||
"128": "bundle/img/panel-icon128.png" | ||
}, | ||
"content_scripts": [ | ||
{ | ||
"world": "MAIN", | ||
|
@@ -22,12 +31,5 @@ | |
"all_frames": true, | ||
"run_at": "document_start" | ||
} | ||
], | ||
"icons": { | ||
"28": "bundle/img/panel-icon28.png", | ||
"64": "bundle/img/panel-icon64.png", | ||
"128": "bundle/img/panel-icon128.png" | ||
}, | ||
"permissions": ["storage"], | ||
"host_permissions": ["*://*/*"] | ||
] | ||
} |
Oops, something went wrong.