@webflow/webflow-cli 1.0.0 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @webflow/webflow-cli
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add README
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # Webflow CLI
2
+
3
+ ## Install
4
+
5
+ ```shell
6
+ npm i @webflow/webflow-cli
7
+ # or
8
+ yarn add @webflow/webflow-cli
9
+ ```
10
+
11
+ ## Usage
12
+
13
+
14
+ ### DevLink
15
+ ```shell
16
+ npx webflow devlink -h
17
+ # or
18
+ yarn run webflow devlink -h
19
+ ```
20
+
21
+ In order to use the DevLink CLI first you'll need to create a `.webflowrc.json`
22
+ configuration file on your application's root directory. It should look something like this:
23
+
24
+ ```json
25
+ {
26
+ "host": "https://api.wfdev.io:8443",
27
+ "rootDir": "./devlink",
28
+ "siteId": "[YOUR SITE ID]",
29
+ "authToken": "[API TOKEN]"
30
+ }
31
+ ```
32
+
33
+ You'll have to generate an API token to your application. This can be done on your Webflow project
34
+ by going to Site Settings > Integrations.
35
+
36
+ #### Sync your design system
37
+
38
+ ```shell
39
+ npx webflow devlink sync
40
+ # or
41
+ yarn run webflow devlink sync
42
+ ```
43
+
44
+ # Terms of Service
45
+ By using Webflow DevLink you agree to the [Webflow Labs Terms of Service](https://webflow.com/legal/labs-terms).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webflow/webflow-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "bin": {
5
5
  "webflow": "./dist/index.js"
6
6
  },
@@ -1,13 +0,0 @@
1
- npm WARN ignoring workspace config at /Users/federico/source/webflow-cli/apps/webflow-cli/.npmrc
2
-
3
- > @webflow/webflow-cli@1.0.0 build
4
- > rm -fr ./dist; tsup; cp -R ../../packages/devlink/engine/dist ./dist/devlink-engine
5
-
6
- CLI Building entry: ./src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v6.7.0
9
- CLI Using tsup config: /Users/federico/source/webflow-cli/apps/webflow-cli/tsup.config.ts
10
- CLI Target: node14
11
- CJS Build start
12
- CJS dist/index.js 9.87 MB
13
- CJS ⚡️ Build success in 469ms
@@ -1,5 +0,0 @@
1
- npm WARN ignoring workspace config at /Users/federico/source/webflow-cli/apps/webflow-cli/.npmrc
2
-
3
- > @webflow/webflow-cli@1.0.0 lint
4
- > eslint .
5
-