unleash-server 4.15.0-beta.4 → 4.15.0-beta.5
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/lib/app.js +6 -5
- package/dist/lib/app.js.map +1 -1
- package/dist/lib/middleware/api-token-middleware.js +9 -1
- package/dist/lib/middleware/api-token-middleware.js.map +1 -1
- package/dist/lib/util/findPublicFolder.d.ts +1 -0
- package/dist/lib/util/findPublicFolder.js +12 -0
- package/dist/lib/util/findPublicFolder.js.map +1 -0
- package/dist/lib/util/rewriteHTML.test.js +4 -2
- package/dist/lib/util/rewriteHTML.test.js.map +1 -1
- package/frontend/README.md +68 -0
- package/frontend/build/cs_CZ.png +0 -0
- package/frontend/build/da-DK.png +0 -0
- package/frontend/build/datadog.svg +1 -0
- package/frontend/build/de_DE.png +0 -0
- package/frontend/build/en-GB.png +0 -0
- package/frontend/build/en-IN.png +0 -0
- package/frontend/build/en-US.png +0 -0
- package/frontend/build/favicon.ico +0 -0
- package/frontend/build/favicon_old.ico +0 -0
- package/frontend/build/flags-normal/ad.png +0 -0
- package/frontend/build/flags-normal/ae.png +0 -0
- package/frontend/build/flags-normal/af.png +0 -0
- package/frontend/build/flags-normal/ag.png +0 -0
- package/frontend/build/flags-normal/al.png +0 -0
- package/frontend/build/flags-normal/am.png +0 -0
- package/frontend/build/flags-normal/ao.png +0 -0
- package/frontend/build/flags-normal/ar.png +0 -0
- package/frontend/build/flags-normal/at.png +0 -0
- package/frontend/build/flags-normal/au.png +0 -0
- package/frontend/build/flags-normal/az.png +0 -0
- package/frontend/build/flags-normal/ba.png +0 -0
- package/frontend/build/flags-normal/bb.png +0 -0
- package/frontend/build/flags-normal/bd.png +0 -0
- package/frontend/build/flags-normal/be.png +0 -0
- package/frontend/build/flags-normal/bf.png +0 -0
- package/frontend/build/flags-normal/bg.png +0 -0
- package/frontend/build/flags-normal/bh.png +0 -0
- package/frontend/build/flags-normal/bi.png +0 -0
- package/frontend/build/flags-normal/bj.png +0 -0
- package/frontend/build/flags-normal/bn.png +0 -0
- package/frontend/build/flags-normal/bo.png +0 -0
- package/frontend/build/flags-normal/br.png +0 -0
- package/frontend/build/flags-normal/bs.png +0 -0
- package/frontend/build/flags-normal/bt.png +0 -0
- package/frontend/build/flags-normal/bw.png +0 -0
- package/frontend/build/flags-normal/by.png +0 -0
- package/frontend/build/flags-normal/bz.png +0 -0
- package/frontend/build/flags-normal/ca.png +0 -0
- package/frontend/build/flags-normal/cd.png +0 -0
- package/frontend/build/flags-normal/cf.png +0 -0
- package/frontend/build/flags-normal/cg.png +0 -0
- package/frontend/build/flags-normal/ch.png +0 -0
- package/frontend/build/flags-normal/ci.png +0 -0
- package/frontend/build/flags-normal/cl.png +0 -0
- package/frontend/build/flags-normal/cm.png +0 -0
- package/frontend/build/flags-normal/cn.png +0 -0
- package/frontend/build/flags-normal/co.png +0 -0
- package/frontend/build/flags-normal/cr.png +0 -0
- package/frontend/build/flags-normal/cu.png +0 -0
- package/frontend/build/flags-normal/cv.png +0 -0
- package/frontend/build/flags-normal/cy.png +0 -0
- package/frontend/build/flags-normal/cz.png +0 -0
- package/frontend/build/flags-normal/de.png +0 -0
- package/frontend/build/flags-normal/dj.png +0 -0
- package/frontend/build/flags-normal/dk.png +0 -0
- package/frontend/build/flags-normal/dm.png +0 -0
- package/frontend/build/flags-normal/do.png +0 -0
- package/frontend/build/flags-normal/dz.png +0 -0
- package/frontend/build/flags-normal/ec.png +0 -0
- package/frontend/build/flags-normal/ee.png +0 -0
- package/frontend/build/flags-normal/eg.png +0 -0
- package/frontend/build/flags-normal/eh.png +0 -0
- package/frontend/build/flags-normal/er.png +0 -0
- package/frontend/build/flags-normal/es.png +0 -0
- package/frontend/build/flags-normal/et.png +0 -0
- package/frontend/build/flags-normal/fi.png +0 -0
- package/frontend/build/flags-normal/fj.png +0 -0
- package/frontend/build/flags-normal/fm.png +0 -0
- package/frontend/build/flags-normal/fr.png +0 -0
- package/frontend/build/flags-normal/ga.png +0 -0
- package/frontend/build/flags-normal/gb.png +0 -0
- package/frontend/build/flags-normal/gd.png +0 -0
- package/frontend/build/flags-normal/ge.png +0 -0
- package/frontend/build/flags-normal/gh.png +0 -0
- package/frontend/build/flags-normal/gm.png +0 -0
- package/frontend/build/flags-normal/gn.png +0 -0
- package/frontend/build/flags-normal/gq.png +0 -0
- package/frontend/build/flags-normal/gr.png +0 -0
- package/frontend/build/flags-normal/gt.png +0 -0
- package/frontend/build/flags-normal/gw.png +0 -0
- package/frontend/build/flags-normal/gy.png +0 -0
- package/frontend/build/flags-normal/hn.png +0 -0
- package/frontend/build/flags-normal/hr.png +0 -0
- package/frontend/build/flags-normal/ht.png +0 -0
- package/frontend/build/flags-normal/hu.png +0 -0
- package/frontend/build/flags-normal/id.png +0 -0
- package/frontend/build/flags-normal/ie.png +0 -0
- package/frontend/build/flags-normal/il.png +0 -0
- package/frontend/build/flags-normal/in.png +0 -0
- package/frontend/build/flags-normal/iq.png +0 -0
- package/frontend/build/flags-normal/ir.png +0 -0
- package/frontend/build/flags-normal/is.png +0 -0
- package/frontend/build/flags-normal/it.png +0 -0
- package/frontend/build/flags-normal/jm.png +0 -0
- package/frontend/build/flags-normal/jo.png +0 -0
- package/frontend/build/flags-normal/jp.png +0 -0
- package/frontend/build/flags-normal/ke.png +0 -0
- package/frontend/build/flags-normal/kg.png +0 -0
- package/frontend/build/flags-normal/kh.png +0 -0
- package/frontend/build/flags-normal/ki.png +0 -0
- package/frontend/build/flags-normal/km.png +0 -0
- package/frontend/build/flags-normal/kn.png +0 -0
- package/frontend/build/flags-normal/kp.png +0 -0
- package/frontend/build/flags-normal/kr.png +0 -0
- package/frontend/build/flags-normal/ks.png +0 -0
- package/frontend/build/flags-normal/kw.png +0 -0
- package/frontend/build/flags-normal/kz.png +0 -0
- package/frontend/build/flags-normal/la.png +0 -0
- package/frontend/build/flags-normal/lb.png +0 -0
- package/frontend/build/flags-normal/lc.png +0 -0
- package/frontend/build/flags-normal/li.png +0 -0
- package/frontend/build/flags-normal/lk.png +0 -0
- package/frontend/build/flags-normal/lr.png +0 -0
- package/frontend/build/flags-normal/ls.png +0 -0
- package/frontend/build/flags-normal/lt.png +0 -0
- package/frontend/build/flags-normal/lu.png +0 -0
- package/frontend/build/flags-normal/lv.png +0 -0
- package/frontend/build/flags-normal/ly.png +0 -0
- package/frontend/build/flags-normal/ma.png +0 -0
- package/frontend/build/flags-normal/mc.png +0 -0
- package/frontend/build/flags-normal/md.png +0 -0
- package/frontend/build/flags-normal/me.png +0 -0
- package/frontend/build/flags-normal/mg.png +0 -0
- package/frontend/build/flags-normal/mh.png +0 -0
- package/frontend/build/flags-normal/mk.png +0 -0
- package/frontend/build/flags-normal/ml.png +0 -0
- package/frontend/build/flags-normal/mm.png +0 -0
- package/frontend/build/flags-normal/mn.png +0 -0
- package/frontend/build/flags-normal/mr.png +0 -0
- package/frontend/build/flags-normal/mt.png +0 -0
- package/frontend/build/flags-normal/mu.png +0 -0
- package/frontend/build/flags-normal/mv.png +0 -0
- package/frontend/build/flags-normal/mw.png +0 -0
- package/frontend/build/flags-normal/mx.png +0 -0
- package/frontend/build/flags-normal/my.png +0 -0
- package/frontend/build/flags-normal/mz.png +0 -0
- package/frontend/build/flags-normal/na.png +0 -0
- package/frontend/build/flags-normal/ne.png +0 -0
- package/frontend/build/flags-normal/ng.png +0 -0
- package/frontend/build/flags-normal/ni.png +0 -0
- package/frontend/build/flags-normal/nl.png +0 -0
- package/frontend/build/flags-normal/no.png +0 -0
- package/frontend/build/flags-normal/np.png +0 -0
- package/frontend/build/flags-normal/nr.png +0 -0
- package/frontend/build/flags-normal/nz.png +0 -0
- package/frontend/build/flags-normal/om.png +0 -0
- package/frontend/build/flags-normal/pa.png +0 -0
- package/frontend/build/flags-normal/pe.png +0 -0
- package/frontend/build/flags-normal/pg.png +0 -0
- package/frontend/build/flags-normal/ph.png +0 -0
- package/frontend/build/flags-normal/pk.png +0 -0
- package/frontend/build/flags-normal/pl.png +0 -0
- package/frontend/build/flags-normal/pt.png +0 -0
- package/frontend/build/flags-normal/pw.png +0 -0
- package/frontend/build/flags-normal/py.png +0 -0
- package/frontend/build/flags-normal/qa.png +0 -0
- package/frontend/build/flags-normal/ro.png +0 -0
- package/frontend/build/flags-normal/rs.png +0 -0
- package/frontend/build/flags-normal/ru.png +0 -0
- package/frontend/build/flags-normal/rw.png +0 -0
- package/frontend/build/flags-normal/sa.png +0 -0
- package/frontend/build/flags-normal/sb.png +0 -0
- package/frontend/build/flags-normal/sc.png +0 -0
- package/frontend/build/flags-normal/sd.png +0 -0
- package/frontend/build/flags-normal/se.png +0 -0
- package/frontend/build/flags-normal/sg.png +0 -0
- package/frontend/build/flags-normal/si.png +0 -0
- package/frontend/build/flags-normal/sk.png +0 -0
- package/frontend/build/flags-normal/sl.png +0 -0
- package/frontend/build/flags-normal/sm.png +0 -0
- package/frontend/build/flags-normal/sn.png +0 -0
- package/frontend/build/flags-normal/so.png +0 -0
- package/frontend/build/flags-normal/sr.png +0 -0
- package/frontend/build/flags-normal/st.png +0 -0
- package/frontend/build/flags-normal/sv.png +0 -0
- package/frontend/build/flags-normal/sy.png +0 -0
- package/frontend/build/flags-normal/sz.png +0 -0
- package/frontend/build/flags-normal/td.png +0 -0
- package/frontend/build/flags-normal/tg.png +0 -0
- package/frontend/build/flags-normal/th.png +0 -0
- package/frontend/build/flags-normal/tj.png +0 -0
- package/frontend/build/flags-normal/tl.png +0 -0
- package/frontend/build/flags-normal/tm.png +0 -0
- package/frontend/build/flags-normal/tn.png +0 -0
- package/frontend/build/flags-normal/to.png +0 -0
- package/frontend/build/flags-normal/tr.png +0 -0
- package/frontend/build/flags-normal/tt.png +0 -0
- package/frontend/build/flags-normal/tv.png +0 -0
- package/frontend/build/flags-normal/tw.png +0 -0
- package/frontend/build/flags-normal/tz.png +0 -0
- package/frontend/build/flags-normal/ua.png +0 -0
- package/frontend/build/flags-normal/ug.png +0 -0
- package/frontend/build/flags-normal/us.png +0 -0
- package/frontend/build/flags-normal/uy.png +0 -0
- package/frontend/build/flags-normal/uz.png +0 -0
- package/frontend/build/flags-normal/va.png +0 -0
- package/frontend/build/flags-normal/vc.png +0 -0
- package/frontend/build/flags-normal/ve.png +0 -0
- package/frontend/build/flags-normal/vn.png +0 -0
- package/frontend/build/flags-normal/vu.png +0 -0
- package/frontend/build/flags-normal/ws.png +0 -0
- package/frontend/build/flags-normal/ye.png +0 -0
- package/frontend/build/flags-normal/za.png +0 -0
- package/frontend/build/flags-normal/zm.png +0 -0
- package/frontend/build/flags-normal/zw.png +0 -0
- package/frontend/build/fr-FR.png +0 -0
- package/frontend/build/index.html +25 -0
- package/frontend/build/jira.svg +1 -0
- package/frontend/build/logo-filled.png +0 -0
- package/frontend/build/logo-inverted.png +0 -0
- package/frontend/build/logo.png +0 -0
- package/frontend/build/logo_old.png +0 -0
- package/frontend/build/nb-NO.png +0 -0
- package/frontend/build/pt_BR.png +0 -0
- package/frontend/build/slack.svg +1 -0
- package/frontend/build/static/24_Negator off.764e9292.svg +3 -0
- package/frontend/build/static/24_Negator.3c95065e.svg +3 -0
- package/frontend/build/static/24_Text format off.9a1401ab.svg +3 -0
- package/frontend/build/static/24_Text format.c0530280.svg +3 -0
- package/frontend/build/static/FeatureMetricsChart.6409de93.js +23 -0
- package/frontend/build/static/Playground.1beb2dd5.js +10 -0
- package/frontend/build/static/datadog.591b6a73.svg +1 -0
- package/frontend/build/static/email.1b13db1f.svg +17 -0
- package/frontend/build/static/google.4c4465a1.svg +100 -0
- package/frontend/build/static/index.2d2aadf5.js +412 -0
- package/frontend/build/static/index.42c3e429.css +1 -0
- package/frontend/build/static/isenabled-false.85a17190.svg +5 -0
- package/frontend/build/static/isenabled-true.def895c4.svg +5 -0
- package/frontend/build/static/jira.d9eb9af9.svg +1 -0
- package/frontend/build/static/logo.b574b8c7.svg +7 -0
- package/frontend/build/static/logoBg.6e3a3ec3.svg +1 -0
- package/frontend/build/static/logoDarkWithText.7b7859f1.svg +1 -0
- package/frontend/build/static/logoPlain.b10e04a3.svg +6 -0
- package/frontend/build/static/logoWhiteBg.41a11888.svg +7 -0
- package/frontend/build/static/logoWhiteTransparentHorizontal.32f9c398.svg +1 -0
- package/frontend/build/static/logoWithWhiteText.954086cd.svg +1 -0
- package/frontend/build/static/mobileGuidanceBg.0cc2cfdc.svg +3 -0
- package/frontend/build/static/projectIcon.0c6827a4.svg +9 -0
- package/frontend/build/static/rollout.c922b6e9.svg +4 -0
- package/frontend/build/static/slack.c0af31c6.svg +1 -0
- package/frontend/build/static/teams.62e72076.svg +26 -0
- package/frontend/build/static/texture.c29e66c0.png +0 -0
- package/frontend/build/static/unknownUser.fc3b9184.png +0 -0
- package/frontend/build/static/unleashLogoIconDarkAlpha.de056a82.gif +0 -0
- package/frontend/build/static/webhooks.ffa904ac.svg +1 -0
- package/frontend/build/sv-SE.png +0 -0
- package/frontend/build/switches.svg +11 -0
- package/frontend/build/teams.svg +59 -0
- package/frontend/build/unknown-locale.png +0 -0
- package/frontend/build/webhooks.svg +1 -0
- package/frontend/index.js +9 -0
- package/frontend/package.json +131 -0
- package/package.json +8 -6
package/dist/lib/app.js
CHANGED
|
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const unleash_frontend_1 = require("unleash-frontend");
|
|
7
6
|
const express_1 = __importDefault(require("express"));
|
|
8
7
|
const compression_1 = __importDefault(require("compression"));
|
|
9
8
|
const serve_favicon_1 = __importDefault(require("serve-favicon"));
|
|
@@ -22,10 +21,12 @@ const oss_authentication_1 = __importDefault(require("./middleware/oss-authentic
|
|
|
22
21
|
const no_authentication_1 = __importDefault(require("./middleware/no-authentication"));
|
|
23
22
|
const secure_headers_1 = __importDefault(require("./middleware/secure-headers"));
|
|
24
23
|
const load_index_html_1 = require("./util/load-index-html");
|
|
24
|
+
const findPublicFolder_1 = require("./util/findPublicFolder");
|
|
25
25
|
async function getApp(config, stores, services, unleashSession) {
|
|
26
26
|
const app = (0, express_1.default)();
|
|
27
27
|
const baseUriPath = config.server.baseUriPath || '';
|
|
28
|
-
|
|
28
|
+
const publicFolder = (0, findPublicFolder_1.findPublicFolder)();
|
|
29
|
+
let indexHTML = await (0, load_index_html_1.loadIndexHTML)(config, publicFolder);
|
|
29
30
|
app.set('trust proxy', true);
|
|
30
31
|
app.disable('x-powered-by');
|
|
31
32
|
app.set('port', config.server.port);
|
|
@@ -45,9 +46,9 @@ async function getApp(config, stores, services, unleashSession) {
|
|
|
45
46
|
}
|
|
46
47
|
app.use((0, secure_headers_1.default)(config));
|
|
47
48
|
app.use(express_1.default.urlencoded({ extended: true }));
|
|
48
|
-
app.use((0, serve_favicon_1.default)(path_1.default.join(
|
|
49
|
-
app.use(baseUriPath, (0, serve_favicon_1.default)(path_1.default.join(
|
|
50
|
-
app.use(baseUriPath, express_1.default.static(
|
|
49
|
+
app.use((0, serve_favicon_1.default)(path_1.default.join(publicFolder, 'favicon.ico')));
|
|
50
|
+
app.use(baseUriPath, (0, serve_favicon_1.default)(path_1.default.join(publicFolder, 'favicon.ico')));
|
|
51
|
+
app.use(baseUriPath, express_1.default.static(publicFolder, { index: false }));
|
|
51
52
|
if (config.enableOAS) {
|
|
52
53
|
app.use(`${baseUriPath}/oas`, express_1.default.static('docs/api/oas'));
|
|
53
54
|
}
|
package/dist/lib/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/lib/app.ts"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/lib/app.ts"],"names":[],"mappings":";;;;;AAAA,sDAA+D;AAC/D,8DAAsC;AACtC,kEAAoC;AACpC,kEAAyC;AACzC,gDAAwB;AACxB,gEAAwC;AACxC,8EAAyE;AACzE,gFAA2E;AAC3E,mFAA0D;AA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AC,CAAC;IAEH,GAAG,CAAC,GAAG,CAAC,GAAG,WAAW,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACrC,IAAI,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,WAAW,MAAM,CAAC,EAAE;YAC3C,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,iBAAiB,EAAE,CAAC,CAAC;YACrD,OAAO;SACV;QAED,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACf,CAAC;AAzID,yBAyIC"}
|
|
@@ -7,7 +7,15 @@ const isClientApi = ({ path }) => {
|
|
|
7
7
|
return path && path.startsWith('/api/client');
|
|
8
8
|
};
|
|
9
9
|
const isProxyApi = ({ path }) => {
|
|
10
|
-
|
|
10
|
+
if (!path) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
// Handle all our current proxy paths which will redirect to the new
|
|
14
|
+
// embedded proxy endpoint
|
|
15
|
+
return (path.startsWith('/api/default/proxy') ||
|
|
16
|
+
path.startsWith('/api/development/proxy') ||
|
|
17
|
+
path.startsWith('/api/production/proxy') ||
|
|
18
|
+
path.startsWith('/api/frontend'));
|
|
11
19
|
};
|
|
12
20
|
exports.TOKEN_TYPE_ERROR_MESSAGE = 'invalid token: expected a different token type for this endpoint';
|
|
13
21
|
const apiAccessMiddleware = ({ getLogger, authentication, experimental, }, { apiTokenService }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-token-middleware.js","sourceRoot":"","sources":["../../../src/lib/middleware/api-token-middleware.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACtE,yDAAyD;AAGzD,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,OAAO,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClD,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5B,OAAO,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"api-token-middleware.js","sourceRoot":"","sources":["../../../src/lib/middleware/api-token-middleware.ts"],"names":[],"mappings":";;;AAAA,sEAAsE;AACtE,yDAAyD;AAGzD,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,OAAO,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAClD,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5B,IAAI,CAAC,IAAI,EAAE;QACP,OAAO;KACV;IAED,oEAAoE;IACpE,0BAA0B;IAC1B,OAAO,CACH,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;QACrC,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;QACzC,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;QACxC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CACnC,CAAC;AACN,CAAC,CAAC;AAEW,QAAA,wBAAwB,GACjC,kEAAkE,CAAC;AAEvE,MAAM,mBAAmB,GAAG,CACxB,EACI,SAAS,EACT,cAAc,EACd,YAAY,GACwD,EACxE,EAAE,eAAe,EAAO,EACrB,EAAE;IACL,MAAM,MAAM,GAAG,SAAS,CAAC,0BAA0B,CAAC,CAAC;IACrD,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAE9C,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE;QAChC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC;KACrC;IAED,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;QACtB,IAAI,GAAG,CAAC,IAAI,EAAE;YACV,OAAO,IAAI,EAAE,CAAC;SACjB;QAED,IAAI;YACA,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;YAC7C,MAAM,OAAO,GAAG,eAAe,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;YAC1D,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,wBAAY,CAAC;YAE1C,IAAI,OAAO,EAAE;gBACT,IACI,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;oBAC9C,CAAC,OAAO,CAAC,IAAI,KAAK,QAAQ,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;oBAC/C,CAAC,OAAO,CAAC,IAAI,KAAK,QAAQ;wBACtB,CAAC,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,EACrC;oBACE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,gCAAwB,EAAE,CAAC,CAAC;oBAC5D,OAAO;iBACV;gBACD,GAAG,CAAC,IAAI,GAAG,OAAO,CAAC;aACtB;SACJ;QAAC,OAAO,KAAK,EAAE;YACZ,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACvB;QAED,IAAI,EAAE,CAAC;IACX,CAAC,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const findPublicFolder: () => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.findPublicFolder = void 0;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const findPublicFolder = () => {
|
|
9
|
+
return path_1.default.join(__dirname, '..', '..', '..', 'frontend', 'build');
|
|
10
|
+
};
|
|
11
|
+
exports.findPublicFolder = findPublicFolder;
|
|
12
|
+
//# sourceMappingURL=findPublicFolder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findPublicFolder.js","sourceRoot":"","sources":["../../../src/lib/util/findPublicFolder.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAEjB,MAAM,gBAAgB,GAAG,GAAW,EAAE;IACzC,OAAO,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;AACvE,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B"}
|
|
@@ -6,8 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const fs_1 = __importDefault(require("fs"));
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
8
|
const rewriteHTML_1 = require("./rewriteHTML");
|
|
9
|
-
const
|
|
10
|
-
const input = fs_1.default
|
|
9
|
+
const findPublicFolder_1 = require("./findPublicFolder");
|
|
10
|
+
const input = fs_1.default
|
|
11
|
+
.readFileSync(path_1.default.join((0, findPublicFolder_1.findPublicFolder)(), 'index.html'))
|
|
12
|
+
.toString();
|
|
11
13
|
test('rewriteHTML substitutes meta tag with existing rewrite value', () => {
|
|
12
14
|
const result = (0, rewriteHTML_1.rewriteHTML)(input, '/hosted');
|
|
13
15
|
expect(result.includes('<meta name="baseUriPath" content="/hosted" />')).toBe(true);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rewriteHTML.test.js","sourceRoot":"","sources":["../../../src/lib/util/rewriteHTML.test.ts"],"names":[],"mappings":";;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,+CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"rewriteHTML.test.js","sourceRo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AAI,CAAC,8DAA8D,EAAE,GAAG,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAW,EAAC,KAAK,EAAE,EAAE,EAAE,kCAAkC,CAAC,CAAC;IAC1E,MAAM,CACF,MAAM,CAAC,QAAQ,CACX,sFAAsF,CACzF,CACJ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACjB,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,uDAAuD,EAAE,GAAG,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAA,yBAAW,EAAC,KAAK,EAAE,EAAE,EAAE,kCAAkC,CAAC,CAAC;IAC1E,MAAM,CACF,MAAM,CAAC,QAAQ,CACX,kEAAkE,CACrE,CACJ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACjB,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,uCAAuC,EAAE,GAAG,EAAE;IAC/C,MAAM,MAAM,GAAG,IAAA,yBAAW,EAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACtC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,yCAAyC,CAAC,CAAC,CAAC,IAAI,CACnE,IAAI,CACP,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# frontend
|
|
2
|
+
|
|
3
|
+
This directory contains the Unleash Admin UI frontend app.
|
|
4
|
+
|
|
5
|
+
## Run with a local instance of the unleash-api
|
|
6
|
+
|
|
7
|
+
First, start the unleash-api backend on port 4242.
|
|
8
|
+
Then, start the frontend dev server:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
cd ~/frontend
|
|
12
|
+
yarn install
|
|
13
|
+
yarn run start
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Run with a heroku-hosted instance of unleash-api
|
|
17
|
+
|
|
18
|
+
Alternatively, instead of running unleash-api on localhost, use a remote instance:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
cd ~/frontend
|
|
22
|
+
yarn install
|
|
23
|
+
yarn run start:heroku
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Running end-to-end tests
|
|
27
|
+
|
|
28
|
+
We have a set of Cypress tests that run on the build before a PR can be merged
|
|
29
|
+
so it's important that you check these yourself before submitting a PR.
|
|
30
|
+
On the server the tests will run against the deployed Heroku app so this is what you probably want to test against:
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
yarn run start:heroku
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
In a different shell, you can run the tests themselves:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
yarn run e2e:heroku
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
If you need to test against patches against a local server instance,
|
|
43
|
+
you'll need to run that, and then run the end to end tests using:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
yarn run e2e
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
You may also need to test that a feature works against the enterprise version of unleash.
|
|
50
|
+
Assuming the Heroku instance is still running, this can be done by:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
yarn run start:enterprise
|
|
54
|
+
yarn run e2e
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Generating the OpenAPI client
|
|
58
|
+
|
|
59
|
+
The frontend uses an OpenAPI client generated from the backend's OpenAPI spec.
|
|
60
|
+
Whenever there are changes to the backend API, the client should be regenerated:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
./scripts/generate-openapi.sh
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
This script assumes that you have a running instance of the enterprise backend at `http://localhost:4242`.
|
|
67
|
+
The new OpenAPI client will be generated from the runtime schema of this instance.
|
|
68
|
+
The target URL can be changed by setting the `UNLEASH_OPENAPI_URL` env var.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg height="2500" viewBox=".27 .27 800.01 858.98" width="2328" xmlns="http://www.w3.org/2000/svg"><path d="m670.38 608.27-71.24-46.99-59.43 99.27-69.12-20.21-60.86 92.89 3.12 29.24 330.9-60.97-19.22-206.75zm-308.59-89.14 53.09-7.3c8.59 3.86 14.57 5.33 24.87 7.95 16.04 4.18 34.61 8.19 62.11-5.67 6.4-3.17 19.73-15.36 25.12-22.31l217.52-39.46 22.19 268.56-372.65 67.16zm404.06-96.77-21.47 4.09-41.25-426.18-702.86 81.5 86.59 702.68 82.27-11.94c-6.57-9.38-16.8-20.73-34.27-35.26-24.23-20.13-15.66-54.32-1.37-75.91 18.91-36.48 116.34-82.84 110.82-141.15-1.98-21.2-5.35-48.8-25.03-67.71-.74 7.85.59 15.41.59 15.41s-8.08-10.31-12.11-24.37c-4-5.39-7.14-7.11-11.39-14.31-3.03 8.33-2.63 17.99-2.63 17.99s-6.61-15.62-7.68-28.8c-3.92 5.9-4.91 17.11-4.91 17.11s-8.59-24.62-6.63-37.88c-3.92-11.54-15.54-34.44-12.25-86.49 21.45 15.03 68.67 11.46 87.07-15.66 6.11-8.98 10.29-33.5-3.05-81.81-8.57-30.98-29.79-77.11-38.06-94.61l-.99.71c4.36 14.1 13.35 43.66 16.8 57.99 10.44 43.47 13.24 58.6 8.34 78.64-4.17 17.42-14.17 28.82-39.52 41.56-25.35 12.78-58.99-18.32-61.12-20.04-24.63-19.62-43.68-51.63-45.81-67.18-2.21-17.02 9.81-27.24 15.87-41.16-8.67 2.48-18.34 6.88-18.34 6.88s11.54-11.94 25.77-22.27c5.89-3.9 9.35-6.38 15.56-11.54-8.99-.15-16.29.11-16.29.11s14.99-8.1 30.53-14c-11.37-.5-22.25-.08-22.25-.08s33.45-14.96 59.87-25.94c18.17-7.45 35.92-5.25 45.89 9.17 13.09 18.89 26.84 29.15 55.98 35.51 17.89-7.93 23.33-12.01 45.81-18.13 19.79-21.76 35.33-24.58 35.33-24.58s-7.71 7.07-9.77 18.18c11.22-8.84 23.52-16.22 23.52-16.22s-4.76 5.88-9.2 15.22l1.03 1.53c13.09-7.85 28.48-14.04 28.48-14.04s-4.4 5.56-9.56 12.76c9.87-.08 29.89.42 37.66 1.3 45.87 1.01 55.39-48.99 72.99-55.26 22.04-7.87 31.89-12.63 69.45 24.26 32.23 31.67 57.41 88.36 44.91 101.06-10.48 10.54-31.16-4.11-54.08-32.68-12.11-15.13-21.27-33.01-25.56-55.74-3.62-19.18-17.71-30.31-17.71-30.31s8.18 18.18 8.18 34.24c0 8.77 1.1 41.56 15.16 59.96-1.39 2.69-2.04 13.31-3.58 15.34-16.36-19.77-51.49-33.92-57.22-38.09 19.39 15.89 63.96 52.39 81.08 87.37 16.19 33.08 6.65 63.4 14.84 71.25 2.33 2.25 34.82 42.73 41.07 63.07 10.9 35.45.65 72.7-13.62 95.81l-39.85 6.21c-5.83-1.62-9.76-2.43-14.99-5.46 2.88-5.1 8.61-17.82 8.67-20.44l-2.25-3.95c-12.4 17.57-33.18 34.63-50.44 44.43-22.59 12.8-48.63 10.83-65.58 5.58-48.11-14.84-93.6-47.35-104.57-55.89 0 0-.34 6.82 1.73 8.35 12.13 13.68 39.92 38.43 66.78 55.68l-57.26 6.3 27.07 210.78c-12 1.72-13.87 2.56-27.01 4.43-11.58-40.91-33.73-67.62-57.94-83.18-21.35-13.72-50.8-16.81-78.99-11.23l-1.81 2.1c19.6-2.04 42.74.8 66.51 15.85 23.33 14.75 42.13 52.85 49.05 75.79 8.86 29.32 14.99 60.68-8.86 93.92-16.97 23.63-66.51 36.69-106.53 8.44 10.69 17.19 25.14 31.25 44.59 33.9 28.88 3.92 56.29-1.09 75.16-20.46 16.11-16.56 24.65-51.19 22.4-87.66l25.49-3.7 9.2 65.46 421.98-50.81zm-256.73-177.77c-1.18 2.69-3.03 4.45-.25 13.2l.17.5.44 1.13 1.16 2.62c5.01 10.24 10.51 19.9 19.7 24.83 2.38-.4 4.84-.67 7.39-.8 8.63-.38 14.08.99 17.54 2.85.31-1.72.38-4.24.19-7.95-.67-12.97 2.57-35.03-22.36-46.64-9.41-4.37-22.61-3.02-27.01 2.43.8.1 1.52.27 2.08.46 6.65 2.33 2.14 4.62.95 7.37m69.87 121.02c-3.27-1.8-18.55-1.09-29.29.19-20.46 2.41-42.55 9.51-47.39 13.29-8.8 6.8-4.8 18.66 1.7 23.53 18.23 13.62 34.21 22.75 51.08 20.53 10.36-1.36 19.49-17.76 25.96-32.64 4.43-10.25 4.43-21.31-2.06-24.9m-181.14-104.96c5.77-5.48-28.74-12.68-55.52 5.58-19.75 13.47-20.38 42.35-1.47 58.72 1.89 1.62 3.45 2.77 4.91 3.71 5.52-2.6 11.81-5.23 19.05-7.58 12.23-3.97 22.4-6.02 30.76-7.11 4-4.47 8.65-12.34 7.49-26.59-1.58-19.33-16.23-16.26-5.22-26.73" fill="#632ca6"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|