
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
@what3words/angular-components
Advanced tools
Our What3Words Angular package combines both the workspace and project at the same directory level. Angular has the concept of a default application that serves as the root project, however this does not seem possible with libraries [06/03/23]. As such, while our approach is non-standard, it is necessary to allow lerna to correctly link dependencies, access build scripts and version manage the package. There could be unintended consequences of doing things this way, so please report any issues you find will working with this project.
This README is broken into two main sections, Angular Workspace and Angular Components with each describing how both were setup.
This project was generated with Angular CLI version 15.2.0.
The following ordered commands were used to generate this project.
npx -p @angular/cli ng new angular --no-create-application --skip-testsrm -rf .vscode .editorconfignpm uninstall jasmine-core @types/jasmineIt may be possible to scaffold a smaller project template, but none that are officially supported/guaranteed to work [27/02/23].
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.
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.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
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.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
This library was generated with Angular CLI version 15.2.0.
The following ordered commands were used to generate this project.
npx -p @angular/cli ng generate library components --project-root .Run ng generate component component-name --project components to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project components.
Note: Don't forget to add
--project componentsor else it will be added to the default project in yourangular.jsonfile.
Run ng build components to build the project. The build artifacts will be stored in the dist/ directory.
The @what3words/javascript-components library is included as a dependency to ensure that lerna can link the package (??). To enable this, the allowedNonPeerDependencies option in the ng-package config file is set to true. However, this is not a recommended package publishing approach as it can lead to front-end build bugs. This may have an impact on end-consumers of the angular package.
After building your library with ng build components, go to the dist folder cd dist/components and run npm publish.
TBC
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.
FAQs
The what3words angular components package extends the [JS API](https://github.com/what3words/w3w-node-wrapper) as a framework wrapper for the custom elements found in the `@what3words/javascript-components` package. This is exclusively for use in [Angular
The npm package @what3words/angular-components receives a total of 2 weekly downloads. As such, @what3words/angular-components popularity was classified as not popular.
We found that @what3words/angular-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.