5htp 0.2.1-1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.2.1-1",
4
+ "version": "0.2.2",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp.git",
7
7
  "license": "MIT",
@@ -42,7 +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
+ "babel-plugin-glob-import": "^0.0.6-3",
46
46
  "babel-plugin-transform-imports": "^2.0.0",
47
47
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
48
48
  "brotli-webpack-plugin": "^1.1.0",
package/readme.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # 5HTP Framework
2
2
 
3
- Opinionated, Lightweight & Full Stack Typescript framework, designed for productivity, modularity and performance.
3
+ Full Stack Typescript framework designed for **developers and users experience**.
4
+
5
+ ## Purposes and values
6
+
7
+ * **Build more with less code** with syntax sugars and an architecture designed to provide a good code-writing experience.
8
+ * **Put everything in symbiose** so frontend, backend and all services works together in a smart way.
9
+ * **Write high quality & reliable apps** thanks to strong types checking, suggestions and built-in debugging toolset.
10
+ * **Performance minded** because a fast and responsive app reduces server resources consumption and contributes to your users satisfaction.
4
11
 
5
12
  ## Features
6
13
 
@@ -33,17 +40,17 @@ Opinionated, Lightweight & Full Stack Typescript framework, designed for product
33
40
 
34
41
  ## To be done:
35
42
 
36
- [] Update templates & documentation
37
- [] Improved debugability & debug tools
43
+ - [ ] Update templates & documentation
44
+ - [ ] Improved debugability & debug tools
38
45
  - Cleaner logs (tweak ts-logs settings)
39
46
  - Cleaner stacktraces
40
47
  - 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
48
+ - [ ] Automatically generates types that associate api routes urls to their return types
49
+ - [ ] Fix forms system
50
+ - [ ] Allow to create CLI apps
51
+ - [ ] Debugging / Monitoring UI
45
52
  - Admin dashboard
46
- [] Fix Typescript errors
47
- [] Completely replace expressjs
48
- [] Improve stability
49
- [] Improve modularity
53
+ - [ ] Fix Typescript errors
54
+ - [ ] Completely replace expressjs
55
+ - [ ] Improve stability
56
+ - [ ] Improve modularity
package/src/app/index.ts CHANGED
@@ -26,7 +26,7 @@ export default class App {
26
26
  // config
27
27
  // WARNING: High level config files (env and services) shouldn't be loaded from the CLI
28
28
  // The CLI will be run on CircleCI, and no env file should be sent to this service
29
- public identity!: Config.Identity;
29
+ public identity: Config.Identity;
30
30
 
31
31
  public paths = {
32
32
  root: cli.paths.appRoot,
@@ -11,7 +11,7 @@ module.exports = (app: App, dev: Boolean, client: boolean) => {
11
11
 
12
12
  // OBSOLETE: A projet can have multiple themes,
13
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');
14
+ const paletteLess = fs.readFileSync( app.paths.src + '/client/assets/themes/main.less', 'utf8');
15
15
  const themeVars = lessToJs(paletteLess, { resolveVariables: true, stripPrefix: true });
16
16
 
17
17
  return [