Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion apps/styleguide/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/styleguide",
"version": "15.3.1",
"version": "16.0.0-pr85.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
8 changes: 7 additions & 1 deletion apps/styleguide/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"],
"angularCompilerOptions": {
"compilationMode": "full"
"compilationMode": "full",
"extendedDiagnostics": {
"checks": {
"nullishCoalescingNotNullable": "suppress",
"optionalChainNotNullable": "suppress"
}
}
}
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": false,
"packages": ["libs/*", "apps/*"],
"version": "15.3.1",
"version": "16.0.0-pr85.0",
"command": {
"version": {
"allowBranch": "*",
Expand Down
15 changes: 15 additions & 0 deletions libs/components/eslint-suppressions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
{
"src/lib/rx/rx-if.directive.ts": {
"unused-imports/no-unused-vars": {
"count": 1
}
},
"src/lib/rx/rx-let.directive.ts": {
"unused-imports/no-unused-vars": {
"count": 1
}
},
"src/lib/tooltip/flexible-connected-position-strategy-2.ts": {
"@typescript-eslint/no-unsafe-call": {
"count": 9
},
"@typescript-eslint/no-unsafe-member-access": {
"count": 17
}
},
"src/lib/tooltip/tooltip.component.html": {
"@angular-eslint/template/prefer-class-binding": {
"count": 1
}
}
}
16 changes: 8 additions & 8 deletions libs/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/ngx-components",
"version": "15.3.1",
"version": "16.0.0-pr85.0",
"repository": "https://github.com/shiftcode/sc-ng-commons-public",
"license": "MIT",
"author": "shiftcode GmbH <team@shiftcode.ch>",
Expand All @@ -10,14 +10,14 @@
"tslib": "^2.5.0"
},
"peerDependencies": {
"@angular/animations": "^21.0.0",
"@angular/cdk": "^21.0.0",
"@angular/common": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/forms": "^21.0.0",
"@angular/router": "^21.0.0",
"@angular/animations": "^22.0.0",
"@angular/cdk": "^22.0.0",
"@angular/common": "^22.0.0",
"@angular/core": "^22.0.0",
"@angular/forms": "^22.0.0",
"@angular/router": "^22.0.0",
"@shiftcode/logger": "^5.0.0",
"@shiftcode/ngx-core": "^15.0.0 || ^15.3.0-pr87",
"@shiftcode/ngx-core": "^15.0.0 || ^16.0.0-pr85",
"@shiftcode/utilities": "^5.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function setup(testingFabProviders: EnvironmentProviders) {
delete: vi.fn(),
clear: vi.fn(),
keys: vi.fn().mockReturnValue([]),
} as unknown as LocalStorage
}
}

TestBed.configureTestingModule({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Type } from '@angular/core'

export type TestingFabWidget =
| TestingFabSelectQueryParamWidget
| TestingFabToggleQueryParamWidget
| TestingFabCustomComponentWidget
TestingFabSelectQueryParamWidget | TestingFabToggleQueryParamWidget | TestingFabCustomComponentWidget

interface TestingFabWidgetBase {
type: 'select-query-param' | 'toggle-query-param' | 'custom-component'
Expand Down
8 changes: 7 additions & 1 deletion libs/components/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"declarationMap": false
},
"angularCompilerOptions": {
"compilationMode": "partial"
"compilationMode": "partial",
"extendedDiagnostics": {
"checks": {
"nullishCoalescingNotNullable": "suppress",
"optionalChainNotNullable": "suppress"
}
}
}
}
1 change: 0 additions & 1 deletion libs/components/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@shiftcode/ngx-core": ["../core/src/public-api.ts"]
},
Expand Down
10 changes: 5 additions & 5 deletions libs/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/ngx-core",
"version": "15.3.1",
"version": "16.0.0-pr85.0",
"repository": "https://github.com/shiftcode/sc-ng-commons-public",
"license": "MIT",
"author": "shiftcode GmbH <team@shiftcode.ch>",
Expand All @@ -10,10 +10,10 @@
"tslib": "^2.5.0"
},
"peerDependencies": {
"@angular/common": "^21.0.0",
"@angular/core": "^21.0.0",
"@angular/platform-browser": "^21.0.0",
"@angular/router": "^21.0.0",
"@angular/common": "^22.0.0",
"@angular/core": "^22.0.0",
"@angular/platform-browser": "^22.0.0",
"@angular/router": "^22.0.0",
"@shiftcode/logger": "^5.0.0",
"@shiftcode/utilities": "^5.0.0",
"rxjs": "^6.5.3 || ^7.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('ScriptLoaderService', () => {
expect(scriptTags.length).toBe(2)

expect(scriptTags[0].src?.replace(/^(https?:\/\/)([^./]+)/, '')).toBe(scriptSrc)
const scriptEl: HTMLScriptElement = <any>scriptTags[0]
const scriptEl: HTMLScriptElement = scriptTags[0]
expect(scriptEl).toBeDefined()
scriptEl.onload?.(new Event('loaded'))

Expand Down
2 changes: 1 addition & 1 deletion libs/core/src/lib/static-utils/on-init.function.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('onInit', () => {

it('does not register a cleanup when initFn returns a non-function value', () => {
// returning a truthy non-function should not cause errors
const initFn = vi.fn().mockReturnValue(42 as unknown as void)
const initFn = vi.fn().mockReturnValue(42)

TestBed.runInInjectionContext(() => onInit(initFn))

Expand Down
8 changes: 7 additions & 1 deletion libs/core/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"declarationMap": false
},
"angularCompilerOptions": {
"compilationMode": "partial"
"compilationMode": "partial",
"extendedDiagnostics": {
"checks": {
"nullishCoalescingNotNullable": "suppress",
"optionalChainNotNullable": "suppress"
}
}
}
}
1 change: 0 additions & 1 deletion libs/core/tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"baseUrl": ".",
"types": ["node"]
},
"include": ["**/*.ts"],
Expand Down
Loading