Skip to content
Draft
Show file tree
Hide file tree
Changes from 10 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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: 'npm'

- name: Install dependencies
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ testem.log
__screenshots__/
**/.storybook/compodoc/

.nx/polygraph
.nx/polygraph
.nx/self-healing
.nx/migrate-runs
5 changes: 3 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Add files here to ignore them from prettier formatting
/dist
/coverage
/.nx/cache
/.nx/workspace-data
.nx/cache
.nx/self-healing
.nx/workspace-data
.angular
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"@nx/plugin:e2e-project",
"@nx/plugin:plugin-lint-checks"
],
"conventionalCommits.scopes": ["AtlasNG", "analytics", "cdk", "common", "core", "design-system", "labs"]
"conventionalCommits.scopes": ["AtlasNG", "analytics", "cdk", "common", "content-templates", "core", "design-system", "labs"]
}
4 changes: 2 additions & 2 deletions libs/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"access": "public"
},
"peerDependencies": {
"@angular/core": "^21.2.6",
"@angular/common": "^21.2.6",
"@angular/core": "^22.0.7",
"@angular/common": "^22.0.7",
"@atlasng/core": "0.0.4",
"analytics": "^0.8.19",
"type-fest": "^5.5.0",
Expand Down
2 changes: 1 addition & 1 deletion libs/cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"access": "public"
},
"peerDependencies": {
"@angular/core": "^21.2.6"
"@angular/core": "^22.0.7"
},
"sideEffects": false
}
3 changes: 2 additions & 1 deletion libs/cdk/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
}
],
"files": [],
"include": []
"include": [],
"compilerOptions": {}
}
6 changes: 3 additions & 3 deletions libs/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"access": "public"
},
"peerDependencies": {
"@angular/common": "^21.2.6",
"@angular/core": "^21.2.6",
"@angular/router": "^21.2.6",
"@angular/common": "^22.0.7",
"@angular/core": "^22.0.7",
"@angular/router": "^22.0.7",
"@atlasng/core": "0.0.4"
},
"sideEffects": false
Expand Down
3 changes: 2 additions & 1 deletion libs/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
}
],
"files": [],
"include": []
"include": [],
"compilerOptions": {}
}
7 changes: 7 additions & 0 deletions libs/content-templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# content-templates

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test content-templates` to execute the unit tests.
3 changes: 3 additions & 0 deletions libs/content-templates/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import baseConfig from '../../eslint.config.mjs';

export default [...baseConfig];
7 changes: 7 additions & 0 deletions libs/content-templates/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/libs/content-templates",
"lib": {
"entryFile": "src/index.ts"
}
}
8 changes: 8 additions & 0 deletions libs/content-templates/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "@atlasng/content-templates",
"version": "0.0.1",
"peerDependencies": {
"@angular/core": "^22.0.0"
},
"sideEffects": false
}
17 changes: 17 additions & 0 deletions libs/content-templates/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "content-templates",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/content-templates/src",
"prefix": "ang",
"projectType": "library",
"tags": ["library"],
"targets": {
"build": {
"executor": "@nx/angular:package"
},
"build-compodoc": {},
"compodoc": {},
"test": {},
"nx-release-publish": {}
}
}
2 changes: 2 additions & 0 deletions libs/content-templates/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Placeholder
export default {};
22 changes: 22 additions & 0 deletions libs/content-templates/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "es2022"
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json"
}
]
}
12 changes: 12 additions & 0 deletions libs/content-templates/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"declaration": true,
"declarationMap": true,
"inlineSources": true,
"types": []
},
"include": ["**/*.ts"],
"exclude": ["**/*.spec.ts", "**/*.test.ts"]
}
9 changes: 9 additions & 0 deletions libs/content-templates/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
},
"angularCompilerOptions": {
"compilationMode": "partial"
}
}
8 changes: 8 additions & 0 deletions libs/content-templates/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"types": ["vitest/globals"]
},
"include": ["**/*.ts", "**/*.d.ts"]
}
2 changes: 1 addition & 1 deletion libs/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"access": "public"
},
"peerDependencies": {
"@angular/core": "^21.2.6"
"@angular/core": "^22.0.7"
},
"sideEffects": false
}
1 change: 1 addition & 0 deletions libs/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
],
"files": [],
"include": [],
"compilerOptions": {}
}
8 changes: 4 additions & 4 deletions libs/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
}
},
"peerDependencies": {
"@angular/cdk": "^21.2.6",
"@angular/common": "^21.2.6",
"@angular/core": "^21.2.6",
"@angular/material": "^21.2.6",
"@angular/cdk": "^22.0.5",
"@angular/common": "^22.0.7",
"@angular/core": "^22.0.7",
"@angular/material": "^22.0.5",
"@atlasng/analytics": "^0.0.4",
"@atlasng/common": "^0.0.4",
"@atlasng/core": "^0.0.4"
Expand Down
3 changes: 2 additions & 1 deletion libs/design-system/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
}
],
"files": [],
"include": []
"include": [],
"compilerOptions": {}
}
10 changes: 5 additions & 5 deletions libs/labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
}
},
"peerDependencies": {
"@angular/cdk": "^21.2.6",
"@angular/common": "^21.2.6",
"@angular/core": "^21.2.6",
"@angular/material": "^21.2.6",
"@angular/youtube-player": "^21.2.6",
"@angular/cdk": "^22.0.5",
"@angular/common": "^22.0.7",
"@angular/core": "^22.0.7",
"@angular/material": "^22.0.5",
"@angular/youtube-player": "^22.0.5",
"@atlasng/analytics": "0.0.4",
"@atlasng/common": "0.0.4",
"@atlasng/design-system": "0.0.4"
Expand Down
2 changes: 1 addition & 1 deletion libs/labs/table/src/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type TableColumn = {
})
export class Table<T = TableRow> {
/** Table data source */
protected readonly dataSource = new MatTableDataSource<T>([]);
protected readonly dataSource: MatTableDataSource<T> = new MatTableDataSource<T>([]);

/** Table variant */
readonly variant = input<TableVariant>('alternating');
Expand Down
3 changes: 2 additions & 1 deletion libs/labs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
}
],
"files": [],
"include": []
"include": [],
"compilerOptions": {}
}
4 changes: 4 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@
"options": {
"command": "test-storybook -c {projectRoot}/.storybook --url=http://localhost:4400"
}
},
"@nx/angular:unit-test": {
"cache": true,
"inputs": ["default", "^production"]
}
},
"generators": {
Expand Down
Loading
Loading