Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
aeaedff
chore: prepare for Angular 21 upgrade - fix eslint version mismatch
so-kaushal Feb 23, 2026
c905a4b
chore: upgrade Angular 20 to Angular 21
so-kaushal Feb 23, 2026
6c701a0
chore: bump version to 5.2.0-beta.0
so-kaushal Feb 23, 2026
aca182a
chore: update version to 6.0.0-beta.0 and adjust dependencies
so-kaushal Mar 11, 2026
f3e3e53
Merge branch 'qa' of github.com:scheduleonce/knowledgeowl-angular int…
so-kaushal Mar 11, 2026
76df4ac
chore: update changelog format and fix eslint config formatting
so-kaushal Mar 11, 2026
0ca2141
Initial plan
Copilot Mar 11, 2026
d51da71
docs: add 6.0.0-beta.0 changelog entry for Angular 21 / Node 24 / ESL…
Copilot Mar 11, 2026
d77cdd1
chore: update CI workflow to use matrix node version and adjust npm p…
so-kaushal Mar 12, 2026
fe373d6
chore: upgrade Node.js actions to v6 and bump package version to 6.0.…
so-kaushal Mar 12, 2026
5dc2e27
chore: upgrade GitHub actions to v6 for checkout and setup-node
so-kaushal Mar 12, 2026
fac4de7
chore: update node-version format in CI workflow to array syntax
so-kaushal Mar 12, 2026
4569b3a
Merge pull request #271 from scheduleonce/copilot/sub-pr-270
so-kaushal Mar 12, 2026
84d4322
chore:ONCEHUB-112987 update version from 6.0.0-beta.1 to 6.0.0 in pac…
so-kaushal Mar 26, 2026
c5bae77
Merge branch 'qa' of github.com:scheduleonce/knowledgeowl-angular int…
so-kaushal Mar 26, 2026
7ce8f3d
Update package.json
so-kaushal Mar 26, 2026
8f4a606
chore: update changelog for Angular 21 upgrade release
so-kaushal Mar 26, 2026
f983220
Merge branch 'pythons/angular-21-upgrade' of github.com:scheduleonce/…
so-kaushal Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: '24.14.0'
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '24.14.0'
registry-url: "https://registry.npmjs.org"
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [6.0.0] - 2026-03-26

- [ONCEHUB-112987](https://scheduleonce.atlassian.net/browse/ONCEHUB-112987) Upgrade to Angular 21 and Node 24
- **BREAKING**: Upgraded Angular packages to v21.1.x
- **BREAKING**: Minimum Node.js version is now 24 (updated CI to Node 24.13.0)
- **BREAKING**: Migrated ESLint configuration to flat config format (ESLint v9) with `angular-eslint` v21.3.0, replacing the legacy `.eslintrc`-based setup
- Removed individual `@angular-eslint/*`, `@typescript-eslint/*`, `eslint-plugin-import`, `eslint-plugin-jsdoc`, and `eslint-plugin-prefer-arrow` packages in favour of the unified `angular-eslint` package
- Updated `tslib` to `^2.8.1`

## [5.1.6] - 2026-01-15

- [ONCEHUB-109966](https://scheduleonce.atlassian.net/browse/ONCEHUB-109966) Updated dependencies and fixes
Expand Down
72 changes: 72 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// @ts-check
const tseslint = require('typescript-eslint');
const angular = require('angular-eslint');

module.exports = tseslint.config(
{
ignores: ['projects/**/*'],
},
{
files: ['**/*.ts'],
extends: [
...tseslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
...angular.configs.tsRecommended,
],
processor: angular.processInlineTemplates,
languageOptions: {
parserOptions: {
project: ['tsconfig.json'],
},
},
rules: {
'@angular-eslint/component-class-suffix': 'off',
'@angular-eslint/directive-class-suffix': 'off',
'@angular-eslint/prefer-standalone': 'off',
'@angular-eslint/prefer-inject': 'off',
'@angular-eslint/directive-selector': [
'error',
{
type: 'attribute',
prefix: ['knowledge'],
style: 'camelCase',
},
],
'@angular-eslint/component-selector': [
'error',
{
type: 'element',
prefix: ['knowledge'],
style: 'kebab-case',
},
],
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/dot-notation': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/member-ordering': 'off',
'@typescript-eslint/explicit-member-accessibility': [
'off',
{
accessibility: 'explicit',
},
],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'brace-style': ['error', '1tbs'],
complexity: 'error',
'id-denylist': 'off',
'id-match': 'off',
'no-underscore-dangle': 'off',
'no-useless-escape': 'off',
},
},
{
files: ['**/*.html'],
extends: [...angular.configs.templateRecommended],
rules: {},
}
);
Loading