@betterstore/react 0.2.6 → 0.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/react",
3
- "version": "0.2.6",
3
+ "version": "0.2.10",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -19,23 +19,26 @@
19
19
  "author": "Better Store",
20
20
  "license": "MIT",
21
21
  "devDependencies": {
22
- "@betterstore/sdk": "^0.2.1",
22
+ "@betterstore/sdk": "^0.2.11",
23
23
  "@changesets/cli": "^2.28.1",
24
- "@rollup/plugin-commonjs": "^28.0.2",
24
+ "@rollup/plugin-commonjs": "^28.0.3",
25
25
  "@rollup/plugin-node-resolve": "^16.0.0",
26
26
  "@rollup/plugin-typescript": "^12.1.2",
27
27
  "@tailwindcss/postcss": "^4.0.12",
28
- "@types/react": "^18.0.0",
29
- "@types/react-dom": "^18.2.0",
28
+ "@types/node": "^22.13.10",
29
+ "@types/react": "^18.3.18",
30
+ "@types/react-dom": "^18.3.5",
31
+ "@vitejs/plugin-react": "^4.3.4",
30
32
  "autoprefixer": "^10.4.20",
31
33
  "next": "^15.2.1",
32
34
  "postcss": "^8.5.3",
33
35
  "prettier": "^3.5.3",
34
- "rollup": "^4.34.9",
36
+ "rollup": "^4.35.0",
35
37
  "tailwindcss": "^4.0.12",
36
38
  "tslib": "^2.8.1",
37
39
  "tsup": "^8.4.0",
38
- "typescript": "^5.8.2"
40
+ "typescript": "^5.8.2",
41
+ "vite": "^6.2.1"
39
42
  },
40
43
  "peerDependencies": {
41
44
  "react": "^18.0.0",
@@ -50,6 +53,7 @@
50
53
  "@radix-ui/react-slot": "^1.1.2",
51
54
  "@stripe/react-stripe-js": "^3.3.0",
52
55
  "@stripe/stripe-js": "^5.10.0",
56
+ "axios": "^1.8.2",
53
57
  "class-variance-authority": "^0.7.1",
54
58
  "clsx": "^2.1.1",
55
59
  "lucide-react": "^0.479.0",
@@ -62,11 +66,13 @@
62
66
  "zustand": "^5.0.3"
63
67
  },
64
68
  "scripts": {
69
+ "dev": "vite",
70
+ "prep": "changeset && changeset version && git add .",
65
71
  "build": "rollup -c",
66
72
  "lint": "tsc",
67
73
  "format:check": "prettier --check --ignore-path .prettierignore .",
68
74
  "format": "prettier --write --ignore-path .prettierignore .",
69
75
  "ci": "pnpm run lint && pnpm run format:check && pnpm run build",
70
- "release": "pnpm run ci && changeset publish"
76
+ "release": "pnpm run ci && pnpm publish -r --no-git-checks"
71
77
  }
72
78
  }
package/rollup.config.mjs CHANGED
@@ -25,7 +25,7 @@ export default {
25
25
  },
26
26
  extract: false,
27
27
  modules: false,
28
- minimize: true,
28
+ minimize: false,
29
29
  inject: true,
30
30
  }),
31
31
  ],
@@ -45,6 +45,7 @@ export default {
45
45
 
46
46
  "react",
47
47
  "react-dom",
48
+ "react/jsx-runtime",
48
49
  "@stripe/react-stripe-js",
49
50
  "@stripe/stripe-js",
50
51
  "zustand",
@@ -1,33 +0,0 @@
1
- {
2
- "editor.defaultFormatter": "esbenp.prettier-vscode",
3
- "editor.formatOnSave": true,
4
- "editor.codeActionsOnSave": {
5
- "source.fixAll": "explicit",
6
- "source.organizeImports": "explicit"
7
- },
8
- "editor.quickSuggestionsDelay": 0,
9
- "editor.acceptSuggestionOnEnter": "on",
10
- "files.associations": {
11
- ".html": "html",
12
- ".ts": "typescript",
13
- ".tsx": "typescriptreact",
14
- ".prisma": "prisma",
15
- ".json": "json",
16
- ".js": "javascript",
17
- "*.css": "tailwindcss",
18
- ".gitignore": "ignore"
19
- },
20
- "[prisma]": { "editor.defaultFormatter": "Prisma.prisma" },
21
- "turboConsoleLog.addSemicolonInTheEnd": true,
22
- "turboConsoleLog.delimiterInsideMessage": "-",
23
- "turboConsoleLog.includeFileNameAndLineNum": false,
24
- "turboConsoleLog.insertEmptyLineAfterLogMessage": false,
25
- "turboConsoleLog.insertEmptyLineBeforeLogMessage": false,
26
- "turboConsoleLog.logMessagePrefix": "",
27
- "turboConsoleLog.logMessageSuffix": ": ",
28
- "turboConsoleLog.wrapLogMessage": false,
29
- "workbench.sideBar.location": "right",
30
- "i18n-ally.localesPaths": ["messages"],
31
- "i18n-ally.keystyle": "nested",
32
- "i18n-ally.sourceLanguage": "en"
33
- }
@@ -1,15 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: [
4
- "./src/globals.css",
5
- "./src/**/*.{js,jsx,ts,tsx}",
6
- "./src/components/**/*.{js,jsx,ts,tsx}",
7
- ],
8
- theme: {
9
- extend: {},
10
- },
11
- plugins: [],
12
- corePlugins: {
13
- preflight: false,
14
- },
15
- };