@nascencestudio/ipguard 0.0.0-stage → 0.1.0

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 (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +79 -2
  3. package/dist/abuseipdb.d.ts +42 -0
  4. package/dist/abuseipdb.d.ts.map +1 -0
  5. package/dist/abuseipdb.js +84 -0
  6. package/dist/abuseipdb.js.map +1 -0
  7. package/dist/admin.d.ts +41 -0
  8. package/dist/admin.d.ts.map +1 -0
  9. package/dist/admin.js +87 -0
  10. package/dist/admin.js.map +1 -0
  11. package/dist/index.d.ts +33 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +102 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/ip.d.ts +54 -0
  16. package/dist/ip.d.ts.map +1 -0
  17. package/dist/ip.js +218 -0
  18. package/dist/ip.js.map +1 -0
  19. package/dist/model.d.ts +94 -0
  20. package/dist/model.d.ts.map +1 -0
  21. package/dist/model.js +148 -0
  22. package/dist/model.js.map +1 -0
  23. package/dist/runtime/IpGuardNav.astro +63 -0
  24. package/dist/runtime/IpGuardPage.astro +408 -0
  25. package/dist/runtime/admin-endpoint.d.ts +10 -0
  26. package/dist/runtime/admin-endpoint.d.ts.map +1 -0
  27. package/dist/runtime/admin-endpoint.js +168 -0
  28. package/dist/runtime/admin-endpoint.js.map +1 -0
  29. package/dist/runtime/guard.d.ts +44 -0
  30. package/dist/runtime/guard.d.ts.map +1 -0
  31. package/dist/runtime/guard.js +136 -0
  32. package/dist/runtime/guard.js.map +1 -0
  33. package/dist/runtime/middleware.d.ts +8 -0
  34. package/dist/runtime/middleware.d.ts.map +1 -0
  35. package/dist/runtime/middleware.js +27 -0
  36. package/dist/runtime/middleware.js.map +1 -0
  37. package/dist/runtime/store.d.ts +22 -0
  38. package/dist/runtime/store.d.ts.map +1 -0
  39. package/dist/runtime/store.js +194 -0
  40. package/dist/runtime/store.js.map +1 -0
  41. package/dist/runtime/viewer.d.ts +9 -0
  42. package/dist/runtime/viewer.d.ts.map +1 -0
  43. package/dist/runtime/viewer.js +29 -0
  44. package/dist/runtime/viewer.js.map +1 -0
  45. package/dist/virtual.d.ts +12 -0
  46. package/package.json +65 -3
package/package.json CHANGED
@@ -1,6 +1,68 @@
1
1
  {
2
2
  "name": "@nascencestudio/ipguard",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "IP protection for StudioCMS sites: review lists (whitelist, flagged, blacklist, banned), rate limiting, AbuseIPDB reputation checks and site-wide bans",
5
+ "license": "MIT",
6
+ "author": "Nascence Studio",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/nascencestudio/ipguard.git"
10
+ },
11
+ "homepage": "https://github.com/nascencestudio/ipguard#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/nascencestudio/ipguard/issues"
14
+ },
15
+ "type": "module",
16
+ "sideEffects": false,
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./guard": {
26
+ "types": "./dist/runtime/guard.d.ts",
27
+ "default": "./dist/runtime/guard.js"
28
+ },
29
+ "./package.json": "./package.json"
30
+ },
31
+ "peerDependencies": {
32
+ "astro": "^7.0.0",
33
+ "studiocms": "^0.6.0 || ^0.7.0"
34
+ },
35
+ "devDependencies": {
36
+ "@biomejs/biome": "2.5.15",
37
+ "@types/node": "22.20.4",
38
+ "astro": "7.4.1",
39
+ "studiocms": "0.7.0",
40
+ "typescript": "6.0.3",
41
+ "vitest": "5.0.5"
42
+ },
43
+ "engines": {
44
+ "node": ">=22.12.0"
45
+ },
46
+ "publishConfig": {
47
+ "access": "public",
48
+ "provenance": true
49
+ },
50
+ "keywords": [
51
+ "astro",
52
+ "studiocms",
53
+ "studiocms-plugin",
54
+ "security",
55
+ "spam",
56
+ "abuseipdb",
57
+ "rate-limit",
58
+ "ip-blocking"
59
+ ],
60
+ "scripts": {
61
+ "build": "tsc -p tsconfig.build.json && node scripts/copy-assets.mjs",
62
+ "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
63
+ "test": "vitest run",
64
+ "typecheck": "tsc -p tsconfig.json --noEmit",
65
+ "lint": "biome check .",
66
+ "format": "biome format --write ."
67
+ }
6
68
  }