@chidchanun/bcp 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,13 +2,38 @@
2
2
 
3
3
  All notable framework changes are tracked here before release.
4
4
 
5
+ ## 0.1.4 - Tailwind runtime fix
6
+
7
+ ### create-bcp-app
8
+
9
+ - Tailwind projects now install the official `@tailwindcss/cli` package and compile CSS before starting BCP.
10
+ - Development runs Tailwind in watch mode alongside `bcp dev` using `concurrently`.
11
+ - Production builds minify Tailwind CSS before `bcp build`.
12
+ - Generated Tailwind CSS is served through a framework API stylesheet endpoint with cache disabled during development.
13
+ - Root layout automatically links the generated stylesheet.
14
+ - Tailwind source detection is explicitly rooted at the generated project so utility classes in `app/` and other project files are discovered.
15
+ - Tailwind projects include starter utility classes so a fresh app visibly confirms that Tailwind is active.
16
+ - Fixed source generator metadata so local generator runs target `@chidchanun/bcp` instead of the unrelated unscoped `bcp` package.
17
+
18
+ ## 0.1.3 - Interactive project setup
19
+
20
+ ### create-bcp-app
21
+
22
+ - Added interactive project setup for Tailwind CSS and database selection.
23
+ - Database choices: None, MySQL, PostgreSQL, SQLite and MongoDB.
24
+ - Selected databases receive a starter `lib/database.ts`, environment examples and the matching Node.js driver without forcing an ORM.
25
+ - Tailwind selection adds Tailwind CSS/PostCSS dependencies plus starter configuration and `app/globals.css`.
26
+ - Added non-interactive `--tailwind`, `--no-tailwind`, `--database` and `--yes` flags for automation and CI.
27
+ - Generated TypeScript projects now include `lib/**/*.ts` in type checking.
28
+ - Added TypeScript declarations for the generator API and regression tests for optional project scaffolding.
29
+
5
30
  ## 0.1.2 - SSR Link hotfix
6
31
 
7
32
  ### Client routing
8
33
 
9
34
  - Export `Link` through an SSR-safe implementation that uses `React.createElement` semantics without relying on a global `React` binding.
10
35
  - Avoid the `ReferenceError: React is not defined` failure when a published BCP package is executed through `tsx` from `node_modules` during server-side rendering.
11
- - Added an SSR regression test that renders the public `Link` component with `react-dom/server`.
36
+ - Added SSR regression coverage for the public `Link` component across the client entrypoints.
12
37
 
13
38
  ## 0.1.1 - Packaging hotfix
14
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chidchanun/bcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "BCP Framework - a React full-stack framework with file-based routing, SSR, APIs, middleware, islands, caching and standalone production builds.",
5
5
  "type": "module",
6
6
  "license": "MIT",