Skip to content

Commit

Permalink
fix(kit): test & generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordrad committed May 8, 2024
1 parent 2b784c0 commit 9e7d187
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{ "extends": ["stylelint-config-standard-scss"] }
{
"extends": ["stylelint-config-standard-scss"],
"rules": {
"no-descending-specificity": null
}
}
3 changes: 2 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"standalone": true
"standalone": true,
"changeDetection": "OnPush"
}
},
"projects": {
Expand Down
61 changes: 61 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"stylelint": "stylelint **/*.{css,scss}",
"stylelint:fix": "stylelint **/*.{css,scss} --fix",
"performance": "npx oxlint -D correctness -D perf --deny-warnings",
"prepare": "husky"
"prepare": "husky",
"app:test": "ng test app",
"kit:test": "ng test kit"
},
"private": true,
"dependencies": {
Expand Down
7 changes: 7 additions & 0 deletions projects/kit/src/public-api.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as fileElements from './public-api';

describe('public-api', () => {
it('should export library components', () => {
expect(Object.keys(fileElements)).toBeTruthy();
});
});
2 changes: 1 addition & 1 deletion projects/kit/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
* Public API Surface of kit
*/

console.info('Projects loaded.');
export const temporary = '...';

0 comments on commit 9e7d187

Please sign in to comment.