uppy/examples/angular
Merlijn Vos 7a50ab89ef
Cleanup examples (#5817)
- Remove outdated examples
- Rename folders for consistency
- Remove lots of unused deps in angular example.
- Rename `name` inside `package.json`'s from `@uppy-example/*` to
`example-*`.

**Before**

```
├── angular-example
├── aws-companion
├── aws-nodejs
├── aws-php
├── bundled
├── cdn-example
├── custom-provider
├── digitalocean-spaces
├── multiple-instances
├── node-xhr
├── php-xhr
├── python-xhr
├── react
├── react-native-expo
├── redux
├── sveltekit
├── transloadit
├── transloadit-markdown-bin
├── uppy-with-companion
├── vue3
└── xhr-bundle
```

**After**

```
examples
├── angular
├── aws-companion
├── aws-nodejs
├── aws-php
├── cdn
├── companion
├── companion-custom-provider
├── companion-digitalocean-spaces
├── react
├── react-native-expo
├── redux
├── sveltekit
├── transloadit
├── vue
├── xhr-bundle
├── xhr-node
├── xhr-php
└── xhr-python
```
2025-07-10 17:23:58 +02:00
..
.vscode Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
src Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
.editorconfig Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
.eslintrc.json Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
.gitignore Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
angular.json Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
package.json Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
README.md Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
tsconfig.app.json Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00
tsconfig.json Cleanup examples (#5817) 2025-07-10 17:23:58 +02:00

AngularExample

This project was generated with Angular CLI version 16.2.0.

Development server

corepack yarn install
corepack yarn build:clean
corepack yarn build
rm packages/@uppy/*/tsconfig.json
corepack yarn workspace @uppy/angular prepublishOnly
corepack yarn workspace @uppy-example/angular start

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.