4 Commits

Author SHA1 Message Date
Bogdan Lyashenko
7d910a0f75 1.7.0 2019-08-06 20:31:37 +02:00
Bogdan Lyashenko
ab74f6426e 1.6.18 2019-08-06 20:26:39 +02:00
Bogdan Lyashenko
390bb8ff67 fix: left margin for svg 2019-08-06 20:26:30 +02:00
Bogdan Lyashenko
fcd108f9e7 fix: readme 2019-08-06 20:10:33 +02:00
4 changed files with 11 additions and 10 deletions

View File

@@ -45,14 +45,14 @@ Run codecrumbs with CLI params or specify static config file `codecrumbs.config.
CLI | Config file | Description | Example
--- | --- | --- | ---
```-d``` | ```projectDir``` | Relative path to project source code directory | ```-d src```
```-e``` | ```entryPoint``` | Relative path to project source entry point file (must be inside ```dir```) | ```-e src/app.js```
```-x``` | ```excludeDir``` | Relative path(or paths separated by ```,```) to directories for exclusion | ```-x src/doc,src/thirdparty```
```-i``` | ```ideCmd``` | command to open file in IDE from bash (default 'webstorm') | ```-i code```
```-p``` | ```clientPort``` | Port for Codecrumbs client (optional, default *2018*) | ```-p 2019```
```-n``` | ```projectNameAlias``` | Project name alias (optional, default same as ```-d``` value) | ```-n my-hello-world```
```-C``` | - | Path to codecrumbs.config.js (optional, by default will try to find the file in PWD) | ```-C config/codecrumbs.config.js```
```-D``` | ```debugModeEnabled``` | Enable debug mode for logs (optional, default is ```false```) | ```-D```
```d``` | ```projectDir``` | Relative path to project source code directory | ```-d src```
```e``` | ```entryPoint``` | Relative path to project source entry point file (must be inside ```dir```) | ```-e src/app.js```
```x``` | ```excludeDir``` | Relative path(or paths separated by ```,```) to directories for exclusion | ```-x src/doc,src/thirdparty```
```i``` | ```ideCmd``` | command to open file in IDE from bash (default 'webstorm') | ```-i code```
```p``` | ```clientPort``` | Port for Codecrumbs client (optional, default *2018*) | ```-p 2019```
```n``` | ```projectNameAlias``` | Project name alias (optional, default same as ```-d``` value) | ```-n my-hello-world```
```C``` | - | Path to codecrumbs.config.js (optional, by default will try to find the file in PWD) | ```-C config/codecrumbs.config.js```
```D``` | ```debugModeEnabled``` | Enable debug mode for logs (optional, default is ```false```) | ```-D```
## Features
### Breadcrumbs and trails

View File

@@ -1,6 +1,6 @@
{
"name": "codecrumbs",
"version": "1.6.17",
"version": "1.7.0",
"author": "Bohdan Liashenko",
"license": "BSD-3-Clause",
"repository": {

View File

@@ -2,6 +2,7 @@
overflow: auto;
width: 100%;
margin-top: 20px;
margin-left: 10px;
}
.MainLoader {

View File

@@ -53,7 +53,7 @@ export const calculateLayoutProps = (list, padding = 120) => {
const width = Math.round(Math.abs(maxX + maxCcWidth) + Math.abs(minX) + 2 * padding);
return {
xShift: padding / 4,
xShift: 5,
width,
height,
yShift,