Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
30 lines (23 loc) · 901 Bytes

File metadata and controls

30 lines (23 loc) · 901 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -ex
# A script to setup the dev environment of the Admin Theme Code Editor
# This script assumes that the online-store-web repo is present.
# We recommend that this is run in spin instances created through the theme-tools:online-store constellation
# Ensure all the theme-tools package assets are ready
yarn install
yarn build
# Setup local package links for development
for p in packages/*; do
yarn --cwd $p link
done
# Setup online-store-web
cd ../online-store-web && {
# Set up package links in the correct hierarical order so that all changes will be available in OSW
yarn link @shopify/theme-language-server-browser
yarn link @shopify/theme-language-server-common
yarn link @shopify/theme-check-common
stop
start
}
echo "You are ready to start developing in the Shopify Admin Theme Code Editor!"
echo "To see your dev changes, please run 'yarn admin:build`"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.