windmill-cli 1.816.0 → 1.817.0
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/esm/main.js +8 -8
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -16766,7 +16766,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
16766
16766
|
PASSWORD: undefined,
|
|
16767
16767
|
TOKEN: getEnv3("WM_TOKEN"),
|
|
16768
16768
|
USERNAME: undefined,
|
|
16769
|
-
VERSION: "1.
|
|
16769
|
+
VERSION: "1.817.0",
|
|
16770
16770
|
WITH_CREDENTIALS: true,
|
|
16771
16771
|
interceptors: {
|
|
16772
16772
|
request: new Interceptors,
|
|
@@ -20020,7 +20020,7 @@ var init_auth = __esm(async () => {
|
|
|
20020
20020
|
});
|
|
20021
20021
|
|
|
20022
20022
|
// src/core/constants.ts
|
|
20023
|
-
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.
|
|
20023
|
+
var WM_FORK_PREFIX = "wm-fork", VERSION = "1.817.0";
|
|
20024
20024
|
|
|
20025
20025
|
// src/utils/resource_folders.ts
|
|
20026
20026
|
import { existsSync } from "node:fs";
|
|
@@ -20389,7 +20389,7 @@ var init_resource_folders = __esm(async () => {
|
|
|
20389
20389
|
|
|
20390
20390
|
// src/utils/script_common.ts
|
|
20391
20391
|
function workspaceDependenciesPathToLanguageAndFilename(path) {
|
|
20392
|
-
const relativePath = path.replace("dependencies/", "");
|
|
20392
|
+
const relativePath = path.replaceAll("\\", "/").replace("dependencies/", "");
|
|
20393
20393
|
for (const { filename, language } of workspaceDependenciesLanguages) {
|
|
20394
20394
|
if (relativePath.endsWith(filename)) {
|
|
20395
20395
|
return {
|
|
@@ -24592,7 +24592,7 @@ function isRawAppFile(path) {
|
|
|
24592
24592
|
return isRawAppPath(path);
|
|
24593
24593
|
}
|
|
24594
24594
|
function isWorkspaceDependencies(path) {
|
|
24595
|
-
return path.startsWith("dependencies/");
|
|
24595
|
+
return path.startsWith("dependencies/") || path.startsWith("dependencies\\");
|
|
24596
24596
|
}
|
|
24597
24597
|
async function selectRepository(repositories, operation) {
|
|
24598
24598
|
if (repositories.length === 0) {
|
|
@@ -56943,7 +56943,7 @@ var init_openflow = __esm(() => {
|
|
|
56943
56943
|
openflow_default = {
|
|
56944
56944
|
openapi: "3.0.3",
|
|
56945
56945
|
info: {
|
|
56946
|
-
version: "1.
|
|
56946
|
+
version: "1.817.0",
|
|
56947
56947
|
title: "OpenFlow Spec",
|
|
56948
56948
|
contact: {
|
|
56949
56949
|
name: "Ruben Fiszel",
|
|
@@ -65981,7 +65981,7 @@ function ZipFSElement(zip, useYaml, defaultTs, resourceTypeToFormatExtension, re
|
|
|
65981
65981
|
return _moduleScriptPaths;
|
|
65982
65982
|
}
|
|
65983
65983
|
async function _internal_file(p, f) {
|
|
65984
|
-
const kind = isFlowMetadataFile(p) ? "flow" : isAppMetadataFile(p) ? "app" : isRawAppMetadataFile(p) ? "raw_app" : p.endsWith(".script.json") ? "script" : p.endsWith(".resource.json") ? "resource" : p
|
|
65984
|
+
const kind = isFlowMetadataFile(p) ? "flow" : isAppMetadataFile(p) ? "app" : isRawAppMetadataFile(p) ? "raw_app" : p.endsWith(".script.json") ? "script" : p.endsWith(".resource.json") ? "resource" : isWorkspaceDependencies(p) ? "dependencies" : "other";
|
|
65985
65985
|
const isJson = p.endsWith(".json");
|
|
65986
65986
|
function transformPath() {
|
|
65987
65987
|
if (kind == "flow") {
|
|
@@ -66972,7 +66972,7 @@ async function compareDynFSElement(els1, els2, ignore, json, skips, ignoreMetada
|
|
|
66972
66972
|
if (skipMetadata) {
|
|
66973
66973
|
continue;
|
|
66974
66974
|
}
|
|
66975
|
-
if (k
|
|
66975
|
+
if (isWorkspaceDependencies(k)) {
|
|
66976
66976
|
if (!workspaceDependenciesPathToLanguageAndFilename(k)) {
|
|
66977
66977
|
warn(`Skipping unrecognized workspace dependencies file: ${k}`);
|
|
66978
66978
|
continue;
|
|
@@ -77021,7 +77021,7 @@ function getTypeStrFromPath(p) {
|
|
|
77021
77021
|
if (isSharedLockPath(p)) {
|
|
77022
77022
|
return "shared_lock";
|
|
77023
77023
|
}
|
|
77024
|
-
if (p
|
|
77024
|
+
if (isWorkspaceDependencies(p)) {
|
|
77025
77025
|
return "workspace_dependencies";
|
|
77026
77026
|
}
|
|
77027
77027
|
if (isFileResource(p) || isFilesetResource(p)) {
|