@supacloud/cli 0.62.0 → 0.62.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.
- package/dist/index.js +18 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -230875,6 +230875,15 @@ export function parseGraphqlResult<Name extends keyof GraphqlQueryResults>(
|
|
|
230875
230875
|
`;
|
|
230876
230876
|
}
|
|
230877
230877
|
var init_graphql_runtime = () => {};
|
|
230878
|
+
function graphqlSchemaHashes(content) {
|
|
230879
|
+
const hash = (text) => createHash52("sha256").update(text).digest("hex");
|
|
230880
|
+
return {
|
|
230881
|
+
schemaHash: hash(content),
|
|
230882
|
+
schemaNormalizedHash: hash(content.replace(/\r\n?/g, `
|
|
230883
|
+
`))
|
|
230884
|
+
};
|
|
230885
|
+
}
|
|
230886
|
+
var init_graphql_schema_hashes = () => {};
|
|
230878
230887
|
var exports_graphql = {};
|
|
230879
230888
|
__export2(exports_graphql, {
|
|
230880
230889
|
renderGraphql: () => renderGraphql
|
|
@@ -230919,7 +230928,7 @@ async function renderGraphql(options) {
|
|
|
230919
230928
|
let schemaContent;
|
|
230920
230929
|
try {
|
|
230921
230930
|
schemaContent = await readFile2(schemaPath, "utf8");
|
|
230922
|
-
contract
|
|
230931
|
+
Object.assign(contract, graphqlSchemaHashes(schemaContent));
|
|
230923
230932
|
if (schemaPath.endsWith(".json")) {
|
|
230924
230933
|
const json = JSON.parse(schemaContent);
|
|
230925
230934
|
schema = import_graphql99.buildClientSchema(json.data ?? json);
|
|
@@ -231051,6 +231060,7 @@ var init_graphql = __esm2(() => {
|
|
|
231051
231060
|
init_graphql_inputs();
|
|
231052
231061
|
init_graphql_options();
|
|
231053
231062
|
init_graphql_runtime();
|
|
231063
|
+
init_graphql_schema_hashes();
|
|
231054
231064
|
});
|
|
231055
231065
|
var Metrics2;
|
|
231056
231066
|
var init_metrics = __esm2(() => {
|
|
@@ -241498,6 +241508,7 @@ var init_release_evidence = __esm2(() => {
|
|
|
241498
241508
|
var init_graphql_schema = __esm2(() => {
|
|
241499
241509
|
init_generate();
|
|
241500
241510
|
init_graphql_options();
|
|
241511
|
+
init_graphql_schema_hashes();
|
|
241501
241512
|
});
|
|
241502
241513
|
var init_database_contracts = __esm2(() => {
|
|
241503
241514
|
init_graphql();
|
|
@@ -246876,7 +246887,7 @@ test("partial and untagged inherited remote profiles cannot mix with selected fi
|
|
|
246876
246887
|
// ../compiler/package.json
|
|
246877
246888
|
var package_default = {
|
|
246878
246889
|
name: "@supacloud/compiler",
|
|
246879
|
-
version: "0.
|
|
246890
|
+
version: "0.31.0",
|
|
246880
246891
|
description: "Static compiler for @supacloud/app metadata: builds the application graph from AST, validates it, and generates reflection-free factory code",
|
|
246881
246892
|
type: "module",
|
|
246882
246893
|
main: "./dist/index.js",
|
|
@@ -246949,7 +246960,7 @@ var package_default = {
|
|
|
246949
246960
|
// ../app/package.json
|
|
246950
246961
|
var package_default2 = {
|
|
246951
246962
|
name: "@supacloud/app",
|
|
246952
|
-
version: "0.21.
|
|
246963
|
+
version: "0.21.1",
|
|
246953
246964
|
description: "Angular-style application metadata for SupaCloud: modules, DI tokens, providers, scopes, controllers and commands",
|
|
246954
246965
|
type: "module",
|
|
246955
246966
|
main: "./dist/index.js",
|
|
@@ -247051,7 +247062,7 @@ var package_default2 = {
|
|
|
247051
247062
|
// ../elysia/package.json
|
|
247052
247063
|
var package_default3 = {
|
|
247053
247064
|
name: "@supacloud/elysia",
|
|
247054
|
-
version: "0.23.
|
|
247065
|
+
version: "0.23.1",
|
|
247055
247066
|
description: "Elysia runtime adapter for SupaCloud compiled modules: application/request scopes, route registration and validation",
|
|
247056
247067
|
type: "module",
|
|
247057
247068
|
main: "./dist/index.js",
|
|
@@ -248815,7 +248826,7 @@ var package_default7 = {
|
|
|
248815
248826
|
"@supabase/supabase-js": "^2.115.0"
|
|
248816
248827
|
},
|
|
248817
248828
|
dependencies: {
|
|
248818
|
-
"@supacloud/contracts": "
|
|
248829
|
+
"@supacloud/contracts": "file:../contracts",
|
|
248819
248830
|
rxjs: "7.8.2"
|
|
248820
248831
|
},
|
|
248821
248832
|
devDependencies: {
|
|
@@ -254284,7 +254295,7 @@ function registerRemoteDevTools(server2, options = {}) {
|
|
|
254284
254295
|
// package.json
|
|
254285
254296
|
var package_default8 = {
|
|
254286
254297
|
name: "@supacloud/cli",
|
|
254287
|
-
version: "0.62.
|
|
254298
|
+
version: "0.62.1",
|
|
254288
254299
|
description: "Project-scoped CLI for SupaCloud users",
|
|
254289
254300
|
type: "module",
|
|
254290
254301
|
main: "./dist/index.js",
|
|
@@ -254319,7 +254330,7 @@ var package_default8 = {
|
|
|
254319
254330
|
},
|
|
254320
254331
|
dependencies: {
|
|
254321
254332
|
"@sinclair/typebox": "^0.34.52",
|
|
254322
|
-
"@supacloud/compiler": "^0.
|
|
254333
|
+
"@supacloud/compiler": "^0.31.0",
|
|
254323
254334
|
"@supacloud/delivery": "0.4.0",
|
|
254324
254335
|
"@supacloud/db": "^0.2.0",
|
|
254325
254336
|
fflate: "^0.8.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/cli",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.1",
|
|
4
4
|
"description": "Project-scoped CLI for SupaCloud users",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@sinclair/typebox": "^0.34.52",
|
|
38
|
-
"@supacloud/compiler": "^0.
|
|
38
|
+
"@supacloud/compiler": "^0.31.0",
|
|
39
39
|
"@supacloud/delivery": "0.4.0",
|
|
40
40
|
"@supacloud/db": "^0.2.0",
|
|
41
41
|
"fflate": "^0.8.3",
|