Compare commits
No commits in common. "develop" and "v1.3.0" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
import {DidFailLoadEvent, ipcRenderer, PageFaviconUpdatedEvent, UpdateTargetUrlEvent} from "electron";
|
import {DidFailLoadEvent, ipcRenderer, PageFaviconUpdatedEvent, UpdateTargetUrlEvent,} from "electron";
|
||||||
import Service from "../../src/Service";
|
import Service from "../../src/Service";
|
||||||
import {IconProperties, IconSet, SpecialPages} from "../../src/Meta";
|
import {IconProperties, IconSet, SpecialPages} from "../../src/Meta";
|
||||||
import Config from "../../src/Config";
|
import Config from "../../src/Config";
|
||||||
|
25
package.json
25
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tabs",
|
"name": "tabs",
|
||||||
"version": "1.3.1",
|
"version": "1.3.0",
|
||||||
"description": "Persistent and separate browser tabs in one window.",
|
"description": "Persistent and separate browser tabs in one window.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Alice Gaudon",
|
"name": "Alice Gaudon",
|
||||||
@ -30,23 +30,22 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.9.6",
|
"@babel/core": "^7.9.6",
|
||||||
"@babel/preset-env": "^7.9.6",
|
"@babel/preset-env": "^7.9.6",
|
||||||
"@fortawesome/fontawesome-free": "^6.1.0",
|
"@fortawesome/fontawesome-free": "^5.13.0",
|
||||||
"@types/node": "^14.6.2",
|
"@types/node": "^14.17.18",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
||||||
"@typescript-eslint/parser": "^5.15.0",
|
"@typescript-eslint/parser": "^4.3.0",
|
||||||
"babel-loader": "^8.1.0",
|
"babel-loader": "^8.1.0",
|
||||||
"concurrently": "^7.0.0",
|
"concurrently": "^6.0.0",
|
||||||
"copy-webpack-plugin": "^10.2.4",
|
"copy-webpack-plugin": "^9.0.0",
|
||||||
"css-loader": "^6.3.0",
|
"css-loader": "^6.3.0",
|
||||||
"electron": "^17.1.2",
|
"electron": "^15.0.0",
|
||||||
"electron-builder": "^22.11.5",
|
"electron-builder": "^22.11.5",
|
||||||
"eslint": "^8.11.0",
|
"eslint": "^7.10.0",
|
||||||
"image-minimizer-webpack-plugin": "^3.2.3",
|
"image-minimizer-webpack-plugin": "^2.2.0",
|
||||||
"imagemin": "^8.0.1",
|
|
||||||
"imagemin-gifsicle": "^7.0.0",
|
"imagemin-gifsicle": "^7.0.0",
|
||||||
"imagemin-mozjpeg": "^10.0.0",
|
"imagemin-mozjpeg": "^9.0.0",
|
||||||
"imagemin-pngquant": "^9.0.2",
|
"imagemin-pngquant": "^9.0.2",
|
||||||
"imagemin-svgo": "^10.0.1",
|
"imagemin-svgo": "^9.0.0",
|
||||||
"mini-css-extract-plugin": "^2.1.0",
|
"mini-css-extract-plugin": "^2.1.0",
|
||||||
"sass": "^1.32.12",
|
"sass": "^1.32.12",
|
||||||
"sass-loader": "^12.1.0",
|
"sass-loader": "^12.1.0",
|
||||||
|
@ -76,8 +76,6 @@ export default class Application {
|
|||||||
if (contents.getType() === 'webview') {
|
if (contents.getType() === 'webview') {
|
||||||
console.log('Setting external links to open in default OS browser');
|
console.log('Setting external links to open in default OS browser');
|
||||||
contents.setWindowOpenHandler(details => {
|
contents.setWindowOpenHandler(details => {
|
||||||
if (details.url.startsWith(details.referrer.url)) return {action: 'allow'};
|
|
||||||
|
|
||||||
const url = details.url;
|
const url = details.url;
|
||||||
this.openExternalLink(url)
|
this.openExternalLink(url)
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
import {clipboard, ContextMenuParams, dialog, ipcMain, Menu, MenuItem, session, webContents} from "electron";
|
import {clipboard, ContextMenuParams, dialog, ipcMain, Menu, MenuItem, session, webContents,} from "electron";
|
||||||
import ServiceSettingsWindow from "./ServiceSettingsWindow";
|
import ServiceSettingsWindow from "./ServiceSettingsWindow";
|
||||||
import SettingsWindow from "./SettingsWindow";
|
import SettingsWindow from "./SettingsWindow";
|
||||||
import Application from "../Application";
|
import Application from "../Application";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||||
const ImageMinimizerPlugin = require("image-minimizer-webpack-plugin");
|
const ImageMinimizerPlugin = require("image-minimizer-webpack-plugin");
|
||||||
const {extendDefaultPlugins} = require("svgo");
|
const { extendDefaultPlugins } = require("svgo");
|
||||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
|
|
||||||
const dev = process.env.NODE_ENV === 'development';
|
const dev = process.env.NODE_ENV === 'development';
|
||||||
@ -87,9 +87,7 @@ const config = {
|
|||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
new ImageMinimizerPlugin({
|
new ImageMinimizerPlugin({
|
||||||
minimizer: {
|
minimizerOptions: {
|
||||||
implementation: ImageMinimizerPlugin.imageminMinify,
|
|
||||||
options: {
|
|
||||||
// Lossless optimization with custom option
|
// Lossless optimization with custom option
|
||||||
// Feel free to experiment with options for better result for you
|
// Feel free to experiment with options for better result for you
|
||||||
plugins: [
|
plugins: [
|
||||||
@ -112,9 +110,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
},
|
//TODO for imagemin-svgo ^10.0.0 when https://github.com/webpack-contrib/image-minimizer-webpack-plugin/issues/237 is fixed
|
||||||
// todo: still not fixed
|
|
||||||
// {
|
|
||||||
// plugins: {
|
// plugins: {
|
||||||
// name: 'preset-default',
|
// name: 'preset-default',
|
||||||
// params: {
|
// params: {
|
||||||
@ -124,16 +120,15 @@ const config = {
|
|||||||
// },
|
// },
|
||||||
// addAttributesToSVGElement: {
|
// addAttributesToSVGElement: {
|
||||||
// params: {
|
// params: {
|
||||||
// attributes: [{xmlns: "http://www.w3.org/2000/svg"}],
|
// attributes: [{ xmlns: "http://www.w3.org/2000/svg" }],
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
// },
|
|
||||||
],
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user