@producteca/producteca-ui-kit 1.4.1 → 1.5.0-test.10
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 +14 -34
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
> 📚 Documentation: [apps.producteca.com/producteca-ui-kit](https://apps.producteca.com/producteca-ui-kit)
|
|
1
|
+
# ⚛️⚡ Node + Vite + React + Typescript
|
|
4
2
|
|
|
5
3
|
## Features
|
|
6
4
|
|
|
@@ -48,37 +46,19 @@ Follow these steps to integrate and configure the `@producteca/producteca-ui-kit
|
|
|
48
46
|
|
|
49
47
|
```
|
|
50
48
|
|
|
51
|
-
3. **Remove old
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
import { SelectField, CheckboxInput /* other components */ } from '@producteca/producteca-ui-kit'
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
4. **Node 12 Compatibility**
|
|
68
|
-
If you're using Node 12 in your project, you'll need to update your Babel configuration to ensure compatibility. Follow these steps:
|
|
69
|
-
|
|
70
|
-
- Update your Babel dependencies to the following versions:
|
|
71
|
-
```json
|
|
72
|
-
{
|
|
73
|
-
"devDependencies": {
|
|
74
|
-
"@babel/core": "^7.23.9",
|
|
75
|
-
"@babel/preset-env": "^7.23.9",
|
|
76
|
-
"@babel/preset-react": "^7.23.3",
|
|
77
|
-
"@babel/preset-typescript": "^7.23.3"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
```
|
|
81
|
-
- For a complete example of how to implement these changes, refer to this pull request: [Shopify Babel Update Example](https://github.com/Parsimotion/shopify/pull/279)
|
|
49
|
+
3. **Remove old SelectField instances**
|
|
50
|
+
|
|
51
|
+
- Check for any existing version of `selectField`. If found, delete the file:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
app/components/form/selectField
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- Update any old imports to:
|
|
59
|
+
```bash
|
|
60
|
+
import { SelectField } from "@producteca/producteca-ui-kit";
|
|
61
|
+
```
|
|
82
62
|
|
|
83
63
|
### Auto Publish
|
|
84
64
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@producteca/producteca-ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-test.10",
|
|
4
4
|
"main": "./dist/producteca-ui-kit.umd.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "storybook dev -p 6006",
|
|
21
21
|
"build": "rm -rf dist && tsc && vite build",
|
|
22
|
-
"build:storybook": "storybook build",
|
|
23
22
|
"deploy": "make deploy",
|
|
24
23
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx --fix",
|
|
25
24
|
"prettier": "prettier --write \"src/**/*.{ts,tsx,js,mdx}\"",
|
|
@@ -75,8 +74,8 @@
|
|
|
75
74
|
"vitest": "^1.6.0"
|
|
76
75
|
},
|
|
77
76
|
"devDependencies": {
|
|
78
|
-
"@commitlint/cli": "^19.8.
|
|
79
|
-
"@commitlint/config-conventional": "^19.8.
|
|
77
|
+
"@commitlint/cli": "^19.8.0",
|
|
78
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
80
79
|
"@semantic-release/changelog": "^6.0.3",
|
|
81
80
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
82
81
|
"@semantic-release/exec": "^7.0.3",
|