Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to dschmidt/easygettext to use typescript-estree #6833

Merged
merged 1 commit into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/web-runtime/l10n/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ $(TEMPLATE_FILE):
export OUT_DIR=$$app/l10n; \
fi; \
mkdir -p $$OUT_DIR; \
#FIXME: we need to find out why share.ts fails to get parsed and fix it
export GETTEXT_APP_SOURCES=`find $$app/src -name '*.vue' -o -name '*.js' -o -name '*.ts' ! -path '*/web-app-files/src/helpers/share/share.ts'`; \
export GETTEXT_APP_SOURCES=`find $$app/src -name '*.vue' -o -name '*.js' -o -name '*.ts'`; \
node $(NODE_MODULES)/easygettext/src/extract-cli.js --attribute v-translate --output $$OUT_DIR/template.pot $$GETTEXT_APP_SOURCES; \
done;

Expand Down
2 changes: 1 addition & 1 deletion packages/web-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@vue/composition-api": "^1.4.9",
"axios": "^0.26.1",
"cross-fetch": "^3.0.6",
"easygettext": "^2.16.1",
"easygettext": "github:dschmidt/easygettext#da6f3d7ac03345ecec44a2694957533bc56c0f15",
"filesize": "^8.0.7",
"focus-trap": "^6.4.0",
"focus-trap-vue": "^1.1.1",
Expand Down
22 changes: 7 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4037,13 +4037,6 @@ __metadata:
languageName: node
linkType: hard

"buntis@npm:0.2.1":
version: 0.2.1
resolution: "buntis@npm:0.2.1"
checksum: 9942c9797ec5776cc4c4bc5fe2f90c08feca2e9eb84aa1e909e07362c3857c694f8db2c9483fbbe665f7e020ca27476bd888e628d2b563830886b5f328058fad
languageName: node
linkType: hard

"cacache@npm:^15.0.5":
version: 15.3.0
resolution: "cacache@npm:15.3.0"
Expand Down Expand Up @@ -5497,16 +5490,15 @@ __metadata:
languageName: node
linkType: hard

"easygettext@npm:^2.16.1":
version: 2.17.0
resolution: "easygettext@npm:2.17.0"
"easygettext@github:dschmidt/easygettext#da6f3d7ac03345ecec44a2694957533bc56c0f15":
version: 2.16.0
resolution: "easygettext@https://github.com/dschmidt/easygettext.git#commit=da6f3d7ac03345ecec44a2694957533bc56c0f15"
dependencies:
"@babel/core": ^7.11.6
"@vue/compiler-sfc": ^3.0.0
acorn: ^7.4.0
acorn-stage3: ^4.0.0
acorn-walk: ^8.0.0
buntis: 0.2.1
cheerio: ^1.0.0-rc.3
estree-walker: ^2.0.1
flow-remove-types: ^2.135.0
Expand All @@ -5519,9 +5511,9 @@ __metadata:
pug:
optional: true
bin:
gettext-compile: src/compile-cli.js
gettext-extract: src/extract-cli.js
checksum: 0ec5d0716f4b68103467ee527d369ae4d5c7741841b88697e6acc755fdb6c73a0b5e3dcbe596d0460adf3e0e3b1c3fbdba6bc3218bcb0a94fa68aab28cc06be3
gettext-compile: ./src/compile-cli.js
gettext-extract: ./src/extract-cli.js
checksum: 328c7be2f4709b19d8afbfa07928e5f6d7a74ec165e8dd765341bdb281ff89eec1c26e8c09f3153e81b1fa81cc4ebb6086034679ecc9626a339901fa80df52fe
languageName: node
linkType: hard

Expand Down Expand Up @@ -13931,7 +13923,7 @@ __metadata:
"@vue/composition-api": ^1.4.9
axios: ^0.26.1
cross-fetch: ^3.0.6
easygettext: ^2.16.1
easygettext: "github:dschmidt/easygettext#da6f3d7ac03345ecec44a2694957533bc56c0f15"
filesize: ^8.0.7
focus-trap: ^6.4.0
focus-trap-vue: ^1.1.1
Expand Down