@finos/legend-server-showcase-deployment 11.48.0 → 11.49.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ShowcaseRegistry.d.ts","sourceRoot":"","sources":["../src/ShowcaseRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EAErB,KAAK,wBAAwB,EAC9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,
|
1
|
+
{"version":3,"file":"ShowcaseRegistry.d.ts","sourceRoot":"","sources":["../src/ShowcaseRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,QAAQ,EACR,KAAK,gBAAgB,EAErB,KAAK,wBAAwB,EAC9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAGL,KAAK,WAAW,EAEhB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAgC9B,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;CACL,CAAC;AAEF,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,MAAM,CAAC,CAAyB;IAGxC,OAAO,CAAC,aAAa,CAAuC;IAC5D,OAAO,CAAC,kBAAkB,CAA4C;IAEtE,OAAO,CAAC,cAAc,CAA+B;IACrD,OAAO,CAAC,oBAAoB,CAA8B;IAE1D,QAAQ,CAAC,cAAc,cAAwB;IAG/C,OAAO;WAwCM,UAAU,CACrB,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,gBAAgB,CAAC;IAO5B,YAAY,IAAI,WAAW,CAAC,gBAAgB,CAAC,EAAE;IAI/C,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC,QAAQ,CAAC,GAAG,SAAS;IAItD,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IA6C1B,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAyEpE"}
|
package/lib/ShowcaseRegistry.js
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
import { get } from 'https';
|
17
17
|
import { readFileSync } from 'fs';
|
18
18
|
import { Showcase, } from '@finos/legend-server-showcase';
|
19
|
-
import {
|
19
|
+
import { FuzzySearchEngine, promisify, getNonNullableEntry, ActionState, } from '@finos/legend-shared';
|
20
20
|
async function fetchExternalLinkSiteData(url) {
|
21
21
|
return new Promise((resolve, reject) => {
|
22
22
|
get(url, (response) => {
|
@@ -56,12 +56,7 @@ export class ShowcaseRegistry {
|
|
56
56
|
// NOTE: due to the way we export the constructor of `FuzzySearchEngine`, when we run this with ESM
|
57
57
|
// we can remove this workaround once Fuse supports ESM
|
58
58
|
// See https://github.com/krisk/Fuse/pull/727
|
59
|
-
|
60
|
-
// eslint-disable-next-line no-process-env
|
61
|
-
process.env.NODE_ENV === 'development'
|
62
|
-
? ESM__FuzzySearchEngine
|
63
|
-
: FuzzySearchEngine;
|
64
|
-
this.showcaseSearchEngine = new FuzzySearchEngineConstructor([], {
|
59
|
+
this.showcaseSearchEngine = new FuzzySearchEngine([], {
|
65
60
|
includeScore: true,
|
66
61
|
// NOTE: we must not sort/change the order in the grid since
|
67
62
|
// we want to ensure the element row is on top
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ShowcaseRegistry.js","sourceRoot":"","sources":["../src/ShowcaseRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EACL,QAAQ,GAIT,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,
|
1
|
+
{"version":3,"file":"ShowcaseRegistry.js","sourceRoot":"","sources":["../src/ShowcaseRegistry.ts"],"names":[],"mappings":"AA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AAEjC,MAAM,+BAA+B,CAAC,MAAM,EAAE;IAC5C,UAAU,EAAE,YAAY;IACxB,WAAW,EAAG,MAAiC,CAAC,WAAW,CAAC,GAAG,CAC7D,CAAC,UAAU,EAAE,EAAE;QACb,IAAI,UAAU,CAAC,IAAI,EAAE,CAAC;YACpB,OAAO;gBACL,IAAI,EAAE,UAAU,CAAC,IAAI;aACtB,CAAC;QACJ,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,CACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,CACX;IACE,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,kEAAkE;IAClE,IAAI,EAAE,SAAS;CAChB,EACD,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IACjB,IAAI,KAAK,EAAE,CAAC;QACV,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CACF,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-server-showcase-deployment",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.49.0",
|
4
4
|
"description": "Legend Showcase server deployment",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -50,23 +50,23 @@
|
|
50
50
|
"test:watch": "jest --watch"
|
51
51
|
},
|
52
52
|
"dependencies": {
|
53
|
-
"@fastify/cors": "
|
54
|
-
"@finos/legend-server-showcase": "0.2.
|
55
|
-
"@finos/legend-shared": "10.0.
|
56
|
-
"fastify": "4.
|
53
|
+
"@fastify/cors": "9.0.1",
|
54
|
+
"@finos/legend-server-showcase": "0.2.8",
|
55
|
+
"@finos/legend-shared": "10.0.35",
|
56
|
+
"fastify": "4.27.0"
|
57
57
|
},
|
58
58
|
"devDependencies": {
|
59
|
-
"@finos/legend-dev-utils": "2.1.
|
59
|
+
"@finos/legend-dev-utils": "2.1.5",
|
60
60
|
"@jest/globals": "29.7.0",
|
61
61
|
"cross-env": "7.0.3",
|
62
|
-
"eslint": "8.
|
62
|
+
"eslint": "8.57.0",
|
63
63
|
"jest": "29.7.0",
|
64
|
-
"nodemon": "3.0
|
64
|
+
"nodemon": "3.1.0",
|
65
65
|
"npm-run-all": "4.1.5",
|
66
|
-
"rimraf": "5.0.
|
67
|
-
"typescript": "5.
|
68
|
-
"webpack": "5.
|
69
|
-
"webpack-bundle-analyzer": "4.
|
66
|
+
"rimraf": "5.0.7",
|
67
|
+
"typescript": "5.4.5",
|
68
|
+
"webpack": "5.91.0",
|
69
|
+
"webpack-bundle-analyzer": "4.10.2",
|
70
70
|
"webpack-cli": "5.1.4"
|
71
71
|
},
|
72
72
|
"publishConfig": {
|
package/src/ShowcaseRegistry.ts
CHANGED
@@ -23,7 +23,6 @@ import {
|
|
23
23
|
type ShowcaseTextSearchResult,
|
24
24
|
} from '@finos/legend-server-showcase';
|
25
25
|
import {
|
26
|
-
ESM__FuzzySearchEngine,
|
27
26
|
FuzzySearchEngine,
|
28
27
|
promisify,
|
29
28
|
type PlainObject,
|
@@ -85,12 +84,7 @@ export class ShowcaseRegistry {
|
|
85
84
|
// NOTE: due to the way we export the constructor of `FuzzySearchEngine`, when we run this with ESM
|
86
85
|
// we can remove this workaround once Fuse supports ESM
|
87
86
|
// See https://github.com/krisk/Fuse/pull/727
|
88
|
-
|
89
|
-
// eslint-disable-next-line no-process-env
|
90
|
-
process.env.NODE_ENV === 'development'
|
91
|
-
? ESM__FuzzySearchEngine
|
92
|
-
: FuzzySearchEngine;
|
93
|
-
this.showcaseSearchEngine = new FuzzySearchEngineConstructor([], {
|
87
|
+
this.showcaseSearchEngine = new FuzzySearchEngine([], {
|
94
88
|
includeScore: true,
|
95
89
|
// NOTE: we must not sort/change the order in the grid since
|
96
90
|
// we want to ensure the element row is on top
|
package/tsconfig.json
CHANGED
@@ -24,7 +24,23 @@
|
|
24
24
|
"outDir": "./lib",
|
25
25
|
"tsBuildInfoFile": "./build/prod.tsbuildinfo",
|
26
26
|
"rootDir": "./src",
|
27
|
-
"jsx": "react-jsx"
|
27
|
+
"jsx": "react-jsx",
|
28
|
+
"moduleResolution": "nodenext",
|
29
|
+
"moduleDetection": "force",
|
30
|
+
"isolatedModules": true,
|
31
|
+
"esModuleInterop": true,
|
32
|
+
"allowSyntheticDefaultImports": true,
|
33
|
+
"preserveConstEnums": true,
|
34
|
+
"incremental": true,
|
35
|
+
"useDefineForClassFields": true,
|
36
|
+
"noImplicitAny": true,
|
37
|
+
"noImplicitThis": true,
|
38
|
+
"strictNullChecks": true,
|
39
|
+
"strictFunctionTypes": true,
|
40
|
+
"strictBindCallApply": true,
|
41
|
+
"strictPropertyInitialization": true,
|
42
|
+
"alwaysStrict": true,
|
43
|
+
"useUnknownInCatchVariables": true
|
28
44
|
},
|
29
45
|
"files": [
|
30
46
|
"./src/ShowcaseRegistry.ts",
|