@oblique/toolchain
v15.0.1
Published
Toolchain utilities for the Oblique ecosystem, including project configuration schematics, ESLint plugins, and supporting build scripts
Keywords
Readme
Toolchain
The Oblique Toolchain is a collection of Angular schematics and development tools that streamline project setup and enforce consistent standards. It provides automated configurations for linting, testing, formatting, and build-time utilities, ensuring that every project follows the same quality and style conventions with minimal manual effort.
See README.md on GitHub for information about the other packages and projects in the Oblique ecosystem.
Documentation
The official Oblique documentation, including the Toolchain, is located here: https://oblique.bit.admin.ch/
It includes information about the entire ecosystem, usage instructions, code samples, FAQs, and more.
Getting Started
New Projects
The recommended way to install @oblique/toolchain is through Oblique's CLI.
npx @oblique/cli@latest new <projectName>This command creates a new project with all necessary dependencies and configurations.
Existing Projects
Add the Toolchain to a project with:
npx @angular/cli@latest add @oblique/toolchainContent
This package includes:
- An ESLint plugin that provides default rules for
eslint,@typescript-eslintand@angular-eslint - A ng-add Schematics that integrates
@oblique/toolchaininto an existing project
ng-add
Running ng add @oblique/toolchain will:
- add
@oblique/toolchainas a dev dependency - add a
browserlistrcfile to ensure compatibility with supported browsers
Tips & Best Practices
- Install the Toolchain through the CLI
- Use the EsLint plugin with as little deviations as possible - ideally, none
- Don't modify files generated by Oblique
Contributing
Contributions from federal teams and the open-source community are welcome. Please refer to our contributing guidelines on GitHub while contributing to the Oblique ecosystem.
License
Copyright (c) The Swiss Confederation, represented by the Federal Office of Information Technology, Systems and Telecommunication (FOITT).
Licensed under the MIT license.
