-
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.
Update dependencies and patch vulnerabilities in postcss@<8.4.31, semver<7.5.2 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d8f6545
commit 94cc2a3
Showing
7 changed files
with
295 additions
and
285 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode"] | ||
"recommendations": ["esbenp.prettier-vscode", "jebbs.plantuml"] | ||
} |
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,46 +1,38 @@ | ||
ZIP_FILE="extension.zip" | ||
HASH_ALG=sha384 | ||
BIN=node_modules/.bin | ||
HASH_ALG="sha384" | ||
|
||
.PHONY: | ||
install all dev prod build format lint clean | ||
install clean all lint dev prod zip | ||
|
||
install: | ||
npm i -g pnpm | ||
pnpm i | ||
|
||
all: build | ||
clean: | ||
rm -rf ./node_modules | ||
rm -rf $(ZIP_FILE) | ||
rm -rf ./bundle/js/ | ||
|
||
all: | ||
make lint | ||
make prod | ||
make zip | ||
|
||
lint: | ||
npx prettier . --write | ||
npx tsc -noEmit | ||
|
||
dev: | ||
NODE_OPTIONS="--loader=ts-node/esm" \ | ||
$(BIN)/webpack --progress --watch --mode=development | ||
npx 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 | ||
npx webpack --mode=production | ||
|
||
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/ |
Large diffs are not rendered by default.
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
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
Oops, something went wrong.