@magicx-eng/ai-autocomplete-react 0.1.18 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicx-eng/ai-autocomplete-react",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "AI Autocomplete React SDK — guided autocomplete with pill-based input and dropdown suggestions",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -16,6 +16,25 @@
16
16
  "dist"
17
17
  ],
18
18
  "sideEffects": false,
19
+ "scripts": {
20
+ "dev": "vite playground",
21
+ "dev:vanilla": "vite examples/vanilla",
22
+ "build": "tsup",
23
+ "build:core": "tsup --config tsup.config.core.ts && cp core-package.json dist-core/package.json",
24
+ "build:all": "pnpm build && pnpm build:core",
25
+ "publish:core": "pnpm build:core && cp npm-readme-vanilla.md dist-core/README.md && cd dist-core && npm publish --access restricted",
26
+ "build:playground": "vite build playground --outDir dist --emptyOutDir",
27
+ "lint": "biome check .",
28
+ "lint:fix": "biome check --fix .",
29
+ "format": "biome format --fix .",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "test:coverage": "vitest run --coverage",
33
+ "typecheck": "tsc --noEmit",
34
+ "prepack": "mv README.md repo-readme.md && cp npm-readme.md README.md",
35
+ "postpack": "mv repo-readme.md README.md",
36
+ "prepublishOnly": "pnpm lint && pnpm test && pnpm build"
37
+ },
19
38
  "peerDependencies": {
20
39
  "react": ">=17.0.0",
21
40
  "react-dom": ">=17.0.0"
@@ -39,6 +58,7 @@
39
58
  "vite": "^7.3.1",
40
59
  "vitest": "^4.0.18"
41
60
  },
61
+ "packageManager": "pnpm@10.30.3",
42
62
  "keywords": [
43
63
  "react",
44
64
  "autocomplete",
@@ -50,21 +70,5 @@
50
70
  "workerDirectory": [
51
71
  "playground/public"
52
72
  ]
53
- },
54
- "scripts": {
55
- "dev": "vite playground",
56
- "dev:vanilla": "vite examples/vanilla",
57
- "build": "tsup",
58
- "build:core": "tsup --config tsup.config.core.ts && cp core-package.json dist-core/package.json",
59
- "build:all": "pnpm build && pnpm build:core",
60
- "publish:core": "pnpm build:core && cp npm-readme-vanilla.md dist-core/README.md && cd dist-core && npm publish --access restricted",
61
- "build:playground": "vite build playground --outDir dist --emptyOutDir",
62
- "lint": "biome check .",
63
- "lint:fix": "biome check --fix .",
64
- "format": "biome format --fix .",
65
- "test": "vitest run",
66
- "test:watch": "vitest",
67
- "test:coverage": "vitest run --coverage",
68
- "typecheck": "tsc --noEmit"
69
73
  }
70
- }
74
+ }