@foblex/flow 17.4.6 → 17.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/flow",
3
- "version": "17.4.6",
3
+ "version": "17.5.0",
4
4
  "description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -5,6 +5,11 @@
5
5
  "description": "Installs @foblex/flow and its dependencies",
6
6
  "factory": "./ng-add/index#ngAdd",
7
7
  "schema": "./ng-add/schema.json"
8
- }
8
+ },
9
+ "ng-update": {
10
+ "description": "Updates @foblex/flow to the latest version",
11
+ "factory": "./ng-update/index#ngUpdate",
12
+ "schema": "./ng-update/schema.json"
13
+ },
9
14
  }
10
15
  }
@@ -3,17 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = ngAdd;
4
4
  const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
6
- const dependencies = [
7
- { name: '@foblex/platform', version: '^1.0.4' },
8
- { name: '@foblex/mediator', version: '^1.1.2' },
9
- { name: '@foblex/2d', version: '^1.2.1' },
10
- { name: '@foblex/drag-toolkit', version: '^1.1.0' },
11
- { name: '@foblex/utils', version: '^1.1.1' }
12
- ];
6
+ const foblex_dependencies_1 = require("../shared/foblex-dependencies");
13
7
  function ngAdd() {
14
8
  return (tree, context) => {
15
9
  context.logger.info('⚡ Installing @foblex/flow dependencies...');
16
- dependencies.forEach(dependency => {
10
+ foblex_dependencies_1.FoblexDependencies.forEach(dependency => {
17
11
  (0, dependencies_1.addPackageJsonDependency)(tree, {
18
12
  type: dependencies_1.NodeDependencyType.Default,
19
13
  name: dependency.name,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/f-flow/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAeA,sBAkBC;AAhCD,4DAA0E;AAC1E,2EAGkD;AAElD,MAAM,YAAY,GAAG;IACnB,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC/C,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC/C,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE;IACzC,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,QAAQ,EAAE;IACnD,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE;CAC7C,CAAC;AAEF,SAAgB,KAAK;IACnB,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;QAEjE,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YAChC,IAAA,uCAAwB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,OAAO,EAAE,UAAU,CAAC,OAAO;aAC5B,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,UAAU,CAAC,IAAI,mBAAmB,CAAC,CAAC;QACtE,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAE9C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;QAClE,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/f-flow/schematics/ng-add/index.ts"],"names":[],"mappings":";;AAQA,sBAkBC;AAzBD,4DAA0E;AAC1E,2EAGkD;AAClD,uEAAmE;AAEnE,SAAgB,KAAK;IACnB,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC;QAEjE,wCAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YACtC,IAAA,uCAAwB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,OAAO,EAAE,UAAU,CAAC,OAAO;aAC5B,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,UAAU,CAAC,IAAI,mBAAmB,CAAC,CAAC;QACtE,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAE9C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;QAClE,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export declare function ngUpdate(): Rule;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ngUpdate = ngUpdate;
4
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
+ const dependencies_1 = require("@schematics/angular/utility/dependencies");
6
+ const foblex_dependencies_1 = require("../shared/foblex-dependencies");
7
+ function ngUpdate() {
8
+ return (tree, context) => {
9
+ context.logger.info('🔄 Updating Foblex Flow dependencies...');
10
+ foblex_dependencies_1.FoblexDependencies.forEach(dependency => {
11
+ (0, dependencies_1.addPackageJsonDependency)(tree, {
12
+ type: dependencies_1.NodeDependencyType.Default,
13
+ name: dependency.name,
14
+ version: dependency.version
15
+ });
16
+ context.logger.info(`✅ Updated "${dependency.name}" to version ${dependency.version}`);
17
+ });
18
+ context.addTask(new tasks_1.NodePackageInstallTask());
19
+ context.logger.info('✅ All dependencies updated and installed successfully.');
20
+ return tree;
21
+ };
22
+ }
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/f-flow/schematics/ng-update/index.ts"],"names":[],"mappings":";;AAQA,4BAiBC;AAxBD,4DAA0E;AAC1E,2EAGkD;AAClD,uEAAmE;AAEnE,SAAgB,QAAQ;IACtB,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,yCAAyC,CAAC,CAAC;QAE/D,wCAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YACtC,IAAA,uCAAwB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,IAAI,EAAE,UAAU,CAAC,IAAI;gBACrB,OAAO,EAAE,UAAU,CAAC,OAAO;aAC5B,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,UAAU,CAAC,IAAI,gBAAgB,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;QACzF,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,wDAAwD,CAAC,CAAC;QAC9E,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "NgUpdate",
4
+ "title": "Foblex Flow ng-update",
5
+ "type": "object",
6
+ "properties": {}
7
+ }
@@ -0,0 +1,4 @@
1
+ export declare const FoblexDependencies: {
2
+ name: string;
3
+ version: string;
4
+ }[];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FoblexDependencies = void 0;
4
+ exports.FoblexDependencies = [
5
+ { name: '@foblex/platform', version: '^1.0.4' },
6
+ { name: '@foblex/mediator', version: '^1.1.2' },
7
+ { name: '@foblex/2d', version: '^1.2.1' },
8
+ { name: '@foblex/drag-toolkit', version: '^1.1.0' },
9
+ { name: '@foblex/utils', version: '^1.1.1' }
10
+ ];
11
+ //# sourceMappingURL=foblex-dependencies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"foblex-dependencies.js","sourceRoot":"","sources":["../../../../projects/f-flow/schematics/shared/foblex-dependencies.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAChC,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC/C,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE;IAC/C,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE;IACzC,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,QAAQ,EAAE;IACnD,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE;CAC7C,CAAC"}