Skip to content

Commit 0a44014

Browse files
Phyelegabro
andcommitted
first commit
Co-authored-by: Gabriele Petronella <gabriele@buildo.io>
1 parent dd6536a commit 0a44014

44 files changed

Lines changed: 22096 additions & 3184 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
14+
"plugin:@angular-eslint/recommended",
15+
"plugin:@angular-eslint/template/process-inline-templates"
16+
],
17+
"rules": {
18+
"@angular-eslint/directive-selector": [
19+
"error",
20+
{
21+
"type": "attribute",
22+
"prefix": "lib",
23+
"style": "camelCase"
24+
}
25+
],
26+
"@angular-eslint/component-selector": [
27+
"error",
28+
{
29+
"type": "element",
30+
"prefix": "lib",
31+
"style": "kebab-case"
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"files": [
38+
"*.html"
39+
],
40+
"extends": [
41+
"plugin:@angular-eslint/template/recommended",
42+
"plugin:@angular-eslint/template/accessibility"
43+
],
44+
"rules": {}
45+
}
46+
],
47+
"extends": [
48+
"plugin:storybook/recommended"
49+
]
50+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ testem.log
4040
# System files
4141
.DS_Store
4242
Thumbs.db
43+
44+
*storybook.log
5.98 MB
Binary file not shown.

.nx/cache/nx_files.nxt

1.82 KB
Binary file not shown.

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

angular.json

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,82 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6+
"layout-components": {
7+
"projectType": "library",
8+
"root": "projects/layout-components",
9+
"sourceRoot": "projects/layout-components/src",
10+
"prefix": "lib",
11+
"architect": {
12+
"build": {
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
14+
"options": {
15+
"project": "projects/layout-components/ng-package.json"
16+
},
17+
"configurations": {
18+
"production": {
19+
"tsConfig": "projects/layout-components/tsconfig.lib.prod.json"
20+
},
21+
"development": {
22+
"tsConfig": "projects/layout-components/tsconfig.lib.json"
23+
}
24+
},
25+
"defaultConfiguration": "production"
26+
},
27+
"test": {
28+
"builder": "@angular-devkit/build-angular:karma",
29+
"options": {
30+
"tsConfig": "projects/layout-components/tsconfig.spec.json",
31+
"polyfills": [
32+
"zone.js",
33+
"zone.js/testing"
34+
]
35+
}
36+
},
37+
"lint": {
38+
"builder": "@angular-eslint/builder:lint",
39+
"options": {
40+
"lintFilePatterns": [
41+
"projects/layout-components/**/*.ts",
42+
"projects/layout-components/**/*.html"
43+
]
44+
}
45+
},
46+
"storybook": {
47+
"builder": "@storybook/angular:start-storybook",
48+
"options": {
49+
"configDir": "projects/layout-components/.storybook",
50+
"browserTarget": "layout-components:build",
51+
"compodoc": true,
52+
"compodocArgs": [
53+
"-e",
54+
"json",
55+
"-d",
56+
"projects/layout-components"
57+
],
58+
"port": 6006
59+
}
60+
},
61+
"build-storybook": {
62+
"builder": "@storybook/angular:build-storybook",
63+
"options": {
64+
"configDir": "projects/layout-components/.storybook",
65+
"browserTarget": "layout-components:build",
66+
"compodoc": true,
67+
"compodocArgs": [
68+
"-e",
69+
"json",
70+
"-d",
71+
"projects/layout-components"
72+
],
73+
"outputDir": "storybook-static"
74+
}
75+
}
76+
}
77+
}
78+
},
79+
"cli": {
80+
"schematicCollections": [
81+
"@angular-eslint/schematics"
82+
]
683
}
7-
}
84+
}

0 commit comments

Comments
 (0)