File tree Expand file tree Collapse file tree 12 files changed +14297
-9838
lines changed Expand file tree Collapse file tree 12 files changed +14297
-9838
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ about: Create a bug report to help us improve
10
10
_ Progress of the issue based on the [ Contributor Workflow] ( https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md#a-typical-contributor-workflow ) _
11
11
12
12
- [ ] 1 . The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
13
- > Make sure to fork this template and run ` yarn generate` in the terminal.
13
+ > Make sure to fork this template and run ` pnpm run generate` in the terminal.
14
14
>
15
15
> Please make sure the Codegen and plugins version under ` package.json ` matches yours.
16
16
- [ ] 2 . A failing test has been provided
Original file line number Diff line number Diff line change @@ -22,22 +22,24 @@ jobs:
22
22
- name : Setup env
23
23
uses : the-guild-org/shared-config/setup@main
24
24
with :
25
+ packageManager : ' pnpm'
25
26
nodeVersion : ${{matrix.node_version}}
26
27
27
28
- name : Test
28
- run : yarn test
29
+ run : pnpm run test
29
30
30
31
- name : Build
31
- run : yarn build
32
+ run : pnpm run build
32
33
33
34
- name : Integrity check
34
- run : yarn bob check
35
+ run : npx bob check
35
36
36
37
lint :
37
38
name : Lint
38
39
uses : the-guild-org/shared-config/.github/workflows/lint.yml@main
39
40
with :
40
- script : yarn ci:lint
41
+ script : pnpm run ci:lint
42
+ packageManager : ' pnpm'
41
43
secrets :
42
44
githubToken : ${{ secrets.GITHUB_TOKEN }}
43
45
49
51
- name : Setup env
50
52
uses : the-guild-org/shared-config/setup@main
51
53
with :
54
+ packageManager : ' pnpm'
52
55
nodeVersion : 16
53
56
54
57
- name : Lint Prettier
55
- run : yarn prettier:check
58
+ run : pnpm run prettier:check
Original file line number Diff line number Diff line change 9
9
dependencies :
10
10
uses : the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
11
11
with :
12
- preCommit : ' yarn prettier'
12
+ preCommit : ' pnpm run prettier'
13
13
installDependencies : true
14
+ packageManager : ' pnpm'
14
15
secrets :
15
16
githubToken : ${{ secrets.GUILD_BOT_TOKEN }}
16
17
20
21
npmTag : alpha
21
22
buildScript : build
22
23
nodeVersion : 18
24
+ packageManager : ' pnpm'
23
25
secrets :
24
26
githubToken : ${{ secrets.GITHUB_TOKEN }}
25
27
npmToken : ${{ secrets.NPM_TOKEN }}
30
32
domain : https://www.the-guild.dev/graphql/config/
31
33
source : ' Config'
32
34
setupEnvWorkingDirectory : ' ./website'
35
+ packageManager : ' pnpm'
33
36
secrets :
34
37
githubToken : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 24
24
domain : https://www.the-guild.dev/graphql/config/
25
25
source : ' Config'
26
26
setupEnvWorkingDirectory : ' ./website'
27
+ packageManager : ' pnpm'
Original file line number Diff line number Diff line change 22
22
name : setup env
23
23
with :
24
24
nodeVersion : 18
25
- packageManager : yarn
25
+ packageManager : ' pnpm '
26
26
workingDirectory : website
27
27
28
28
- uses : the-guild-org/shared-config/website-cf@main
37
37
projectName : graphql-config
38
38
prId : ${{ github.event.pull_request.number }}
39
39
websiteDirectory : website
40
- buildScript : yarn build
40
+ buildScript : pnpm run build
41
41
artifactDir : out
Original file line number Diff line number Diff line change 5
5
"sideEffects" : false ,
6
6
"main" : " dist/cjs/index.js" ,
7
7
"module" : " dist/esm/index.js" ,
8
+ "packageManager" :
" [email protected] " ,
8
9
"exports" : {
9
10
"." : {
10
11
"require" : {
33
34
"type" : " module" ,
34
35
"scripts" : {
35
36
"postinstall" : " tsx scripts/patch-graphql.ts" ,
36
- "prepublishOnly" : " yarn build" ,
37
+ "prepublishOnly" : " pnpm run build" ,
37
38
"clean" : " rimraf dist" ,
38
- "prebuild" : " yarn clean && yarn json-schema" ,
39
+ "prebuild" : " pnpm run clean && pnpm run json-schema" ,
39
40
"postbuild" : " tsx scripts/postbuild.ts" ,
40
41
"build" : " bob build" ,
41
42
"prettier" : " prettier --cache --write --list-different ." ,
42
43
"prettier:check" : " prettier --cache --check ." ,
43
44
"lint" : " eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore ." ,
44
45
"ci:lint" : " eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore . --output-file eslint_report.json --format json" ,
45
46
"test" : " vitest ." ,
46
- "prerelease" : " yarn build" ,
47
+ "prerelease" : " pnpm run build" ,
47
48
"release" : " changeset publish" ,
48
49
"json-schema" : " typescript-json-schema src/types.ts IGraphQLConfig --out config-schema.json --ignoreErrors --required --titles && prettier --write config-schema.json"
49
50
},
128
129
}
129
130
},
130
131
"engines" : {
131
- "node" : " >= 16.0.0"
132
+ "node" : " >= 16.0.0" ,
133
+ "pnpm" : " 7.32.4"
132
134
}
133
135
}
You can’t perform that action at this time.
0 commit comments