kaelum 1.4.3 → 1.4.4
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/.versionrc.js +20 -0
- package/README.md +3 -3
- package/cli/index.js +1 -1
- package/cli/templates/api/app.js +1 -1
- package/cli/templates/api/package.json +1 -1
- package/cli/templates/web/app.js +1 -1
- package/cli/templates/web/package.json +1 -1
- package/cli/templates/web/views/index.html +1 -1
- package/cli/utils.js +1 -1
- package/core/addRoute.js +1 -1
- package/core/apiRoute.js +1 -1
- package/core/errorHandler.js +1 -1
- package/core/healthCheck.js +1 -1
- package/core/redirect.js +1 -1
- package/core/setConfig.js +1 -1
- package/core/setMiddleware.js +1 -1
- package/core/start.js +1 -1
- package/createApp.js +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +13 -2
package/.versionrc.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
infile: 'docs/misc/changelog.md',
|
|
3
|
+
types: [
|
|
4
|
+
{ type: 'feat', section: 'Features' },
|
|
5
|
+
{ type: 'fix', section: 'Bug Fixes' },
|
|
6
|
+
{ type: 'perf', section: 'Performance Improvements' },
|
|
7
|
+
{ type: 'revert', section: 'Reverts' },
|
|
8
|
+
{ type: 'docs', section: 'Documentation', hidden: false },
|
|
9
|
+
{ type: 'style', section: 'Styles', hidden: true },
|
|
10
|
+
{ type: 'chore', section: 'Miscellaneous', hidden: false },
|
|
11
|
+
{ type: 'refactor', section: 'Code Refactoring', hidden: false },
|
|
12
|
+
{ type: 'test', section: 'Tests', hidden: true },
|
|
13
|
+
{ type: 'build', section: 'Build System', hidden: true },
|
|
14
|
+
{ type: 'ci', section: 'CI/CD', hidden: true },
|
|
15
|
+
],
|
|
16
|
+
commitUrlFormat: '{{host}}/{{owner}}/{{repository}}/commit/{{hash}}',
|
|
17
|
+
compareUrlFormat: '{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}',
|
|
18
|
+
issueUrlFormat: '{{host}}/{{owner}}/{{repository}}/issues/{{id}}',
|
|
19
|
+
userUrlFormat: '{{host}}/{{user}}'
|
|
20
|
+
};
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<h1>Kaelum</h1>
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/kaelum)
|
|
6
|
-
[](https://github.com/kaelumjs/kaelum/actions)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
[](https://matheuscampagnolo.github.io/kaelum/)
|
|
9
9
|
|
|
@@ -231,7 +231,7 @@ This checks core functionality including `setConfig`, routes, and error handlers
|
|
|
231
231
|
## 🔧 Local development & contributing
|
|
232
232
|
|
|
233
233
|
```bash
|
|
234
|
-
git clone https://github.com/
|
|
234
|
+
git clone https://github.com/kaelumjs/kaelum.git
|
|
235
235
|
cd kaelum
|
|
236
236
|
npm install
|
|
237
237
|
npm link
|
|
@@ -263,7 +263,7 @@ npx kaelum create my-test --template web
|
|
|
263
263
|
|
|
264
264
|
## 📚 Links
|
|
265
265
|
|
|
266
|
-
- [GitHub](https://github.com/
|
|
266
|
+
- [GitHub](https://github.com/kaelumjs/kaelum)
|
|
267
267
|
- [npm](https://www.npmjs.com/package/kaelum)
|
|
268
268
|
- [Documentation](https://matheuscampagnolo.github.io/kaelum/)
|
|
269
269
|
|
package/cli/index.js
CHANGED
package/cli/templates/api/app.js
CHANGED
package/cli/templates/web/app.js
CHANGED
package/cli/utils.js
CHANGED
package/core/addRoute.js
CHANGED
package/core/apiRoute.js
CHANGED
package/core/errorHandler.js
CHANGED
|
@@ -136,4 +136,4 @@ function errorHandlerFactory(options = {}) {
|
|
|
136
136
|
|
|
137
137
|
// Export both default and named to keep compatibility with different import styles
|
|
138
138
|
module.exports = errorHandlerFactory;
|
|
139
|
-
module.exports.errorHandler = errorHandlerFactory;
|
|
139
|
+
module.exports.errorHandler = errorHandlerFactory;
|
package/core/healthCheck.js
CHANGED
package/core/redirect.js
CHANGED
package/core/setConfig.js
CHANGED
package/core/setMiddleware.js
CHANGED
package/core/start.js
CHANGED
package/createApp.js
CHANGED
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const createApp = require("./createApp");
|
|
2
|
-
module.exports = createApp;
|
|
2
|
+
module.exports = createApp;
|
package/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import createApp from './index.js';
|
|
2
|
-
export default createApp;
|
|
2
|
+
export default createApp;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaelum",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "A minimalist Node.js framework for building web pages and APIs with simplicity and speed.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"kaelum": "cli/index.js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose"
|
|
16
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --verbose",
|
|
17
|
+
"release": "standard-version",
|
|
18
|
+
"changelog": "standard-version --skip.bump --skip.tag --skip.commit"
|
|
17
19
|
},
|
|
18
20
|
"keywords": [
|
|
19
21
|
"framework",
|
|
@@ -28,6 +30,14 @@
|
|
|
28
30
|
],
|
|
29
31
|
"author": "Matheus Campagnolo",
|
|
30
32
|
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/kaelumjs/kaelum.git"
|
|
36
|
+
},
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/kaelumjs/kaelum/issues"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/kaelumjs/kaelum#readme",
|
|
31
41
|
"dependencies": {
|
|
32
42
|
"cors": "^2.8.5",
|
|
33
43
|
"dotenv": "^17.2.3",
|
|
@@ -40,6 +50,7 @@
|
|
|
40
50
|
},
|
|
41
51
|
"devDependencies": {
|
|
42
52
|
"jest": "^30.2.0",
|
|
53
|
+
"standard-version": "^9.5.0",
|
|
43
54
|
"supertest": "^7.2.2"
|
|
44
55
|
}
|
|
45
56
|
}
|