File tree 3 files changed +8
-8
lines changed
packages/presets/swc-plugin
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 91
91
nodeVersion : 18
92
92
- uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
93
93
with :
94
- toolchain : 1.65 .0
95
- target : wasm32-wasi
94
+ toolchain : 1.87 .0
95
+ target : wasm32-wasip1
96
96
override : true
97
97
- name : Build SWC plugin
98
98
working-directory : ./packages/presets/swc-plugin
@@ -175,8 +175,8 @@ jobs:
175
175
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
176
176
- uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
177
177
with :
178
- toolchain : 1.65 .0
179
- target : wasm32-wasi
178
+ toolchain : 1.87 .0
179
+ target : wasm32-wasip1
180
180
override : true
181
181
- uses : marcopolo/cargo@a527bf4d534717ff4424a84446c5d710f8833139
182
182
with :
Original file line number Diff line number Diff line change 14
14
registry-url : ' https://registry.npmjs.org'
15
15
- uses : actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
16
16
with :
17
- toolchain : 1.65 .0
18
- target : wasm32-wasi
17
+ toolchain : 1.87 .0
18
+ target : wasm32-wasip1
19
19
override : true
20
20
- name : Build SWC plugin
21
21
working-directory : ./packages/presets/swc-plugin
Original file line number Diff line number Diff line change 11
11
],
12
12
"main" : " swc_plugin.wasm" ,
13
13
"scripts" : {
14
- "build-wasm" : " cargo build --target wasm32-wasi --release && cp target/wasm32-wasi /release/swc_plugin.wasm ./" ,
15
- "debug" : " cargo build --target wasm32-wasi && cp target/wasm32-wasi /debug/swc_plugin.wasm ./"
14
+ "build-wasm" : " cargo build --target wasm32-wasip1 --release && cp target/wasm32-wasip1 /release/swc_plugin.wasm ./" ,
15
+ "debug" : " cargo build --target wasm32-wasip1 && cp target/wasm32-wasip1 /debug/swc_plugin.wasm ./"
16
16
},
17
17
"homepage" : " https://the-guild.dev/graphql/codegen/plugins/presets/preset-client" ,
18
18
"repository" : {
You can’t perform that action at this time.
0 commit comments