fix(build): the build was failing on CLI (#214)

* fix(build): the build was failing on CLI

* added node typings

* migrate from legacy routes
This commit is contained in:
Ritesh Kumar authored and GitHub committed 2020-07-18 03:20:48 +05:30
1 parent 68432a272b
commit ab46cffbbb
4 files changed
+2256 -2025

No files matched your search

+9 -9
View File
@@ -1,21 +1,21 @@
{
"version": 2,
"routes": [
"redirects": [
{
"src": "/svg-to-jsx",
"dest": "/"
"source": "/svg-to-jsx",
"destination": "/"
},
{
"src": "/json-to-flow-types",
"dest": "/json-to-flow"
"source": "/json-to-flow-types",
"destination": "/json-to-flow"
},
{
"src": "/json-to-ts-interface",
"dest": "/json-to-typescript"
"source": "/json-to-ts-interface",
"destination": "/json-to-typescript"
},
{
"src": "/json-schema-to-ts",
"dest": "/json-schema-to-typescript"
"source": "/json-schema-to-ts",
"destination": "/json-schema-to-typescript"
}
]
}
+1
View File
@@ -92,6 +92,7 @@
},
"devDependencies": {
"@types/lodash": "^4.14.157",
"@types/node": "^14.0.23",
"@types/prettier": "^1.18.0",
"@types/react": "^16.9.41",
"@types/svgo": "^1.3.3",
@@ -1,5 +1,5 @@
diff --git a/node_modules/json-schema-to-typescript/dist/src/formatter.js b/node_modules/json-schema-to-typescript/dist/src/formatter.js
index 1c2c709..ccc647b 100644
index 1c2c709..b3eb9e1 100644
--- a/node_modules/json-schema-to-typescript/dist/src/formatter.js
+++ b/node_modules/json-schema-to-typescript/dist/src/formatter.js
@@ -11,9 +11,8 @@ var __assign = (this && this.__assign) || function () {
@@ -13,8 +13,9 @@ index 1c2c709..ccc647b 100644
}
exports.format = format;
//# sourceMappingURL=formatter.js.map
\ No newline at end of file
diff --git a/node_modules/json-schema-to-typescript/dist/src/index.js b/node_modules/json-schema-to-typescript/dist/src/index.js
index c3e750a..0acfe57 100644
index c3e750a..1d871dd 100644
--- a/node_modules/json-schema-to-typescript/dist/src/index.js
+++ b/node_modules/json-schema-to-typescript/dist/src/index.js
@@ -60,9 +60,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
+2243 -2014
View File
File diff suppressed because it is too large. Load diff