@betterstore/sdk 0.3.107 → 0.5.3
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/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +368 -437
- package/dist/index.mjs +368 -438
- package/package.json +14 -22
- package/.prettierignore +0 -3
- package/.prettierrc +0 -8
- package/.vscode/settings.json +0 -33
- package/CHANGELOG.md +0 -753
- package/CONTRIBUTING.md +0 -52
- package/LICENSE +0 -21
- package/README.md +0 -34
package/package.json
CHANGED
|
@@ -1,41 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betterstore/sdk",
|
|
3
|
-
"version": "0.3
|
|
4
|
-
"description": "E-commerce for Developers",
|
|
3
|
+
"version": "0.5.3",
|
|
5
4
|
"private": false,
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
5
|
"main": "dist/index.js",
|
|
10
6
|
"module": "dist/index.mjs",
|
|
11
7
|
"types": "dist/index.d.ts",
|
|
12
|
-
"keywords": [
|
|
13
|
-
"betterstore",
|
|
14
|
-
"ecommerce",
|
|
15
|
-
"storefront",
|
|
16
|
-
"storefronts"
|
|
17
|
-
],
|
|
18
|
-
"author": "Better Store",
|
|
19
8
|
"license": "MIT",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/**"
|
|
11
|
+
],
|
|
20
12
|
"devDependencies": {
|
|
21
|
-
"@changesets/cli": "^2.28.1",
|
|
22
13
|
"@types/axios": "^0.14.4",
|
|
23
|
-
"next": "^15.2.1",
|
|
24
|
-
"prettier": "^3.5.3",
|
|
25
14
|
"tsup": "^8.4.0",
|
|
26
|
-
"
|
|
15
|
+
"eslint": "^9.29.0",
|
|
16
|
+
"typescript": "5.8.2",
|
|
17
|
+
"@betterstore/eslint-config": "0.0.0",
|
|
18
|
+
"@betterstore/typescript-config": "0.0.0"
|
|
27
19
|
},
|
|
28
20
|
"dependencies": {
|
|
29
21
|
"axios": "^1.8.2",
|
|
30
22
|
"zod": "^3.24.2"
|
|
31
23
|
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
32
27
|
"scripts": {
|
|
33
|
-
"prep": "changeset && changeset version && git add .",
|
|
34
28
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"ci": "pnpm run lint && pnpm run format:check && pnpm run build",
|
|
39
|
-
"release": "pnpm run ci && pnpm publish -r --no-git-checks"
|
|
29
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
30
|
+
"lint": "eslint . --max-warnings 0",
|
|
31
|
+
"check-types": "tsc --noEmit"
|
|
40
32
|
}
|
|
41
33
|
}
|
package/.prettierignore
DELETED
package/.prettierrc
DELETED
package/.vscode/settings.json
DELETED
|
@@ -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
|
-
}
|