Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
shenanigans-manager
Advanced tools
Manages locally installed FullScreenShenanigans modules for development.
shenanigans-manager
is a development dependency of all FullScreenShenanigans modules.
It sets up files that are kept standard across the repositories, such as GitHub templates, README.md
s, and test infrastructure.
It can also be used as a CLI while developing those modules locally.
npm install -g shenanigans-manager
shenanigans-manager --help
The shenanigans-manager
CLI provides commands that are often useful for developing multiple modules.
The full list of commands is in src/Commands
.
Each command may take in some parameters, while all commands can also be extended with:
--directory
: Sets a different root directory to search for repositories under.--all
: Run the command on all repositories (overrides any --repository
CLL flags).complete-setup
The complete-setup
command will create a directory with all repositories npm link
ed to each other in the current directory:
shenanigans-manager complete-setup
This is particularly useful if you'd like to develop multiple modules at once.
Note: this will take many, many minutes.
Note: if you see npm errors, check npm's instructions here.
Opening a repository's page on GitHub:
shenanigans-manager open-on-github --repository EightBittr
Running TSLint in --fix
mode across all repositories under C:/Code/Shenanigans
:
shenanigans-manager tslint-fix --all --directory C:/Code/Shenanigans
exec
Consider using a cmd or batch script instead of --exec
with --all
:
for d in ./*/ ; do (cd "$d" && command); done
for /d %i in (C:\Code\Shenanigans\*) do ( cd "%i" & command )
For example, to completely remove and update node_modules/
and package-lock.json
from each repository on Windows:
for /d %i in (C:\Code\Shenanigans\*) do ( cd "%i" & rmdir node_modules /s /q & del package-lock.json & ncu -u && npm i && npm audit fix )
For now, src/settings.ts
/src/settings.js
stores the default directory and repository names that will be manipulated.
Fork the repository on GitHub, clone it, and install dependencies:
git clone https://github.com/<your-name>/shenanigans-manager
cd shenanigans-manager
npm install
Use npm run src
to completely rebuild.
npm run src:tsc
(tsc -p .
) rebuilds TypeScript files.npm run watch
(tsc -p . -watch
) rebuilds in watch mode.FAQs
Manages large-scale operations on FullScreenShenanigans project.
The npm package shenanigans-manager receives a total of 9 weekly downloads. As such, shenanigans-manager popularity was classified as not popular.
We found that shenanigans-manager 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.