forked from Shopify/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.yml
63 lines (59 loc) · 1.41 KB
/
dev.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: shopify-cli-next
up:
- node:
version: v22.2.0
pnpm: 8.15.7
package_manager: [email protected]
packages: []
- ruby
- bundler:
gemfile: packages/cli-kit/assets/cli-ruby/Gemfile
- packages:
- jq
- custom:
name: 'Install PNPM dependencies'
# we flip these two conditions to always run `pnpm install`
# whenever we run dev up.
met?: pnpm install
meet: 'true'
- custom:
name: 'Get GraphQL schemas'
# Always fetch these on dev up
met?: pnpm graphql-codegen:get-graphql-schemas
meet: 'true'
env:
SHOPIFY_CLI_ENV: development
SHOPIFY_SERVICE_ENV: production
open:
app: http://localhost:3000
commands:
graph:
desc: 'Shows the graph of the project'
run: pnpm nx graph
shopify:
desc: 'Runs the Shopify CLI'
run: pnpm shopify
create-app:
desc: 'Runs the create-app CLI'
run: pnpm create-app
clean:
desc: 'Clean the packages'
run: pnpm run clean
test:
desc: 'Runs the tests'
run: pnpm run test:affected
build:
desc: 'Build the project'
run: pnpm run build:affected
lint:
desc: 'Lint the project'
run: pnpm run lint:affected
lint:fix:
desc: 'Fix the lint issues in the project'
run: pnpm run lint:fix:affected
type-check:
desc: 'Type-check the project'
run: pnpm run type-check:affected
spin:
desc: 'Run commands in spin context'
run: bin/spin