@yuktishaalaa/yuktai 1.0.2 → 1.0.4

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 (3) hide show
  1. package/dist/index.cjs +1 -355
  2. package/dist/index.js +1 -355
  3. package/package.json +18 -68
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@yuktishaalaa/yuktai",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Privacy-first, offline-first Indic language AI and Web Orchestrator",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.mjs",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
- "import": "./dist/index.mjs",
13
- "require": "./dist/index.js"
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
14
  }
15
15
  },
16
16
  "publishConfig": {
@@ -21,10 +21,9 @@
21
21
  "dist"
22
22
  ],
23
23
  "scripts": {
24
- "dev": "tsup src/index.ts --format cjs,esm --watch --dts",
25
- "build": "tsup src/index.ts --format cjs,esm --clean --dts --minify",
24
+ "dev": "tsup src/index.ts --format cjs,esm --watch --dts --external react --external react-dom",
25
+ "build": "tsup src/index.ts --format cjs,esm --clean --dts --minify --external react --external react-dom",
26
26
  "lint": "tsc --noEmit",
27
- "test": "echo \"Error: no test specified\" && exit 1",
28
27
  "prepublishOnly": "npm run build"
29
28
  },
30
29
  "repository": {
@@ -41,70 +40,21 @@
41
40
  ],
42
41
  "author": "Sandeep Miriyala",
43
42
  "license": "ISC",
43
+ "peerDependencies": {
44
+ "react": ">=18",
45
+ "react-dom": ">=18"
46
+ },
44
47
  "dependencies": {
45
- "acorn": "^8.16.0",
46
- "any-promise": "^1.3.0",
47
- "bmp-js": "^0.1.0",
48
- "bundle-require": "^5.1.0",
49
- "cac": "^6.7.14",
50
- "chokidar": "^4.0.3",
51
- "commander": "^4.1.1",
52
- "confbox": "^0.1.8",
53
- "consola": "^3.4.2",
54
- "debug": "^4.4.3",
55
- "esbuild": "^0.27.7",
56
- "fdir": "^6.5.0",
57
- "fix-dts-default-cjs-exports": "^1.0.1",
58
48
  "idb-keyval": "^6.2.2",
59
- "is-url": "^1.2.4",
60
- "joycon": "^3.1.1",
61
- "lilconfig": "^3.1.3",
62
- "lines-and-columns": "^1.2.4",
63
- "load-tsconfig": "^0.2.5",
64
- "magic-string": "^0.30.21",
65
- "mlly": "^1.8.2",
66
- "ms": "^2.1.3",
67
- "mz": "^2.7.0",
68
- "node-fetch": "^2.7.0",
69
- "object-assign": "^4.1.1",
70
- "opencollective-postinstall": "^2.0.3",
71
- "pathe": "^2.0.3",
72
- "picocolors": "^1.1.1",
73
- "picomatch": "^4.0.4",
74
- "pirates": "^4.0.7",
75
- "pkg-types": "^1.3.1",
76
- "postcss-load-config": "^6.0.1",
77
- "readdirp": "^4.1.2",
78
- "regenerator-runtime": "^0.13.11",
79
- "resolve-from": "^5.0.0",
80
- "rollup": "^4.60.1",
81
- "source-map": "^0.7.6",
82
- "sucrase": "^3.35.1",
83
49
  "tesseract.js": "^7.0.0",
84
- "tesseract.js-core": "^7.0.0",
85
- "thenify": "^3.3.1",
86
- "thenify-all": "^1.6.0",
87
- "tinyexec": "^0.3.2",
88
- "tinyglobby": "^0.2.16",
89
- "tr46": "^0.0.3",
90
- "tree-kill": "^1.2.2",
91
- "ts-interface-checker": "^0.1.13",
92
- "tsup": "^8.5.1",
93
- "typescript": "^6.0.2",
94
- "ufo": "^1.6.3",
95
- "wasm-feature-detect": "^1.8.0",
96
- "webidl-conversions": "^3.0.1",
97
- "whatwg-url": "^5.0.0",
98
- "zlibjs": "^0.3.1"
50
+ "wasm-feature-detect": "^1.8.0"
99
51
  },
100
- "bugs": {
101
- "url": "https://github.com/sandeepmiriyala03/yuktai/issues"
102
- },
103
- "homepage": "https://github.com/sandeepmiriyala03/yuktai#readme",
104
52
  "devDependencies": {
105
- "@types/react": "^19.2.14",
106
- "@types/react-dom": "^19.2.3",
107
- "react": "^19.2.5",
108
- "react-dom": "^19.2.5"
53
+ "@types/react": "^19.0.0",
54
+ "@types/react-dom": "^19.0.0",
55
+ "react": "^19.0.0",
56
+ "react-dom": "^19.0.0",
57
+ "tsup": "^8.5.1",
58
+ "typescript": "^5.0.0"
109
59
  }
110
60
  }