ci(deno-client): fix build.sh to have reproducible builds (#792)

This commit is contained in:
Jakub Kołodziejczak
2022-10-22 16:01:50 +02:00
committed by GitHub
parent 91015e089b
commit 0b89ec79aa
4 changed files with 1523 additions and 2 deletions
+1
View File
@@ -1 +1,2 @@
windmill-api/
node_modules
+2 -1
View File
@@ -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/
+1512
View File
File diff suppressed because it is too large Load Diff
+8 -1
View File
@@ -1,5 +1,12 @@
{
"denoify": {
"index": "index.ts"
},
"dependencies": {
"denoify": "^1.3.1",
"openapi-typescript-codegen": "^0.23.0"
},
"overrides": {
"evt": "2.4.6"
}
}
}