
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
garlictech-workflows-client
Advanced tools
The information below applies all the Garlic Tech projects.
Before everything, read the the pages common to all the GarlicTech projects.
Make sure that you use npm version >= 3.0.0 and node version 5.0.0.
After cloning, do the usual
npm install
The instal process will create a .env file. Edit it, to add development setup. Probably the first thing is: uncomment the NODE_ENV=development line. Mind, that the e2e test bundle is built only if this environment variable is set.
npm run setup-dev
The command pulls an example .env file, sets up protractor, etc. You need to do it once, after npm install.
npm start
dist directory):npm run build
npm run unittest
In development mode it will watch sources anr re-run tests on changes. In production mode, it runs it once.
Important *: Currently, karma requires that the dist folder exists, with the compiled project. So, before running unittests, make sure that you issued npm run build at least once.
Set up selenium (do in once):
npm run protractor-setup
Postinstall tries to execute this step. Use this command explicitly it it failed for some reason.
npm run protractor-start
npm run e2e-tests
Before running it, you have to start selenium (npm run protractor-start) and a web server serving the project (npm start). Also, ensure, that the webpack bundle containing the test app is built.
npm run start-watch
This command watches source files and rebuilds the project if it changes. It does not start development server. The command is useful when you develop ionic applications with livereload: project is built in the dist folder, and the emulator can reload the app.
npm run webpack-profile
It produces a webpack-stats.json file. Upload it to the Webpack analyse tool and
They are really done during development. Available gulp commands:
gulp help
You can find some more info in https://github.com/garlictech/garlictech-workflows-common.
main filed should be present: it should be the index file that is the main entry point of the package. Karma, etc. uses it!
A special construct may be present, here is an example:
"garlic": {
"type": "module",
"unittest": "./src/test/unit/test.coffee"
}
type: Must be "module" if the package is an (Angular) module. In this case, the index.html in the e2e test will be used, where you can implement your e2e tests. Otherwise, the package is an application package, it has src/index.html, so npm start uses that.
unittest: The entry point of the unit tests. By default, it is ./src/test/unit/test.coffee. Change it if you have vanilla Javascript, etc. project.
config field
port: webpack dev server uses this port (so, it is available as npm_package_config_port environment variable)
FAQs
Client-side workflow management for Garlic Tech projects.
The npm package garlictech-workflows-client receives a total of 8 weekly downloads. As such, garlictech-workflows-client popularity was classified as not popular.
We found that garlictech-workflows-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.