Skip to content

Commit

Permalink
chore: replace lunr with fuse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Oct 6, 2020
1 parent c2aaf8c commit d63c505
Show file tree
Hide file tree
Showing 17 changed files with 115 additions and 107 deletions.
8 changes: 4 additions & 4 deletions core/instrument/test/__snapshots__/esm-hoisted.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
"f287f1a0ceeea6cbbc4c37123d236d06": Object {
"dependencies": Object {
Expand Down Expand Up @@ -103,7 +103,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -192,7 +192,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -295,7 +295,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -138,7 +138,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -223,7 +223,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
"88c5aea0fddc19a67df23e2335e64036": Object {
"dependencies": Object {
Expand Down Expand Up @@ -103,7 +103,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -194,7 +194,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -299,7 +299,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
"8f6835169f285fcd3ad5425d9268a8f1": Object {
"dependencies": Object {
Expand Down
15 changes: 7 additions & 8 deletions core/instrument/test/__snapshots__/esm-props-info.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ Object {
"packages": Object {
"5633741e98073052cbece6fcd32011e3": Object {
"dependencies": Object {
"@component-controls/components": "^1.27.1",
"@component-controls/components": "^1.27.2",
"@component-controls/core": "^1.26.0",
"@component-controls/editors": "^1.27.1",
"@component-controls/store": "^1.27.1",
"@component-controls/editors": "^1.27.2",
"@component-controls/store": "^1.27.2",
"@primer/octicons-react": "^10.0.0",
"@theme-ui/css": "^0.4.0-rc.1",
"copy-to-clipboard": "^3.2.1",
"fuse.js": "^6.4.1",
"global": "^4.3.2",
"js-string-escape": "^1.0.1",
"lunr": "^2.3.8",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-frame-component": "^4.1.2",
Expand All @@ -81,11 +81,10 @@ Object {
"theme-ui": "^0.4.0-rc.1",
},
"devDependencies": Object {
"@component-controls/jest-snapshots": "^1.27.1",
"@component-controls/jest-snapshots": "^1.27.2",
"@component-controls/render": "^1.26.0",
"@component-controls/ts-markdown-docs": "^1.21.0",
"@theme-ui/presets": "^0.3.0",
"@types/lunr": "^2.3.3",
"@types/mdx-js__react": "^1.5.1",
"@types/react-frame-component": "^4.1.1",
"@types/react-resize-detector": "^4.2.0",
Expand All @@ -108,7 +107,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
"942f7c3f19d9e197f86041eed5e46838": Object {
"dependencies": Object {
Expand Down Expand Up @@ -151,7 +150,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {},
Expand Down
28 changes: 14 additions & 14 deletions core/instrument/test/__snapshots__/esm-props-usage.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -170,7 +170,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -315,7 +315,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -442,7 +442,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -587,7 +587,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -738,7 +738,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -971,7 +971,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1083,7 +1083,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1225,7 +1225,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1370,7 +1370,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1523,7 +1523,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1733,7 +1733,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -1859,7 +1859,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -2019,7 +2019,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down
18 changes: 9 additions & 9 deletions core/instrument/test/__snapshots__/esm-stories.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {},
Expand Down Expand Up @@ -118,7 +118,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -198,7 +198,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {},
Expand Down Expand Up @@ -261,7 +261,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -356,7 +356,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -509,7 +509,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -618,7 +618,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -742,7 +742,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down Expand Up @@ -866,7 +866,7 @@ Object {
"docs": "https://github.com/ccontrols/component-controls/tree/master#readme",
"issues": "https://github.com/ccontrols/component-controls/issues",
},
"version": "1.27.1",
"version": "1.27.2",
},
},
"stories": Object {
Expand Down
Loading

0 comments on commit d63c505

Please sign in to comment.