corifeus-builder 2024.4.123 → 2024.4.129

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.
package/LICENSE CHANGED
@@ -1,12 +1,3 @@
1
-
2
- @license corifeus-builder v2024.4.122
3
-
4
- 🏗️ Corifeus Builder
5
-
6
- https://corifeus.com/corifeus-builder
7
-
8
- Copyright (c) 2024 Patrik Laszlo / P3X / Corifeus and contributors.
9
-
10
1
  MIT License
11
2
 
12
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
16
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
17
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
18
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
- SOFTWARE.
19
+ SOFTWARE.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
  ---
8
- # 🏗️ Corifeus Builder v2024.4.123
8
+ # 🏗️ Corifeus Builder v2024.4.129
9
9
 
10
10
 
11
11
 
@@ -19,7 +19,7 @@
19
19
  ### Built on NodeJs version
20
20
 
21
21
  ```txt
22
- v20.11.1
22
+ v20.12.0
23
23
  ```
24
24
 
25
25
 
@@ -123,9 +123,9 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
123
123
 
124
124
  ---
125
125
 
126
- [**CORIFEUS-BUILDER**](https://corifeus.com/corifeus-builder) Build v2024.4.123
126
+ [**CORIFEUS-BUILDER**](https://corifeus.com/corifeus-builder) Build v2024.4.129
127
127
 
128
- [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
128
+ [![NPM](https://img.shields.io/npm/v/corifeus-builder.svg)](https://www.npmjs.com/package/corifeus-builder) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
129
129
 
130
130
 
131
131
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "corifeus-builder",
3
- "version": "2024.4.123",
3
+ "version": "2024.4.129",
4
4
  "corifeus": {
5
5
  "icon": "fas fa-gavel",
6
6
  "code": "Make",
7
7
  "publish": true,
8
- "nodejs": "v20.11.1",
8
+ "nodejs": "v20.12.0",
9
9
  "reponame": "corifeus-builder",
10
10
  "opencollective": false,
11
11
  "build": true
@@ -48,10 +48,10 @@
48
48
  "jit-grunt": "^0.10.0",
49
49
  "lodash": "^4.17.21",
50
50
  "mkdirp": "^3.0.1",
51
- "mocha": "^10.3.0",
51
+ "mocha": "^10.4.0",
52
52
  "mz": "^2.7.0",
53
53
  "npm": "^10.5.0",
54
- "npm-check-updates": "^16.14.15",
54
+ "npm-check-updates": "^16.14.18",
55
55
  "should": "^13.2.3",
56
56
  "time-grunt": "^2.0.0",
57
57
  "yaml": "^2.4.1"
package/src/replaces.js CHANGED
@@ -93,6 +93,16 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
93
93
  }
94
94
 
95
95
 
96
+
97
+ let defaultFooterNpm = ``
98
+
99
+
100
+ if (pkg.corifeus && pkg.corifeus.publish === true) {
101
+ // ![https://www.npmjs.com/package/${pkg.name}](https://img.shields.io/npm/v/${pkg.name}.svg)
102
+ defaultFooterNpm = `[![NPM](https://img.shields.io/npm/v/${pkg.name}.svg)](https://www.npmjs.com/package/${pkg.name}) `
103
+
104
+ }
105
+
96
106
  const defaultFooter = {
97
107
  footer: true,
98
108
  replace: `
@@ -111,7 +121,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
111
121
 
112
122
  [**\${pkg.name.toUpperCase()}**](https://corifeus.com/\${git.repo === 'corifeus' ? 'matrix' : git.repo}) Build v\${pkg.version}
113
123
 
114
- [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
124
+ ${defaultFooterNpm}[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
115
125
 
116
126
 
117
127
 
@@ -82,18 +82,10 @@ const injectorRelativePathGenerator = (options) => {
82
82
 
83
83
  const license = () => {
84
84
 
85
- const pkg = JSON.parse(fs.readFileSync(`${process.cwd()}/package.json`, 'utf8').toString());
85
+ //const pkg = JSON.parse(fs.readFileSync(`${process.cwd()}/package.json`, 'utf8').toString());
86
86
 
87
- const license = `
88
- @license ${pkg.name} v${pkg.version}
89
-
90
- ${pkg.description}
91
-
92
- ${pkg.homepage}
93
-
94
- Copyright (c) ${new Date().getFullYear()} Patrik Laszlo / P3X / Corifeus and contributors.
95
-
96
- MIT License
87
+ const license =
88
+ `MIT License
97
89
 
98
90
  Permission is hereby granted, free of charge, to any person obtaining a copy
99
91
  of this software and associated documentation files (the "Software"), to deal
@@ -111,8 +103,19 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
111
103
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
112
104
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
113
105
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
114
- SOFTWARE.
106
+ SOFTWARE.`
107
+
108
+ /*
109
+ @license ${pkg.name} v${pkg.version}
110
+
111
+ ${pkg.description}
112
+
113
+ ${pkg.homepage}
114
+
115
+ Copyright (c) ${new Date().getFullYear()} Patrik Laszlo / P3X / Corifeus and contributors.
115
116
  `;
117
+ */
118
+
116
119
  return license
117
120
  }
118
121