@monbolc/lowcode-ignitor 2.1.4 → 2.1.6

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 monbo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # `@monbolc/lowcode-ignitor` — **DEPRECATED**
2
+
3
+ > ⚠️ **This package is deprecated as of 2026-06-08 (v2.2.0-rc).** The `bootstrap()` function still works but prints a deprecation warning to the console. The package will be **removed in 2.3.0**.
4
+
5
+ ## Use `@monbolc/lowcode-engine` instead
6
+
7
+ ```ts
8
+ // ❌ Old way (still works, but warns)
9
+ import { bootstrap } from '@monbolc/lowcode-ignitor';
10
+ await bootstrap({ container: '#app', schema, components });
11
+
12
+ // ✅ New way
13
+ import { init } from '@monbolc/lowcode-engine';
14
+ const engine = await init('#app', { schema, components });
15
+ ```
16
+
17
+ `@monbolc/lowcode-engine` is the L7 composition root. It re-exports `SapuEngine` (L6), wires the default preset (L7.4), and provides a real `init(container, options)` that returns the live engine.
18
+
19
+ ## Why was this deprecated?
20
+
21
+ `lowcode-ignitor` was an L0 placeholder created in v2.0.x to fill the spot the L7 engine would eventually own. Once L7 ships, the placeholder becomes a maintenance burden (two packages doing the same job). The L7 `init()` is a strict superset of `ignitor.bootstrap()`, so the migration is a one-line import change.
22
+
23
+ ## When will it be removed?
24
+
25
+ 2.3.0 (target: end of June 2026). The package will be unpublished from npm and the directory deleted. If your project still imports from `@monbolc/lowcode-ignitor`, upgrade before then.
26
+
27
+ ## See also
28
+
29
+ - `@monbolc/lowcode-engine` — the replacement
30
+ - `docs/packages/ignitor.md` — full deprecation timeline
31
+ - `docs/ROADMAP.md` — L7.6 entry
package/lib/index.d.ts CHANGED
@@ -2,10 +2,18 @@
2
2
  * @monbolc/lowcode-ignitor
3
3
  *
4
4
  * Bootstrap entry for SapuLowcodeEngine development.
5
- * This package is the L0 "ignitor" — its only job is to start a dev server
6
- * and hand off to the engine proper (L7) once that is implemented.
7
5
  *
8
- * Currently a no-op placeholder. Subsequent layers will be wired in here.
6
+ * ⚠️ DEPRECATED since 2026-06-08 (v2.2.0-rc). The L7
7
+ * `@monbolc/lowcode-engine` package is the new home for the real
8
+ * `init()` composition root. `bootstrap()` is kept as a shim that
9
+ * prints a deprecation warning and falls through to a "SapuLowcodeEngine
10
+ * not implemented" banner — same behavior as before L7.
11
+ *
12
+ * Migration:
13
+ * import { bootstrap } from '@monbolc/lowcode-ignitor'; // ❌ deprecated
14
+ * import { init } from '@monbolc/lowcode-engine'; // ✅ new
15
+ *
16
+ * The `ignitor` package will be removed in 2.3.0.
9
17
  */
10
18
  import type { IPublicApiEngine, IPublicEngineOptions } from '@monbolc/lowcode-types';
11
19
  export type { IPublicApiEngine, IPublicEngineOptions };
@@ -23,6 +31,8 @@ export interface IIgnitorContext {
23
31
  /**
24
32
  * Bootstrap the engine.
25
33
  *
34
+ * ⚠️ DEPRECATED. See the file header for the migration path.
35
+ *
26
36
  * In the current L0 state, this just creates a placeholder div.
27
37
  * Once L7 (`engine`) ships, this will hand off to the real engine.
28
38
  */
package/lib/index.js CHANGED
@@ -3,20 +3,39 @@
3
3
  * @monbolc/lowcode-ignitor
4
4
  *
5
5
  * Bootstrap entry for SapuLowcodeEngine development.
6
- * This package is the L0 "ignitor" — its only job is to start a dev server
7
- * and hand off to the engine proper (L7) once that is implemented.
8
6
  *
9
- * Currently a no-op placeholder. Subsequent layers will be wired in here.
7
+ * ⚠️ DEPRECATED since 2026-06-08 (v2.2.0-rc). The L7
8
+ * `@monbolc/lowcode-engine` package is the new home for the real
9
+ * `init()` composition root. `bootstrap()` is kept as a shim that
10
+ * prints a deprecation warning and falls through to a "SapuLowcodeEngine
11
+ * not implemented" banner — same behavior as before L7.
12
+ *
13
+ * Migration:
14
+ * import { bootstrap } from '@monbolc/lowcode-ignitor'; // ❌ deprecated
15
+ * import { init } from '@monbolc/lowcode-engine'; // ✅ new
16
+ *
17
+ * The `ignitor` package will be removed in 2.3.0.
10
18
  */
11
19
  Object.defineProperty(exports, "__esModule", { value: true });
12
20
  exports.bootstrap = bootstrap;
21
+ let hasWarnedDeprecated = false;
22
+ function warnDeprecated() {
23
+ if (hasWarnedDeprecated)
24
+ return;
25
+ hasWarnedDeprecated = true;
26
+ // eslint-disable-next-line no-console
27
+ console.warn('[lowcode-ignitor] DEPRECATED in 2.2.0. Use `import { init } from "@monbolc/lowcode-engine"` instead. The ignitor package will be removed in 2.3.0.');
28
+ }
13
29
  /**
14
30
  * Bootstrap the engine.
15
31
  *
32
+ * ⚠️ DEPRECATED. See the file header for the migration path.
33
+ *
16
34
  * In the current L0 state, this just creates a placeholder div.
17
35
  * Once L7 (`engine`) ships, this will hand off to the real engine.
18
36
  */
19
37
  async function bootstrap(options) {
38
+ warnDeprecated();
20
39
  const container = typeof options.container === 'string'
21
40
  ? document.querySelector(options.container)
22
41
  : options.container;
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AA0BH,8BAoCC;AA1CD;;;;;GAKG;AACI,KAAK,UAAU,SAAS,CAAC,OAA6B;IAC3D,MAAM,SAAS,GACb,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ;QACnC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAc,OAAO,CAAC,SAAS,CAAC;QACxD,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAExB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CACb,kCACE,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,eAC9D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,2CAA2C;IAC3C,+DAA+D;IAC/D,SAAS,CAAC,SAAS,GAAG;;;;;;;;;;;;;yBAaC,OAAO,CAAC,KAAK,IAAI,OAAO;;;;GAI9C,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,kBAAe,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAuCH,8BAsCC;AAzED,IAAI,mBAAmB,GAAG,KAAK,CAAC;AAEhC,SAAS,cAAc;IACrB,IAAI,mBAAmB;QAAE,OAAO;IAChC,mBAAmB,GAAG,IAAI,CAAC;IAC3B,sCAAsC;IACtC,OAAO,CAAC,IAAI,CACV,oJAAoJ,CACrJ,CAAC;AACJ,CAAC;AAkBD;;;;;;;GAOG;AACI,KAAK,UAAU,SAAS,CAAC,OAA6B;IAC3D,cAAc,EAAE,CAAC;IAEjB,MAAM,SAAS,GACb,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ;QACnC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAc,OAAO,CAAC,SAAS,CAAC;QACxD,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAExB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CACb,kCACE,OAAO,OAAO,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,eAC9D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,2CAA2C;IAC3C,+DAA+D;IAC/D,SAAS,CAAC,SAAS,GAAG;;;;;;;;;;;;;yBAaC,OAAO,CAAC,KAAK,IAAI,OAAO;;;;GAI9C,CAAC;IAEF,OAAO,EAAE,SAAS,EAAE,CAAC;AACvB,CAAC;AAED;;GAEG;AACH,kBAAe,EAAE,SAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monbolc/lowcode-ignitor",
3
- "version": "2.1.4",
4
- "description": "SapuLowcodeEngine bootstrap dev entry (L0)",
3
+ "version": "2.1.6",
4
+ "description": "⚠️ DEPRECATED in 2.2.0 — Use @monbolc/lowcode-engine instead. Bootstrap dev entry (L0). Will be removed in 2.3.0.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
7
7
  "module": "lib/index.js",
@@ -14,7 +14,8 @@
14
14
  }
15
15
  },
16
16
  "files": [
17
- "lib"
17
+ "lib",
18
+ "LICENSE"
18
19
  ],
19
20
  "scripts": {
20
21
  "start": "node scripts/dev.js",
@@ -22,7 +23,7 @@
22
23
  "clean": "rimraf lib es"
23
24
  },
24
25
  "dependencies": {
25
- "@monbolc/lowcode-types": "^2.1.4"
26
+ "@monbolc/lowcode-types": "^2.1.5"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@types/node": "^20.11.0",
@@ -36,7 +37,7 @@
36
37
  },
37
38
  "repository": {
38
39
  "type": "git",
39
- "url": "git@github.com:monbolc/sapu-lowcode-engine.git",
40
+ "url": "git@github.com:lir-navcoo/lowcode-engine.git",
40
41
  "directory": "packages/ignitor"
41
42
  },
42
43
  "keywords": [
@@ -45,5 +46,5 @@
45
46
  "ignitor",
46
47
  "bootstrap"
47
48
  ],
48
- "gitHead": "41ab716475634a8fb73786822c45f702e970e168"
49
+ "gitHead": "11e98f766bf66eabdae929d0103f798654f13dfb"
49
50
  }