@genn-inc/cluebase-cli 0.0.1 → 0.0.2
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
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
SOURCE_EXTENSIONS,
|
|
17
17
|
sourceMatchesBackendInit,
|
|
18
18
|
} from "./setup-check-constants.mjs";
|
|
19
|
+
import { RECOMMENDED_BACKEND_SDK_VERSION } from "./generated-sdk-version-contract.mjs";
|
|
19
20
|
|
|
20
21
|
const HTTP_METHODS = new Set(CODE_EVIDENCE_ROUTE_METHODS);
|
|
21
22
|
const [DATA_READ, DATA_CREATE, DATA_UPDATE, DATA_DELETE, DATA_UNKNOWN] =
|
|
@@ -946,7 +947,7 @@ const packageRepairFile = ({
|
|
|
946
947
|
? { ...packageManifest[targetField] }
|
|
947
948
|
: {};
|
|
948
949
|
dependencies[sdkPackageName] = sdkPackageName.startsWith("@")
|
|
949
|
-
?
|
|
950
|
+
? RECOMMENDED_BACKEND_SDK_VERSION
|
|
950
951
|
: sdkPackageName;
|
|
951
952
|
return {
|
|
952
953
|
path: packageManifestPath,
|
package/src/path-policy.mjs
CHANGED
|
@@ -47,7 +47,7 @@ export const listAllowedSourceFiles = async ({
|
|
|
47
47
|
}
|
|
48
48
|
const currentStat = await lstat(absolutePath);
|
|
49
49
|
if (currentStat.isSymbolicLink()) {
|
|
50
|
-
|
|
50
|
+
return;
|
|
51
51
|
}
|
|
52
52
|
if (currentStat.isDirectory()) {
|
|
53
53
|
const entries = await readdir(absolutePath);
|