https://github.com/hypervillain/sm-scripts
https://github.com/hypervillain/sm-scripts
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hypervillain/sm-scripts
- Owner: hypervillain
- Created: 2021-11-03T14:56:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T13:27:05.000Z (over 2 years ago)
- Last Synced: 2025-02-02T20:55:28.618Z (4 months ago)
- Language: JavaScript
- Size: 139 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 1. Update Prismic CTS to use SharedSlices
Note that this does not migrate content that relies on Non Shared Slices.
Create a `.env` file with `TOKEN` (prismic-auth) and `REPO` values.
```bash
npm install
node migrate-cts.mjs
````This will create customtypes ans slices folders.
Untested.