updated inflector
This commit is contained in:
parent
c0329417e3
commit
234c7b762a
|
@ -13,6 +13,8 @@ This monorepo contains:
|
|||
- `/account` a backend authentication server
|
||||
- `/functions` backend Firebase functions for use with the dictionary
|
||||
|
||||
**Note:** On MacOs you will need to use Node 14 (Node 16 breaks the install on MacOs)
|
||||
|
||||
### Dictionary Client
|
||||
|
||||
SPA Dictionary Frontend
|
||||
|
|
|
@ -200,9 +200,9 @@
|
|||
}
|
||||
},
|
||||
"@lingdocs/pashto-inflector": {
|
||||
"version": "1.3.9",
|
||||
"resolved": "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.3.9.tgz",
|
||||
"integrity": "sha512-00FBJ6afa+ZJ1v5heoy0vQLQOMbgXvEdePqZYGakO5Kd2U/RVJkIngD4VoU5reiJNsCe74s4x9SaUlszzcaq3A==",
|
||||
"version": "1.4.5",
|
||||
"resolved": "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.4.5.tgz",
|
||||
"integrity": "sha512-SUiqV1jYpNZo8n6m8OUUP4iAlg8xjA/liye4Se8NFaZcniwq4HPWsqWJUh2XsMJ626YLTNkwKI8EMKCpbrXXog==",
|
||||
"requires": {
|
||||
"classnames": "^2.2.6",
|
||||
"pbf": "^3.2.1",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"main": "lib/functions/src/index.js",
|
||||
"dependencies": {
|
||||
"@google-cloud/storage": "^5.8.1",
|
||||
"@lingdocs/pashto-inflector": "^1.3.9",
|
||||
"@lingdocs/pashto-inflector": "^1.4.5",
|
||||
"@types/cors": "^2.8.10",
|
||||
"@types/google-spreadsheet": "^3.0.2",
|
||||
"cors": "^2.8.5",
|
||||
|
@ -33,5 +33,8 @@
|
|||
"firebase-functions-test": "^0.2.0",
|
||||
"typescript": "^3.8.0"
|
||||
},
|
||||
"private": true
|
||||
"private": true,
|
||||
"peerDependencies": {
|
||||
"@lingdocs/pashto-inflector": "^1.4.5"
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,7 +17,7 @@
|
|||
"url": "git@github.com-lingdocs:lingdocs/lingdocs-main.git"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@lingdocs/pashto-inflector": "^1.3.9"
|
||||
"@lingdocs/pashto-inflector": "^1.4.5"
|
||||
},
|
||||
"author": "lingdocs.com",
|
||||
"license": "MIT",
|
||||
|
@ -25,7 +25,8 @@
|
|||
"nano": "^9.0.5",
|
||||
"passport-github2": "^0.1.12",
|
||||
"passport-google-oauth": "^2.0.0",
|
||||
"passport-twitter": "^1.0.4"
|
||||
"passport-twitter": "^1.0.4",
|
||||
"@lingdocs/pashto-inflector": "^1.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/passport-github2": "^1.2.5",
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
# updates all necessary package.json files in this monorepo with the given version for @lingdocs/pashto-inflector
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "Script to update the version of @lingdocs/pashto-inflector across this monorepo"
|
||||
echo ""
|
||||
echo "usage: ./update-inlector.sh [version]"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
version=$1
|
||||
|
||||
# update all instances of @lingdocs/pashto-inflector in various package.json files
|
||||
declare -a pjs=("package.json" "website/package.json" "functions/package.json")
|
||||
for i in "${pjs[@]}"
|
||||
do
|
||||
tmp=$(mktemp)
|
||||
jq --arg version "$version" '.dependencies."@lingdocs/pashto-inflector"=$version' $i > "$tmp" && mv "$tmp" "$i"
|
||||
jq --arg version "$version" '.peerDependencies."@lingdocs/pashto-inflector"=$version' $i > "$tmp" && mv "$tmp" "$i"
|
||||
done
|
||||
|
||||
# install to update .lock files
|
||||
npm install &&
|
||||
cd website &&
|
||||
yarn install &&
|
||||
cd ../functions &&
|
||||
npm install
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||
"@lingdocs/pashto-inflector": "^1.3.9",
|
||||
"@lingdocs/pashto-inflector": "^1.4.5",
|
||||
"@testing-library/jest-dom": "^5.11.4",
|
||||
"@testing-library/react": "^11.1.0",
|
||||
"@testing-library/user-event": "^12.1.10",
|
||||
|
@ -98,5 +98,8 @@
|
|||
"history": "4",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"user-event": "^4.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@lingdocs/pashto-inflector": "^1.4.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1483,10 +1483,10 @@
|
|||
"@types/yargs" "^16.0.0"
|
||||
chalk "^4.0.0"
|
||||
|
||||
"@lingdocs/pashto-inflector@^1.3.9":
|
||||
version "1.3.9"
|
||||
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.3.9.tgz#a9faf83a38217a98a33fb12ffe3e77f62a21c4c7"
|
||||
integrity sha512-00FBJ6afa+ZJ1v5heoy0vQLQOMbgXvEdePqZYGakO5Kd2U/RVJkIngD4VoU5reiJNsCe74s4x9SaUlszzcaq3A==
|
||||
"@lingdocs/pashto-inflector@^1.4.5":
|
||||
version "1.4.5"
|
||||
resolved "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.4.5.tgz#bf66fcb62aeac4b7ab5b92f4eb5bc6afc49b1ed9"
|
||||
integrity sha512-SUiqV1jYpNZo8n6m8OUUP4iAlg8xjA/liye4Se8NFaZcniwq4HPWsqWJUh2XsMJ626YLTNkwKI8EMKCpbrXXog==
|
||||
dependencies:
|
||||
classnames "^2.2.6"
|
||||
pbf "^3.2.1"
|
||||
|
|
|
@ -70,10 +70,10 @@
|
|||
"resolved" "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz"
|
||||
"version" "9.2.1"
|
||||
|
||||
"@lingdocs/pashto-inflector@^1.3.9":
|
||||
"integrity" "sha512-RGf3AZFpy4JWzjWLeeGNLvy1PsDljRcDF4mQIqMPrFeakkuT4h3/exbGAANehNWGt9hm6LbPvXyXQmxe7SWaXg=="
|
||||
"resolved" "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.4.4.tgz"
|
||||
"version" "1.4.4"
|
||||
"@lingdocs/pashto-inflector@^1.4.5":
|
||||
"integrity" "sha512-SUiqV1jYpNZo8n6m8OUUP4iAlg8xjA/liye4Se8NFaZcniwq4HPWsqWJUh2XsMJ626YLTNkwKI8EMKCpbrXXog=="
|
||||
"resolved" "https://npm.lingdocs.com/@lingdocs%2fpashto-inflector/-/pashto-inflector-1.4.5.tgz"
|
||||
"version" "1.4.5"
|
||||
dependencies:
|
||||
"classnames" "^2.2.6"
|
||||
"pbf" "^3.2.1"
|
||||
|
|
Loading…
Reference in New Issue