stringent 0.0.1 → 0.0.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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Static Parser Types
3
+ *
4
+ * Parse<Parser, Input, $> - type-level parsing with context threading
5
+ */
6
+ export { Parse, ParseUnion, ParseTuple, ParseOptional, ParseMany, } from "../combinators/index.js";
7
+ export type { LiteralNode, NumberNode, StringNode, IdentNode, ConstNode, ASTNode, } from "../primitive/index.js";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Static Parser Types
3
+ *
4
+ * Parse<Parser, Input, $> - type-level parsing with context threading
5
+ */
6
+ export {};
package/package.json CHANGED
@@ -1,25 +1,48 @@
1
1
  {
2
2
  "name": "stringent",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A smart and type-safe expression parser",
5
5
  "keywords": [
6
6
  "parser",
7
7
  "expression",
8
8
  "typescript"
9
9
  ],
10
- "homepage": "https://github.com/eralmansouri/stringent#readme",
10
+ "homepage": "https://github.com/formeddable/stringent#readme",
11
11
  "bugs": {
12
- "url": "https://github.com/eralmansouri/stringent/issues"
12
+ "url": "https://github.com/formeddable/stringent/issues"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/eralmansouri/stringent.git"
16
+ "url": "git+https://github.com/formeddable/stringent.git"
17
17
  },
18
18
  "license": "MIT",
19
19
  "author": "Essam Almansouri",
20
20
  "type": "module",
21
- "main": "index.js",
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "main": "dist/index.js",
25
+ "types": "dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/index.js",
29
+ "types": "./dist/index.d.ts"
30
+ }
31
+ },
22
32
  "scripts": {
23
- "test": "echo \"Error: no test specified\" && exit 1"
33
+ "build": "tsc -p tsconfig.build.json",
34
+ "typecheck": "tsc --noEmit",
35
+ "test": "tsx src/test.ts",
36
+ "prepublishOnly": "pnpm build"
37
+ },
38
+ "dependencies": {
39
+ "@sinclair/parsebox": "^0.11.1",
40
+ "arktype": "^2.1.29"
41
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^22.10.5",
44
+ "hotscript": "^1.0.13",
45
+ "tsx": "^4.21.0",
46
+ "typescript": "^5.7.2"
24
47
  }
25
- }
48
+ }