Skip to content

Commit

Permalink
Merge pull request #178 from ctrlaltdavid/dev/use-local-web-sdk
Browse files Browse the repository at this point in the history
Add command to use local copy of Web SDK during development.
  • Loading branch information
digisomni authored Sep 25, 2023
2 parents b437531 + 6bba08e commit df56751
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ quasar.config.js
/src-cordova
/src-ssr
/src/libs
vircadia-web-sdk
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ or
yarn
```

If you want to use a local copy of the Vircadia Web SDK, from a directory beside the web app's:
```sh
npm run install-local-web-sdk
```

## Run, Compile, and Test

### Customization Options
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
"build-quasar-dev": "quasar dev",
"lint": "eslint --ext .js,.ts,.vue ./",
"create-version": "node build_scripts/createVersion.js",
"copy-workers": "node build_scripts/copyWorkers.mjs",
"update-contributors": "git-authors-cli"
"update-contributors": "git-authors-cli",
"install-local-web-sdk": "npm install file:../vircadia-web-sdk --no-save"
"copy-workers": "node build_scripts/copyWorkers.mjs"
},
"dependencies": {
"@babylonjs/core": "^6.4.1",
Expand Down

0 comments on commit df56751

Please sign in to comment.