mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
ci(deno-client): fix build.sh to have reproducible builds (#792)
This commit is contained in:
@@ -1 +1,2 @@
|
||||
windmill-api/
|
||||
node_modules
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
npm ci --ignore-scripts
|
||||
npx --yes openapi-typescript-codegen --input ../backend/openapi.yaml \
|
||||
--output ./src --useOptions \
|
||||
&& sed -i '213 i \\ request.referrerPolicy = \"no-referrer\"\n' src/core/request.ts
|
||||
npx --yes denoify
|
||||
rm -rf windmill-api
|
||||
mv deno_dist windmill-api
|
||||
rm -rf src/
|
||||
rm -rf src/
|
||||
|
||||
Generated
+1512
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,12 @@
|
||||
{
|
||||
"denoify": {
|
||||
"index": "index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"denoify": "^1.3.1",
|
||||
"openapi-typescript-codegen": "^0.23.0"
|
||||
},
|
||||
"overrides": {
|
||||
"evt": "2.4.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user