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.
@pie-api/mru
Advanced tools
Readme
mono repo utils - has strong opinions!
You have a cloud funtion here: functions/my-fn, then mru my-fn
will:
mru my-container
will:
mru will read mru.config.js
from the cwd. It can overrides the following properties.
mru will also read in command line flags, these will take highest priority.
From the above we build a Config
that has the following form:
export type Config = {
envDir: string; // required
projectId: string; // required
region: string; // required
bucketPath: (projectId: string, region: string) => string; // required
dockerRegistry: string; // 'grc.io'
containers: string; //'containers'
functions: string; //'functions'
dryRun: boolean; // false
/**
* All true by default set --no-bundle to disable bundle.
* same for the others
*/
steps: {
bundle: boolean;
docker: boolean;
deploy: boolean;
};
/**
* This is generated by mru - don't need to set it
*/
git?: {
hash: string;
};
}
mru will generate the deployment arguments for a container/function using 2 sources:
$envDir/$projectId.yaml
.cloud
map in the package's package.json
{
"name": "my-fn",
"cloud": {
"deployFlags": {
"foo": "$ENV_VAR"
},
"environment":{
"ENV_VAR": "$ENV_VAR"
}
}
}
env:
ENV_VAR: bar
in the above:
deployFlags.foo
will be converted to --foo bar
and passed to the appropriate gcloud command.--set-env-vars ENV_VAR=bar
By doing this, we can put all our env vars in 1 place, and each pkg will only pull what it needs.
FAQs
mono repo utils - has strong opinions!
The npm package @pie-api/mru receives a total of 2 weekly downloads. As such, @pie-api/mru popularity was classified as not popular.
We found that @pie-api/mru demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.