Skip to content

Commit

Permalink
Use curl instead of node-wget (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
charpeni authored Sep 5, 2023
1 parent 184e940 commit 7960923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 344 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.8'
services:
shortcut-client-js:
container_name: shortcut-client-js
image: node:20-slim
image: node:20
stdin_open: true
tty: true
volumes:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build:docs": "typedoc ./src --exclude 'src/__tests__/**'",
"validate:examples": "npx tsc examples/*.ts --noEmit",
"prepublishOnly": "yarn build",
"sync:schema": "wget https://developer.shortcut.com/api/rest/v3/shortcut.swagger.json --destination ./schema/shortcut.swagger.json && yarn validate:schema",
"sync:schema": "curl --silent https://developer.shortcut.com/api/rest/v3/shortcut.swagger.json --output ./schema/shortcut.swagger.json && yarn validate:schema",
"validate:schema": "swagger-cli validate ./schema/shortcut.swagger.json",
"lint": "eslint 'src/**/*.{js,ts}'",
"test": "jest",
Expand All @@ -48,7 +48,6 @@
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.4",
"jscodeshift": "^0.15.0",
"node-wget": "^0.4.3",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"stream-to-blob": "^2.0.1",
Expand Down
Loading

0 comments on commit 7960923

Please sign in to comment.