Gathering detailed insights and metrics for @i-vresse/wb-core
Gathering detailed insights and metrics for @i-vresse/wb-core
Gathering detailed insights and metrics for @i-vresse/wb-core
Gathering detailed insights and metrics for @i-vresse/wb-core
Graphical interface to build a workflow file
npm install @i-vresse/wb-core
Typescript
Module System
TypeScript (91.09%)
Python (5.46%)
CSS (2.57%)
JavaScript (0.49%)
HTML (0.37%)
Shell (0.02%)
Total Downloads
3,343
Last Day
2
Last Week
2
Last Month
226
Last Year
2,156
4 Stars
672 Commits
2 Forks
5 Watching
27 Branches
7 Contributors
Latest Version
3.2.4
Package Id
@i-vresse/wb-core@3.2.4
Unpacked Size
143.52 kB
Size
34.69 kB
File Count
137
Publised On
09 Oct 2024
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
79.4%
226
Compared to previous month
Last year
198.2%
2,156
Compared to previous year
21
26
Graphical interface to build a workflow file
The haddock3-download application of the main branch is published at https://i-vresse-workflow-builder.netlify.app
The builder allows you to create a complex TOML formatted config file based on a set of JSON schemas.
The workflow builder is organized as a monorepo with packages and apps.
Requires NodeJS and yarn (tested with v3.2.1).
1# Install dependencies 2yarn 3 4# Run dev servers 5yarn dev
Tests (**/*.test.tsx?) written in vitetest can be run with:
1yarn test -- run
To run tests with code coverage use
1yarn test -- run --coverage
Creates **/coverage/
directory with HTML and LCOV report.
The integration tests (**/integration-tests/**.spec.ts
) are written in playwright.
Before running test ensure browsers are installed with
1cd apps/haddock3-download 2npx playwright install chromium
Tests can be run with
1yarn test:integration
To run a non-headless chromium browser use
1yarn test:headed
The browser will pause when a test calls await page.pause()
, so you can investigate current state.
There is a VS code extension to run integration tests inside editor.
1yarn lint
To autofix lint errors use
1yarn lint -- --fix
To generate JSON report use
1yarn lint -- --report json > eslint.report.json
To build production distribution run
1yarn build
Which will create apps/*/dist/
directories which should be hosted on the web somewhere.
The build also creates packages/*/dist
directories which should be published to npmjs.com.
Components can be developed/tested/documented using storybook.
The storybooks of the main branch are hosted at
Storybook can be started locally with
1yarn storybook
The workflow builder creates a zip file with a workflow configuration file called workflow.cfg
in TOML format.
The configuration file contains paths to input files which are included in the zip file.
The workflow configuration file consists out of 2 parts:
An uploaded workflow configuration file can contain tables with the same name (this is more lenient then the TOML format).
A generated workflow configuration file with the same node twice will have a TOML string with [somenode]
and ['somenode.2']
table respectively.
The catalog is a YAML formatted file which tells the app what nodes are available. In has the following info:
See docs/schema.md.
See docs/uiSchema.md.
See docs/tomlSchema.md.
In the worklfow builder you can pick a catalog from a list. This list gets downloaded from public/catalog/index.json and is formatted like
1[ 2 ["<title of catalog>", "<URL of catalog YAML file>"] 3]
The first catalog in the index.json file will be shown when you open the app.
The haddock3 catalogs can be generated by a Python script in packages/haddock3_catalog from the haddock3 library. The haddock3 catalogs and example are symbolicly linked to /app/*/public
.
No vulnerabilities found.
No security vulnerabilities found.