@baseplate-dev/react-generators 0.1.1 → 0.1.3

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/README.md +27 -0
  2. package/package.json +13 -12
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @baseplate-dev/react-generators
2
+
3
+ This package provides React-specific code generators for Baseplate projects.
4
+
5
+ ## Purpose
6
+
7
+ The react-generators package provides:
8
+
9
+ - React component and page generation
10
+ - Admin interface scaffolding
11
+ - Error boundary and error handling components
12
+ - React Router integration and route generation
13
+ - Apollo GraphQL client setup
14
+ - React hooks and utility generation
15
+
16
+ ## Key Features
17
+
18
+ - Component structure generation with TypeScript
19
+ - Route configuration and navigation setup
20
+ - Admin CRUD interface generation
21
+ - Apollo Provider and GraphQL integration
22
+ - Error handling framework for React apps
23
+ - Tailwind CSS integration
24
+
25
+ ## Part of Baseplate Monorepo
26
+
27
+ This package is part of the Baseplate monorepo and generates the frontend React code for Baseplate projects.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@baseplate-dev/react-generators",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "React Generators for Baseplate",
5
- "homepage": "https://www.halfdomelabs.com/",
5
+ "homepage": "https://www.baseplate.dev",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/halfdomelabs/baseplate",
9
9
  "directory": "packages/react-generators"
10
10
  },
11
- "license": "SEE LICENSE IN LICENSE",
11
+ "license": "MPL-2.0",
12
12
  "author": "Half Dome Labs LLC",
13
13
  "sideEffects": false,
14
14
  "type": "module",
@@ -17,28 +17,30 @@
17
17
  },
18
18
  "main": "dist/index.js",
19
19
  "files": [
20
+ "README.md",
20
21
  "LICENSE",
22
+ "CHANGELOG",
21
23
  "dist/**/*",
22
24
  "!dist/**/*.d.ts.map",
23
- "CHANGELOG"
25
+ "!dist/**/*.tsbuildinfo"
24
26
  ],
25
27
  "dependencies": {
26
28
  "es-toolkit": "1.31.0",
27
29
  "inflection": "3.0.0",
28
30
  "prettier-plugin-tailwindcss": "0.6.11",
29
31
  "zod": "3.24.1",
30
- "@baseplate-dev/core-generators": "0.1.1",
31
- "@baseplate-dev/sync": "0.1.1",
32
- "@baseplate-dev/utils": "0.1.1"
32
+ "@baseplate-dev/core-generators": "0.1.3",
33
+ "@baseplate-dev/sync": "0.1.3",
34
+ "@baseplate-dev/utils": "0.1.3"
33
35
  },
34
36
  "devDependencies": {
35
37
  "@types/node": "^22.0.0",
36
38
  "concurrently": "9.0.1",
37
- "cpx2": "7.0.1",
39
+ "cpx2": "8.0.0",
38
40
  "eslint": "9.26.0",
39
41
  "prettier": "3.5.3",
40
42
  "typescript": "5.7.3",
41
- "@baseplate-dev/tools": "0.1.1"
43
+ "@baseplate-dev/tools": "0.1.3"
42
44
  },
43
45
  "engines": {
44
46
  "node": "^22.0.0"
@@ -58,9 +60,8 @@
58
60
  "lint": "eslint .",
59
61
  "prettier:check": "prettier --check .",
60
62
  "prettier:write": "prettier -w .",
63
+ "tsc:watch": "tsc -p tsconfig.build.json --preserveWatchOutput -w",
61
64
  "typecheck": "tsc --noEmit",
62
- "watch": "concurrently pnpm:watch:*",
63
- "watch:templates": "pnpm build:templates --watch",
64
- "watch:tsc": "tsc -p tsconfig.build.json --preserveWatchOutput -w"
65
+ "watch": "pnpm build:templates --watch"
65
66
  }
66
67
  }