Files
standardnotes-app-web/packages/snjs/lib/Migrations/Versions
Karol Sójko bc845c1633 chore: add server switcher (#2717)
* wip

* wip2

* refactor: use radio button group

* chore: add persisting host per workspace

* chore: header style

* chore: update server picker title style

* chore: margin

* chore: label

* chore: remove separator

* rename migration to latest snjs version

---------

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2023-12-28 10:50:14 +01:00
..
2023-07-04 07:31:50 -05:00
2023-07-26 04:55:58 -05:00
2023-07-26 04:55:58 -05:00
2023-07-27 07:35:38 -05:00
2023-12-28 10:50:14 +01:00

To create a migration:

  1. Create a new file inside versions specifiying the would-be version of SNJS that would result when publishing your migration. For example, if the current SNJS version is 1.0.0 in package.json, your migration version should be 1.0.1 to target users below this version.

  2. Important Export your migration inside the index.ts file.