![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@talend/scripts-core
Advanced tools
This project, inspired by react-scripts
and kcd-scripts
, aims to abstract all tools and configuration from your project.
It will expose basic scripts:
By default no configuration is needed (except for lint-merge-report) but you can at any time create a configuration file and extends from the default config.
talend-scripts
will detect the kind of package you are in.
Depending on this the sub command will use a real command like webpack
and apply either custom configuration or default configuration.
command | app | lib | angular |
---|---|---|---|
build | webpack | babel | |
lint | eslint + stylelint | eslint + stylelint | |
test | jest | jest | karma |
start | webpack | start-storybook |
Basic usage
Advanced
While building a huge app, you can run into a JavaScript heap out of memory
, espacially on production mode, with webpack optimisation and sourcemap.
You can increase the node space size to overcome this issue.
Package.json
{
"scripts": {
"build": "NODE_OPTIONS=--max_old_space_size=4096 talend-scripts build"
}
}
@talend/scripts-core uses jest
to run tests. On mac and watch mode, if you have a lot of files to watch, you can bump into this error
$ jest --watch
2016-09-22 10:49 node[79167] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-22 10:49 node[79167] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
2016-09-22 10:49 node[79167] (FSEvents.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-22)
events.js:160
throw er; // Unhandled 'error' event
^
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1036:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
The issue is well known, still not fixed in the lib or any of its dependencies. This github issue brings you a lot of info.
As a workaround, consider installing watchman
.
brew install watchman
We have added two scripts to be as simple as possible
FAQs
Set of scripts
We found that @talend/scripts-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.