1.5.1 -> Fix changelogs in prod

sidebar v1.5.1
Kit Kasune 3 years ago
parent c9ae623c08
commit 1d7726b2a1
  1. 1
      json/changelogs/1.5.1.json
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 3
      scripts/startup/changelog.js

@ -0,0 +1 @@
{"log":{"Bugs":["Changelogs work in production","My brain is quite small yes yes","Hope this doesn't break anything else *shrug*"]},"version":{"name":"Alpha","semver":"1.5.1"}}

4
package-lock.json generated

@ -1,12 +1,12 @@
{
"name": "filekade",
"version": "1.5.0",
"version": "1.5.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "filekade",
"version": "1.5.0",
"version": "1.5.1",
"license": "ISC",
"dependencies": {
"chalk": "^4.1.2",

@ -1,6 +1,6 @@
{
"name": "filekade",
"version": "1.5.0",
"version": "1.5.1",
"description": "A file explorer (primarily a learning experience for me)",
"main": "main.js",
"scripts": {

@ -1,10 +1,11 @@
const fs = require('fs');
const Mousetrap = require('../dep/mousetrap');
const path = require('path');
const preModal = require('../modal/pre');
const postModal = require('../modal/post');
const changelogs = fs.readdirSync('./json/changelogs').filter(file => file.endsWith('.json'));
const changelogs = fs.readdirSync(path.join(__dirname, '../../', '/json/changelogs')).filter(file => file.endsWith('.json'));
module.exports = () => {
if (window.kade.modal) {return;}

Loading…
Cancel
Save