builder.io 1.3.9 → 1.4.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 +23 -0
- package/cli/index.cjs +352 -351
- package/cli/index.cjs.map +3 -3
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +3 -3
- package/server/index.mjs +3 -3
- package/types/cli/credentials.d.ts +12 -0
- package/types/cli/index.d.ts +5 -1
package/README.md
CHANGED
|
@@ -24,6 +24,29 @@ This command will update the config file (such as next.config.js, or vite.config
|
|
|
24
24
|
npm run dev
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
## Local Development
|
|
28
|
+
|
|
29
|
+
To develop and test Builder Devtools locally:
|
|
30
|
+
|
|
31
|
+
1. In the devtools directory, build and link the package:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
cd dist/dev-tools
|
|
35
|
+
npm link
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. In your application directory, link to the local devtools:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm link @builder.io/dev-tools
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
3. You can now run the Figma generate command:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npx builder.io figma generate
|
|
48
|
+
```
|
|
49
|
+
|
|
27
50
|
## Manual Installation
|
|
28
51
|
|
|
29
52
|
Alternatively, you can manually install Builder's Devtools, and update the config files following the steps below.
|