authup 0.39.0 → 0.39.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAS/B,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,GAAG,QAmC1C"}
|
package/dist/commands/api.js
CHANGED
|
@@ -13,17 +13,23 @@ exports.buildServerCommand = void 0;
|
|
|
13
13
|
const consola_1 = __importDefault(require("consola"));
|
|
14
14
|
const chalk_1 = __importDefault(require("chalk"));
|
|
15
15
|
const node_process_1 = __importDefault(require("node:process"));
|
|
16
|
+
const config_1 = require("../config");
|
|
16
17
|
const packages_1 = require("../packages");
|
|
17
18
|
function buildServerCommand(cac) {
|
|
18
19
|
cac.command('api <cmd>', 'Run a specific command.')
|
|
19
20
|
.action(async (command) => {
|
|
20
21
|
const root = node_process_1.default.cwd();
|
|
22
|
+
const config = await (0, config_1.createConfig)();
|
|
21
23
|
switch (command) {
|
|
22
24
|
case packages_1.ServerCommand.START: {
|
|
23
25
|
await (0, packages_1.startServer)({
|
|
24
26
|
args: {
|
|
25
27
|
root,
|
|
26
28
|
},
|
|
29
|
+
env: {
|
|
30
|
+
PORT: config.api.get('port'),
|
|
31
|
+
WRITABLE_DIRECTORY_PATH: config.api.get('writableDirectoryPath'),
|
|
32
|
+
},
|
|
27
33
|
envFromProcess: true,
|
|
28
34
|
});
|
|
29
35
|
break;
|
package/dist/commands/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAGH,sDAA8B;AAC9B,kDAA0B;AAC1B,gEAAmC;AACnC,0CAEqB;AAErB,SAAgB,kBAAkB,CAAC,GAAQ;IACvC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,yBAAyB,CAAC;SAC9C,MAAM,CAAC,KAAK,EAAE,OAAe,EAAE,EAAE;QAC9B,MAAM,IAAI,GAAG,sBAAO,CAAC,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/commands/api.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;AAGH,sDAA8B;AAC9B,kDAA0B;AAC1B,gEAAmC;AACnC,sCAAyC;AACzC,0CAEqB;AAErB,SAAgB,kBAAkB,CAAC,GAAQ;IACvC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,yBAAyB,CAAC;SAC9C,MAAM,CAAC,KAAK,EAAE,OAAe,EAAE,EAAE;QAC9B,MAAM,IAAI,GAAG,sBAAO,CAAC,GAAG,EAAE,CAAC;QAC3B,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAY,GAAE,CAAC;QAEpC,QAAQ,OAAO,EAAE;YACb,KAAK,wBAAa,CAAC,KAAK,CAAC,CAAC;gBACtB,MAAM,IAAA,sBAAW,EAAC;oBACd,IAAI,EAAE;wBACF,IAAI;qBACP;oBACD,GAAG,EAAE;wBACD,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC;wBAC5B,uBAAuB,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,uBAAuB,CAAC;qBACnE;oBACD,cAAc,EAAE,IAAI;iBACvB,CAAC,CAAC;gBACH,MAAM;aACT;YACD,KAAK,wBAAa,CAAC,KAAK,CAAC,CAAC;gBACtB,MAAM,IAAA,sBAAW,EAAC;oBACd,IAAI,EAAE;wBACF,IAAI;qBACP;oBACD,cAAc,EAAE,IAAI;iBACvB,CAAC,CAAC;gBACH,MAAM;aACT;YACD,OAAO,CAAC,CAAC;gBACL,iBAAO,CAAC,IAAI,CAAC,eAAe,eAAK,CAAC,GAAG,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;gBACtE,MAAM;aACT;SACJ;IACL,CAAC,CAAC,CAAC;AACX,CAAC;AAnCD,gDAmCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "authup",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.1",
|
|
4
4
|
"description": "This is the CLI for the authup framework.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/authup/authup#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@authup/client-ui": "^0.39.
|
|
34
|
+
"@authup/client-ui": "^0.39.1",
|
|
35
35
|
"@authup/core": "^0.39.0",
|
|
36
|
-
"@authup/server-api": "^0.39.
|
|
37
|
-
"@authup/server-core": "^0.39.
|
|
36
|
+
"@authup/server-api": "^0.39.1",
|
|
37
|
+
"@authup/server-core": "^0.39.1",
|
|
38
38
|
"cac": "^6.7.14",
|
|
39
39
|
"chalk": "^4.1.2",
|
|
40
40
|
"consola": "^3.2.3",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "30449ece1f4965033202916da7afaea28a74b062"
|
|
50
50
|
}
|