Migrating
Version 3 to 4
- Remove
node_modules.
rm -rf node_modules
1
Replace your
.configdirectory with the new .configopen in new window directory.Replace your
.gitignorefile with the new .gitignoreopen in new window file.Inside
package.jsondelete the config section.
...
- "config": {
- "reloader": {
- "serverPort": 5000,
- "webSocketPort": 5050,
- "delay": 2000,
- "indicator": true
- }
- },
...
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
- Inside
package.jsonreplace thescriptsanddevDependenciessections with the new ones from package.jsonopen in new window.
"scripts": {
...
},
"devDependencies": {
...
}
1
2
3
4
5
6
7
2
3
4
5
6
7
Add .theme-check.ymlopen in new window to your
shopifydirectory.Now you are ready to follow the Getting started guide to set up your tooling.
TIP
If you want to migrate your templates to the latest Online Store 2.0 features, then follow the official Shopify migration guideopen in new window