dyatko / arkit Goto Github PK
View Code? Open in Web Editor NEWJavaScript architecture diagrams and dependency graphs
Home Page: https://arkit.pro
License: MIT License
JavaScript architecture diagrams and dependency graphs
Home Page: https://arkit.pro
License: MIT License
Bug description:
<H1>504 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
To Reproduce
npx arkit
Bug description
error on line 22 at column 11: Opening and ending tag mismatch: meta line 0 and head
{ "components": [ { "type": "Entry", "patterns": [ "src/*.js" ] }, { "type": "Lib", "patterns": [ "src/lib" ] }, { "type": "Blockchain", "patterns": [ "src/blockchain" ] }, { "type": "Component", "patterns": [ "src/**/*.js" ], "excludePatterns": [ "**/__tests__/**", "**/*-test.js" ] } ], "excludePatterns": [ "test", "tests", "dist", "coverage", "**/*.test.*", "**/*.spec.*", "**/*.min.*" ], "output": [ { "path": [ "arkit.svg" ], "groups": [ { "first": true, "components": [ "Entry" ], "patterns": [ "src/index.js" ] }, { "type": "Redux", "patterns": [ "src/redux/**" ] }, { "type": "Components", "patterns": [ "src/components/**" ] }, { "type": "Containers", "patterns": [ "src/containers/**" ] }, { "components": [ "Component", "Entry", "Lib", "Blockchain" ] } ] } ] }
Describe the solution you'd like
Would love to be able to parse classes and include function relations in the graph.
Bug description
Arkit does not generate architecture visualization and gets stuck during architecture generation as shown in the following picture
I tested it on both OS namely windows 10 and ubuntu 18.04.5, and used different repos, even those Github repos on which arkit worked perfectly a week earlier
To Reproduce
1. Operating system
Windows 10
Ubuntu 18.04.5 LTS
2. Arkit version and CLI arguments
Version: 1.6.4
npx arkit
3. Arkit config, if any was used
Script: "arkit": "arkit -o arkit.svg",
4. Source code example, if it's possible
Bug description
To Reproduce
Operating system - Ubuntu 17.10
Arkit version and CLI arguments - 1.5.0
LEVEL=trace npx arkit -o arkit.svg > arkit-logs.txt
Arkit config, if any was used - no
Source code example, if it's possible - no
There is html file in arkit.svg
:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>Application Error</title>
<style media="screen">
html,body,iframe {
margin: 0;
padding: 0;
}
html,body {
height: 100%;
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
border: 0;
}
</style>
</head>
<body>
<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
</body>
</html>
There are some errors in logs:
[2019-03-26 09:52:49.137 +0000] �[33mWARN �[39m: �[36mNot implemented feature for syntax kind 'ObjectBindingPattern'.�[39m
Error: Not implemented feature for syntax kind 'ObjectBindingPattern'.
at NotImplementedError.BaseError [as constructor] (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/classes/BaseError.js:8:28)
at new NotImplementedError (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/classes/NotImplementedError.js:10:23)
at Object.getNotImplementedForSyntaxKindError (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/helpers.js:79:12)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getNameNode (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:35:34)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getName (/home/ITRANSITION.CORP/d.semigradsky/.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:42:33)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:57:28)
at Object.callBaseGetStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/callBaseGetStructure.js:9:51)
at ParameterDeclaration.InitializerSetExpressionableNode.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/initializer/InitializerSetExpressionableNode.js:50:43)
at Object.callBaseGetStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/callBaseGetStructure.js:9:51)
at ParameterDeclaration.TypedNode.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/TypedNode.js:85:43)
and
[2019-03-26 09:52:50.002 +0000] �[33mWARN �[39m: �[36mNot implemented feature for syntax kind 'ArrayBindingPattern'.�[39m
Error: Not implemented feature for syntax kind 'ArrayBindingPattern'.
at NotImplementedError.BaseError [as constructor] (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/classes/BaseError.js:8:28)
at new NotImplementedError (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/classes/NotImplementedError.js:10:23)
at Object.getNotImplementedForSyntaxKindError (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/errors/helpers.js:79:12)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getNameNode (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:35:34)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getName (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:42:33)
at ParameterDeclaration.DeclarationNamedNodeInternal.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/name/DeclarationNamedNode.js:57:28)
at Object.callBaseGetStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/callBaseGetStructure.js:9:51)
at ParameterDeclaration.InitializerSetExpressionableNode.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/initializer/InitializerSetExpressionableNode.js:50:43)
at Object.callBaseGetStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/callBaseGetStructure.js:9:51)
at ParameterDeclaration.TypedNode.class_1.getStructure (/home/.../.npm/_npx/8522/lib/node_modules/arkit/node_modules/ts-morph/dist/compiler/ast/base/TypedNode.js:85:43)
Hi! This project looks very interesting. I wanted to try it with a somewhat medium project of mine, and it throws the following error:
`arkit
<--- Last few GCs --->
[3367:0x2768af0] 53796 ms: Scavenge 1382.2 (1424.7) -> 1381.5 (1425.2) MB, 4.3 / 0.0 ms (average mu = 0.300, current mu = 0.258) allocation failure
[3367:0x2768af0] 53802 ms: Scavenge 1382.2 (1425.2) -> 1381.6 (1425.7) MB, 4.3 / 0.0 ms (average mu = 0.300, current mu = 0.258) allocation failure
[3367:0x2768af0] 53807 ms: Scavenge 1382.4 (1425.7) -> 1381.8 (1426.2) MB, 3.4 / 0.0 ms (average mu = 0.300, current mu = 0.258) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x329731dcfc5d]
Security context: 0x1dd77731d971
1: next [0x1dd777319711](this=0x2a7e75a871c1 )
2: /* anonymous */ [0x10b6bb2d4ec1] [/app/frontend/node_modules/ts-morph/dist/utils/ArrayUtils.js:~59] [pc=0x329735b54ad8](this=0x337c958302c1 <JSFunction ArrayUtils (sfi = 0x10b6bb2d40d9)>,0x2a7e75a871c1 )
3: /...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Writing Node.js report to file: report.20190226.145847.3367.001.json
Node.js report completed
1: 0x953b10 node::Abort() [node]
2: 0x9547f4 node::OnFatalError(char const*, char const*) [node]
3: 0xb32bee v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xb32e24 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xf32452 [node]
6: 0xf32558 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node]
7: 0xf3ec78 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
8: 0xf3f78b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xf424c1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node]
10: 0xf0c6f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
11: 0x11c2b3e v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x329731dcfc5d
Aborted (core dumped)`
would you know if there's something I could try to fix this? Also let me know if you need the report.
Cheers!
Bug description
Including class
on a template element (even commented-out) results in a parsing error, and file to be missing from output SVG.
[2019-08-29 06:10:00.902 +0000] ERROR: Error parsing <...>/src/views/Test.vue
To Reproduce
arkit -e "node_modules" src/views
Arkit config, if any was used: none
Source code example, if it's possible:
src/views/Test.vue
FAIL
<template>
<div class='thing'></div>
</template>
<script>
</script>
PASS
<template>
<div></div>
</template>
<script>
</script>
Is your feature request related to a problem?
A clear description of what the problem is. Ex. I'm always frustrated when...
I have a task to document project created with https://quasar.dev/
I would really like to use your tool for that.
Describe the solution you'd like
A clear description of what you want to happen.
Support with arkit.js conf or any other nice way to use Arkit with Quasar
Describe alternatives you've considered
Bug description
Object.values is not a function
To Reproduce
onStateChanged(evt) { const isEmpty = value => value === ''; const isReset = isEmpty(evt.target.value); const user = { ...this.state.user, [evt.target.id]: evt.target.value }; const isFormComplete = !isReset && !Object.values(user).some(isEmpty); this.setState({ user, isFormComplete }); }
npx arkit src/ -o arkit.svg on Windows 10 results in
C:\javasource\ngx-datatable-master>npx arkit src/ -o arkit.svg
npm ERR! path C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json'
npm ERR! { [Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343',
npm ERR! dest:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json' },
npm ERR! stack:
npm ERR! "Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json'",
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343',
npm ERR! dest:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json',
npm ERR! parent: 'arkit' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:\dev\npm-cache-current_logs\2019-08-05T09_54_42_228Z-debug.log
Install for arkit@latest failed with code 4294963248
When the application grows it's become harder and hander to trace connections, and wiring become an issue.
For example, this graph should be simple, as long as the application is really super small
However - what if some group, for a some another group would be represented locally, just next to it?
Describe the solution you'd like
A special flag on a group, to indicate that it could be represented on per-other-group basic.
Describe alternatives you've considered
"microservices/frontends", or just separate configs for different groups isolating them could be a better option, however, you will lose observability.
Is your feature request related to a problem?
We are currently using node 8.11 on developer machines and during CI.
arkit works perfectly under node 8.11, but requires >= 8.15 in package.json
Would be nice if arkit allowed 8.11 and we did not need to run yarn with --ignore-engines.
Describe the solution you'd like
In package.json, replace
"engines": {
"node": ">= 8.15.0"
},
with
"engines": {
"node": ">= 8.11.0"
},
Describe alternatives you've considered
—
Since TypeScript 2.9 there are import-types. At the moment arkit does not understand this kind of imports.
To Reproduce
// types.ts
export interface Foo {}
// index.ts
type Foo = import('./types').Foo;
export class Bar {
constructor(private foo: Foo) {}
}
Does not work. Cannot find the file /home/user/git/tsconfig.json
, but it has never been there.
To Reproduce
npx arkit ./src/ -o arkit.svg
Result of performance:
npx: установлен 268 в 3.057s
Running against /home/user/git/toster-extension/src with the following config:
{
"components": [
{
"type": "Dependency",
"patterns": [
"node_modules/*"
]
},
{
"type": "Component",
"patterns": [
"**/*.ts",
"**/*.js",
"**/*.jsx",
"**/*.tsx"
]
}
],
"excludePatterns": [
"../test",
"../tests",
"../dist",
"../coverage",
"../**/*.test.*",
"../**/*.spec.*",
"../**/*.min.*"
],
"output": [
{
"path": [
"../arkit.svg"
],
"groups": [
{
"first": true,
"components": [
"Component"
]
},
{
"type": "Dependencies",
"components": [
"Dependency"
]
}
]
}
]
}
File not found: /home/user/git/tsconfig.json
Exclude does not work
To Reproduce
npx arkit -o arkit.svg --exclude *test*
https://github.com/rohanjr/create-daml-app
I am unable to generate dependencies of npm packages like express, mongoose, etc in the dependency graph. I tried advanced arkit.json config, initially I ran npx arkit -c with arkit.json as below
{ "$schema": "https://arkit.pro/schema.json", "excludePatterns": ["test/**", "tests/**", "**/*.test.*", "**/*.spec.*"], "components": [ { "type": "Dependency", "patterns": ["node_modules/*"] }, { "type": "Component", "patterns": ["**/*.js", "**/*.jsx"] } ], "output": [ { "path": "arkit.svg", "groups": [ { "first": true, "components": ["Component"] }, { "type": "Dependencies", "components": ["Dependency"] } ] } ] }
With this JSON, I am not getting dependencies like Arkit or Vue/Nuxt TodoMVC in arkit examples, furthermore selecting only node_modules and omitting components in arkit.json, I am getting this huge graph
I also looked over Arkit or Vue/Nuxt TodoMVC but was unable to find arkit.json which could solve my problem, issue # 28 wrt user "karevn" occurs when I tried to alter arkit.json like this
{ "type": "Dependency", "patterns": ["node_modules/*"] },
I'm use your lib arkit for read my node-js microservices.
Is a very good tool, but I have a problem with js files when developers make direct use de module.exports = ({}) and not declare the class by name.
Exists a solution for this problem?
To Reproduce
module.exports = ({
config,
routerRegister,
httpErrorMiddleware,
notFoundMiddleware,
healthCheckMiddleware,
swaggerMiddleware,
}) => { content of class }
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: package.json
Error type: The renovate configuration file contains some invalid settings
Message: Configuration option 'packageRules[0].node' should be a json object, Invalid configuration option: arkit, Invalid configuration option: author, Invalid configuration option: bin, Invalid configuration option: bugs, Invalid configuration option: eslintConfig, Invalid configuration option: eslintIgnore, Invalid configuration option: homepage, Invalid configuration option: jest, Invalid configuration option: keywords, Invalid configuration option: license, Invalid configuration option: main, Invalid configuration option: name, Invalid configuration option: packageRules[1].@types/jest, Invalid configuration option: packageRules[1].@types/node, Invalid configuration option: packageRules[1].@types/pino, Invalid configuration option: packageRules[1].@types/progress, Invalid configuration option: packageRules[1].@types/resolve, Invalid configuration option: packageRules[1].@types/yargs, Invalid configuration option: packageRules[1].@typescript-eslint/eslint-plugin, Invalid configuration option: packageRules[1].@typescript-eslint/parser, Invalid configuration option: packageRules[1].eslint, Invalid configuration option: packageRules[1].eslint-config-prettier, Invalid configuration option: packageRules[1].eslint-plugin-import, Invalid configuration option: packageRules[1].eslint-plugin-node, Invalid configuration option: packageRules[1].eslint-plugin-prettier, Invalid configuration option: packageRules[1].jest, Invalid configuration option: packageRules[1].prettier, Invalid configuration option: packageRules[1].ts-jest, Invalid configuration option: packageRules[1].tslint, Invalid configuration option: packageRules[1].typescript, Invalid configuration option: packageRules[1].typescript-json-schema, Invalid configuration option: packageRules[1].worldstar, Invalid configuration option: packageRules[2].nanomatch, Invalid configuration option: packageRules[2].pino, Invalid configuration option: packageRules[2].pino-pretty, Invalid configuration option: packageRules[2].progress, Invalid configuration option: packageRules[2].resolve, Invalid configuration option: packageRules[2].ts-morph, Invalid configuration option: packageRules[2].tsconfig-paths, Invalid configuration option: packageRules[2].yargs, Invalid configuration option: renovate, Invalid configuration option: scripts, Invalid configuration option: types, Invalid configuration option: version, The "node" object can only be configured at the top level of a config but was found inside "packageRules[0]"
hi @dyatko thanks for making this project and sharing it.
I created https://github.com/imvetri/ui-editor where I built a concept tool that can generate component code from a minimal code and also I found a way to generate code from configuration. I mean, as an user, I'll design a component, design variants with interaction, it will generate code targeting a particular framework of choice, for concept I generated against reactJS's component syntax.
I'm trying to do a reverse of what I did earlier. Earlier concept saves component information in form of configuration, and generates code based on string manipulation. Now, I'm trying to find some inspiration or ideas or clues to scan a code base and reduce it down to configuration.
I came across your project and it is able to trace the function call flow. Do you have any ideas or suggestion on reducing a frontend code base down to configuration states of show / hide of different combination of component and its variants?
Bug Description
when I try to get the diagram of my NodeJS file I use the command "npx arkit -f .\code\code.js -o code.svg"
I got this error
orignalcode\node_modules\arkit\dist\generator.js:124
componentsByName[component.name].push(component);
^
TypeError: componentsByName[component.name].push is not a function
can anyone help me please to get over this error?
I am getting 502 gateway in my arkit.svg file
To Reproduce
Operating system
Windows 10
Arkit version and CLI arguments
1.6.2
npx arkit src/ -o arkit.svg
Arkit config, if any was used
The arkit said me this was used
{
"components": [
{
"type": "Dependency",
"patterns": [
"node_modules/*"
]
},
{
"type": "Component",
"patterns": [
"**/*.ts",
"**/*.js",
"**/*.jsx",
"**/*.tsx"
]
},
{
"type": "Vue",
"format": "full",
"patterns": [
"**/*.vue"
]
}
],
"excludePatterns": [
"..\\test",
"..\\tests",
"..\\dist",
"..\\coverage",
"..\\**\\*.test.*",
"..\\**\\*.spec.*",
"..\\**\\*.min.*"
],
"output": [
{
"path": [
"..\\arkit.svg"
],
"groups": [
{
"first": true,
"components": [
"Component",
"Vue"
]
},
{
"type": "Dependencies",
"components": [
"Dependency"
]
}
]
}
]
}
arkit.svg contains:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.16.1</center>
</body>
</html>
Is your feature request related to a problem?
The graphs produced by this package have really helped me organize a larger project I'm working on. There are many different groups of components in the system though, and I would like to be able to generate graphs for each group, by itself, as well as for the system as a whole. If there were a command line option to specify a config file, I would be able to save a config file for each group that I want a graph for, then just provide the appropriate filename when calling arkit
.
Describe the solution you'd like
Just a simple command line option that allows config file specification instead of just assuming arkit.json
or the contents of package.json
.
Describe alternatives you've considered
Right now so far as I can tell this means I have to reach in and edit arkit.json
every time.
I want arkit to resolve "/something" as ./src/something.js - as my parcel do.
arkit must use standard jsconfig.json configuration:
{
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"/src/*": ["./src/*"]
},
...
or some alternative in schema config
add support vue components.
Is your feature request related to a problem?
PlantUML requires Java
Describe the solution you'd like
Replace with https://mermaid-js.github.io/mermaid/#/ or https://github.com/reaviz/reaflow
Bug description
To Reproduce
Win10
1.6.2 and 1.5.0
npx arkit -d src/
npx arkit -d src/ -c arkit.json
Default one (same as the demo)
And the below one
arkit.json
{
"$schema": "https://arkit.pro/schema.json",
"excludePatterns": ["test/**", "tests/**", "**/*.test.*", "**/*.spec.*"],
"components": [
{
"type": "API",
"patterns": ["src/models/*", "src/api.tsx"]
},
{
"type": "Redux",
"patterns": ["src/reducer", "src/store.tsx"]
},
{
"type": "Component",
"patterns": ["**/*.ts", "**/*.tsx"],
"excludePatterns": []
}
],
"output": [
{
"path": "temp/arkit.svg",
"groups": [
{
"first": true,
"components": ["Component"]
},
{
"type": "Dependencies",
"components": ["Dependency"]
},
{
"type": "Redux",
"components": ["Redux"]
},
{
"type": "API",
"components": ["API"]
}
]
}
]
}
Always the default settings
Bug description
To Reproduce
╰─$ node --version
v10.15.2
{
"components": [
{
"type": "Dependency",
"patterns": [
"node_modules/*"
]
},
{
"type": "Component",
"patterns": [
"**/*.ts",
"**/*.js",
"**/*.jsx",
"**/*.tsx"
]
}
],
"excludePatterns": [
"test",
"tests",
"dist",
"coverage",
"**/*.test.*",
"**/*.spec.*",
"**/*.min.*"
],
"output": [
{
"path": [
"svg"
],
"groups": [
{
"first": true,
"components": [
"Component"
]
},
{
"type": "Dependencies",
"components": [
"Dependency"
]
}
]
}
]
}
Bug description
https://arkit.js.org/schema.json
Please replace all places it used.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @types/pino |
|
npm | tslint |
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
nanomatch ^1.2.13
pino ^9.0.0
pino-pretty ^11.0.0
progress ^2.0.3
resolve ^1.20.0
ts-morph ^23.0.0
tsconfig-paths ^4.0.0
yargs ^17.0.0
@types/jest 29.5.12
@types/node 20.14.14
@types/pino 7.0.5
@types/progress 2.0.7
@types/resolve 1.20.6
@types/yargs 17.0.33
@typescript-eslint/eslint-plugin 8.0.1
@typescript-eslint/parser 8.0.1
eslint 8.57.0
eslint-config-prettier 9.1.0
eslint-plugin-import 2.29.1
eslint-plugin-n 17.10.2
eslint-plugin-prettier 5.2.1
jest 29.7.0
prettier 3.3.3
ts-jest 29.2.4
tslint 6.1.3
typescript 5.5.4
typescript-json-schema 0.64.0
worldstar 1.2.3
node >= 8.11.0
.travis.yml
node 10
Bug description
To Reproduce
Operating system
Windows 10
Arkit version and CLI arguments
Version
1.6.4
CLI arguments
npx arkit --config
Arkit config, if any was used
{ "$schema": "https://arkit.pro/schema.json", "excludePatterns": ["test/**", "tests/**", "**/*.test.*", "**/*.spec.*"], "components": [ { "type": "Dependency", "patterns": ["node_modules/**/*.js"] }, { "type": "Component", "patterns": ["**/*.js", "**/*.jsx"] } ], "output": [ { "path": "arkit.svg", "groups": [ { "first": true, "components": ["Component"] }, { "type": "Dependencies", "components": ["Dependency"] } ] } ] }
Source code example, if it's possible
Source code cannot be provided due to the privacy of the codebase
I posted the #428 yesterday, in which I needed help, although I figured out how to extract package.json dependencies from node_modules it seems like arkit crashes when used in medium-large projects like in issue #28
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.