Create a package
To create a local development environment for your extension or theme, execute the following command:
Prior to creating a new theme or extension locally, you must first create it on https://partners.appmaker.xyz/.
appmaker init
Select the theme or extension you want from the list of available options on your partner account, also select expo(default) from the list of available options for the sdk version and it will automatically be created in your current directory.
Once you have created the theme/extension install the dependencies by running the following command:
cd <theme/extension-name>
Please update the dependencies on root package.json to the latest version manually before running the install command.
The appmaker dependencies should look like this:
"@appmaker-xyz/app-config": "0.3.0",
"@appmaker-xyz/core": "0.4.36-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/plugins": "0.2.87",
"@appmaker-xyz/react-native": "0.4.46-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/remote-bundle": "0.0.6-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/shopify": "0.3.68-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/shopify-core-theme": "1.2.13-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/themes": "0.2.30",
"@appmaker-xyz/ui": "0.2.33-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/uikit": "0.2.49-expo-v2-build-test-25-09-13940e4.0",
"@appmaker-xyz/files": "1.0.0",
Once you have updated the dependencies, run the following command to install the dependencies:
yarn install
Source code for the theme/extension will be inside the packages/<theme/extension-name>
directory.