@flowcore/cli 4.9.0 → 4.9.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/CHANGELOG.md CHANGED
@@ -10,6 +10,13 @@
10
10
 
11
11
  * added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
12
12
 
13
+ ## [4.9.1](https://github.com/flowcore-io/flowcore-cli/compare/v4.9.0...v4.9.1) (2024-10-23)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **configuration:** :bug: create data dir if it does not exist ([fa62af6](https://github.com/flowcore-io/flowcore-cli/commit/fa62af6d8a38b54bdab71fd4aa24b8d2162589af))
19
+
13
20
  ## [4.9.0](https://github.com/flowcore-io/flowcore-cli/compare/v4.8.0...v4.9.0) (2024-10-23)
14
21
 
15
22
 
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
18
18
  $ flowcore COMMAND
19
19
  running command...
20
20
  $ flowcore (--version)
21
- @flowcore/cli/4.9.0 linux-x64 node-v20.18.0
21
+ @flowcore/cli/4.9.1 linux-x64 node-v20.18.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -98,7 +98,7 @@ EXAMPLES
98
98
  $ flowcore apply -f ./path/to/manifest.yml
99
99
  ```
100
100
 
101
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.0/src/commands/apply.ts)_
101
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.1/src/commands/apply.ts)_
102
102
 
103
103
  ## `flowcore auth delete key API_KEY_NAME`
104
104
 
@@ -482,7 +482,7 @@ EXAMPLES
482
482
  cat ./path/to/manifest.yml | flowcore delete -f -
483
483
  ```
484
484
 
485
- _See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.0/src/commands/delete.ts)_
485
+ _See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.1/src/commands/delete.ts)_
486
486
 
487
487
  ## `flowcore generate nextjs-entity NAME`
488
488
 
@@ -627,7 +627,7 @@ EXAMPLES
627
627
  $ flowcore info
628
628
  ```
629
629
 
630
- _See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.0/src/commands/info.ts)_
630
+ _See code: [src/commands/info.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.9.1/src/commands/info.ts)_
631
631
 
632
632
  ## `flowcore login`
633
633
 
@@ -9,6 +9,9 @@ const hook = async function (opts) {
9
9
  npmrcContent = fs.readFileSync(npmrcPath, "utf8");
10
10
  }
11
11
  catch {
12
+ if (!fs.existsSync(opts.config.dataDir)) {
13
+ fs.mkdirSync(opts.config.dataDir, { recursive: true });
14
+ }
12
15
  fs.writeFileSync(npmrcPath, "", { flag: "wx" });
13
16
  }
14
17
  if (!npmrcContent.includes(jsrRegistry)) {
@@ -133,5 +133,5 @@
133
133
  ]
134
134
  }
135
135
  },
136
- "version": "4.9.0"
136
+ "version": "4.9.1"
137
137
  }
package/package.json CHANGED
@@ -112,7 +112,7 @@
112
112
  "prestart": "npm run build",
113
113
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
114
114
  },
115
- "version": "4.9.0",
115
+ "version": "4.9.1",
116
116
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
117
117
  "keywords": [
118
118
  "flowcore",