uilint-duplicates 0.2.27
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/dist/chunk-DURWZZLU.js +1941 -0
- package/dist/chunk-DURWZZLU.js.map +1 -0
- package/dist/index.d.ts +783 -0
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -0
- package/dist/node.d.ts +1 -0
- package/dist/node.js +55 -0
- package/dist/node.js.map +1 -0
- package/package.json +79 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FileTracker,
|
|
3
|
+
IncrementalIndexer,
|
|
4
|
+
MetadataStore,
|
|
5
|
+
OllamaEmbeddingClient,
|
|
6
|
+
VectorStore,
|
|
7
|
+
calculateDuplicateScore,
|
|
8
|
+
calculateGroupAverageSimilarity,
|
|
9
|
+
calculateSizeRatio,
|
|
10
|
+
chunkFile,
|
|
11
|
+
clearIndexerCache,
|
|
12
|
+
createIndexer,
|
|
13
|
+
findDuplicateGroups,
|
|
14
|
+
findDuplicates,
|
|
15
|
+
findSimilarAtLocation,
|
|
16
|
+
findSimilarToLocation,
|
|
17
|
+
findSimilarToQuery,
|
|
18
|
+
getIndexStats,
|
|
19
|
+
getOllamaEmbeddingClient,
|
|
20
|
+
hasIndex,
|
|
21
|
+
hashContent,
|
|
22
|
+
hashContentSync,
|
|
23
|
+
indexDirectory,
|
|
24
|
+
prepareEmbeddingInput,
|
|
25
|
+
searchSimilar,
|
|
26
|
+
sortDuplicateGroups
|
|
27
|
+
} from "./chunk-DURWZZLU.js";
|
|
28
|
+
export {
|
|
29
|
+
FileTracker,
|
|
30
|
+
IncrementalIndexer,
|
|
31
|
+
MetadataStore,
|
|
32
|
+
OllamaEmbeddingClient,
|
|
33
|
+
VectorStore,
|
|
34
|
+
calculateDuplicateScore,
|
|
35
|
+
calculateGroupAverageSimilarity,
|
|
36
|
+
calculateSizeRatio,
|
|
37
|
+
chunkFile,
|
|
38
|
+
clearIndexerCache,
|
|
39
|
+
createIndexer,
|
|
40
|
+
findDuplicateGroups,
|
|
41
|
+
findDuplicates,
|
|
42
|
+
findSimilarAtLocation,
|
|
43
|
+
findSimilarToLocation,
|
|
44
|
+
findSimilarToQuery,
|
|
45
|
+
getIndexStats,
|
|
46
|
+
getOllamaEmbeddingClient,
|
|
47
|
+
hasIndex,
|
|
48
|
+
hashContent,
|
|
49
|
+
hashContentSync,
|
|
50
|
+
indexDirectory,
|
|
51
|
+
prepareEmbeddingInput,
|
|
52
|
+
searchSimilar,
|
|
53
|
+
sortDuplicateGroups
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/node.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChunkKind, ChunkMetadata, ChunkingOptions, CodeChunk, DuplicateGroup, DuplicateGroupMember, DuplicateMember, DuplicateScore, EmbeddingOptions, EmbeddingResult, FileChange, FileHashEntry, FileTracker, FindDuplicatesOptions, HashStore, IncrementalIndexer, IndexManifest, IndexOptions, IndexUpdateResult, IndexerOptions, InternalDuplicateGroup, InternalFindDuplicatesOptions, MetadataStore, OllamaEmbeddingClient, SearchOptions, SearchResult, SimilarLocationOptions, SimilarityResult, StoredChunkMetadata, VectorStore, VectorStoreOptions, calculateDuplicateScore, calculateGroupAverageSimilarity, calculateSizeRatio, chunkFile, clearIndexerCache, createIndexer, findDuplicateGroups, findDuplicates, findSimilarAtLocation, findSimilarToLocation, findSimilarToQuery, getIndexStats, getOllamaEmbeddingClient, hasIndex, hashContent, hashContentSync, indexDirectory, prepareEmbeddingInput, searchSimilar, sortDuplicateGroups } from './index.js';
|
package/dist/node.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FileTracker,
|
|
3
|
+
IncrementalIndexer,
|
|
4
|
+
MetadataStore,
|
|
5
|
+
OllamaEmbeddingClient,
|
|
6
|
+
VectorStore,
|
|
7
|
+
calculateDuplicateScore,
|
|
8
|
+
calculateGroupAverageSimilarity,
|
|
9
|
+
calculateSizeRatio,
|
|
10
|
+
chunkFile,
|
|
11
|
+
clearIndexerCache,
|
|
12
|
+
createIndexer,
|
|
13
|
+
findDuplicateGroups,
|
|
14
|
+
findDuplicates,
|
|
15
|
+
findSimilarAtLocation,
|
|
16
|
+
findSimilarToLocation,
|
|
17
|
+
findSimilarToQuery,
|
|
18
|
+
getIndexStats,
|
|
19
|
+
getOllamaEmbeddingClient,
|
|
20
|
+
hasIndex,
|
|
21
|
+
hashContent,
|
|
22
|
+
hashContentSync,
|
|
23
|
+
indexDirectory,
|
|
24
|
+
prepareEmbeddingInput,
|
|
25
|
+
searchSimilar,
|
|
26
|
+
sortDuplicateGroups
|
|
27
|
+
} from "./chunk-DURWZZLU.js";
|
|
28
|
+
export {
|
|
29
|
+
FileTracker,
|
|
30
|
+
IncrementalIndexer,
|
|
31
|
+
MetadataStore,
|
|
32
|
+
OllamaEmbeddingClient,
|
|
33
|
+
VectorStore,
|
|
34
|
+
calculateDuplicateScore,
|
|
35
|
+
calculateGroupAverageSimilarity,
|
|
36
|
+
calculateSizeRatio,
|
|
37
|
+
chunkFile,
|
|
38
|
+
clearIndexerCache,
|
|
39
|
+
createIndexer,
|
|
40
|
+
findDuplicateGroups,
|
|
41
|
+
findDuplicates,
|
|
42
|
+
findSimilarAtLocation,
|
|
43
|
+
findSimilarToLocation,
|
|
44
|
+
findSimilarToQuery,
|
|
45
|
+
getIndexStats,
|
|
46
|
+
getOllamaEmbeddingClient,
|
|
47
|
+
hasIndex,
|
|
48
|
+
hashContent,
|
|
49
|
+
hashContentSync,
|
|
50
|
+
indexDirectory,
|
|
51
|
+
prepareEmbeddingInput,
|
|
52
|
+
searchSimilar,
|
|
53
|
+
sortDuplicateGroups
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=node.js.map
|
package/dist/node.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "uilint-duplicates",
|
|
3
|
+
"version": "0.2.27",
|
|
4
|
+
"description": "Semantic code duplicate detection for React/TypeScript codebases",
|
|
5
|
+
"author": "Peter Suggate",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/peter-suggate/uilint.git",
|
|
9
|
+
"directory": "packages/uilint-duplicates"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/peter-suggate/uilint#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/peter-suggate/uilint/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"typesVersions": {
|
|
20
|
+
"*": {
|
|
21
|
+
"node": [
|
|
22
|
+
"./dist/node.d.ts"
|
|
23
|
+
],
|
|
24
|
+
"*": [
|
|
25
|
+
"./dist/index.d.ts"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"import": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./node": {
|
|
35
|
+
"types": "./dist/node.d.ts",
|
|
36
|
+
"import": "./dist/node.js"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"README.md"
|
|
42
|
+
],
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=20.0.0"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@typescript-eslint/typescript-estree": "^8.35.1",
|
|
48
|
+
"glob": "^11.0.0",
|
|
49
|
+
"xxhash-wasm": "^1.1.0"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@types/glob": "^9.0.0",
|
|
53
|
+
"tsup": "^8.5.1",
|
|
54
|
+
"typescript": "^5.9.3",
|
|
55
|
+
"vitest": "^4.0.16"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"uilint-core": "0.2.27"
|
|
59
|
+
},
|
|
60
|
+
"keywords": [
|
|
61
|
+
"duplicate-detection",
|
|
62
|
+
"code-analysis",
|
|
63
|
+
"react",
|
|
64
|
+
"typescript",
|
|
65
|
+
"lint",
|
|
66
|
+
"ui"
|
|
67
|
+
],
|
|
68
|
+
"license": "MIT",
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "tsup",
|
|
74
|
+
"dev": "tsup --watch",
|
|
75
|
+
"test": "vitest run",
|
|
76
|
+
"test:watch": "vitest",
|
|
77
|
+
"typecheck": "tsc --noEmit"
|
|
78
|
+
}
|
|
79
|
+
}
|