Skip to content

Coda contents migration made simple

License

Notifications You must be signed in to change notification settings

CoderPush/coda-mover

Repository files navigation

Coda Mover

build ts License: MIT changelog

Coda contents migration made simple

🥳 Usage

A nice guideline on how to use the tool, please check it out: https://www.loom.com/share/7c8d4f0e62714124b81ad1e462d56f7f?sid=453a8151-84d5-43aa-8c6c-2f9f1082dc3f

For MacOS users, the application can be opened with: right-click > Open > Open

image

Installation

Please find download links on our Releases page. Pick one of available options:

  • mac.zip links for MacOS build as zip file
  • dmg links for MacOS builds as commonly used Apple disk image format

Development

Prerequisites

First setup

Install all dependencies with this command:

pnpm i

Start development

A development application will start

pnpm dev

Create PR

When you finished your changes for a feature, please add a last commit to update versions for updated packages:

pnpm changeset

Test

Tests are located alongside with its targets, or inside tests folders. File names should be suffixed with .spec.ts or .test.ts.

Please run this command to run tests:

pnpm test

To generate test coverage:

pnpm test -- --coverage

Build

To build distributable package please use this command:

pnpm dist

These are formats that will be produced (file named as Coda Mover-<version>):

  • .dmg package for MacOS
  • mac.zip zip package for MacOS

Contribution

All PRs and ideas for improvement are welcomed.

If you got any issues using this package, don't hesitate to create new 🐞 Bug report.

Feel free to clone this project, make changes that your feel necessary and pull request anytime you want.

Working on your first Pull Request?

You can learn how from this free video series: How to Contribute to an Open Source Project on GitHub

To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place to get started.

Troubleshooting

How to sign my commits

Please follow these instructions:

How to setup NodeJS

First, please install nvm following these instructions: https://github.com/nvm-sh/nvm#installing-and-updating

Then run these commands:

nvm install lts/iron
nvm alias default 20.10.0

Eslint not working in VSCode

Please ensure you are using Eslint extension v2.4.2 or older. Their latest released version v2.4.4 introduces a bug that make eslint stop working.

Fix Library not loaded: @rpath/Electron Framework

Something wrong with cached install of Electron. Fix this issue by re-running electron install script:

rm -rf node_modules/electron/dist && node node_modules/electron/install.js

More information electron/electron#10702 (comment)

🍻 Cheers.