@neosianexus/super-tebex 2.0.2 → 3.0.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/package.json CHANGED
@@ -1,51 +1,60 @@
1
1
  {
2
2
  "name": "@neosianexus/super-tebex",
3
+ "version": "3.0.3",
4
+ "description": "Tebex Headless SDK optimized for Next.js App Router with TanStack Query",
3
5
  "type": "module",
4
- "version": "2.0.2",
5
6
  "main": "./dist/index.cjs",
6
7
  "module": "./dist/index.js",
7
8
  "types": "./dist/index.d.ts",
8
- "description": "SDK Tebex permettant une intégration facile dans un environnement",
9
- "publishConfig": {
10
- "access": "public"
11
- },
12
9
  "exports": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js",
15
- "require": "./dist/index.cjs"
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "sideEffects": false,
20
+ "publishConfig": {
21
+ "access": "public",
22
+ "provenance": true
16
23
  },
17
24
  "scripts": {
18
25
  "build": "bun run build.ts",
19
- "prepublishOnly": "bun run build",
26
+ "dev": "bun run build.ts --watch",
27
+ "typecheck": "tsc --noEmit",
20
28
  "lint": "eslint . --fix",
21
- "clean": "bun --bun run format && bun --bun run lint",
22
29
  "format": "prettier --write .",
23
- "prepare": "bun clean && bun run build",
24
- "test:ui": "bunx vitest --ui",
30
+ "clean": "bun run format && bun run lint",
31
+ "test": "vitest",
32
+ "test:ui": "vitest --ui",
25
33
  "coverage": "vitest run --coverage",
26
- "test": "vitest"
34
+ "prepublishOnly": "bun run build"
27
35
  },
28
- "files": [
29
- "dist"
30
- ],
31
- "keywords": [
32
- "bun"
33
- ],
34
- "license": "MIT",
35
- "homepage": "https://github.com/NeosiaNexus/super-tebex#readme",
36
- "repository": {
37
- "type": "git",
38
- "url": "git+https://github.com/NeosiaNexus/super-tebex.git"
36
+ "peerDependencies": {
37
+ "react": "^18.3.1 || ^19.0.0",
38
+ "react-dom": "^18.3.1 || ^19.0.0",
39
+ "next": "^14.0.0 || ^15.0.0",
40
+ "@tanstack/react-query": "^5.0.0",
41
+ "zustand": "^5.0.0",
42
+ "tebex_headless": "^1.15.0"
43
+ },
44
+ "peerDependenciesMeta": {
45
+ "next": {
46
+ "optional": true
47
+ }
39
48
  },
40
- "bugs": "https://github.com/NeosiaNexus/super-tebex/issues",
41
- "author": "NeosiaNexus <devneosianexus@gmail.com>",
42
49
  "devDependencies": {
43
50
  "@eslint/compat": "^1.3.1",
44
51
  "@eslint/eslintrc": "^3.3.1",
52
+ "@tanstack/react-query": "^5.62.0",
53
+ "@tanstack/react-query-devtools": "^5.62.0",
45
54
  "@testing-library/jest-dom": "^6.6.3",
46
55
  "@testing-library/react": "^16.3.0",
47
56
  "@types/bun": "^1.2.18",
48
- "@types/jest": "^30.0.0",
57
+ "@types/react": "^18.3.0",
49
58
  "@typescript-eslint/eslint-plugin": "^8.36.0",
50
59
  "@typescript-eslint/parser": "^8.36.0",
51
60
  "@vitejs/plugin-react": "^4.6.0",
@@ -61,21 +70,38 @@
61
70
  "eslint-plugin-react": "^7.37.5",
62
71
  "eslint-plugin-react-hooks": "^5.2.0",
63
72
  "eslint-plugin-unused-imports": "^4.1.4",
64
- "husky": "^9.1.7",
65
73
  "jsdom": "^26.1.0",
74
+ "msw": "^2.7.0",
75
+ "next": "^15.0.0",
66
76
  "prettier": "^3.6.2",
67
77
  "prettier-plugin-organize-imports": "^4.1.0",
68
- "prettier-plugin-tailwindcss": "^0.6.13",
69
- "vitest": "^3.2.4",
70
- "react": "^18.3.1",
71
- "react-dom": "^18.3.1"
72
- },
73
- "dependencies": {},
74
- "peerDependencies": {
75
78
  "react": "^18.3.1",
76
79
  "react-dom": "^18.3.1",
77
- "zustand": "^5.0.6",
78
- "sonner": "^2.0.6",
79
- "tebex_headless": "^1.15.1"
80
+ "tebex_headless": "^1.15.1",
81
+ "typescript": "^5.7.0",
82
+ "vitest": "^3.2.4",
83
+ "zustand": "^5.0.0"
84
+ },
85
+ "keywords": [
86
+ "tebex",
87
+ "nextjs",
88
+ "react",
89
+ "headless",
90
+ "ecommerce",
91
+ "minecraft",
92
+ "game-server",
93
+ "tanstack-query",
94
+ "react-query"
95
+ ],
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "git+https://github.com/NeosiaNexus/super-tebex.git"
99
+ },
100
+ "author": "NeosiaNexus <devneosianexus@gmail.com>",
101
+ "license": "MIT",
102
+ "homepage": "https://github.com/NeosiaNexus/super-tebex#readme",
103
+ "bugs": "https://github.com/NeosiaNexus/super-tebex/issues",
104
+ "engines": {
105
+ "node": ">=18"
80
106
  }
81
107
  }