
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@jungvonmatt/contentful-migrations
Advanced tools
npm i @jungvonmatt/contentful-migrations
npx migrations help [command]
npx migrations init
Initializes migrations and stores the config values in the package.json
or the .migrationsrc
file.
Name | Default | Description |
---|---|---|
accessToken | undefined | Contentful Management Token. Just run npx contentful login and you're done. |
spaceId | undefined | Contentful Space id |
defaultEnvironment | 'master' | Contentful Space environment. Acts as default if there is no environment named after the current git branch or the passed env doesn't exist |
contentTypeId | 'config' | Id of a content model holding global config values (Required for storing the migration version) |
fieldId | 'migration' | Id of the field where the migration version is stored |
directory | './migrations' | Directory where the migration files are stored |
Generate an empty migration script. This command will also add an initial migration to add the contentType and the field if they not already exist.
npx migrations generate
Generate a migration script based on passed content-type. This command will also add an initial migration to add the contentType and the field if they not already exist.
npx migrations fetch -c <my-content-type>
Runs all "new" migrations on the current environment or the environment specified by the -e
param
npx migrations migrate
Transfer content from one contentful environment to another.
This command will not overwrite existing content unless you say so.
npx migrations content --source-env <environment> --dest-env <environment>
--content-type
: Limit to specific content-type and it's dependencies.
--diff
: Manually choose skip/overwrite for every conflicting content.
--force
: No manual diffing. Overwrites all conflicting entries/assets.
Of course. We appreciate all of our contributors and welcome contributions to improve the project further. If you're uncertain whether an addition should be made, feel free to open up an issue and we can discuss it.
FAQs
Helper to handle migrations in contentful
The npm package @jungvonmatt/contentful-migrations receives a total of 887 weekly downloads. As such, @jungvonmatt/contentful-migrations popularity was classified as not popular.
We found that @jungvonmatt/contentful-migrations demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.