@producteca/producteca-ui-kit 1.4.1 → 1.5.0-test.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.
Files changed (2) hide show
  1. package/README.md +14 -34
  2. package/package.json +4 -5
package/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # Producteca UI Kit ⚛️⚡
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 component instances**
52
- For any component that has been moved to the UI kit (like SelectField, CheckboxInput, etc.), you need to:
53
-
54
- - Remove the old component files from your project. For example:
55
-
56
- ```bash
57
- app/components/form/selectField
58
- app/components/form/checkboxInput
59
- # or any other component that has been moved to the UI kit
60
- ```
61
-
62
- - Update your imports to use the components from the UI kit:
63
- ```typescript
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.4.1",
3
+ "version": "1.5.0-test.1",
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}\"",
@@ -61,13 +60,13 @@
61
60
  "@vitejs/plugin-react-refresh": "^1.3.6",
62
61
  "@vitejs/plugin-react-swc": "^3.5.0",
63
62
  "@vitest/coverage-v8": "^1.6.0",
64
- "bluebird": "^3.7.2",
65
63
  "jsdom": "^24.1.0",
66
64
  "json": "11.0.0",
67
65
  "react": "^18.2.0",
68
66
  "react-dom": "^18.2.0",
69
67
  "react-select": "^5.8.3",
70
68
  "sass": "^1.77.4",
69
+ "stream-buffers": "^3.0.3",
71
70
  "typescript": "^5.2.2",
72
71
  "vite": "^5.2.0",
73
72
  "vite-plugin-css-modules": "^0.0.1",
@@ -75,8 +74,8 @@
75
74
  "vitest": "^1.6.0"
76
75
  },
77
76
  "devDependencies": {
78
- "@commitlint/cli": "^19.8.1",
79
- "@commitlint/config-conventional": "^19.8.1",
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",