grantcore 0.0.1

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/README.md ADDED
@@ -0,0 +1,19 @@
1
+ <div align="center">
2
+
3
+ # Grantcore
4
+
5
+ ### Small, framework-neutral primitives for representing authorization grants.
6
+
7
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178c6?logo=typescript&logoColor=white)](package.json) [![Module](https://img.shields.io/badge/module-ESM-f7df1e?logo=javascript&logoColor=111827)](package.json) [![Status](https://img.shields.io/badge/status-pre--alpha-f5a623)](https://signway.dev/)
8
+
9
+ [signway.dev](https://signway.dev/) · [mosa.sh](https://mosa.sh)
10
+
11
+ </div>
12
+
13
+ ```sh
14
+ npm i grantcore
15
+ ```
16
+
17
+ ```ts
18
+ import { grantcore } from "grantcore";
19
+ ```
@@ -0,0 +1,2 @@
1
+ /** The first stable surface of the package. */
2
+ export declare const grantcore = "0.0.1";
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ /** The first stable surface of the package. */
2
+ export const grantcore = "0.0.1";
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "grantcore",
3
+ "version": "0.0.1",
4
+ "description": "Small, framework-neutral primitives for representing authorization grants.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": ["dist", "README.md"],
16
+ "sideEffects": false,
17
+ "scripts": {
18
+ "build": "tsc --project tsconfig.json",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "keywords": ["auth", "authorization", "grants", "identity"],
22
+ "homepage": "https://signway.dev/",
23
+ "author": "Mosanic <dev@mosanic.io>",
24
+ "license": "MIT",
25
+ "engines": {"node": ">=20"},
26
+ "publishConfig": {"access": "public"},
27
+ "devDependencies": {"typescript": "^5.9.3"},
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/mosanic/mosa-platform.git",
31
+ "directory": "packages/grantcore"
32
+ }
33
+ }