5htp-core 0.0.2 → 0.0.3

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,13 +1,10 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "5-HTP, scientifically called 5-Hydroxytryptophan, is the precursor of happiness neurotransmitter.",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
8
- "bin": {
9
- "5htp": "cli/index.ts"
10
- },
11
8
  "engines": {
12
9
  "node": ">=16.1.0",
13
10
  "npm": ">=3.10.10"
@@ -1,35 +1,55 @@
1
1
  {
2
- "extends": "../../node_modules/5-htp/tsconfig.common.json",
2
+ "extends": "../../node_modules/5htp-core/tsconfig.common.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": "..",
5
5
  "baseUrl": "..",
6
6
  "paths": {
7
-
8
- "@client/*": ["../node_modules/5-htp/src/client/*"],
9
- "@common/*": ["../node_modules/5-htp/src/common/*"],
10
-
7
+ "@client/*": [
8
+ "../node_modules/5htp-core/src/client/*"
9
+ ],
10
+ "@common/*": [
11
+ "../node_modules/5htp-core/src/common/*"
12
+ ],
11
13
  // Only used for typings (ex: ServerResponse)
12
14
  // Removed before webpack compilation
13
- "@server/*": ["../node_modules/5-htp/src/server/*"],
14
-
15
- "@validator": ["../node_modules/5-htp/src/client/data/input"],
16
- "@router": ["../node_modules/5-htp/src/client/router"],
17
- "@errors": ["../node_modules/5-htp/src/common/errors"],
18
-
19
- "@models": ["../.cache/client/models"],
20
-
21
- "@/*": ["./*"],
22
-
15
+ "@server/*": [
16
+ "../node_modules/5htp-core/src/server/*"
17
+ ],
18
+ "@validator": [
19
+ "../node_modules/5htp-core/src/client/data/input"
20
+ ],
21
+ "@router": [
22
+ "../node_modules/5htp-core/src/client/router"
23
+ ],
24
+ "@errors": [
25
+ "../node_modules/5htp-core/src/common/errors"
26
+ ],
27
+ "@models": [
28
+ "../.cache/client/models"
29
+ ],
30
+ "@/*": [
31
+ "./*"
32
+ ],
23
33
  // ATTENTION: Les références à preact doivent toujours pointer vers la même instance
24
- "react": ["../node_modules/5-htp/node_modules/preact/compat"],
25
- "react-dom/test-utils": ["../node_modules/5-htp/node_modules/preact/test-utils"],
26
- "react-dom": ["../node_modules/5-htp/node_modules/preact/compat"], // Must be below test-utils
27
- "react/jsx-runtime": ["../node_modules/5-htp/node_modules/preact/jsx-runtime"],
28
- "preact/jsx-runtime": ["../node_modules/5-htp/node_modules/preact/jsx-runtime"]
34
+ "react": [
35
+ "../node_modules/5htp-core/node_modules/preact/compat"
36
+ ],
37
+ "react-dom/test-utils": [
38
+ "../node_modules/5htp-core/node_modules/preact/test-utils"
39
+ ],
40
+ "react-dom": [
41
+ "../node_modules/5htp-core/node_modules/preact/compat"
42
+ ], // Must be below test-utils
43
+ "react/jsx-runtime": [
44
+ "../node_modules/5htp-core/node_modules/preact/jsx-runtime"
45
+ ],
46
+ "preact/jsx-runtime": [
47
+ "../node_modules/5htp-core/node_modules/preact/jsx-runtime"
48
+ ]
29
49
  }
30
50
  },
31
51
  "include": [
32
52
  ".",
33
- "../../node_modules/framework/src/types/global"
53
+ "../../node_modules/5htp-core/src/types/global"
34
54
  ]
35
55
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../node_modules/5-htp/tsconfig.common.json",
2
+ "extends": "../../node_modules/5htp-core/tsconfig.common.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": "..",
5
5
  "baseUrl": "..",
@@ -7,28 +7,28 @@
7
7
 
8
8
  // RAPPEL: Mettre à jour webpack externals
9
9
 
10
- "@client/*": ["../node_modules/5-htp/src/client/*"],
11
- "@common/*": ["../node_modules/5-htp/src/common/*"],
12
- "@server/*": ["../node_modules/5-htp/src/server/*"],
10
+ "@client/*": ["../node_modules/5htp-core/src/client/*"],
11
+ "@common/*": ["../node_modules/5htp-core/src/common/*"],
12
+ "@server/*": ["../node_modules/5htp-core/src/server/*"],
13
13
 
14
- "@validator": ["../node_modules/5-htp/src/server/data/input"],
15
- "@router": ["../node_modules/5-htp/src/server/services/router"],
16
- "@errors": ["../node_modules/5-htp/src/common/errors"],
14
+ "@validator": ["../node_modules/5htp-core/src/server/data/input"],
15
+ "@router": ["../node_modules/5htp-core/src/server/services/router"],
16
+ "@errors": ["../node_modules/5htp-core/src/common/errors"],
17
17
 
18
18
  "@models": ["../server/models"],
19
19
 
20
20
  "@/*": ["./*"],
21
21
 
22
22
  // ATTENTION: Les références à preact doivent toujours pointer vers la même instance
23
- "react": ["../node_modules/5-htp/node_modules/preact/compat"],
24
- "react-dom/test-utils": ["../node_modules/5-htp/node_modules/preact/test-utils"],
25
- "react-dom": ["../node_modules/5-htp/node_modules/preact/compat"], // Must be below test-utils
26
- "react/jsx-runtime": ["../node_modules/5-htp/node_modules/preact/jsx-runtime"]
23
+ "react": ["../node_modules/5htp-core/node_modules/preact/compat"],
24
+ "react-dom/test-utils": ["../node_modules/5htp-core/node_modules/preact/test-utils"],
25
+ "react-dom": ["../node_modules/5htp-core/node_modules/preact/compat"], // Must be below test-utils
26
+ "react/jsx-runtime": ["../node_modules/5htp-core/node_modules/preact/jsx-runtime"]
27
27
  }
28
28
  },
29
29
 
30
30
  "include": [
31
31
  ".",
32
- "../../node_modules/5-htp/src/types/global"
32
+ "../../node_modules/5htp-core/src/types/global"
33
33
  ]
34
34
  }
@@ -157,7 +157,7 @@ export class Console {
157
157
  const appPrefix = '/webpack:/' + app.pkg.name + '/src/';
158
158
  const appPrefixIndex = miniLog.filePath.indexOf(appPrefix);
159
159
 
160
- const corePrefix = '/webpack:/' + app.pkg.name + '/node_modules/5-htp/src/';
160
+ const corePrefix = '/webpack:/' + app.pkg.name + '/node_modules/5htp-core/src/';
161
161
  const corePrefixIndex = miniLog.filePath.indexOf(corePrefix);
162
162
 
163
163
  if (appPrefixIndex !== -1)
File without changes
File without changes