@samline/autocomplete 0.0.0-stage → 1.0.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.
- package/CHANGELOG.md +23 -0
- package/LICENSE.md +21 -0
- package/README.md +138 -2
- package/dist/browser/global.d.ts +61 -0
- package/dist/browser/global.global.js +437 -0
- package/dist/browser/global.global.js.map +1 -0
- package/dist/index.cjs +444 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +71 -0
- package/dist/index.d.ts +71 -0
- package/dist/index.js +412 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +51 -0
- package/package.json +112 -4
package/package.json
CHANGED
|
@@ -1,6 +1,114 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@samline/autocomplete",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "An accessible, framework-agnostic remote autocomplete (combobox) for vanilla JavaScript, TypeScript and plain HTML.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://samline.github.io/autocomplete/",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public",
|
|
10
|
+
"tag": "latest"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=20"
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.css"
|
|
17
|
+
],
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"CHANGELOG.md",
|
|
21
|
+
"LICENSE.md"
|
|
22
|
+
],
|
|
23
|
+
"main": "./dist/index.cjs",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"require": "./dist/index.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./browser": {
|
|
33
|
+
"types": "./dist/browser/global.d.ts",
|
|
34
|
+
"default": "./dist/browser/global.global.js"
|
|
35
|
+
},
|
|
36
|
+
"./styles.css": "./dist/styles.css"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"clean": "rm -rf dist coverage",
|
|
40
|
+
"build": "tsup --config tsup.config.ts",
|
|
41
|
+
"dev": "tsup --config tsup.config.ts --watch",
|
|
42
|
+
"pack:check": "npm pack --dry-run",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"test": "vitest run",
|
|
45
|
+
"test:coverage": "vitest run --coverage",
|
|
46
|
+
"test:package": "node scripts/test-package.mjs",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"format": "prettier --write src test tsup.config.ts vitest.config.ts",
|
|
49
|
+
"format:check": "prettier --check src test tsup.config.ts vitest.config.ts",
|
|
50
|
+
"prepublishOnly": "npm run clean && npm run build && npm run typecheck && npm run test:coverage && npm run test:package",
|
|
51
|
+
"site:dev": "node site-tools/assets.mjs && node site-tools/dev.mjs",
|
|
52
|
+
"site:build": "node site-tools/assets.mjs && npm --workspace docs run build && npm --workspace landing run build && node site-tools/assemble.mjs && node site-tools/check-site.mjs",
|
|
53
|
+
"site:preview": "node site-tools/preview.mjs",
|
|
54
|
+
"site:check": "node site-tools/check-config.mjs && npm run site:check:design && npm --workspace landing run check && npm --workspace docs run check",
|
|
55
|
+
"site:format": "prettier --plugin prettier-plugin-astro --write landing docs/src docs/scripts shared site-tools site-tests site-e2e skills playwright.site.config.ts project.config.json content-audit.json design-reference.json SITE.md --ignore-path .site-prettierignore",
|
|
56
|
+
"site:format:check": "prettier --plugin prettier-plugin-astro --check landing docs/src docs/scripts shared site-tools site-tests site-e2e skills playwright.site.config.ts project.config.json content-audit.json design-reference.json SITE.md --ignore-path .site-prettierignore",
|
|
57
|
+
"site:test": "node --test site-tests/*.test.mjs",
|
|
58
|
+
"site:test:browser": "playwright test --config playwright.site.config.ts",
|
|
59
|
+
"site:verify": "npm run site:check && npm run site:format:check && npm run site:test && npm run site:test:adaptation && npm run site:build && npm run site:check:identity && npm run site:check:content && npm run site:test:browser",
|
|
60
|
+
"site:configure": "node site-tools/configure.mjs",
|
|
61
|
+
"site:check:release": "npm run site:check:identity && node site-tools/check-release.mjs",
|
|
62
|
+
"site:check:content": "node site-tools/check-content.mjs",
|
|
63
|
+
"site:migrate:starlight": "node site-tools/migrate-starlight.mjs",
|
|
64
|
+
"site:accent": "node site-tools/accent-pair.mjs",
|
|
65
|
+
"site:test:adaptation": "node site-tools/test-adaptation.mjs",
|
|
66
|
+
"site:check:design": "node site-tools/check-design.mjs",
|
|
67
|
+
"site:check:identity": "node site-tools/check-identity.mjs"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@playwright/test": "1.62.1",
|
|
71
|
+
"@types/node": "^26.6.2",
|
|
72
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
73
|
+
"axe-core": "^4.14.0",
|
|
74
|
+
"jsdom": "^30.1.0",
|
|
75
|
+
"prettier": "^3.9.10",
|
|
76
|
+
"prettier-plugin-astro": "^1.1.1",
|
|
77
|
+
"tsup": "^8.5.1",
|
|
78
|
+
"typescript": "^5.9.3",
|
|
79
|
+
"vite": "^8.3.4",
|
|
80
|
+
"vitest": "^5.0.1"
|
|
81
|
+
},
|
|
82
|
+
"repository": {
|
|
83
|
+
"type": "git",
|
|
84
|
+
"url": "git+https://github.com/samline/autocomplete.git"
|
|
85
|
+
},
|
|
86
|
+
"bugs": {
|
|
87
|
+
"url": "https://github.com/samline/autocomplete/issues"
|
|
88
|
+
},
|
|
89
|
+
"keywords": [
|
|
90
|
+
"autocomplete",
|
|
91
|
+
"combobox",
|
|
92
|
+
"typeahead",
|
|
93
|
+
"search",
|
|
94
|
+
"accessibility",
|
|
95
|
+
"aria"
|
|
96
|
+
],
|
|
97
|
+
"author": "Samuel Olvera (samline)",
|
|
98
|
+
"packageManager": "bun@1.4.4",
|
|
99
|
+
"workspaces": [
|
|
100
|
+
"landing",
|
|
101
|
+
"docs",
|
|
102
|
+
"shared"
|
|
103
|
+
],
|
|
104
|
+
"overrides": {
|
|
105
|
+
"esbuild": "^0.28.1",
|
|
106
|
+
"nanoid": "^3.3.18",
|
|
107
|
+
"postcss": "^8.5.23",
|
|
108
|
+
"vite": "^8.3.4",
|
|
109
|
+
"undici": "^8.12.2",
|
|
110
|
+
"source-map-js": "^1.2.2",
|
|
111
|
+
"parse5": "^8.1.0",
|
|
112
|
+
"@emnapi/runtime": "1.11.3"
|
|
113
|
+
}
|
|
114
|
+
}
|