Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@angular/cli
Advanced tools
The @angular/cli package is a command-line interface tool that you can use to initialize, develop, scaffold, and maintain Angular applications directly from a command shell. It provides commands for creating new projects, generating application and library code, performing a variety of ongoing development tasks such as testing, bundling, and deployment.
Project Scaffolding
Creates a new Angular application with a default structure by running the 'ng new' command followed by the project name.
ng new my-angular-app
Generating Components, Services, and other features
Generates a new component and its associated files by using the 'ng generate' command followed by the feature type and name.
ng generate component my-component
Building and Serving the Application
Compiles the application and starts a web server, making the app accessible in a browser. The 'ng serve' command is used for this purpose.
ng serve
Running Unit Tests
Executes the unit tests defined in the application using the 'ng test' command.
ng test
Building for Production
Compiles the application for production deployment, optimizing the build for performance and size using the 'ng build' command with the '--prod' flag.
ng build --prod
Similar to @angular/cli, create-react-app is a command-line interface for setting up new React applications. It abstracts away build configuration to a pre-configured setup, allowing developers to focus on writing code. Unlike @angular/cli, it is tailored specifically for React and does not provide an extensive set of generation commands.
Vue CLI is a full system for rapid Vue.js development, similar to @angular/cli for Angular. It provides project scaffolding, a development server, build tools, and a set of plugins for common tasks. Vue CLI is designed for Vue.js and offers a similar level of functionality for Vue developers.
Ember CLI is a command-line utility for creating, developing, and building Ember.js applications. It provides a standardized development structure and build pipeline, much like @angular/cli does for Angular. Ember CLI focuses on Ember.js and has a strong emphasis on convention over configuration.
The sources for this package are in the Angular CLI repository. Please file issues and pull requests against that repository.
Usage information and reference details can be found in repository README file.
17.2.0 (2024-02-14)
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------ |
| b3e206741 | feat | add support to bun
package manager |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------ |
| 03e1aa790 | feat | add support to bun
package manager |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------ |
| 7f57123fd | feat | add define build option to application builder |
| f4f535653 | feat | add JSON build logs when using the application builder |
| b59f663e5 | feat | allow control of Vite-based development server prebundling |
| 8f47f1e96 | feat | provide default and abbreviated build target support for dev-server and extract-i18n |
| 7a12074dc | feat | provide option to allow automatically cleaning the terminal screen during rebuilds |
| 7c522aa87 | feat | support using custom postcss configuration with application builder |
| 476a68daa | fix | add output location in build stats |
| 5e6f1a9f4 | fix | avoid preloading server chunks |
| 41ea985f9 | fix | display server bundles in build stats |
| d493609d3 | fix | downgrade copy-webpack-plugin to workaround Node.js support issue |
| 8d5af1d5c | fix | ensure correct .html
served with Vite dev-server |
| 944cbcdb1 | fix | limit the number of lazy chunks visible in the stats table |
| 905e13633 | fix | support string as plugin option in custom postcss plugin config |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------- |
| da1c38c48 | fix | add bun
to known package managers |
| Commit | Type | Description |
| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------ |
| 600498f2c | feat | add support to bun
package manager |
<a name="17.1.4"></a>
FAQs
CLI tool for Angular
The npm package @angular/cli receives a total of 1,439,893 weekly downloads. As such, @angular/cli popularity was classified as popular.
We found that @angular/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.