5htp 0.2.0 → 0.2.1-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.
- package/package.json +5 -5
- package/readme.md +25 -6
- package/src/compiler/common/files/style.ts +3 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "5htp",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "0.2.
|
|
3
|
+
"description": "Convenient TypeScript framework designed for Performance and Productivity.",
|
|
4
|
+
"version": "0.2.1-1",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
|
-
"repository": "git://github.com/gaetanlegac/5htp
|
|
6
|
+
"repository": "git://github.com/gaetanlegac/5htp.git",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"bin": {
|
|
9
9
|
"5htp": "src/index.ts"
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"@types/webpack-env": "^1.16.2",
|
|
43
43
|
"@types/ws": "^7.4.7",
|
|
44
44
|
"babel-loader": "^8.2.2",
|
|
45
|
+
"babel-plugin-glob-import": "^0.0.6-2",
|
|
45
46
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
46
47
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
47
48
|
"brotli-webpack-plugin": "^1.1.0",
|
|
@@ -90,7 +91,6 @@
|
|
|
90
91
|
"@types/node": "^16.9.1",
|
|
91
92
|
"@types/nodemailer": "^6.4.4",
|
|
92
93
|
"@types/prompts": "^2.0.14",
|
|
93
|
-
"@types/webpack-env": "^1.16.2"
|
|
94
|
-
"babel-plugin-glob-import": "^0.0.1"
|
|
94
|
+
"@types/webpack-env": "^1.16.2"
|
|
95
95
|
}
|
|
96
96
|
}
|
package/readme.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 5HTP Framework
|
|
2
2
|
|
|
3
3
|
Opinionated, Lightweight & Full Stack Typescript framework, designed for productivity, modularity and performance.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
* Fully written in **Typescript**
|
|
8
|
+
* Services management system
|
|
9
|
+
* **Preact** with built-in SSR support
|
|
10
|
+
* Highly convenient **MySQL client**
|
|
11
|
+
* Universal schema / forms **validator**
|
|
12
|
+
* Ful stack router
|
|
13
|
+
* Cache system
|
|
14
|
+
* And more
|
|
6
15
|
|
|
7
16
|
## Get Started
|
|
8
17
|
|
|
@@ -24,7 +33,17 @@ Opinionated, Lightweight & Full Stack Typescript framework, designed for product
|
|
|
24
33
|
|
|
25
34
|
## To be done:
|
|
26
35
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
36
|
+
[] Update templates & documentation
|
|
37
|
+
[] Improved debugability & debug tools
|
|
38
|
+
- Cleaner logs (tweak ts-logs settings)
|
|
39
|
+
- Cleaner stacktraces
|
|
40
|
+
- export all default exports as classical functions instead of arrow funcs
|
|
41
|
+
[] Automatically generates types that associate api routes urls to their return types
|
|
42
|
+
[] Fix forms system
|
|
43
|
+
[] Allow to create CLI apps
|
|
44
|
+
[] Debugging / Monitoring UI
|
|
45
|
+
- Admin dashboard
|
|
46
|
+
[] Fix Typescript errors
|
|
47
|
+
[] Completely replace expressjs
|
|
48
|
+
[] Improve stability
|
|
49
|
+
[] Improve modularity
|
|
@@ -9,7 +9,9 @@ import type App from '../../../app';
|
|
|
9
9
|
|
|
10
10
|
module.exports = (app: App, dev: Boolean, client: boolean) => {
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
// OBSOLETE: A projet can have multiple themes,
|
|
13
|
+
// And the user have to choose in which score he wants to use a theme (by importing it)
|
|
14
|
+
const paletteLess = fs.readFileSync( app.paths.src + '/client/assets/themes/dashboard.less', 'utf8');
|
|
13
15
|
const themeVars = lessToJs(paletteLess, { resolveVariables: true, stripPrefix: true });
|
|
14
16
|
|
|
15
17
|
return [
|