@wix/vibe-forms-plugin-files 0.32.0 → 0.32.2
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 +13 -38
- package/dist/statics/forms-plugin-files-files.zip +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,47 +1,22 @@
|
|
|
1
|
-
## Implement components
|
|
2
1
|
|
|
3
|
-
|
|
4
|
-
2. implement your componeents / ui components / pages, add them under `src/componenets/forms` and `src/componenets/ui/forms`. use your headless compoenents to implement your components
|
|
5
|
-
3. headless / ui (shadcn) guidelines: https://github.com/wix-incubator/headless-components/blob/main/docs/api/API.md
|
|
2
|
+
# Wix Vibe Forms Plugin Files
|
|
6
3
|
|
|
7
|
-
|
|
8
|
-
Make sure your headless sdk packages (i.e. @wix/stores) are part of picasso main template package.json here: https://github.com/wix-private/picasso/blob/master/packages/picasso-template-image/main/package.json, otherwise PR or ask the picasso team to add them. Make sure it is a version that includes your headless components.
|
|
4
|
+
Produces a `.zip` file with ready to use Forms components.
|
|
9
5
|
|
|
6
|
+
## Development
|
|
10
7
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- Verify that a zip file is created successfully in dist/statics/
|
|
15
|
-
- Verify that the zip is exported properly in index.js as `zipPath`
|
|
16
|
-
- Note that the files and plugin packages are published to the public npm registry so bump the files' package version manually as the bump strategy is manual.
|
|
17
|
-
- merge to master and make sure a new package is published (public npm registry)
|
|
18
|
-
- use this package in `forms-plugin` and use the zip file from there to be used during the "install" step and copy the files over to the picasso template in runtime
|
|
19
|
-
- In Falcon the dependency is resolved from the workspace but do this in order to verify it would work in Picasso too
|
|
8
|
+
```bash
|
|
9
|
+
# Install dependencies
|
|
10
|
+
yarn install
|
|
20
11
|
|
|
21
|
-
|
|
12
|
+
# Build the plugin
|
|
13
|
+
yarn build
|
|
22
14
|
|
|
23
|
-
|
|
15
|
+
# Fix linting issues
|
|
16
|
+
yarn lint:fix
|
|
17
|
+
```
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
## Publishing new version
|
|
26
20
|
|
|
27
|
-
|
|
21
|
+
Publish new version by bumping the package version in `package.json` manually. The version should be bumped for *all* forms plugins.
|
|
28
22
|
|
|
29
|
-
This will initialize your dev site for your module:
|
|
30
|
-
- Create a site
|
|
31
|
-
- Create a headless component
|
|
32
|
-
- Create a dev center component and install on the site
|
|
33
|
-
- Create a wix.config.json (which you can commit and push, preferably add other team member as collaboratoes so they can access it too)
|
|
34
|
-
- Create a .env.local file connected to your new site and app (this should not be pushed to Git)
|
|
35
|
-
- In CI CD flow use [fire console](https://wix-bo.com/fire-console?artifact=com.wixpress.devcenter.apikeys.api-keys&service=com.wixpress.devcenter.apikeys.ApiKeys&method=CreateApiKey&body=%7B%22scopes%22%3A%5B%22SCOPE.WIX_CLI.ALL%22%5D%2C%22type%22%3A%22API_KEY%22%2C%22name%22%3A%22VerticalTestingApiKey%22%7D) in order to generate an API key you can use in order to perform login with `npx wix login --api-key <API KEY YOU GOT>` command
|
|
36
|
-
- The site will serve as the site you use in order to view the business information you see when running locally
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
1. `npm run template-dev`
|
|
40
|
-
|
|
41
|
-
Start the dev server allowing you to start coding, the repo is equipped with a set of cursor rules allowing you to develop the headless component easier, you can adjust them to your liking
|
|
42
|
-
|
|
43
|
-
1. `npm run template-check && npm run template-build` - to make sure there all your components play nicely over the Wix Vibe template
|
|
44
|
-
|
|
45
|
-
# Testing your instructions with LLM (WIP):
|
|
46
|
-
1. open as an individual cursor project
|
|
47
|
-
1. ask agent: integrate all page components in src/components/forms to the main router. implement homepage.
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/vibe-forms-plugin-files",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"unpkg": true,
|
|
6
6
|
"files": [
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"vite-tsconfig-paths": "^5.1.4",
|
|
177
177
|
"vitest": "3.1.4"
|
|
178
178
|
},
|
|
179
|
-
"falconPackageHash": "
|
|
179
|
+
"falconPackageHash": "9a19a973ef4bf39ad4c9276941ebadb11e90763bc916e8ed1ccb81bd"
|
|
180
180
|
}
|