From ce80e03e8fabd422a2b4df4628297d1adbf5f1b7 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 4 Feb 2019 04:39:31 -0800 Subject: [PATCH] Add expand-tilde package Summary: Just splitting the diff adding the dep from using it because this is always quite noisy. Reviewed By: jknoxville Differential Revision: D13940957 fbshipit-source-id: b31a953a7ebdce9a6611c47ee007c051cdcac147 --- flow-typed/npm/expand-tilde_vx.x.x.js | 33 +++++++++++++++++++++++++++ package.json | 1 + static/package.json | 1 + static/yarn.lock | 19 +++++++++++++++ yarn.lock | 19 +++++++++++++++ 5 files changed, 73 insertions(+) create mode 100644 flow-typed/npm/expand-tilde_vx.x.x.js diff --git a/flow-typed/npm/expand-tilde_vx.x.x.js b/flow-typed/npm/expand-tilde_vx.x.x.js new file mode 100644 index 000000000..8182ec2e8 --- /dev/null +++ b/flow-typed/npm/expand-tilde_vx.x.x.js @@ -0,0 +1,33 @@ +// flow-typed signature: 7d9003fbbea8ad826e49acce81fe56fb +// flow-typed version: <>/expand-tilde_v2.0.2/flow_v0.91.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'expand-tilde' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'expand-tilde' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ + + +// Filename aliases +declare module 'expand-tilde/index' { + declare module.exports: $Exports<'expand-tilde'>; +} +declare module 'expand-tilde/index.js' { + declare module.exports: $Exports<'expand-tilde'>; +} diff --git a/package.json b/package.json index 01309810a..292f9a8cf 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "detect-port": "^1.1.1", "electron-devtools-installer": "^2.2.0", "emotion": "^9.2.6", + "expand-tilde": "^2.0.2", "express": "^4.15.2", "fs-extra": "^7.0.1", "invariant": "^2.2.2", diff --git a/static/package.json b/static/package.json index 8813d0fe9..0ef4d5ef9 100644 --- a/static/package.json +++ b/static/package.json @@ -13,6 +13,7 @@ "@babel/plugin-transform-flow-strip-types": "^7.2.3", "@babel/plugin-transform-modules-commonjs": "^7.1.0", "@babel/preset-react": "^7.0.0", + "expand-tilde": "^2.0.2", "metro": "^0.49.0", "recursive-readdir": "2.2.2" }, diff --git a/static/yarn.lock b/static/yarn.lock index 0d713a595..73eac3959 100644 --- a/static/yarn.lock +++ b/static/yarn.lock @@ -1206,6 +1206,13 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" +expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= + dependencies: + homedir-polyfill "^1.0.1" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -1481,6 +1488,13 @@ has-values@^1.0.0: is-number "^3.0.0" kind-of "^4.0.0" +homedir-polyfill@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" + integrity sha1-TCu8inWJmP7r9e1oWA921GdotLw= + dependencies: + parse-passwd "^1.0.0" + hosted-git-info@^2.1.4: version "2.5.0" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" @@ -2417,6 +2431,11 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" + integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= + parseurl@~1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" diff --git a/yarn.lock b/yarn.lock index e55bd3ad4..2cad4b74e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2627,6 +2627,13 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" +expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= + dependencies: + homedir-polyfill "^1.0.1" + expect@^23.6.0: version "23.6.0" resolved "https://registry.yarnpkg.com/expect/-/expect-23.6.0.tgz#1e0c8d3ba9a581c87bd71fb9bc8862d443425f98" @@ -3259,6 +3266,13 @@ home-or-tmp@^2.0.0: os-homedir "^1.0.0" os-tmpdir "^1.0.1" +homedir-polyfill@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" + integrity sha1-TCu8inWJmP7r9e1oWA921GdotLw= + dependencies: + parse-passwd "^1.0.0" + hosted-git-info@^2.1.4, hosted-git-info@^2.5.0: version "2.6.0" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.6.0.tgz#23235b29ab230c576aab0d4f13fc046b0b038222" @@ -5112,6 +5126,11 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" + integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= + parse5@4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"