Run rondo imports

package.jsons are changed because dependencies are now sorted
tsconfig.jsons are changed because all referenced monorepo packages will
be added as project references
tsconfig.esm.jsons are changed because syncEsmConfig was run
This commit is contained in:
Jerko Steiner 2019-10-01 23:39:05 +07:00
parent a4688f5432
commit 9f1e2ca713
28 changed files with 210 additions and 125 deletions

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -13,21 +13,21 @@
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"module": "esm/index.js", "module": "esm/index.js",
"dependencies": { "dependencies": {
"@rondo.dev/common": "0.0.1",
"@rondo.dev/http-client": "0.0.1",
"@rondo.dev/http-types": "0.0.1",
"@rondo.dev/jsonrpc": "0.0.1",
"@rondo.dev/redux": "0.0.1",
"bloomer": "^0.6.5", "bloomer": "^0.6.5",
"history": "^4.9.0",
"react-icons": "^3.5.0", "react-icons": "^3.5.0",
"react-router": "^5.0.1", "react-router": "^5.0.1",
"history": "^4.9.0",
"@rondo.dev/http-client": "0.0.1",
"react-router-dom": "^5.0.1", "react-router-dom": "^5.0.1",
"@rondo.dev/common": "0.0.1", "timeago.js": "^4.0.0-beta.2"
"@rondo.dev/redux": "0.0.1",
"timeago.js": "^4.0.0-beta.2",
"@rondo.dev/http-types": "0.0.1",
"@rondo.dev/jsonrpc": "0.0.1"
}, },
"devDependencies": { "devDependencies": {
"react-dom": "^16.8.6", "@rondo.dev/jsonrpc": "0.0.1",
"@rondo.dev/test-utils": "0.0.1", "@rondo.dev/test-utils": "0.0.1",
"@rondo.dev/jsonrpc": "0.0.1" "react-dom": "^16.8.6"
} }
} }

View File

@ -4,11 +4,26 @@
"outDir": "esm" "outDir": "esm"
}, },
"references": [ "references": [
{
"path": "../common/tsconfig.esm.json"
},
{
"path": "../http-client/tsconfig.esm.json"
},
{
"path": "../http-types/tsconfig.esm.json"
},
{
"path": "../jsonrpc/tsconfig.esm.json"
},
{ {
"path": "../redux/tsconfig.esm.json" "path": "../redux/tsconfig.esm.json"
}, },
{ {
"path": "../common/tsconfig.esm.json" "path": "../jsonrpc/tsconfig.esm.json"
},
{
"path": "../test-utils/tsconfig.esm.json"
} }
] ]
} }

View File

@ -5,14 +5,35 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../redux"}, {
{"path": "../common"} "path": "../common"
},
{
"path": "../http-client"
},
{
"path": "../http-types"
},
{
"path": "../jsonrpc"
},
{
"path": "../redux"
},
{
"path": "../jsonrpc"
},
{
"path": "../test-utils"
}
], ],
"plugins": [{ "plugins": [
{
"transform": "typescript-plugin-styled-components", "transform": "typescript-plugin-styled-components",
"type": "config", "type": "config",
"displayName": true, "displayName": true,
"minify": false, "minify": false,
"ssr": true "ssr": true
}] }
]
} }

View File

@ -3,5 +3,9 @@
"compilerOptions": { "compilerOptions": {
"outDir": "esm" "outDir": "esm"
}, },
"references": [] "references": [
{
"path": "../jsonrpc/tsconfig.esm.json"
}
]
} }

View File

@ -5,5 +5,8 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{
"path": "../jsonrpc"
}
] ]
} }

View File

@ -5,6 +5,8 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../logger"} {
"path": "../logger"
}
] ]
} }

View File

@ -5,7 +5,11 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../db"}, {
{"path": "../logger"} "path": "../db"
},
{
"path": "../logger"
}
] ]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -5,10 +5,10 @@
}, },
"references": [ "references": [
{ {
"path": "../test-utils/tsconfig.esm.json" "path": "../http-types/tsconfig.esm.json"
}, },
{ {
"path": "../http-types/tsconfig.esm.json" "path": "../test-utils/tsconfig.esm.json"
} }
] ]
} }

View File

@ -5,7 +5,11 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../test-utils"}, {
{"path": "../http-types"} "path": "../http-types"
},
{
"path": "../test-utils"
}
] ]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -9,12 +9,12 @@
"clean": "rm -rf lib/" "clean": "rm -rf lib/"
}, },
"dependencies": { "dependencies": {
"reflect-metadata": "^0.1.13",
"@rondo.dev/redux": "0.0.1",
"@rondo.dev/logger": "0.0.1", "@rondo.dev/logger": "0.0.1",
"@rondo.dev/redux": "0.0.1",
"axios": "^0.19.0",
"express": "^4.17.1", "express": "^4.17.1",
"supertest": "^4.0.2", "reflect-metadata": "^0.1.13",
"axios": "^0.19.0" "supertest": "^4.0.2"
}, },
"devDependencies": { "devDependencies": {
"body-parser": "^1.19.0", "body-parser": "^1.19.0",

View File

@ -6,7 +6,11 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../logger"}, {
{"path": "../redux"} "path": "../logger"
},
{
"path": "../redux"
}
] ]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -3,6 +3,5 @@
"compilerOptions": { "compilerOptions": {
"outDir": "esm" "outDir": "esm"
}, },
"references": [ "references": []
]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -9,16 +9,16 @@
"clean": "rm -rf lib/" "clean": "rm -rf lib/"
}, },
"dependencies": { "dependencies": {
"redux": "^4.0.1",
"deep-object-diff": "^1.1.0", "deep-object-diff": "^1.1.0",
"react-redux": "^7.1.1" "react-redux": "^7.1.1",
"redux": "^4.0.1"
}, },
"main": "lib/index.js", "main": "lib/index.js",
"module": "esm/index.js", "module": "esm/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"devDependencies": { "devDependencies": {
"@rondo.dev/test-utils": "0.0.1",
"react": "^16.8.6", "react": "^16.8.6",
"react-dom": "^16.8.6", "react-dom": "^16.8.6"
"@rondo.dev/test-utils": "0.0.1"
} }
} }

View File

@ -5,6 +5,8 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../test-utils"} {
"path": "../test-utils"
}
] ]
} }

View File

@ -13,9 +13,9 @@
}, },
"dependencies": { "dependencies": {
"@rondo.dev/argparse": "0.0.1", "@rondo.dev/argparse": "0.0.1",
"browser-unpack": "^1.4.2",
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"typescript": "^3.6.3", "typescript": "^3.6.3"
"browser-unpack": "^1.4.2"
}, },
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
"devDependencies": {}, "devDependencies": {},

View File

@ -11,6 +11,8 @@
"esm" "esm"
], ],
"references": [ "references": [
{"path": "../argparse"} {
"path": "../argparse"
}
] ]
} }

View File

@ -15,21 +15,29 @@
"typeorm": "ts-node ./node_modules/.bin/typeorm" "typeorm": "ts-node ./node_modules/.bin/typeorm"
}, },
"dependencies": { "dependencies": {
"@rondo.dev/logger": "0.0.1", "@rondo.dev/argparse": "0.0.1",
"@rondo.dev/client": "0.0.1",
"@rondo.dev/common": "0.0.1",
"@rondo.dev/config": "0.0.1",
"@rondo.dev/db": "0.0.1",
"@rondo.dev/db-typeorm": "0.0.1", "@rondo.dev/db-typeorm": "0.0.1",
"typeorm": "^0.2.19", "@rondo.dev/http-client": "0.0.1",
"@rondo.dev/http-types": "0.0.1",
"@rondo.dev/jsonrpc": "0.0.1",
"@rondo.dev/logger": "0.0.1",
"@rondo.dev/tasq": "0.0.1",
"@rondo.dev/validator": "0.0.1",
"bcrypt": "^3.0.6",
"body-parser": "^1.19.0",
"cls-hooked": "^4.2.2",
"cookie-parser": "^1.4.4",
"csurf": "^1.10.0",
"email-validator": "^2.0.4",
"express": "^4.17.1", "express": "^4.17.1",
"express-session": "^1.16.2",
"http-errors": "^1.7.3",
"passport": "^0.4.0", "passport": "^0.4.0",
"passport-local": "^1.0.0", "passport-local": "^1.0.0",
"@rondo.dev/common": "0.0.1",
"csurf": "^1.10.0",
"@rondo.dev/validator": "0.0.1",
"shortid": "^2.2.15",
"@rondo.dev/tasq": "0.0.1",
"express-session": "^1.16.2",
"cls-hooked": "^4.2.2",
"http-errors": "^1.7.3",
"@rondo.dev/client": "0.0.1",
"react": "^16.8.6", "react": "^16.8.6",
"react-dom": "^16.8.6", "react-dom": "^16.8.6",
"react-redux": "^7.1.1", "react-redux": "^7.1.1",
@ -37,18 +45,10 @@
"react-router-dom": "^5.0.1", "react-router-dom": "^5.0.1",
"react-ssr-prepass": "^1.0.5", "react-ssr-prepass": "^1.0.5",
"redux": "^4.0.1", "redux": "^4.0.1",
"shortid": "^2.2.15",
"styled-components": "^4.4.0", "styled-components": "^4.4.0",
"@rondo.dev/jsonrpc": "0.0.1", "supertest": "^4.0.2",
"@rondo.dev/http-types": "0.0.1", "typeorm": "^0.2.19"
"@rondo.dev/db": "0.0.1",
"bcrypt": "^3.0.6",
"email-validator": "^2.0.4",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.4",
"@rondo.dev/config": "0.0.1",
"@rondo.dev/argparse": "0.0.1",
"@rondo.dev/http-client": "0.0.1",
"supertest": "^4.0.2"
}, },
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

View File

@ -4,9 +4,6 @@
"outDir": "esm" "outDir": "esm"
}, },
"references": [ "references": [
{
"path": "../common/tsconfig.esm.json"
},
{ {
"path": "../argparse/tsconfig.esm.json" "path": "../argparse/tsconfig.esm.json"
}, },
@ -14,16 +11,19 @@
"path": "../client/tsconfig.esm.json" "path": "../client/tsconfig.esm.json"
}, },
{ {
"path": "../jsonrpc/tsconfig.esm.json" "path": "../common/tsconfig.esm.json"
}, },
{ {
"path": "../logger/tsconfig.esm.json" "path": "../common/tsconfig.esm.json"
}, },
{ {
"path": "../config/tsconfig.esm.json" "path": "../config/tsconfig.esm.json"
}, },
{ {
"path": "../tasq/tsconfig.esm.json" "path": "../db/tsconfig.esm.json"
},
{
"path": "../db-typeorm/tsconfig.esm.json"
}, },
{ {
"path": "../http-client/tsconfig.esm.json" "path": "../http-client/tsconfig.esm.json"
@ -31,14 +31,17 @@
{ {
"path": "../http-types/tsconfig.esm.json" "path": "../http-types/tsconfig.esm.json"
}, },
{
"path": "../jsonrpc/tsconfig.esm.json"
},
{
"path": "../logger/tsconfig.esm.json"
},
{
"path": "../tasq/tsconfig.esm.json"
},
{ {
"path": "../validator/tsconfig.esm.json" "path": "../validator/tsconfig.esm.json"
},
{
"path": "../db/tsconfig.esm.json"
},
{
"path": "../db-typeorm/tsconfig.esm.json"
} }
] ]
} }

View File

@ -5,17 +5,44 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../common"}, {
{"path": "../argparse"}, "path": "../argparse"
{"path": "../client"}, },
{"path": "../jsonrpc"}, {
{"path": "../logger"}, "path": "../client"
{"path": "../config"}, },
{"path": "../tasq"}, {
{"path": "../http-client"}, "path": "../common"
{"path": "../http-types"}, },
{"path": "../validator"}, {
{"path": "../db"}, "path": "../common"
{"path": "../db-typeorm"} },
{
"path": "../config"
},
{
"path": "../db"
},
{
"path": "../db-typeorm"
},
{
"path": "../http-client"
},
{
"path": "../http-types"
},
{
"path": "../jsonrpc"
},
{
"path": "../logger"
},
{
"path": "../tasq"
},
{
"path": "../validator"
}
] ]
} }

View File

@ -5,6 +5,8 @@
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": [
{"path": "../test-utils"} {
"path": "../test-utils"
}
] ]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }

View File

@ -4,6 +4,5 @@
"outDir": "lib", "outDir": "lib",
"rootDir": "src" "rootDir": "src"
}, },
"references": [ "references": []
]
} }