5htp 0.0.4 → 0.0.6
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": "5-HTP, scientifically called 5-Hydroxytryptophan, is the precursor of happiness neurotransmitter.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
|
|
6
6
|
"repository": "git://github.com/gaetanlegac/5htp-cli.git",
|
|
7
7
|
"license": "MIT",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"react-dev-utils": "^11.0.4",
|
|
71
71
|
"speed-measure-webpack-plugin": "^1.5.0",
|
|
72
72
|
"terser-webpack-plugin": "^5.2.4",
|
|
73
|
-
"ts-alias": "^0.0.
|
|
73
|
+
"ts-alias": "^0.0.4",
|
|
74
74
|
"ts-node": "^10.9.1",
|
|
75
75
|
"tslog": "^3.3.4",
|
|
76
76
|
"webfont": "^11.2.26",
|
|
@@ -89,8 +89,5 @@
|
|
|
89
89
|
"@types/nodemailer": "^6.4.4",
|
|
90
90
|
"@types/prompts": "^2.0.14",
|
|
91
91
|
"@types/webpack-env": "^1.16.2"
|
|
92
|
-
}
|
|
93
|
-
"peerDependencies": {
|
|
94
|
-
"5htp-core": "^0.0.4"
|
|
95
|
-
}
|
|
92
|
+
}
|
|
96
93
|
}
|
|
@@ -82,7 +82,7 @@ export default function createCompiler( mode: TCompileMode ): webpack.Configurat
|
|
|
82
82
|
if (!shouldCompile) {
|
|
83
83
|
|
|
84
84
|
// Externalize to a commonjs module using the request path
|
|
85
|
-
return callback(
|
|
85
|
+
return callback(undefined, 'commonjs ' + request);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
// Continue without externalizing the import
|
package/src/utils/config.ts
CHANGED
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
----------------------------------*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
NOTE: This is a copy of core/sever/app/config
|
|
7
|
+
We can't import core deps here because it will cause the following error:
|
|
8
|
+
"Can't use import when not a module"
|
|
9
|
+
It will be possible to import core files when the CLI will be compiled as one output file with tsc
|
|
10
|
+
And for that, we need to fix the TS errors for the CLI
|
|
8
11
|
*/
|
|
9
12
|
|
|
10
13
|
// Npm
|