Magic Card Editor is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC.
Magic Set Editor is intended for creating custom cards only, and should not be used to attempt the creation or distribution of counterfeits of real items produced by Wizards of the Coast, Konami, or other companies. Nor should any custom cards generated be passed off as if they are real in any setting.
All other trademarks are owned by whoever owns them.
This monorepo uses pnpm as a package manager. It includes the following packages/apps:
next-app: Boilerplate Next.js apppackages: Reusable packages
ui: a stub React component library shared by any frontend appeslint-config,tsconfigconfigurations used throughout the monorepo configurationsconfig: shared configs used in other packages or appslib: nodejs library of shared code modulestemplate-converter: converts og magic set editor templates to json
The goal is for each package/app to be 100% TypeScript so anytime we can convert js to ts, please do so.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
- pnpm
- pnpm run dev - Run all projects
- pnpm run storybook - Run UI storybook
Run Storybook
pnpm storybook
To build all apps and packages, run the following command:
pnpm run build
Turborepo can use a technique known as Remote Caching (Beta) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
By default, Turborepo will cache locally. To enable Remote Caching (Beta) you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:
cd my-turborepo
npx turbo login
This will authenticate the Turborepo CLI with your Vercel account.
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
npx turbo link
Learn more about the power of Turborepo: