Browse Source

Fix build script.

primary v0.2.1
CismonX 2 months ago
parent
commit
0651e8187d
Signed by: CismonX GPG Key ID: 3094873E29A482FB
  1. 4
      CHANGELOG.md
  2. 2
      package-lock.json
  3. 2
      package.json
  4. 5
      scripts/package.sh

4
CHANGELOG.md

@ -8,6 +8,10 @@ this notice are preserved. This file is offered as-is, without any warranty.
# Changelog
## v0.2.1 - 05/05/2021
* Fix an error in build script which produces corrupted metadata in `.vsix` package.
## v0.2.0 - 05/05/2021
* Add version indicator (as status bar item).

2
package-lock.json

@ -6,7 +6,7 @@
"This file is offered as-is, without any warranty."
],
"name": "texinfo",
"version": "0.2.0",
"version": "0.2.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -9,7 +9,7 @@
"displayName": "Texinfo Language Support",
"description": "Texinfo language support for Visual Studio Code",
"publisher": "cismonx",
"version": "0.2.0",
"version": "0.2.1",
"author": {
"name": "CismonX",
"email": "admin@cismon.net",

5
scripts/package.sh

@ -14,8 +14,9 @@ vsce package --baseContentUrl=$(json -f package.json repository.url)/tree
unzip -d $VSIX_FILE_NAME{.d,}
cd $VSIX_FILE_NAME.d
minify-xml --output \[Content_Types\].xml{,}
minify-xml --output extension.vsixmanifest{,}
MINIFY_XML_OPTIONS='--no-shorten-namespaces --no-remove-unused-namespaces --no-remove-unused-default-namespace'
minify-xml $MINIFY_XML_OPTIONS --output \[Content_Types\].xml{,}
minify-xml $MINIFY_XML_OPTIONS --output extension.vsixmanifest{,}
cd extension
# Minify JSON files.
json -j0 -I -e "$PACKAGE_JSON_CLEANUP_JS" -f package.json

Loading…
Cancel
Save