@tech4good/angular-schematics 20.3.0 → 20.3.1

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.
@@ -0,0 +1 @@
1
+ npx --no-install commitlint --edit "$1"
@@ -0,0 +1 @@
1
+
Binary file
package/CHANGELOG.md CHANGED
@@ -1,47 +1,59 @@
1
- ## [20.3.0](https://github.com/tech4good-lab/angular-schematics/compare/v20.2.0...v20.3.0) (2026-05-26)
1
+ ## [20.3.1](https://github.com/tech4good-lab/angular-schematics/compare/v20.1.0...v20.3.1) (2026-05-26)
2
2
 
3
3
  ### Features
4
4
 
5
- * clarify npm publish and login commands in workflow ([04c406f](https://github.com/tech4good-lab/angular-schematics/commit/04c406f4acb8aa1881b9b6d6340eab01ca65db37))
6
- * **component:** restructure early-access survey and update models ([318f9dc](https://github.com/tech4good-lab/angular-schematics/commit/318f9dcdfe51fc80add84b75ed833777df5d70c3))
7
- * **landing:** implement hero and rotating quotes components ([3fc4b53](https://github.com/tech4good-lab/angular-schematics/commit/3fc4b5390d2e8dda3908799e6b8c9e2959f093de))
8
- * **ng-add, entity:** add local storage persistence for mockdb ([ca4383e](https://github.com/tech4good-lab/angular-schematics/commit/ca4383eb124a89e2100e194969a81dd2968a08f2))
9
- * **ng-add:** add admin override notification bar and split admin panel into tabs ([2b639d8](https://github.com/tech4good-lab/angular-schematics/commit/2b639d8b4deefa2ff74540e7f6a0adc9d6fc7187))
10
- * **ng-add:** add code-check script to package.json template ([f1506f8](https://github.com/tech4good-lab/angular-schematics/commit/f1506f8ddb5dc4ba68306fa61c12154b779656b8))
11
- * **ng-add:** split waitlist and active users into separate responsive tables ([ea98e24](https://github.com/tech4good-lab/angular-schematics/commit/ea98e246521b6de7c4be7e99e37282e1bbfa4fb1))
12
- * **ng-add:** support multiple orderBy conditions in firestore queries ([32225ea](https://github.com/tech4good-lab/angular-schematics/commit/32225eace0ca41cdcb81994fd1dad98d2ea23c21))
13
- * **ng-add:** unify dev status bar and admin deep-linking ([4794b0c](https://github.com/tech4good-lab/angular-schematics/commit/4794b0c87080d5677b98a016f016b23a069da5f6))
14
- * **styles:** apply base typography and theme variables ([dcc3e05](https://github.com/tech4good-lab/angular-schematics/commit/dcc3e0526a6c3a6aa07a37ff0656836f13e61307))
5
+ * add default true to interactive prompts ([22303ae](https://github.com/tech4good-lab/angular-schematics/commit/22303ae31d7f581c34da05307a3b0dd9913ff726))
6
+ * automate conventional commits and npm release workflow ([fb5af22](https://github.com/tech4good-lab/angular-schematics/commit/fb5af2264610e70e917968d0818c6381ee5114d2))
7
+ * clarify npm publish and login commands in workflow ([b1a1704](https://github.com/tech4good-lab/angular-schematics/commit/b1a1704aee53d361153d00bdd87c0d68e07c87e8))
8
+ * **ng-add, entity:** add local storage persistence for mockdb ([4284578](https://github.com/tech4good-lab/angular-schematics/commit/42845787c520dbb208f9e9dfbffda0064d05cab3))
9
+ * **ng-add:** add admin override notification bar and split admin panel into tabs ([fb9f844](https://github.com/tech4good-lab/angular-schematics/commit/fb9f844d41d87f62fb8a94ea43fe54fe564b4813))
10
+ * **ng-add:** add code-check script to package.json template ([19054e8](https://github.com/tech4good-lab/angular-schematics/commit/19054e826a45dbdaa0b3d6910c23692fa2ccd114))
11
+ * **ng-add:** apply base typography and theme variables ([77569f7](https://github.com/tech4good-lab/angular-schematics/commit/77569f74d8154c8b0754b94e9bb5e339a4d343f0))
12
+ * **ng-add:** implement hero and rotating quotes components ([c18c823](https://github.com/tech4good-lab/angular-schematics/commit/c18c823fda3d253be3773735ab7fd3f28f96cedd))
13
+ * **ng-add:** restructure early-access survey and update models ([e08edc6](https://github.com/tech4good-lab/angular-schematics/commit/e08edc6ef51746af49b4b5e44824e59f2bb536c3))
14
+ * **ng-add:** split waitlist and active users into separate responsive tables ([4727baa](https://github.com/tech4good-lab/angular-schematics/commit/4727baa367c6d7cb7db7bcbc99257ffef46447d9))
15
+ * **ng-add:** support multiple orderBy conditions in firestore queries ([a4d085c](https://github.com/tech4good-lab/angular-schematics/commit/a4d085cff632253e9bf43145593c741fd7e101a5))
16
+ * **ng-add:** unify dev status bar and admin deep-linking ([9044a35](https://github.com/tech4good-lab/angular-schematics/commit/9044a35a6004a56b6a4157b68e1c384a741e3126))
15
17
 
16
18
  ### Bug Fixes
17
19
 
18
- * **auth:** fix profile image rendering and reorder signup flow ([feb7e8d](https://github.com/tech4good-lab/angular-schematics/commit/feb7e8d39c2afc384f4b6a2201df2e458c3db89a))
19
- * **ng-add:** add reactive redirect and lower survey threshold in early-access ([1a19cbe](https://github.com/tech4good-lab/angular-schematics/commit/1a19cbe541313b67425b7ee325937284d56b3633))
20
- * **ng-add:** ensure deterministic mock photo URLs to prevent caching issues ([3169e02](https://github.com/tech4good-lab/angular-schematics/commit/3169e0287238a4d82d8e3698a964a91c04235a91))
21
- * **ng-add:** resolve async race condition in route guards ([7d0a244](https://github.com/tech4good-lab/angular-schematics/commit/7d0a2445808920b067b870d4057c85e940df2ee3))
22
- * resolve missing user document creation in AuthStore template ([904bb74](https://github.com/tech4good-lab/angular-schematics/commit/904bb74567b6079a83ef0b4c643b9f44576882a6))
20
+ * **ng-add:** add reactive redirect and lower survey threshold in early-access ([5efbe91](https://github.com/tech4good-lab/angular-schematics/commit/5efbe912e69c413e6f09227163b6fe4633fed6d2))
21
+ * **ng-add:** ensure deterministic mock photo URLs to prevent caching issues ([1409261](https://github.com/tech4good-lab/angular-schematics/commit/1409261e2c42fe7f41be7c9c8f7dd561d01d9d60))
22
+ * **ng-add:** fix profile image rendering and reorder signup flow ([bda0eac](https://github.com/tech4good-lab/angular-schematics/commit/bda0eacdfcd643b11201854bfb5eeae5b124ee32))
23
+ * **ng-add:** remove undefined entitiesToModify2 and entitiesToRemove2 ([d1a8e0c](https://github.com/tech4good-lab/angular-schematics/commit/d1a8e0cff843829ce1227c29602f7f0720c548a5))
24
+ * **ng-add:** resolve async race condition in route guards ([0206bb9](https://github.com/tech4good-lab/angular-schematics/commit/0206bb9234739d4f60734a00f26cfe846ee1f0b8))
25
+ * require git-commit skill for template updates in publish-npm ([235802e](https://github.com/tech4good-lab/angular-schematics/commit/235802e71ba9b7c531cf430c5b5dff1d7c23463f))
26
+ * resolve missing user document creation in AuthStore template ([a4c5436](https://github.com/tech4good-lab/angular-schematics/commit/a4c5436e2964ecfae65ef18d01e9489b16af6646))
27
+
28
+ ### Documentation
29
+
30
+ * add repository-specific commit message guidelines ([62f14cf](https://github.com/tech4good-lab/angular-schematics/commit/62f14cf39c3d29a2f1956cb7e516fb3c6a4e74b0))
31
+ * update README ([5931736](https://github.com/tech4good-lab/angular-schematics/commit/5931736caad5698adbea4b9c36b5fa1aaffa3fc2))
23
32
 
24
33
  ### Code Refactoring
25
34
 
26
- * **auth:** remove insecure client-side token storage from schematics ([db1c995](https://github.com/tech4good-lab/angular-schematics/commit/db1c99508a963227ae64da1a60f8a195c7bf888e))
27
- * **core:** extract route guards logic and fix admin overrides ([feae4fc](https://github.com/tech4good-lab/angular-schematics/commit/feae4fcebd8cbd88f4a465e0b72f519eac837b3d))
28
- * **core:** remove unused imports in redeployment warning component and service ([114147c](https://github.com/tech4good-lab/angular-schematics/commit/114147c83dadb4cd9c7c28af422f94b11abc1893))
29
- * **ng-add:** extract user table and counts into separate components ([2161168](https://github.com/tech4good-lab/angular-schematics/commit/2161168015e5f7980d875091576559ef0e029ec3))
30
- * **ng-add:** replace class-based AuthGuard with functional guards ([2cfe25b](https://github.com/tech4good-lab/angular-schematics/commit/2cfe25bdfa3671c8f27e5fa6cc51953df4d29f96))
35
+ * **ng-add:** extract route guards logic and fix admin overrides ([6e6410f](https://github.com/tech4good-lab/angular-schematics/commit/6e6410faa178c72150e3a0af6e8277612fa83e08))
36
+ * **ng-add:** extract user table and counts into separate components ([71f297e](https://github.com/tech4good-lab/angular-schematics/commit/71f297e49e8dfc29650799bdecbacb7ed97aaa32))
37
+ * **ng-add:** remove insecure client-side token storage from schematics ([1bb8c63](https://github.com/tech4good-lab/angular-schematics/commit/1bb8c63fa1d6c21bc2d05953c09f411620f55dc5))
38
+ * **ng-add:** remove unused imports in redeployment warning component and service ([8714205](https://github.com/tech4good-lab/angular-schematics/commit/871420508a55b36957471bf844610c4c5e28f8f5))
39
+ * **ng-add:** replace class-based AuthGuard with functional guards ([321b2a7](https://github.com/tech4good-lab/angular-schematics/commit/321b2a7981ccc8c64ce1a4574fc5f4dfd9e7fd99))
31
40
 
32
41
  ### Tests
33
42
 
34
- * update mock user data and component template styling ([ffc3ad8](https://github.com/tech4good-lab/angular-schematics/commit/ffc3ad83a530a57423403343086c3380269633b5))
43
+ * update mock user data and component template styling ([dc6e0bd](https://github.com/tech4good-lab/angular-schematics/commit/dc6e0bd3f66403e11b26be46a7ff6dd431eec433))
35
44
 
36
45
  ### Build System
37
46
 
38
- * **ng-add:** add .t4g/ to gitignore ([f1433b2](https://github.com/tech4good-lab/angular-schematics/commit/f1433b21d1c99d4188ad271d244c55815a7c884a))
39
- * **ng-add:** bump template dependency for release ([d793d8f](https://github.com/tech4good-lab/angular-schematics/commit/d793d8fb81cf8ba4c0e3e0999a9882f2288adc92))
47
+ * configure npm version lifecycle hooks and update docs ([a84b0e6](https://github.com/tech4good-lab/angular-schematics/commit/a84b0e6a1f482418e987a12b64552498e2febc2d))
48
+ * **ng-add:** add .t4g/ to gitignore ([e46e56b](https://github.com/tech4good-lab/angular-schematics/commit/e46e56b0cf35df932a9f4e2b15fb52adad07499f))
49
+ * **ng-add:** bump template dependency for release ([b844a80](https://github.com/tech4good-lab/angular-schematics/commit/b844a80668394dbb71cb550a5492220a189e7900))
50
+ * **ng-add:** bump template dependency for release ([2e6a46a](https://github.com/tech4good-lab/angular-schematics/commit/2e6a46adae121043fb01fd5ef9792c5d1dff05a9))
51
+ * **shared:** set up commitlint and husky for scope enforcement ([c804f74](https://github.com/tech4good-lab/angular-schematics/commit/c804f74bb91ac9bd36f3241986d3e6bc713e55fa))
40
52
 
41
53
  ### Chores
42
54
 
43
- * **ng-add:** add .t4g to gitignore ([567bf3d](https://github.com/tech4good-lab/angular-schematics/commit/567bf3dfe21a9d9c6a11cb1c6c074320b06cf3bc))
44
- * **ng-add:** enable mockdb by default in dev environment ([8c512e0](https://github.com/tech4good-lab/angular-schematics/commit/8c512e03cb81b371c84728019d588e9f69de9efd))
55
+ * **ng-add:** add .t4g to gitignore ([0f0e2be](https://github.com/tech4good-lab/angular-schematics/commit/0f0e2bedf19ff0257333975c8ef58ffef94aecfa))
56
+ * **ng-add:** enable mockdb by default in dev environment ([50e828c](https://github.com/tech4good-lab/angular-schematics/commit/50e828cf8e2d7a5ba41f673ea5497202c61685bc))
45
57
  ## [20.2.0](https://github.com/tech4good-lab/angular-schematics/compare/v20.1.0...v20.2.0) (2026-05-08)
46
58
 
47
59
  ### Features
@@ -0,0 +1,15 @@
1
+ module.exports = {
2
+ extends: ['@commitlint/config-conventional'],
3
+ rules: {
4
+ 'scope-enum': [
5
+ 2,
6
+ 'always',
7
+ [
8
+ 'ng-add',
9
+ 'component',
10
+ 'entity',
11
+ 'shared'
12
+ ]
13
+ ]
14
+ }
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tech4good/angular-schematics",
3
- "version": "20.3.0",
3
+ "version": "20.3.1",
4
4
  "description": "A set of schematics for generating modules, containers, components, and entities",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",
@@ -10,7 +10,8 @@
10
10
  "version": "npm run changelog && git add CHANGELOG.md",
11
11
  "release:patch": "npm version patch",
12
12
  "release:minor": "npm version minor",
13
- "release:major": "npm version major"
13
+ "release:major": "npm version major",
14
+ "prepare": "husky"
14
15
  },
15
16
  "keywords": [
16
17
  "schematics"
@@ -27,10 +28,13 @@
27
28
  "typescript": "~5.8.3"
28
29
  },
29
30
  "devDependencies": {
31
+ "@commitlint/cli": "^21.0.1",
32
+ "@commitlint/config-conventional": "^21.0.1",
30
33
  "@types/jasmine": "~5.1.0",
31
34
  "@types/node": "^18.19.47",
32
35
  "conventional-changelog-cli": "^5.0.0",
33
36
  "conventional-changelog-conventionalcommits": "^8.0.0",
37
+ "husky": "^9.1.7",
34
38
  "jasmine": "^5.1.0"
35
39
  }
36
40
  }
@@ -49,7 +49,7 @@
49
49
  "@angular/cli": "^20.3.2",
50
50
  "@angular/compiler-cli": "^20.3.0",
51
51
  "@ngx-env/builder": "^20.1.1",
52
- "@tech4good/angular-schematics": "^20.3.0",
52
+ "@tech4good/angular-schematics": "^20.3.1",
53
53
  "@types/estree": "^1.0.0",
54
54
  "@types/jest": "^29.5.14",
55
55
  "@types/node": "^18.19.47",