@pushwoosh/frontend-builder-engine 2.0.6 → 2.1.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/README.md CHANGED
@@ -1 +1,36 @@
1
- # Pushwoosh Frontend Engine
1
+ # @pushwoosh/frontend-builder-engine
2
+
3
+ CLI tool and shared build configuration for Pushwoosh single-spa micro-frontend applications and reusable component libraries. Provides standardized webpack, TypeScript, Babel, and ESLint configs so individual projects stay consistent without duplicating setup.
4
+
5
+ ## Usage
6
+
7
+ The CLI is invoked via `pushwoosh-engine` (installed as a dependency in consuming projects).
8
+
9
+ ### Application commands (single-spa micro-frontends)
10
+
11
+ ```bash
12
+ pushwoosh-engine app:command:dev # Start webpack dev server (HTTPS)
13
+ pushwoosh-engine app:command:build # Production build
14
+ pushwoosh-engine app:command:analyze # Bundle analysis
15
+ ```
16
+
17
+ ### Library commands (reusable packages)
18
+
19
+ ```bash
20
+ pushwoosh-engine lib:build # TypeScript + Babel compile, copy assets
21
+ pushwoosh-engine lib:check-types # Type-check only
22
+ pushwoosh-engine lib:command:playground # Dev server for playground
23
+ ```
24
+
25
+ ### Local development
26
+
27
+ ```bash
28
+ npm ci
29
+ # Test with bundled examples:
30
+ cd examples/application && npm install && npm start
31
+ cd examples/library && npm install && npm start
32
+ ```
33
+
34
+ ### Release
35
+
36
+ Releases are triggered by Git tags in CI. Tag with `v*` for stable, include `beta` for beta channel.
@@ -23,6 +23,7 @@ export default tseslint.config(
23
23
  arrowParens: 'always',
24
24
  }),
25
25
  reactPlugin.configs.flat.recommended,
26
+ reactPlugin.configs.flat['jsx-runtime'],
26
27
  {
27
28
  plugins: {
28
29
  '@stylistic': stylistic,
package/lib/tsconfig.json CHANGED
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "outDir": "./dist",
11
11
  "rootDir": "./src",
12
- "jsx": "react",
12
+ "jsx": "react-jsx",
13
13
  "importHelpers": true,
14
14
  "declaration": true,
15
15
  "sourceMap": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/frontend-builder-engine",
3
- "version": "2.0.6",
3
+ "version": "2.1.0",
4
4
  "description": "Pushwoosh frontend builder engine",
5
5
  "main": "./lib/pushwoosh-frontend-builder-engine.js",
6
6
  "scripts": {