windmill-cli 1.829.0 → 1.830.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.
Files changed (2) hide show
  1. package/esm/main.js +8 -12
  2. 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.829.0",
16769
+ VERSION: "1.830.0",
16770
16770
  WITH_CREDENTIALS: true,
16771
16771
  interceptors: {
16772
16772
  request: new Interceptors,
@@ -20051,7 +20051,7 @@ var init_auth = __esm(async () => {
20051
20051
  });
20052
20052
 
20053
20053
  // src/core/constants.ts
20054
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.829.0";
20054
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.830.0";
20055
20055
 
20056
20056
  // src/utils/resource_folders.ts
20057
20057
  import { existsSync } from "node:fs";
@@ -21122,9 +21122,6 @@ async function readConfigFile(opts) {
21122
21122
  delete conf?.gitBranches;
21123
21123
  delete conf?.environments;
21124
21124
  delete conf?.git_branches;
21125
- if (conf?.defaultTs == undefined) {
21126
- warn("No defaultTs defined in your wmill.yaml. Using 'bun' as default.");
21127
- }
21128
21125
  setNonDottedPaths(conf?.nonDottedPaths ?? false);
21129
21126
  const syncBehaviorVersion = parseSyncBehavior(conf?.syncBehavior);
21130
21127
  if (syncBehaviorVersion > SUPPORTED_SYNC_BEHAVIOR_VERSION) {
@@ -21391,7 +21388,6 @@ var init_conf = __esm(async () => {
21391
21388
  import_yaml3 = __toESM(require_dist(), 1);
21392
21389
  GLOBAL_CONFIG_OPT = { noCdToRoot: false };
21393
21390
  DEFAULT_SYNC_OPTIONS = {
21394
- defaultTs: "bun",
21395
21391
  includes: ["f/**"],
21396
21392
  excludes: [],
21397
21393
  codebases: [],
@@ -57061,7 +57057,7 @@ var init_openflow = __esm(() => {
57061
57057
  openflow_default = {
57062
57058
  openapi: "3.0.3",
57063
57059
  info: {
57064
- version: "1.829.0",
57060
+ version: "1.830.0",
57065
57061
  title: "OpenFlow Spec",
57066
57062
  contact: {
57067
57063
  name: "Ruben Fiszel",
@@ -61254,8 +61250,8 @@ async function buildPermissionedAsContext(workspace, syncBehavior) {
61254
61250
  return;
61255
61251
  }
61256
61252
  const user = await whoami({ workspace });
61257
- const userIsAdminOrDeployer = user.is_admin || (user.groups ?? []).includes("wm_deployers");
61258
- debug(`permissioned_as: user=${user.email}, is_admin=${user.is_admin}, groups=${JSON.stringify(user.groups)}, isAdminOrDeployer=${userIsAdminOrDeployer}`);
61253
+ const userIsAdminOrDeployer = user.is_admin || user.is_super_admin || (user.groups ?? []).includes("wm_deployers");
61254
+ debug(`permissioned_as: user=${user.email}, is_admin=${user.is_admin}, is_super_admin=${user.is_super_admin}, groups=${JSON.stringify(user.groups)}, isAdminOrDeployer=${userIsAdminOrDeployer}`);
61259
61255
  return {
61260
61256
  userCache: new Map,
61261
61257
  userIsAdminOrDeployer,
@@ -75531,7 +75527,7 @@ async function pushWorkspaceSettings(workspace, _path, settings, localSettings)
75531
75527
  const localOperatorSettings = localSettings.operator_settings && {
75532
75528
  ...localSettings.operator_settings
75533
75529
  };
75534
- for (const key of ["builder_flows", "manage_schedules", "manage_triggers"]) {
75530
+ for (const key of ["builder_flows", "builder_apps", "manage_schedules", "manage_triggers"]) {
75535
75531
  const remote = settings.operator_settings?.[key];
75536
75532
  if (localOperatorSettings && localOperatorSettings[key] === undefined && remote !== undefined) {
75537
75533
  localOperatorSettings[key] = remote;
@@ -93754,8 +93750,8 @@ var CONFIG_REFERENCE = [
93754
93750
  type: "string",
93755
93751
  enum: ["bun", "deno"],
93756
93752
  default: "bun",
93757
- description: "Default TypeScript runtime for new scripts",
93758
- inlineComment: "bun or deno"
93753
+ description: "TypeScript runtime of a plain .ts script (bun when absent)",
93754
+ skipInTemplate: true
93759
93755
  },
93760
93756
  {
93761
93757
  name: "includes",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.829.0",
3
+ "version": "1.830.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",