@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 +36 -1
- package/lib/eslint.config.mjs +1 -0
- package/lib/tsconfig.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1,36 @@
|
|
|
1
|
-
#
|
|
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.
|
package/lib/eslint.config.mjs
CHANGED
package/lib/tsconfig.json
CHANGED