@formspec/cli 0.1.0-alpha.3 → 0.1.0-alpha.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/README.md +22 -0
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -10,6 +10,28 @@ npm install @formspec/cli
10
10
  pnpm add @formspec/cli
11
11
  ```
12
12
 
13
+ ## Requirements
14
+
15
+ **Package configuration** (package.json):
16
+
17
+ ```json
18
+ {
19
+ "type": "module"
20
+ }
21
+ ```
22
+
23
+ **TypeScript configuration** (tsconfig.json):
24
+
25
+ ```json
26
+ {
27
+ "compilerOptions": {
28
+ "experimentalDecorators": true,
29
+ "module": "NodeNext",
30
+ "moduleResolution": "NodeNext"
31
+ }
32
+ }
33
+ ```
34
+
13
35
  ## Quick Start
14
36
 
15
37
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formspec/cli",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "CLI tool for generating JSON Schema and FormSpec from TypeScript classes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,16 +15,17 @@
15
15
  }
16
16
  },
17
17
  "files": [
18
- "dist"
18
+ "dist",
19
+ "README.md"
19
20
  ],
20
21
  "dependencies": {
21
22
  "typescript": "^5.0.0",
22
- "@formspec/build": "0.1.0-alpha.2"
23
+ "@formspec/build": "0.1.0-alpha.4"
23
24
  },
24
25
  "devDependencies": {
25
26
  "vitest": "^3.0.0",
26
- "@formspec/core": "0.1.0-alpha.2",
27
- "@formspec/dsl": "0.1.0-alpha.2"
27
+ "@formspec/core": "0.1.0-alpha.4",
28
+ "@formspec/dsl": "0.1.0-alpha.4"
28
29
  },
29
30
  "publishConfig": {
30
31
  "access": "public"