Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
shifter
Advanced tools
Readme
The purpose of this project is to replace YUI's use of our old ant Builder.
We have out grown our old builder, so it was time to build a new one!
As of 0.1.0
, JSHint is the default lint tool used by shifter
. We maintain a
list of our lint preferences in the yui-lint project. shifter
will
default to our rules unless --lint config
is passed. Then it will search up the file tree and attempt
to load your custom .jshintrc
file.
Documentation can be found here
npm -g install shifter
More detail can be found in the documentation
$ shifter -h
blazingly fast builds with shifter
pass no arguments and shifter will build the module from the current directory
-v/--version show version
-h/--help show this stuff
-m/--modules <module> limit the modules to build (array: -m foo -m bar)
--strict add "use strict" to module wrapper
--walk Walk the current directory and shift all builds. (cd yui3/src && shifter --walk)
-m/--modules also supported here for filtering
--watch Watch the current module and rebuild on file change (if meta file, a loader build will launch)
--quiet to mute stdout from sub build
Shifter will parse your current *.properties
files and convert them into a build.json
file that
it can process. It only imports the relevant settings required to build the module.
It does not import module meta-data
Instead, Shifter parses the meta-data from the modules meta/*.json
files and uses that instead.
So you don't have to declare your meta-data in more than one place now.
Shifter can watch your module for changes and build for you. It will only watch files in the
./js
, ./css
, ./assets
and ./meta
directories. If a file is changed, it will rebuild the current
module. If a meta file is changes, Loader
will also be built (requires latest code).
Shifter is designed to work side by side with our current builder (for now) so you don't have to
switch over to using it fully if it doesn't work properly for you. Just don't delete your *.properties
files until you are sure that Shifter builds your module properly. If it doesn't, file a ticket and
we'll get it fixed up ASAP.
Shifter will read a build.json
file if it exists, if one doesn't and it finds a *.properties
file
it will generate the build.json
from them. So if you have issues with the build, just delete the build.json
file and have Shifter regenerate it after your issue is fixed.
Shifter is built using GearJS
FAQs
New YUI build tool based on Gearjs, so let's shift some gears
The npm package shifter receives a total of 545 weekly downloads. As such, shifter popularity was classified as not popular.
We found that shifter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.