@ng-zen/cli 19.0.0-alpha.5 → 19.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.commitlintrc +3 -0
  2. package/.editorconfig +17 -0
  3. package/.github/dependabot.yml +18 -0
  4. package/.github/workflows/ci.yml +112 -0
  5. package/.github/workflows/deploy.yml +33 -0
  6. package/.github/workflows/release.yml +65 -0
  7. package/.husky/commit-msg +1 -0
  8. package/.husky/pre-commit +1 -0
  9. package/.nanostagedrc +5 -0
  10. package/.prettierignore +3 -0
  11. package/.prettierrc +23 -0
  12. package/.releaserc.json +67 -0
  13. package/.storybook/main.ts +17 -0
  14. package/.storybook/preview.ts +13 -0
  15. package/.storybook/stories/pages/1 README.mdx +9 -0
  16. package/.storybook/stories/pages/2 License.mdx +9 -0
  17. package/.storybook/stories/pages/3 CHANGELOG.mdx +9 -0
  18. package/.storybook/tsconfig.json +10 -0
  19. package/.storybook/typings.d.ts +4 -0
  20. package/.stylelintrc.json +3 -0
  21. package/CHANGELOG.md +40 -0
  22. package/CODE_OF_CONDUCT.md +30 -0
  23. package/CONTRIBUTING.md +54 -0
  24. package/DEVELOPMENT.md +138 -0
  25. package/README.md +129 -14
  26. package/angular.json +66 -0
  27. package/eslint.config.js +40 -0
  28. package/jest.config.ts +20 -0
  29. package/package.json +108 -14
  30. package/projects/schematic-builder/builders/builders.json +9 -0
  31. package/projects/schematic-builder/builders/index.js +100 -0
  32. package/projects/schematic-builder/builders/schema.json +18 -0
  33. package/projects/schematic-builder/package.json +11 -0
  34. package/{schematics → src/schematics}/collection.json +1 -1
  35. package/{schematics → src/schematics}/components/components-generator.ts +1 -1
  36. package/{schematics → src/schematics}/components/files/avatar/avatar.component.ts +3 -3
  37. package/{schematics → src/schematics}/components/files/avatar/avatar.stories.ts +1 -1
  38. package/{schematics → src/schematics}/components/files/button/button.component.ts +2 -2
  39. package/{schematics → src/schematics}/components/files/checkbox/checkbox.component.ts +1 -1
  40. package/{schematics → src/schematics}/components/files/input/input.component.ts +1 -1
  41. package/src/schematics/components/files/switch/index.ts +1 -0
  42. package/src/schematics/components/files/switch/switch.component.scss +63 -0
  43. package/src/schematics/components/files/switch/switch.component.spec.ts +22 -0
  44. package/src/schematics/components/files/switch/switch.component.ts +105 -0
  45. package/src/schematics/components/files/switch/switch.stories.ts +40 -0
  46. package/{schematics → src/schematics}/components/files/textarea/textarea.component.ts +1 -1
  47. package/{schematics → src/schematics}/components/schema.json +1 -1
  48. package/{schematics → src/schematics}/components/templates/README.md.template +3 -3
  49. package/tsconfig.json +31 -0
  50. package/tsconfig.lib.json +11 -0
  51. package/tsconfig.schematics.json +30 -0
  52. package/tsconfig.spec.json +9 -0
  53. package/schematics/components/components-generator.js +0 -3
  54. package/schematics/components/components-generator.js.map +0 -1
  55. package/schematics/components/index.js +0 -11
  56. package/schematics/components/index.js.map +0 -1
  57. package/schematics/ng-add/index.js +0 -12
  58. package/schematics/ng-add/index.js.map +0 -1
  59. package/schematics/ng-add/ng-zen-generator.js +0 -3
  60. package/schematics/ng-add/ng-zen-generator.js.map +0 -1
  61. package/types/generator-schema-base.interface.js +0 -3
  62. package/types/generator-schema-base.interface.js.map +0 -1
  63. package/types/index.js +0 -5
  64. package/types/index.js.map +0 -1
  65. package/types/schematics-folder.type.js +0 -3
  66. package/types/schematics-folder.type.js.map +0 -1
  67. package/utils/add-path-to-tsconfig.util.js +0 -45
  68. package/utils/add-path-to-tsconfig.util.js.map +0 -1
  69. package/utils/apply-file-template.util.js +0 -23
  70. package/utils/apply-file-template.util.js.map +0 -1
  71. package/utils/index.js +0 -6
  72. package/utils/index.js.map +0 -1
  73. /package/{schematics → src/schematics}/components/files/avatar/avatar.component.scss +0 -0
  74. /package/{schematics → src/schematics}/components/files/avatar/avatar.component.spec.ts +0 -0
  75. /package/{schematics → src/schematics}/components/files/avatar/index.ts +0 -0
  76. /package/{schematics → src/schematics}/components/files/button/button.component.scss +0 -0
  77. /package/{schematics → src/schematics}/components/files/button/button.component.spec.ts +0 -0
  78. /package/{schematics → src/schematics}/components/files/button/button.stories.ts +0 -0
  79. /package/{schematics → src/schematics}/components/files/button/index.ts +0 -0
  80. /package/{schematics → src/schematics}/components/files/checkbox/checkbox.component.scss +0 -0
  81. /package/{schematics → src/schematics}/components/files/checkbox/checkbox.component.spec.ts +0 -0
  82. /package/{schematics → src/schematics}/components/files/checkbox/checkbox.stories.ts +0 -0
  83. /package/{schematics → src/schematics}/components/files/checkbox/index.ts +0 -0
  84. /package/{schematics → src/schematics}/components/files/input/index.ts +0 -0
  85. /package/{schematics → src/schematics}/components/files/input/input.component.scss +0 -0
  86. /package/{schematics → src/schematics}/components/files/input/input.component.spec.ts +0 -0
  87. /package/{schematics → src/schematics}/components/files/input/input.stories.ts +0 -0
  88. /package/{schematics → src/schematics}/components/files/textarea/index.ts +0 -0
  89. /package/{schematics → src/schematics}/components/files/textarea/textarea.component.scss +0 -0
  90. /package/{schematics → src/schematics}/components/files/textarea/textarea.component.spec.ts +0 -0
  91. /package/{schematics → src/schematics}/components/files/textarea/textarea.stories.ts +0 -0
  92. /package/{schematics → src/schematics}/components/index.ts +0 -0
  93. /package/{schematics → src/schematics}/ng-add/index.ts +0 -0
  94. /package/{schematics → src/schematics}/ng-add/ng-zen-generator.ts +0 -0
  95. /package/{schematics → src/schematics}/ng-add/schema.json +0 -0
  96. /package/{types → src/types}/generator-schema-base.interface.ts +0 -0
  97. /package/{types → src/types}/index.ts +0 -0
  98. /package/{types → src/types}/schematics-folder.type.ts +0 -0
  99. /package/{utils → src/utils}/add-path-to-tsconfig.util.ts +0 -0
  100. /package/{utils → src/utils}/apply-file-template.util.ts +0 -0
  101. /package/{utils → src/utils}/index.ts +0 -0
package/.commitlintrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["@commitlint/config-conventional"]
3
+ }
package/.editorconfig ADDED
@@ -0,0 +1,17 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+ ij_typescript_use_double_quotes = false
14
+
15
+ [*.md]
16
+ max_line_length = off
17
+ trim_trailing_whitespace = false
@@ -0,0 +1,18 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "npm"
4
+ directory: "/"
5
+ target-branch: develop
6
+ schedule:
7
+ interval: "weekly"
8
+ day: sunday
9
+ - package-ecosystem: "github-actions"
10
+ target-branch: develop
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
14
+ day: sunday
15
+
16
+
17
+
18
+
@@ -0,0 +1,112 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [master, develop, next]
6
+
7
+ env:
8
+ NODE_VERSION: 22
9
+ RETENTION_DAYS: 30
10
+
11
+ jobs:
12
+ install:
13
+ runs-on: ubuntu-latest
14
+ outputs:
15
+ cache-key: ${{ steps.cache-key.outputs.cache-key }}
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Enable Corepack
19
+ run: corepack enable
20
+ - uses: pnpm/action-setup@v4
21
+ - uses: actions/setup-node@v4
22
+ with:
23
+ node-version: ${{ env.NODE_VERSION }}
24
+ cache: pnpm
25
+ - id: cache-key
26
+ run: |
27
+ CACHE_KEY="${{ runner.os }}-node-${{ env.NODE_VERSION }}-pnpm-cache-$(sha256sum pnpm-lock.yaml | cut -d' ' -f1)"
28
+ echo "cache-key=$CACHE_KEY" >> $GITHUB_OUTPUT
29
+ - uses: actions/cache@v4
30
+ id: pnpm-cache
31
+ with:
32
+ path: |
33
+ node_modules
34
+ ~/.pnpm-store
35
+ key: ${{ steps.cache-key.outputs.cache-key }}
36
+ restore-keys: |
37
+ ${{ runner.os }}-node-${{ env.NODE_VERSION }}-pnpm-cache-
38
+ - run: pnpm install --frozen-lockfile
39
+
40
+ lint:
41
+ needs: install
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - uses: actions/checkout@v4
45
+ - name: Enable Corepack
46
+ run: corepack enable
47
+ - uses: pnpm/action-setup@v4
48
+ - uses: actions/setup-node@v4
49
+ with:
50
+ node-version: ${{ env.NODE_VERSION }}
51
+ - uses: actions/cache@v4
52
+ with:
53
+ path: |
54
+ node_modules
55
+ ~/.pnpm-store
56
+ key: ${{ needs.install.outputs.cache-key }}
57
+ - run: pnpm run lint
58
+ - uses: actions/upload-artifact@v4
59
+ if: always()
60
+ with:
61
+ name: lint-report
62
+ path: lint-report/
63
+ retention-days: ${{ env.RETENTION_DAYS }}
64
+ test:
65
+ needs: install
66
+ runs-on: ubuntu-latest
67
+ steps:
68
+ - uses: actions/checkout@v4
69
+ - uses: pnpm/action-setup@v4
70
+ with:
71
+ version: ${{ env.PNPM_VERSION }}
72
+ - uses: actions/setup-node@v4
73
+ with:
74
+ node-version: ${{ env.NODE_VERSION }}
75
+ - uses: actions/cache@v4
76
+ with:
77
+ path: |
78
+ node_modules
79
+ ~/.pnpm-store
80
+ key: ${{ needs.install.outputs.cache-key }}
81
+ - run: pnpm run test
82
+ - uses: actions/upload-artifact@v4
83
+ if: always()
84
+ with:
85
+ name: test-report
86
+ path: test-report/
87
+ retention-days: ${{ env.RETENTION_DAYS }}
88
+
89
+ build:
90
+ needs: [install, lint, test]
91
+ runs-on: ubuntu-latest
92
+ steps:
93
+ - uses: actions/checkout@v4
94
+ - uses: pnpm/action-setup@v4
95
+ with:
96
+ version: ${{ env.PNPM_VERSION }}
97
+ - uses: actions/setup-node@v4
98
+ with:
99
+ node-version: ${{ env.NODE_VERSION }}
100
+ - uses: actions/cache@v4
101
+ with:
102
+ path: |
103
+ node_modules
104
+ ~/.pnpm-store
105
+ key: ${{ needs.install.outputs.cache-key }}
106
+ - run: pnpm run build
107
+ - uses: actions/upload-artifact@v4
108
+ if: always()
109
+ with:
110
+ name: build-report
111
+ path: build-report/
112
+ retention-days: ${{ env.RETENTION_DAYS }}
@@ -0,0 +1,33 @@
1
+ name: Deploy Storybook to github pages
2
+
3
+ on:
4
+ push:
5
+ branches: ["master"]
6
+ workflow_dispatch:
7
+
8
+ env:
9
+ NODE_VERSION: 22
10
+ PNPM_VERSION: 10.0.0
11
+
12
+ permissions:
13
+ contents: read
14
+ pages: write
15
+ id-token: write
16
+
17
+ jobs:
18
+ deploy:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4 # Checkout your repository
22
+ - uses: pnpm/action-setup@v4
23
+ with:
24
+ version: ${{ env.PNPM_VERSION }}
25
+ - uses: actions/setup-node@v4
26
+ with:
27
+ node-version: ${{ env.NODE_VERSION }}
28
+ - id: build-publish
29
+ uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
30
+ with:
31
+ install_command: pnpm install --frozen-lockfile
32
+ build_command: pnpm run storybook:build
33
+ path: dist/storybook
@@ -0,0 +1,65 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - next
8
+ workflow_dispatch:
9
+
10
+ env:
11
+ NODE_VERSION: 22
12
+ PNPM_VERSION: 10.0.0
13
+
14
+ jobs:
15
+ release:
16
+ name: Build, Test and Release
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+ fetch-tags: true
25
+ - name: Enable Corepack
26
+ run: corepack enable
27
+
28
+ - name: Setup pnpm
29
+ uses: pnpm/action-setup@v4
30
+ with:
31
+ version: ${{ env.PNPM_VERSION }}
32
+ - name: Setup Node.js
33
+ uses: actions/setup-node@v4
34
+ with:
35
+ node-version: ${{ env.NODE_VERSION }}
36
+ - name: Get pnpm cache directory
37
+ id: pnpm-cache-dir
38
+ shell: bash
39
+ run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
40
+ - name: Generate cache key
41
+ id: cache-key
42
+ shell: bash
43
+ run: |
44
+ echo "key=node-v${{ env.NODE_VERSION }}-pnpm-v${{ env.PNPM_VERSION }}-lock-${{ hashFiles('**/pnpm-lock.yaml') }}" >> $GITHUB_OUTPUT
45
+ echo "restore_key=node-v${{ env.NODE_VERSION }}-pnpm-v${{ env.PNPM_VERSION }}-lock-" >> $GITHUB_OUTPUT
46
+ - name: Setup pnpm cache
47
+ uses: actions/cache@v4
48
+ with:
49
+ path: ${{ steps.pnpm-cache-dir.outputs.STORE_PATH }}
50
+ key: ${{ steps.cache-key.outputs.key }}
51
+ restore-keys: ${{ steps.cache-key.outputs.restore_key }}
52
+ - name: Install dependencies
53
+ run: pnpm install --frozen-lockfile
54
+ - name: Run linter
55
+ run: pnpm run lint
56
+ - name: Run tests
57
+ run: pnpm run test
58
+ - name: Build project
59
+ run: pnpm run build
60
+ - name: Run semantic-release
61
+ run: pnpm run semantic-release --debug
62
+ env:
63
+ HUSKY: 0
64
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1 @@
1
+ commitlint --edit ${1}
@@ -0,0 +1 @@
1
+ nano-staged
package/.nanostagedrc ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "*.{ts,html}": ["eslint --fix"],
3
+ "*.{js,cjs,mjs,ts,mts,css,scss,html,json,md}": "prettier --write",
4
+ "*.{scss,css}": ["stylelint --fix"]
5
+ }
@@ -0,0 +1,3 @@
1
+ # Add files here to ignore them from prettier formatting
2
+ /dist
3
+ /coverage
package/.prettierrc ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "plugins": [
3
+ "prettier-plugin-organize-attributes"
4
+ ],
5
+ "tabWidth": 2,
6
+ "useTabs": false,
7
+ "singleQuote": true,
8
+ "semi": true,
9
+ "bracketSpacing": true,
10
+ "arrowParens": "avoid",
11
+ "trailingComma": "es5",
12
+ "bracketSameLine": false,
13
+ "htmlWhitespaceSensitivity": "ignore",
14
+ "printWidth": 120,
15
+ "endOfLine": "auto",
16
+ "attributeGroups": [
17
+ "$ANGULAR_STRUCTURAL_DIRECTIVE",
18
+ "$ANGULAR_INPUT",
19
+ "$ANGULAR_OUTPUT",
20
+ "$ANGULAR_TWO_WAY_BINDING"
21
+ ],
22
+ "attributeSort": "ASC"
23
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/semantic-release",
3
+ "branches": [
4
+ "master",
5
+ {
6
+ "name": "next",
7
+ "prerelease": true
8
+ }
9
+ ],
10
+ "plugins": [
11
+ [
12
+ "@semantic-release/commit-analyzer",
13
+ {
14
+ "preset": "conventionalcommits",
15
+ "presetConfig": {
16
+ "types": [
17
+ { "type": "feat", "section": "🚀 New Features", "hidden": false },
18
+ { "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
19
+ { "type": "perf", "section": "⚡️ Performance Improvements", "hidden": false },
20
+ { "type": "build", "section": "🏗️ Build Changes", "hidden": false },
21
+ { "type": "ci", "section": "🔄 Continuous Integration", "hidden": false },
22
+ { "type": "refactor", "section": "🛠️ Code Refactor", "hidden": false },
23
+ { "type": "test", "section": "✅ Tests", "hidden": false },
24
+ { "type": "chore", "section": "🧹 Chore", "hidden": true },
25
+ { "type": "docs", "section": "📚 Documentation", "hidden": false },
26
+ { "type": "style", "section": "🎨 Style", "hidden": true }
27
+ ]
28
+ }
29
+ }
30
+ ],
31
+ [
32
+ "@semantic-release/release-notes-generator",
33
+ {
34
+ "preset": "conventionalcommits",
35
+ "presetConfig": {
36
+ "types": [
37
+ { "type": "feat", "section": "🚀 New Features" },
38
+ { "type": "fix", "section": "🐛 Bug Fixes" },
39
+ { "type": "perf", "section": "⚡️ Performance Improvements" },
40
+ { "type": "build", "section": "🏗️ Build Changes" },
41
+ { "type": "ci", "section": "🔄 Continuous Integration" },
42
+ { "type": "refactor", "section": "🛠️ Code Refactor" },
43
+ { "type": "test", "section": "✅ Tests" },
44
+ { "type": "chore", "section": "🧹 Chore" },
45
+ { "type": "docs", "section": "📚 Documentation" },
46
+ { "type": "style", "section": "🎨 Style" }
47
+ ]
48
+ }
49
+ }
50
+ ],
51
+ [
52
+ "@semantic-release/changelog",
53
+ {
54
+ "changelogFile": "CHANGELOG.md"
55
+ }
56
+ ],
57
+ "@semantic-release/npm",
58
+ [
59
+ "@semantic-release/git",
60
+ {
61
+ "assets": ["package.json", "CHANGELOG.md", "pnpm-lock.yaml"],
62
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
63
+ }
64
+ ],
65
+ "@semantic-release/github"
66
+ ]
67
+ }
@@ -0,0 +1,17 @@
1
+ import type { StorybookConfig } from '@storybook/angular';
2
+
3
+ const config: StorybookConfig = {
4
+ stories: ['./stories/**/*.@(js|jsx|ts|tsx|mdx)', '../src/schematics/**/*.stories.@(ts)'],
5
+ addons: [
6
+ '@storybook/addon-links',
7
+ '@storybook/addon-essentials',
8
+ '@chromatic-com/storybook',
9
+ '@storybook/addon-interactions',
10
+ ],
11
+ framework: '@storybook/angular',
12
+ docs: {
13
+ autodocs: true,
14
+ defaultName: 'Docs',
15
+ },
16
+ };
17
+ export default config;
@@ -0,0 +1,13 @@
1
+ import { setCompodocJson } from '@storybook/addon-docs/angular';
2
+ import type { Preview } from '@storybook/angular';
3
+
4
+ import docJson from '../documentation/documentation.json';
5
+ setCompodocJson(docJson);
6
+
7
+ const preview: Preview = {
8
+ parameters: {
9
+ layout: 'centered',
10
+ },
11
+ };
12
+
13
+ export default preview;
@@ -0,0 +1,9 @@
1
+ import ReadMe from '../../../README.md?raw';
2
+
3
+ import { Markdown } from '@storybook/blocks';
4
+
5
+ import { Meta } from '@storybook/blocks';
6
+
7
+ <Meta title="README" />
8
+
9
+ <Markdown>{ReadMe}</Markdown>
@@ -0,0 +1,9 @@
1
+ import License from '../../../LICENSE?raw';
2
+
3
+ import { Markdown } from '@storybook/blocks';
4
+
5
+ import { Meta } from '@storybook/blocks';
6
+
7
+ <Meta title="LICENSE - BSD-2-Clause" />
8
+
9
+ <Markdown>{License}</Markdown>
@@ -0,0 +1,9 @@
1
+ import CHANGELOG from '../../../CHANGELOG.md?raw';
2
+
3
+ import { Markdown } from '@storybook/blocks';
4
+
5
+ import { Meta } from '@storybook/blocks';
6
+
7
+ <Meta title="CHANGELOG" />
8
+
9
+ <Markdown>{CHANGELOG}</Markdown>
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../tsconfig.lib.json",
3
+ "compilerOptions": {
4
+ "allowSyntheticDefaultImports": true,
5
+ "resolveJsonModule": true
6
+ },
7
+ "exclude": ["../**/*.spec.ts"],
8
+ "include": ["./preview.ts", "../src/**/*.stories.*", "../src/files/**/*.ts"],
9
+ "files": ["./typings.d.ts"]
10
+ }
@@ -0,0 +1,4 @@
1
+ declare module '*.md' {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["stylelint-config-standard-scss"]
3
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,40 @@
1
+ ## [19.1.0](https://github.com/kstepien3/ng-zen/compare/v19.0.0...v19.1.0) (2025-04-27)
2
+
3
+ ### 🚀 New Features
4
+
5
+ * **switch:** add missing css variables ([0481ac7](https://github.com/kstepien3/ng-zen/commit/0481ac7d735eba4ee47fbc6a69cdee643f5b9b4c))
6
+
7
+ ### 🏗️ Build Changes
8
+
9
+ * **deps-dev:** bump @angular-devkit/architect from 0.1902.6 to 0.1902.9 ([#160](https://github.com/kstepien3/ng-zen/issues/160)) ([e8fa092](https://github.com/kstepien3/ng-zen/commit/e8fa092e8aefcd15f4fb5755e150b2834d359fb4))
10
+ * **deps-dev:** bump angular-eslint from 19.0.2 to 19.3.0 ([#136](https://github.com/kstepien3/ng-zen/issues/136)) ([ccad1a9](https://github.com/kstepien3/ng-zen/commit/ccad1a903bbd8edf37571f764dded81ea5fe29aa))
11
+ * **deps-dev:** bump eslint-plugin-storybook from 0.11.6 to 0.12.0 ([#137](https://github.com/kstepien3/ng-zen/issues/137)) ([e8d63f3](https://github.com/kstepien3/ng-zen/commit/e8d63f3ec9d7f0af1a4cb7e2ceb3ff2843af43ad))
12
+ * **deps-dev:** bump typescript-eslint from 8.24.0 to 8.29.0 ([#135](https://github.com/kstepien3/ng-zen/issues/135)) ([89d371f](https://github.com/kstepien3/ng-zen/commit/89d371f73f711848c548c32e8c1d5201f80c3073))
13
+
14
+ ### 🧹 Chore
15
+
16
+ * add conventional-changelog-conventionalcommits dependency ([c6d2342](https://github.com/kstepien3/ng-zen/commit/c6d23422c5866645b520f55dc3c10700fc268d06))
17
+ * change version alpha -> next ([aa5482c](https://github.com/kstepien3/ng-zen/commit/aa5482cd504a89e60eae07f6a3ea343ca8886e57))
18
+ * change version to v19.0.0-next.0 [skip ci] ([7ee3dbd](https://github.com/kstepien3/ng-zen/commit/7ee3dbd6d22a3d24c85fba0978c127f28c9248d4))
19
+ * fix problems with release ([a54af7a](https://github.com/kstepien3/ng-zen/commit/a54af7aa33259bb904df707f8450b39a1f8e00c9))
20
+ * **release:** 19.1.0-next.1 [skip ci] ([7ca3b5c](https://github.com/kstepien3/ng-zen/commit/7ca3b5c989121b41c95c261236b5c89409c83210))
21
+
22
+ ### 📚 Documentation
23
+
24
+ * **readme.md:** update links in badges ([#146](https://github.com/kstepien3/ng-zen/issues/146)) ([667f71c](https://github.com/kstepien3/ng-zen/commit/667f71c3891764f12d7b025e4b0c7e9ea872d00b))
25
+ * **README:** improve documentation ([#149](https://github.com/kstepien3/ng-zen/issues/149)) ([bbbfd4e](https://github.com/kstepien3/ng-zen/commit/bbbfd4e592907c6c544e9004d104842df5475fab))
26
+ * **storybook:** load CHANGELOG.md ([#145](https://github.com/kstepien3/ng-zen/issues/145)) ([f7df739](https://github.com/kstepien3/ng-zen/commit/f7df739ba88d4ffc1a63dea6bdec2bb3112933d0))
27
+ * update development information ([#148](https://github.com/kstepien3/ng-zen/issues/148)) ([981a998](https://github.com/kstepien3/ng-zen/commit/981a9981385d22d763fe63bfcf075970bec4495d))
28
+
29
+ ## [19.1.0-next.1](https://github.com/kstepien3/ng-zen/compare/v19.0.0...v19.1.0-next.1) (2025-04-06)
30
+
31
+ ### 🚀 New Features
32
+
33
+ * **switch:** add missing css variables ([0481ac7](https://github.com/kstepien3/ng-zen/commit/0481ac7d735eba4ee47fbc6a69cdee643f5b9b4c))
34
+
35
+ ### 🧹 Chore
36
+
37
+ * add conventional-changelog-conventionalcommits dependency ([c6d2342](https://github.com/kstepien3/ng-zen/commit/c6d23422c5866645b520f55dc3c10700fc268d06))
38
+ * change version alpha -> next ([aa5482c](https://github.com/kstepien3/ng-zen/commit/aa5482cd504a89e60eae07f6a3ea343ca8886e57))
39
+ * change version to v19.0.0-next.0 [skip ci] ([7ee3dbd](https://github.com/kstepien3/ng-zen/commit/7ee3dbd6d22a3d24c85fba0978c127f28c9248d4))
40
+ * fix problems with release ([a54af7a](https://github.com/kstepien3/ng-zen/commit/a54af7aa33259bb904df707f8450b39a1f8e00c9))
@@ -0,0 +1,30 @@
1
+ # Code of Conduct
2
+
3
+ The @ng-zen/cli project is committed to fostering an open and welcoming environment for all contributors and users. This Code of Conduct outlines the expectations for behavior within our community.
4
+
5
+ ## Our Pledge
6
+
7
+ We pledge to make participation in our project and community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
8
+
9
+ ## Our Standards
10
+
11
+ - **Be Respectful**: Treat others with respect and kindness, even when disagreeing.
12
+ - **Be Considerate**: Be mindful of the impact of your words and actions on others.
13
+ - **Be Open**: Be open to different perspectives and experiences.
14
+ - **Be Constructive**: Focus on constructive feedback and suggestions.
15
+
16
+ ## Unacceptable Behavior
17
+
18
+ - **Harassment**: Unwelcome comments or actions, including but not limited to those related to race, gender, or sexual orientation.
19
+ - **Spamming**: Posting irrelevant or repetitive content.
20
+ - **Trolling**: Posting inflammatory or off-topic messages.
21
+
22
+ ## Reporting Incidents
23
+
24
+ If you experience or witness any unacceptable behavior, please report it to the project maintainers via email at kord.stp@gmail.com.
25
+
26
+ ## Enforcement
27
+
28
+ The project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior. They will take appropriate and fair corrective action in response to any instances of unacceptable behavior.
29
+
30
+ By participating in this project, you agree to abide by this Code of Conduct in all interactions related to the project.
@@ -0,0 +1,54 @@
1
+ # Contributing to @ng-zen/cli
2
+
3
+ Thank you for your interest in contributing! This document outlines the essential steps and requirements for submitting contributions.
4
+
5
+ **For detailed information on project setup, the full branching strategy, specific tool usage (Storybook, Verdaccio), and the reasoning behind our workflows, please refer to the [DEVELOPMENT.md](DEVELOPMENT.md) file.**
6
+
7
+ ## Key Requirements for Contributors
8
+
9
+ 1. **Conventional Commits (Mandatory):** All commit messages **must** adhere to the Conventional Commits specification (https://www.conventionalcommits.org/). This is critical for automated releases. Invalid messages will block commits. See [Commit Messages](DEVELOPMENT.md#commit-messages-crucial) for details on commit types and their impact.
10
+ 2. **Target Branch:** Pull Requests **must target the `develop` branch.** PRs targeting `master` or `next` directly will generally be closed unless specifically requested for hotfixes.
11
+ 3. **Automated Checks:**
12
+
13
+ - Code formatting and basic lint fixes are applied automatically on commit via `husky` and `nano-staged`.
14
+ - Full CI checks (linting, testing, building) run automatically on Pull Requests via GitHub Actions (`ci.yml`). **Your PR must pass all CI checks to be eligible for merging.**
15
+
16
+ ## Contribution Steps
17
+
18
+ 1. **Fork & Clone:** Fork the [ng-zen repository](https://github.com/kstepien3/ng-zen) and clone your fork locally. _(See [Prerequisites & Setup](DEVELOPMENT.md#prerequisites--setup) if needed)_.
19
+ 2. **Sync `develop`:** Ensure your local `develop` branch is up-to-date:
20
+ ```bash
21
+ git switch develop
22
+ git pull origin develop
23
+ ```
24
+ 3. **Create Branch:** Create your working branch **from `develop`**:
25
+ ```bash
26
+ # Use format: <type>/<short-description>
27
+ git switch -c feat/add-hover-effect develop
28
+ ```
29
+ 4. **Develop:** Implement your code changes. Remember to add or update relevant unit tests (`*.spec.ts`) and documentation/Storybook stories (`*.stories.ts`, etc.) as necessary. _(See [Working with Storybook](DEVELOPMENT.md#working-with-storybook) section for more details)_.
30
+ 5. **Commit:** Commit your work using **Conventional Commit** messages.
31
+ ```bash
32
+ git add .
33
+ git commit -m "feat(button): add configurable hover effect"
34
+ ```
35
+ 6. **Verify Locally:** Before pushing, ensure all local checks pass:
36
+ ```bash
37
+ pnpm run lint
38
+ pnpm run test
39
+ ```
40
+ _(See [Running Tests and Linting](DEVELOPMENT.md#running-tests-and-linting) for details on these commands)_.
41
+ 7. **Push:** Push your branch to your fork: `git push origin feat/add-hover-effect`
42
+ 8. **Create Pull Request:** Open a Pull Request on GitHub from **your branch** to the **`kstepien3/ng-zen:develop`** branch. Provide a clear title and description.
43
+
44
+ ## After Your PR is Submitted
45
+
46
+ - Wait for the automated CI checks to complete. Address any failures.
47
+ - Respond to code review comments and feedback from maintainers.
48
+ - Once approved and CI passes, a maintainer will merge your PR into `develop`. Your changes will then be included in future pre-releases (from `next`) and stable releases (from `master`).
49
+
50
+ ## Communication
51
+
52
+ - Use [GitHub Issues](https://github.com/kstepien3/ng-zen/issues) for bug reports, feature proposals, or questions _before_ starting significant work.
53
+
54
+ Thank you for contributing to **@ng-zen/cli**