fix yarn.lock
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isMobileViewport = exports.translate = exports.getItemPageNames = exports.assetUrl = exports.rings = exports.quadrants = exports.radarNameShort = exports.radarName = void 0;
|
||||
exports.assetUrl = exports.isMobileViewport = exports.translate = exports.showEmptyRings = exports.getItemPageNames = exports.rings = exports.quadrants = exports.radarNameShort = exports.radarName = void 0;
|
||||
exports.radarName = process.env.RADAR_NAME || 'AOE Technology Radar';
|
||||
exports.radarNameShort = exports.radarName;
|
||||
exports.quadrants = [
|
||||
@@ -16,13 +16,8 @@ exports.rings = [
|
||||
'assess',
|
||||
'hold'
|
||||
];
|
||||
// todo: fix
|
||||
function assetUrl(file) {
|
||||
return process.env.PUBLIC_URL + '/' + file;
|
||||
// return `/techradar/assets/${file}`
|
||||
}
|
||||
exports.assetUrl = assetUrl;
|
||||
exports.getItemPageNames = (items) => items.map(item => `${item.quadrant}/${item.name}`);
|
||||
exports.showEmptyRings = false;
|
||||
const messages = {
|
||||
'languages-and-frameworks': 'Languages & Frameworks',
|
||||
'methods-and-patterns': 'Methods & Patterns',
|
||||
@@ -38,3 +33,8 @@ function isMobileViewport() {
|
||||
return width < 1200;
|
||||
}
|
||||
exports.isMobileViewport = isMobileViewport;
|
||||
function assetUrl(file) {
|
||||
return process.env.PUBLIC_URL + '/' + file;
|
||||
// return `/techradar/assets/${file}`
|
||||
}
|
||||
exports.assetUrl = assetUrl;
|
||||
|
||||
0
bin/tasks/create-static.js
Normal file → Executable file
0
bin/tasks/create-static.js
Normal file → Executable file
Reference in New Issue
Block a user