-
Notifications
You must be signed in to change notification settings - Fork 5
VIDCS-3721: improvements-documentation-video-api-example #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
a0c2287
e833b39
8a0f5ef
8ce835d
4d9a3a3
f30300f
cc0758c
20c88a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,9 @@ | |
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "tsx watch --ignore ./tests/**/*.test.ts index.ts", | ||
"dev": "tsx watch index.ts", | ||
"start": "node --import tsx index.ts", | ||
"debug": "node --inspect --watch --import tsx index.ts", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. command to debug the backend with chrome inspector |
||
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --maxWorkers=1 --coverage", | ||
"test:watch": "yarn test --watch", | ||
"ts-check": "tsc -p tsconfig.json" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"scripts": { | ||
"build": "vite build && yarn cp-build", | ||
"cp-build": "mkdir -p ../backend/dist && cp -r dist ../backend", | ||
"dev": "vite", | ||
"dev": "vite --host", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. host is needed for the multiple devices example, and it doesn't affect the basic local example. |
||
"docs": "typedoc", | ||
"docs:watch": "typedoc --watch", | ||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,19 @@ | |
"scripts": { | ||
"build": "yarn workspace frontend build", | ||
"deploy-vcr": "vcr deploy", | ||
"dev": "yarn && yarn workspace frontend dev & yarn workspace backend dev", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this script was wrong, the intention was to run both project simultaneously but the terminal is not multiprocess by default. we added concurrently as a dev dependency to achieve the desire result. |
||
"dev": "yarn && concurrently 'yarn workspace frontend dev' 'yarn workspace backend dev'", | ||
"docs": "yarn workspace frontend docs", | ||
"docs:watch": "yarn workspace frontend docs:watch", | ||
"lint": "ESLINT_USE_FLAT_CONFIG=false yarn eslint . --ext .ts,.tsx", | ||
"lint:filenames": "./scripts/lintFileNames.sh", | ||
"lint:fix": "yarn prettier --write . && yarn lint --fix", | ||
"postinstall": "husky", | ||
"run-server": "yarn workspace backend start", | ||
"start": "yarn workspace frontend build && yarn workspace backend start", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the backend run doesn't need to build the FE |
||
"start": "yarn workspace backend start", | ||
"start:backend": "yarn workspace backend dev", | ||
"debug:backend": "yarn workspace backend debug", | ||
"start:frontend": "yarn workspace frontend dev", | ||
"forward:frontend": "npx ngrok http 5173", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. command for forward the port 5173 to be able to test the vite project as a https site. |
||
"test": "yarn test:backend && yarn test:frontend", | ||
"test:backend": "yarn workspace backend test", | ||
"test:backend:watch": "yarn workspace backend test:watch", | ||
|
@@ -68,6 +70,7 @@ | |
"husky": "^9.0.11", | ||
"license-checker": "^25.0.1", | ||
"lint-staged": "^15.2.2", | ||
"concurrently": "^9.1.2", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. allows to run multiple scripts in one terminal/command line |
||
"prettier": "^3.2.5", | ||
"typescript": "^5.8.3" | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3357,7 +3357,7 @@ chalk@^3.0.0: | |
ansi-styles "^4.1.0" | ||
supports-color "^7.1.0" | ||
|
||
chalk@^4.0.0, chalk@^4.1.0: | ||
chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: | ||
version "4.1.2" | ||
resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" | ||
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== | ||
|
@@ -3548,6 +3548,19 @@ [email protected]: | |
resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" | ||
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== | ||
|
||
concurrently@^9.1.2: | ||
version "9.1.2" | ||
resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-9.1.2.tgz#22d9109296961eaee773e12bfb1ce9a66bc9836c" | ||
integrity sha512-H9MWcoPsYddwbOGM6difjVwVZHl63nwMEwDJG/L7VGtuaJhb12h2caPG2tVPWs7emuYix252iGfqOyrz1GczTQ== | ||
dependencies: | ||
chalk "^4.1.2" | ||
lodash "^4.17.21" | ||
rxjs "^7.8.1" | ||
shell-quote "^1.8.1" | ||
supports-color "^8.1.1" | ||
tree-kill "^1.2.2" | ||
yargs "^17.7.2" | ||
|
||
confbox@^0.1.7: | ||
version "0.1.7" | ||
resolved "https://registry.npmjs.org/confbox/-/confbox-0.1.7.tgz" | ||
|
@@ -7701,6 +7714,13 @@ run-parallel@^1.1.9: | |
dependencies: | ||
queue-microtask "^1.2.2" | ||
|
||
rxjs@^7.8.1: | ||
version "7.8.2" | ||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.2.tgz#955bc473ed8af11a002a2be52071bf475638607b" | ||
integrity sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA== | ||
dependencies: | ||
tslib "^2.1.0" | ||
|
||
safe-array-concat@^1.1.2: | ||
version "1.1.2" | ||
resolved "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz" | ||
|
@@ -7842,6 +7862,11 @@ shebang-regex@^3.0.0: | |
resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" | ||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== | ||
|
||
shell-quote@^1.8.1: | ||
version "1.8.2" | ||
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.2.tgz#d2d83e057959d53ec261311e9e9b8f51dcb2934a" | ||
integrity sha512-AzqKpGKjrj7EM6rKVQEPpB288oCfnrEIuyoT9cyF4nmGa7V8Zk6f7RRqYisX8X9m+Q7bd632aZW4ky7EhbQztA== | ||
|
||
shiki@^1.16.2: | ||
version "1.22.2" | ||
resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.22.2.tgz#ed109a3d0850504ad5a1edf8496470a2121c5b7b" | ||
|
@@ -8271,9 +8296,9 @@ supports-color@^7.1.0: | |
dependencies: | ||
has-flag "^4.0.0" | ||
|
||
supports-color@^8.0.0: | ||
supports-color@^8.0.0, supports-color@^8.1.1: | ||
version "8.1.1" | ||
resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" | ||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" | ||
integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== | ||
dependencies: | ||
has-flag "^4.0.0" | ||
|
@@ -8424,6 +8449,11 @@ tr46@~0.0.3: | |
resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" | ||
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== | ||
|
||
tree-kill@^1.2.2: | ||
version "1.2.2" | ||
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" | ||
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== | ||
|
||
treeify@^1.1.0: | ||
version "1.1.0" | ||
resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" | ||
|
@@ -8473,7 +8503,7 @@ tsconfig-paths@^3.15.0: | |
minimist "^1.2.6" | ||
strip-bom "^3.0.0" | ||
|
||
tslib@^2.3.0: | ||
tslib@^2.1.0, tslib@^2.3.0: | ||
version "2.8.1" | ||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" | ||
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== | ||
|
@@ -9036,9 +9066,9 @@ yargs-parser@^21.0.1, yargs-parser@^21.1.1: | |
resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" | ||
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== | ||
|
||
yargs@^17.3.1: | ||
yargs@^17.3.1, yargs@^17.7.2: | ||
version "17.7.2" | ||
resolved "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz" | ||
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" | ||
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== | ||
dependencies: | ||
cliui "^8.0.1" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wasn't clear enough, -add your credentials- which credentials? from where and how can I get them?
Specificity on the steps make it more beginner friendly.