@robert-brightline/plugin 0.0.13 → 0.0.17

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.
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## <%- fullProjectName %>
13
13
 
14
- - [ ] add description for <%- fullProjectName %>
14
+ <%- shortProjectName %> Service
15
15
 
16
16
 
17
17
  ## Installation
@@ -23,8 +23,7 @@ pnpm add <%- fullProjectName %>
23
23
  ## 💖 Support My Work
24
24
  If you find my open-source contributions or the **<%- fullProjectName %>** project helpful, consider supporting my work. Your sponsorship helps me maintain these projects and explore new enterprise patterns.
25
25
 
26
- ![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)(<%- funding[0].url %>)
27
-
26
+ [![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)](<%- funding[0].url %>)
28
27
 
29
28
  ---
30
29
 
@@ -35,6 +35,7 @@
35
35
  ],
36
36
  "nx": {
37
37
  "sourceRoot": "<%- directory %>/src",
38
+ "projectType": "library",
38
39
  "targets": {
39
40
  "build": {
40
41
  "executor": "@nx/js:swc",
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## <%- fullProjectName %>
13
13
 
14
- - [ ] add description for <%- fullProjectName %>
14
+ <%- fullProjectName %> library
15
15
 
16
16
 
17
17
  ## Installation
@@ -23,7 +23,7 @@ pnpm add <%- fullProjectName %>
23
23
  ## 💖 Support My Work
24
24
  If you find my open-source contributions or the **<%- fullProjectName %>** project helpful, consider supporting my work. Your sponsorship helps me maintain these projects and explore new enterprise patterns.
25
25
 
26
- ![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)(<%- funding[0].url %>)
26
+ [![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)](<%- funding[0].url %>)
27
27
 
28
28
 
29
29
  ---
@@ -35,6 +35,7 @@
35
35
  ],
36
36
  "nx": {
37
37
  "sourceRoot": "<%- directory %>/src",
38
+ "projectType": "library",
38
39
  "targets": {
39
40
  "build": {
40
41
  "executor": "@nx/js:swc",
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## <%- fullProjectName %>
13
13
 
14
- - [ ] add description for <%- fullProjectName %>
14
+ <%- fullProjectName %> database
15
15
 
16
16
 
17
17
  ## Installation
@@ -23,7 +23,7 @@ pnpm add <%- fullProjectName %>
23
23
  ## 💖 Support My Work
24
24
  If you find my open-source contributions or the **<%- fullProjectName %>** project helpful, consider supporting my work. Your sponsorship helps me maintain these projects and explore new enterprise patterns.
25
25
 
26
- ![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)(<%- funding[0].url %>)
26
+ [![CashApp](https://img.shields.io/badge/Sponsor%20me-%23EA4AAA.svg?style=for-the-badge&logo=github-sponsors&logoColor=white)](<%- funding[0].url %>)
27
27
 
28
28
 
29
29
  ---
@@ -61,6 +61,7 @@
61
61
  ],
62
62
  "nx": {
63
63
  "sourceRoot": "<%- directory %>/src",
64
+ "projectType": "library",
64
65
  "targets": {
65
66
  "build": {
66
67
  "executor": "@nx/js:swc",
@@ -1 +1 @@
1
- {"version":3,"file":"project-options.d.ts","sourceRoot":"","sources":["../../../src/generators/project/project-options.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAsB,cAAc,CAClC,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,wBAAwB,CAAC,CAiDnC"}
1
+ {"version":3,"file":"project-options.d.ts","sourceRoot":"","sources":["../../../src/generators/project/project-options.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAsB,cAAc,CAClC,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,wBAAwB,CAAC,CAkDnC"}
@@ -20,11 +20,12 @@ async function projectOptions(options) {
20
20
  const email = (0, git_1.suffixEmail)((0, git_1.gitEmail)(), shortProjectName.replace(/[^a-zA-Z0-9]/g, '-').toLowerCase());
21
21
  const repoUrl = (0, git_1.gitRepoUrl)();
22
22
  const repositoryName = (0, git_1.gitRepoName)(repoUrl);
23
+ const githubPageUrl = (0, git_1.githubPage)(repositoryName);
23
24
  const fullProjectName = `@${repositoryName}/${shortProjectName}`;
24
25
  const currentUsername = (0, git_1.gitCurrentUsername)();
25
26
  const ownerUsername = (0, git_1.gitRepoOwnerUsername)(repoUrl);
26
27
  const version = main.version ?? '0.0.1';
27
- const homepage = (0, git_1.githubPageForDoc)(repoUrl, options.directory);
28
+ const homepage = (0, git_1.githubPageForDoc)(githubPageUrl, options.directory);
28
29
  return {
29
30
  version,
30
31
  funding,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@robert-brightline/plugin",
3
3
  "description": "Utility function to create name variants.",
4
- "version": "0.0.13",
4
+ "version": "0.0.17",
5
5
  "author": {
6
6
  "name": "robert-brightline",
7
7
  "email": "robert.brightline+names@gmail.com"