File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,33 @@ ${GITHUB_PR_BODY}
3131'''
3232 ),
3333 origin_files = glob([
34- "javascript/on-demand/**",
35- "rust/switchboard-on-demand/**",
36- "rust/switchboard-on-demand-client/**"
34+ "solana/**"
3735 ]),
3836 destination_files = glob([
3937 "javascript/on-demand/**",
4038 "rust/switchboard-on-demand/**",
4139 "rust/switchboard-on-demand-client/**"
4240 ]),
41+ transformations =
42+ core.reverse([
43+ core.replace(
44+ before = "workspace:*",
45+ after = "latest",
46+ paths = glob(["**/package.json"])
47+ ),
48+ # move the solana SDKs to /solana/original-paths
49+ core.move(
50+ before = "javascript/on-demand",
51+ after = "solana/javascript/on-demand"
52+ ),
53+ core.move(
54+ before = "rust/switchboard-on-demand",
55+ after = "solana/rust/switchboard-on-demand"
56+ ),
57+ core.move(
58+ before = "rust/switchboard-on-demand-client",
59+ after = "solana/rust/switchboard-on-demand-client"
60+ )
61+ ]),
4362 authoring = authoring.pass_thru("Copybara <
[email protected] >")
4463)
You can’t perform that action at this time.
0 commit comments