@googleforcreators/migration
TypeScript icon, indicating that this package has built-in type declarations

0.1.202410011217 • Public • Published

Migrations

This package contains the code to migrate stories and templates to the latest version.

Exports

  • DATA_VERSION: the latest version
  • migrate: the function to migrate a story, given a data object and the story's current version.

Used by

  • Dashboard
  • Editor
  • Continuous Integration (automated migrations of templates and FTUE story)

ES Module

This package uses depends on third-party packages like polished.

To ensure the migrations can be run via Node.js on CI, Rollup is used to create a working ES module for it.

Usage:

$ npx rollup --config rollup.config.js
index.js → module.js...
created module.js in 123ms

Readme

Keywords

Package Sidebar

Install

npm i @googleforcreators/migration

Weekly Downloads

11

Version

0.1.202410011217

License

Apache-2.0

Unpacked Size

527 kB

Total Files

320

Last publish

Collaborators

  • google-wombot
  • swissspidy