Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@prototyp-stockholm/contentful-migrator-programme

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prototyp-stockholm/contentful-migrator-programme

Tool to manage contentful migrations

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

contentful-migrator-programme

Tool to manage Contentful migrations

Migrations

# Generate a migration
yarn m:generate addUserType
# This will generate a migration with the name YYYYMMDDhhmmssxxx-add-user-type.js

# Apply migration
yarn m:apply
# This will apply the migration to the branch set in the CTF_ENVIRONMENT env var

# Test migrations
yarn m:aux:create
# This will generate an aux env based on CTF_ENVIRONMENT and apply the migrations so they can be tested.
# Update the CTF_ENVIRONMENT with the testEnv created and printed out by that command to be able to test
# the app. And remember to drop it when done with the m:aux:drop command.
#
# Would be great to set the aux env name manually, and create a file with the env name stored, that if present, the project uses that env

# Drop aux env after testing (migrations will be applied in ctf master env by the ci)
yarn m:aux:drop test20200220233122
# remember to revert back CTF_ENVIRONMENT to the original value after reverting.

Keywords

FAQs

Package last updated on 01 Sep 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc