Skip to content

Commit aa518b9

Browse files
feat: version update
1 parent 0155b85 commit aa518b9

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ Check out the example of [**standalone version running here**](https://codecrumb
3131
<img src="/docs/main-ui.png" width="100%"/>
3232

3333
## Get started
34-
#### Install and run
34+
### Install and run
3535
>Pre-condition: update/install `NodeJS` version to be >= *8.11.1*
3636
3737
1) Install ```codecrumbs``` to *devDependencies* (```yarn add codecrumbs -D```)
3838
2) Run ```codecrumbs -d project-src-dir -e project-src-dir/index.js```. Change parameters to match your project:```-d``` is *directory with source code*, ```-e``` is *entry point file* .
3939
3) Go to [http://localhost:2018](http://localhost:2018/#) in the browser to check it out.
4040

41-
#### CLI
41+
### CLI
4242
Parameter | Description | Example
4343
--- | --- | ---
4444
```-e```, ```--entry``` | Path to project source entry point file | ```-e src/app.js```
@@ -48,7 +48,7 @@ Parameter | Description | Example
4848
```-f```, ```--parserFallback``` | AST parser fallback, applicable only for JavaScript project, use it when @babel-parse fails (optional, default *false*) | ```-f true```
4949

5050
## Features
51-
#### Breadcrumbs and trail of breadcrumbs
51+
### Breadcrumbs and trail of breadcrumbs
5252

5353
<img src="/docs/cc-ui.png" width="750"/>
5454

@@ -71,7 +71,7 @@ Example | Description | Use case
7171

7272
> Note: current version supports single line comments only.
7373
74-
#### Multi-codebase integration
74+
### Multi-codebase integration
7575
You might be interested to study connections between several codebases (sub-modules), codecrumbs supports that.
7676
Simply start codecrumbs multiple times (once for each codebase), it all **will be synced in one picture** inside the browser tab. To control a diagram UI - select it by clicking on it :)
7777

@@ -80,7 +80,7 @@ E.g. for server-client application, go to the source directory for your server c
8080
8181
<img src="/docs/multi-l-c.png" width="100%"/>
8282

83-
#### Multi-language support
83+
### Multi-language support
8484
Current version supports next programming languages:
8585
- `javascript`
8686
- `typescript`
@@ -92,13 +92,13 @@ Current version supports next programming languages:
9292

9393
Please file an issue to support other language you would like to have.
9494

95-
#### Download & Upload (learn and share your knowledge)
95+
### Download & Upload (learn and share your knowledge)
9696

9797
You can take a snapshot of application state at any point of time and share it with others. Simply download the json file of codecrumbs store (*top-right corner, "setup -> download"*). This json file can be then uploaded to codecrumbs (*top-right corner, "setup -> upload"*) to represent exactly same picture, even without having that project locally!
9898

9999
<img src="/docs/upload-feature-2.gif" width="100%"/>
100100

101-
#### Dependencies
101+
### Dependencies
102102
> Note: In current version only JavaScript offers this feature
103103
104104
<img src="/docs/dep-ui.png" width="100%"/>
@@ -109,7 +109,7 @@ UI explained:
109109
2) Select connection between modules
110110
3) All involved files (two or more) will be opened in "Sidebar", so you can see “what is imported” and “its implementation”.
111111

112-
#### Flowchart
112+
### Flowchart
113113
> Note: In current version only JavaScript offers this feature
114114
115115
<img src="/docs/flow-ui.png" width="100%"/>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codecrumbs",
3-
"version": "1.0.25",
3+
"version": "1.1.0",
44
"author": "Bohdan Liashenko",
55
"license": "BSD-3-Clause",
66
"repository": {

src/public/dist/local/bundle/main.bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46889,7 +46889,7 @@ module.exports = function(originalModule) {
4688946889
/*! exports provided: name, version, author, license, repository, scripts, bin, dependencies, devDependencies, nodemonConfig, husky, default */
4689046890
/***/ (function(module) {
4689146891

46892-
module.exports = {"name":"codecrumbs","version":"1.0.25","author":"Bohdan Liashenko","license":"BSD-3-Clause","repository":{"type":"git","url":"https://github.com/Bogdan-Lyashenko/codecrumbs.git"},"scripts":{"start":"yarn client-dev & yarn server-dev","server:one":"node src/index.dev.js","server:two":"node src/index.dev.js two","client-dev":"cd src/public && webpack --config webpack.dev.js --progress --colors --watch --env dev","server-dev":"nodemon src/index.dev.js","server-debug":"nodemon --inspect src/index.dev.js","build":"cd src/public && webpack --config webpack.prod.js --progress --colors","start:standalone":"cd src/public/dist/standalone && http-server","pretty":"prettier --write \"./src/public/js/**/*.js\""},"bin":{"codecrumbs":"./cli/index.cli.js"},"dependencies":{"@babel/parser":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/traverse":"^7.1.0","antd":"^3.9.2","classnames":"^2.2.6","colors":"^1.3.2","commander":"^2.19.0","copy-text-to-clipboard":"^1.0.4","d3-flextree":"^2.1.1","directory-tree":"^2.1.0","file-saver":"^2.0.0","http-server":"^0.11.1","js2flowchart":"^1.1.7","lodash":"^4.17.10","lodash.debounce":"^4.0.8","madge":"^3.3.0","portscanner":"^2.2.0","react":"^16.7.0","react-dom":"^16.7.0","react-draggable":"^3.0.5","react-redux":"^5.0.7","react-syntax-highlighter":"8.0.1","redux":"^4.0.0","redux-persist":"^5.10.0","redux-saga":"^0.16.0","redux-thunk":"^2.2.0","reselect":"^4.0.0","watchpack":"^1.6.0","websocket":"^1.0.26"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","@commitlint/cli":"^7.3.2","@commitlint/config-conventional":"^7.3.1","babel-loader":"^8.0.4","babel-plugin-import":"^1.9.1","css-loader":"^0.28.11","husky":"^1.3.1","node-sass":"^4.9.3","nodemon":"^1.18.7","prettier":"^1.14.0","sass-loader":"^7.1.0","style-loader":"^0.21.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.0.3","webpack-cli":"^3.1.2","webpack-merge":"^4.1.5"},"nodemonConfig":{"ignore":["src/public/**/*.*"],"delay":"2500"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}}};
46892+
module.exports = {"name":"codecrumbs","version":"1.1.0","author":"Bohdan Liashenko","license":"BSD-3-Clause","repository":{"type":"git","url":"https://github.com/Bogdan-Lyashenko/codecrumbs.git"},"scripts":{"start":"yarn client-dev & yarn server-dev","server:one":"node src/index.dev.js","server:two":"node src/index.dev.js two","client-dev":"cd src/public && webpack --config webpack.dev.js --progress --colors --watch --env dev","server-dev":"nodemon src/index.dev.js","server-debug":"nodemon --inspect src/index.dev.js","build":"cd src/public && webpack --config webpack.prod.js --progress --colors","start:standalone":"cd src/public/dist/standalone && http-server","pretty":"prettier --write \"./src/public/js/**/*.js\""},"bin":{"codecrumbs":"./cli/index.cli.js"},"dependencies":{"@babel/parser":"^7.1.2","@babel/polyfill":"^7.0.0","@babel/traverse":"^7.1.0","antd":"^3.9.2","classnames":"^2.2.6","colors":"^1.3.2","commander":"^2.19.0","copy-text-to-clipboard":"^1.0.4","d3-flextree":"^2.1.1","directory-tree":"^2.1.0","file-saver":"^2.0.0","http-server":"^0.11.1","js2flowchart":"^1.1.7","lodash":"^4.17.10","lodash.debounce":"^4.0.8","madge":"^3.3.0","portscanner":"^2.2.0","react":"^16.7.0","react-dom":"^16.7.0","react-draggable":"^3.0.5","react-redux":"^5.0.7","react-syntax-highlighter":"8.0.1","redux":"^4.0.0","redux-persist":"^5.10.0","redux-saga":"^0.16.0","redux-thunk":"^2.2.0","reselect":"^4.0.0","watchpack":"^1.6.0","websocket":"^1.0.26"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","@commitlint/cli":"^7.3.2","@commitlint/config-conventional":"^7.3.1","babel-loader":"^8.0.4","babel-plugin-import":"^1.9.1","css-loader":"^0.28.11","husky":"^1.3.1","node-sass":"^4.9.3","nodemon":"^1.18.7","prettier":"^1.14.0","sass-loader":"^7.1.0","style-loader":"^0.21.0","webpack":"^4.20.2","webpack-bundle-analyzer":"^3.0.3","webpack-cli":"^3.1.2","webpack-merge":"^4.1.5"},"nodemonConfig":{"ignore":["src/public/**/*.*"],"delay":"2500"},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}}};
4689346893

4689446894
/***/ }),
4689546895

@@ -46992,7 +46992,7 @@ var App = function App() {
4699246992
fallback: null
4699346993
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(SideBar, null))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("footer", {
4699446994
className: "footer"
46995-
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, "v".concat("1.0.25")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, "\u24B8 Bohdan Liashenko", ' • ', react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", {
46995+
}, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, "v".concat("1.1.0")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", null, "\u24B8 Bohdan Liashenko", ' • ', react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", {
4699646996
href: "https://github.com/Bogdan-Lyashenko/codecrumbs"
4699746997
}, "Github"), ' • ', react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("a", {
4699846998
href: "https://codecrumbs.io/"

src/public/js/core/dataBus/utils/geometry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const calculateLayoutSize = (list, padding = 80) => {
3131
}
3232
});
3333

34-
const width = Math.round(Math.abs(maxX) + Math.abs(minX) + 3 * padding),
34+
const width = Math.round(Math.abs(maxX) + Math.abs(minX) + 4 * padding),
3535
height = Math.round(Math.abs(maxY) + Math.abs(minY) + 2 * padding);
3636

3737
return {

0 commit comments

Comments
 (0)