- ✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
- ✨ Credit: Core functionality is taken from this blog. ✨
- Node >=16.0.0
- yarn
- Chrome
- Chrome CORS extension
- Run
yarn && yarn start
for a dev server. - Navigate to http://localhost:4200/.
- The app will automatically reload if you change any of the source files.
- https://freewavesamples.com/
- https://file-examples.com/index.php/sample-audio-files/sample-wav-download/
- Replaced fetch with axios
- Axios gets are cached correctly by axios-request-intercepter
- Chrome cors extension must be on for ALL downloads including images;
- Previously, fetching image must have the extension off. Now it is on for all.
- To test for failure cases, toggle the extension off
- mock axios in unit tests
- set node engine version to >=16.0.0
- bump avaya neo-react version to 0.8.6
- achieve 100% test coverage
------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
src | 100 | 100 | 100 | 100 |
cached-axios.ts | 100 | 100 | 100 | 100 |
src/api | 100 | 100 | 100 | 100 |
download-zip.ts | 100 | 100 | 100 | 100 |
src/app | 100 | 100 | 100 | 100 |
app.tsx | 100 | 100 | 100 | 100 |
helper.ts | 100 | 100 | 100 | 100 |
------------------|---------|----------|---------|---------|-------------------
- updated nx link, cmds
- fixed cypress error when using bundler module resolution
- changed moduleResolution to bundler since typescript 5 can no longer find avaya neo-react module
- disabled nx-cloud
- updated avaya neo-react to 1.0.1 and updated notification usage
- delete node_modules to fix an error when running cypress e2e test
- https://nx.dev/core-features/automate-updating-dependencies
- https://nx.dev/nx-cloud/reference/config#disabling-connections-to-nx-cloud
- cypress does not like bundler moduleResolution
- Typescript moduleresolution bundler
- vs code module bundler error
- nx migration commands:
yarn nx migrate latest
yarn
yarn nx migrate --run-migrations
mv migrations.json migration.json.bkp