@mustafaaksoy41/sharepoint-kit 0.1.2

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 (42) hide show
  1. package/README.md +293 -0
  2. package/dist/bin/sp-generate-types.js +784 -0
  3. package/dist/bin/sp-generate-types.js.map +1 -0
  4. package/dist/chunk-2FU6XS6S.cjs +142 -0
  5. package/dist/chunk-2FU6XS6S.cjs.map +1 -0
  6. package/dist/chunk-MLY32NZB.js +131 -0
  7. package/dist/chunk-MLY32NZB.js.map +1 -0
  8. package/dist/chunk-V6K5IFVV.cjs +253 -0
  9. package/dist/chunk-V6K5IFVV.cjs.map +1 -0
  10. package/dist/chunk-VOGWZXJY.js +246 -0
  11. package/dist/chunk-VOGWZXJY.js.map +1 -0
  12. package/dist/cli/index.cjs +516 -0
  13. package/dist/cli/index.cjs.map +1 -0
  14. package/dist/cli/index.d.cts +117 -0
  15. package/dist/cli/index.d.ts +117 -0
  16. package/dist/cli/index.js +505 -0
  17. package/dist/cli/index.js.map +1 -0
  18. package/dist/components/index.cjs +509 -0
  19. package/dist/components/index.cjs.map +1 -0
  20. package/dist/components/index.d.cts +118 -0
  21. package/dist/components/index.d.ts +118 -0
  22. package/dist/components/index.js +494 -0
  23. package/dist/components/index.js.map +1 -0
  24. package/dist/config-loader-Nbidwviq.d.cts +33 -0
  25. package/dist/config-loader-Nbidwviq.d.ts +33 -0
  26. package/dist/hooks/index.cjs +45 -0
  27. package/dist/hooks/index.cjs.map +1 -0
  28. package/dist/hooks/index.d.cts +51 -0
  29. package/dist/hooks/index.d.ts +51 -0
  30. package/dist/hooks/index.js +24 -0
  31. package/dist/hooks/index.js.map +1 -0
  32. package/dist/index.cjs +32 -0
  33. package/dist/index.cjs.map +1 -0
  34. package/dist/index.d.cts +32 -0
  35. package/dist/index.d.ts +32 -0
  36. package/dist/index.js +3 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/sp-client-A9dM9oYp.d.ts +31 -0
  39. package/dist/sp-client-DTChApOB.d.cts +31 -0
  40. package/dist/types-Dk0jbejG.d.cts +108 -0
  41. package/dist/types-Dk0jbejG.d.ts +108 -0
  42. package/package.json +123 -0
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "@mustafaaksoy41/sharepoint-kit",
3
+ "version": "0.1.2",
4
+ "description": "Full-featured SharePoint Graph API client, React hooks, Radix UI components, and CLI type generator for TypeScript projects",
5
+ "author": "Mustafa Aksoy",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "bin": {
12
+ "sp-generate-types": "./dist/bin/sp-generate-types.js"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "require": {
21
+ "types": "./dist/index.d.cts",
22
+ "default": "./dist/index.cjs"
23
+ }
24
+ },
25
+ "./hooks": {
26
+ "import": {
27
+ "types": "./dist/hooks/index.d.ts",
28
+ "default": "./dist/hooks/index.js"
29
+ },
30
+ "require": {
31
+ "types": "./dist/hooks/index.d.cts",
32
+ "default": "./dist/hooks/index.cjs"
33
+ }
34
+ },
35
+ "./components": {
36
+ "import": {
37
+ "types": "./dist/components/index.d.ts",
38
+ "default": "./dist/components/index.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/components/index.d.cts",
42
+ "default": "./dist/components/index.cjs"
43
+ }
44
+ },
45
+ "./cli": {
46
+ "import": {
47
+ "types": "./dist/cli/index.d.ts",
48
+ "default": "./dist/cli/index.js"
49
+ },
50
+ "require": {
51
+ "types": "./dist/cli/index.d.cts",
52
+ "default": "./dist/cli/index.cjs"
53
+ }
54
+ }
55
+ },
56
+ "files": [
57
+ "dist",
58
+ "README.md"
59
+ ],
60
+ "scripts": {
61
+ "build": "tsup",
62
+ "dev": "tsup --watch",
63
+ "test": "vitest run",
64
+ "test:watch": "vitest",
65
+ "lint": "tsc --noEmit",
66
+ "prepublishOnly": "npm run build"
67
+ },
68
+ "dependencies": {
69
+ "@azure/msal-browser": "^3.28.0",
70
+ "@azure/msal-node": "^2.16.2",
71
+ "commander": "^12.1.0",
72
+ "prompts": "^2.4.2"
73
+ },
74
+ "devDependencies": {
75
+ "@radix-ui/react-icons": "^1.3.2",
76
+ "@radix-ui/themes": "^3.1.6",
77
+ "@testing-library/react": "^16.1.0",
78
+ "@types/prompts": "^2.4.9",
79
+ "@types/react": "^18.3.12",
80
+ "@types/react-dom": "^18.3.1",
81
+ "jsdom": "^25.0.1",
82
+ "msw": "^2.7.0",
83
+ "react": "^18.3.1",
84
+ "react-dom": "^18.3.1",
85
+ "swr": "^2.3.0",
86
+ "tsup": "^8.3.5",
87
+ "typescript": "^5.7.2",
88
+ "vitest": "^2.1.8"
89
+ },
90
+ "peerDependencies": {
91
+ "@radix-ui/react-icons": ">=1.3.0",
92
+ "@radix-ui/themes": ">=3.0.0",
93
+ "react": ">=18.0.0",
94
+ "react-dom": ">=18.0.0",
95
+ "swr": ">=2.0.0"
96
+ },
97
+ "peerDependenciesMeta": {
98
+ "@radix-ui/themes": {
99
+ "optional": true
100
+ },
101
+ "@radix-ui/react-icons": {
102
+ "optional": true
103
+ },
104
+ "swr": {
105
+ "optional": true
106
+ }
107
+ },
108
+ "keywords": [
109
+ "sharepoint",
110
+ "microsoft-graph",
111
+ "graph-api",
112
+ "react",
113
+ "hooks",
114
+ "radix-ui",
115
+ "typescript",
116
+ "cli",
117
+ "codegen"
118
+ ],
119
+ "repository": {
120
+ "type": "git",
121
+ "url": "https://github.com/mustafaaksoy/sharepoint-kit"
122
+ }
123
+ }