@flowcore/cli 4.5.0 → 4.6.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/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.6.0](https://github.com/flowcore-io/flowcore-cli/compare/v4.5.0...v4.6.0) (2024-10-21)
14
+
15
+
16
+ ### Features
17
+
18
+ * **apply:** :sparkles: added apply order to apply resources ([0e0fb61](https://github.com/flowcore-io/flowcore-cli/commit/0e0fb610a5e944287fbe2e898a9120906010d84a))
19
+
13
20
  ## [4.5.0](https://github.com/flowcore-io/flowcore-cli/compare/v4.4.0...v4.5.0) (2024-10-21)
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.5.0 linux-x64 node-v20.18.0
21
+ @flowcore/cli/4.6.0 linux-x64 node-v20.18.0
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -97,7 +97,7 @@ EXAMPLES
97
97
  $ flowcore apply -f ./path/to/manifest.yml
98
98
  ```
99
99
 
100
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.5.0/src/commands/apply.ts)_
100
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.6.0/src/commands/apply.ts)_
101
101
 
102
102
  ## `flowcore auth delete key API_KEY_NAME`
103
103
 
@@ -479,7 +479,7 @@ EXAMPLES
479
479
  $ flowcore delete -f ./path/to/manifest.yml
480
480
  ```
481
481
 
482
- _See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.5.0/src/commands/delete.ts)_
482
+ _See code: [src/commands/delete.ts](https://github.com/flowcore-io/flowcore-cli/blob/v4.6.0/src/commands/delete.ts)_
483
483
 
484
484
  ## `flowcore generate nextjs-entity NAME`
485
485
 
@@ -1277,7 +1277,7 @@ EXAMPLES
1277
1277
  $ flowcore stream "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m
1278
1278
  ```
1279
1279
 
1280
- _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v4.5.0/src/commands/stream.ts)_
1280
+ _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v4.6.0/src/commands/stream.ts)_
1281
1281
 
1282
1282
  ## `flowcore stream http STREAM`
1283
1283
 
@@ -1319,7 +1319,7 @@ EXAMPLES
1319
1319
  $ flowcore stream http "https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream" -s 3m -d http://localhost:3000/transform
1320
1320
  ```
1321
1321
 
1322
- _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v4.5.0/src/commands/stream/http.ts)_
1322
+ _See code: [@flowcore/cli-plugin-core](https://github.com/flowcore/flowcore-cli-plugin-core/blob/v4.6.0/src/commands/stream/http.ts)_
1323
1323
 
1324
1324
  ## `flowcore version`
1325
1325
 
@@ -50,7 +50,8 @@ export default class Apply extends BaseCommand {
50
50
  });
51
51
  }
52
52
  documents.map((doc) => baseResourceDto.parse(doc));
53
- await apiRegistry.apply(documents, flags.yes);
53
+ const orderedDocuments = await apiRegistry.applyOrder(documents);
54
+ await apiRegistry.apply(orderedDocuments, flags.yes);
54
55
  }
55
56
  catch (error) {
56
57
  this.logger.fatal(`Failed to apply documents with error: ${error}`);
@@ -101,5 +101,5 @@
101
101
  ]
102
102
  }
103
103
  },
104
- "version": "4.5.0"
104
+ "version": "4.6.0"
105
105
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "@flowcore/cli-plugin-ai": "^1.1.2",
9
9
  "@flowcore/cli-plugin-auth-management": "^1.2.2",
10
10
  "@flowcore/cli-plugin-config": "^2.4.1",
11
- "@flowcore/cli-plugin-core": "^4.5.0",
11
+ "@flowcore/cli-plugin-core": "^4.6.0",
12
12
  "@flowcore/cli-plugin-data-core": "^3.1.1",
13
13
  "@flowcore/cli-plugin-generator": "^1.6.0",
14
14
  "@flowcore/cli-plugin-scenario": "^4.1.2",
@@ -108,7 +108,7 @@
108
108
  "prestart": "npm run build",
109
109
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
110
110
  },
111
- "version": "4.5.0",
111
+ "version": "4.6.0",
112
112
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
113
113
  "keywords": [
114
114
  "flowcore",