@supacloud/cli 0.115.3 → 0.115.4
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/dist/index.js +12 -14
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -22198,16 +22198,16 @@ var starter_metadata_default = {
|
|
|
22198
22198
|
generatedBy: "supacloud/starter-metadata-v1",
|
|
22199
22199
|
packages: {
|
|
22200
22200
|
compiler: {
|
|
22201
|
-
version: "0.55.
|
|
22201
|
+
version: "0.55.1"
|
|
22202
22202
|
},
|
|
22203
22203
|
app: {
|
|
22204
|
-
version: "0.36.
|
|
22204
|
+
version: "0.36.1",
|
|
22205
22205
|
dependencies: {
|
|
22206
22206
|
rxjs: "7.8.2"
|
|
22207
22207
|
}
|
|
22208
22208
|
},
|
|
22209
22209
|
elysia: {
|
|
22210
|
-
version: "0.38.
|
|
22210
|
+
version: "0.38.2"
|
|
22211
22211
|
},
|
|
22212
22212
|
commands: {
|
|
22213
22213
|
version: "0.11.2"
|
|
@@ -22515,7 +22515,8 @@ const server = Bun.serve({
|
|
|
22515
22515
|
});
|
|
22516
22516
|
console.log("Local demo: " + server.url);
|
|
22517
22517
|
`;
|
|
22518
|
-
var APPLICATION_SOURCE = (name) => `import { createApplication
|
|
22518
|
+
var APPLICATION_SOURCE = (name) => `import { createApplication } from "@supacloud/elysia";
|
|
22519
|
+
import { createSupAuthRequestContext, type SupAuthContextOptions, type ApplicationOptions, type CommandGovernance } from "@supacloud/elysia";
|
|
22519
22520
|
import { createCompiledModules } from "../generated/application";
|
|
22520
22521
|
|
|
22521
22522
|
export interface AppAdapters {
|
|
@@ -22527,10 +22528,8 @@ export interface AppAdapters {
|
|
|
22527
22528
|
|
|
22528
22529
|
// The host verifies external identity (SupAuth for unified login) before creating requestContext.
|
|
22529
22530
|
export function createApp(adapters: AppAdapters) {
|
|
22530
|
-
const { onExecution, ...rest } = adapters;
|
|
22531
22531
|
return createApplication({
|
|
22532
|
-
...
|
|
22533
|
-
...(onExecution === undefined ? {} : { onExecution }),
|
|
22532
|
+
...adapters,
|
|
22534
22533
|
name: ${JSON.stringify(name)},
|
|
22535
22534
|
modules: createCompiledModules(),
|
|
22536
22535
|
});
|
|
@@ -25658,7 +25657,8 @@ export function createDemo() {
|
|
|
25658
25657
|
return sandbox;
|
|
25659
25658
|
}
|
|
25660
25659
|
`,
|
|
25661
|
-
"src/application.ts": `import { createApplication
|
|
25660
|
+
"src/application.ts": `import { createApplication } from "@supacloud/elysia";
|
|
25661
|
+
import { createSupAuthRequestContext, type SupAuthContextOptions, type ApplicationOptions, type CommandGovernance } from "@supacloud/elysia";
|
|
25662
25662
|
import { createCompiledModules } from "../generated/application";
|
|
25663
25663
|
|
|
25664
25664
|
export interface AppAdapters {
|
|
@@ -25670,10 +25670,8 @@ export interface AppAdapters {
|
|
|
25670
25670
|
|
|
25671
25671
|
// The host verifies external identity (SupAuth for unified login) before creating requestContext.
|
|
25672
25672
|
export function createApp(adapters: AppAdapters) {
|
|
25673
|
-
const { onExecution, ...rest } = adapters;
|
|
25674
25673
|
return createApplication({
|
|
25675
|
-
...
|
|
25676
|
-
...(onExecution === undefined ? {} : { onExecution }),
|
|
25674
|
+
...adapters,
|
|
25677
25675
|
name: ${JSON.stringify(name)},
|
|
25678
25676
|
modules: createCompiledModules(),
|
|
25679
25677
|
});
|
|
@@ -33840,7 +33838,7 @@ async function runProjectDeployment(http, args) {
|
|
|
33840
33838
|
// package.json
|
|
33841
33839
|
var package_default = {
|
|
33842
33840
|
name: "@supacloud/cli",
|
|
33843
|
-
version: "0.115.
|
|
33841
|
+
version: "0.115.4",
|
|
33844
33842
|
description: "Project-scoped CLI for SupaCloud users",
|
|
33845
33843
|
type: "module",
|
|
33846
33844
|
main: "./dist/index.js",
|
|
@@ -33892,7 +33890,7 @@ var package_default = {
|
|
|
33892
33890
|
directory: "packages/cli"
|
|
33893
33891
|
},
|
|
33894
33892
|
dependencies: {
|
|
33895
|
-
"@supacloud/compiler": "^0.55.
|
|
33893
|
+
"@supacloud/compiler": "^0.55.1",
|
|
33896
33894
|
"@supacloud/delivery": "0.24.0",
|
|
33897
33895
|
"@supacloud/db": "0.20.5",
|
|
33898
33896
|
typebox: "1.4.3"
|
|
@@ -33904,7 +33902,7 @@ var package_default = {
|
|
|
33904
33902
|
},
|
|
33905
33903
|
devDependencies: {
|
|
33906
33904
|
"@supabase/supabase-js": "2.118.0",
|
|
33907
|
-
"@supacloud/elysia": "0.38.
|
|
33905
|
+
"@supacloud/elysia": "0.38.2",
|
|
33908
33906
|
"@types/bun": "^1.4.4",
|
|
33909
33907
|
effect: "4.0.5",
|
|
33910
33908
|
elysia: "2.0.0-rc.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/cli",
|
|
3
|
-
"version": "0.115.
|
|
3
|
+
"version": "0.115.4",
|
|
4
4
|
"description": "Project-scoped CLI for SupaCloud users",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"directory": "packages/cli"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@supacloud/compiler": "^0.55.
|
|
55
|
+
"@supacloud/compiler": "^0.55.1",
|
|
56
56
|
"@supacloud/delivery": "0.24.0",
|
|
57
57
|
"@supacloud/db": "0.20.5",
|
|
58
58
|
"typebox": "1.4.3"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@supabase/supabase-js": "2.118.0",
|
|
67
|
-
"@supacloud/elysia": "0.38.
|
|
67
|
+
"@supacloud/elysia": "0.38.2",
|
|
68
68
|
"@types/bun": "^1.4.4",
|
|
69
69
|
"effect": "4.0.5",
|
|
70
70
|
"elysia": "2.0.0-rc.1",
|