Skip to content

Commit

Permalink
updated submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
TanninOne committed Apr 20, 2020
1 parent 388199a commit f047fa7
Show file tree
Hide file tree
Showing 37 changed files with 65 additions and 46 deletions.
2 changes: 1 addition & 1 deletion extensions/changelog-dashlet
Submodule changelog-dashlet updated 2 files
+1 −0 tsconfig.json
+84 −40 yarn.lock
2 changes: 1 addition & 1 deletion extensions/documentation
Submodule documentation updated 1 files
+530 −245 yarn.lock
2 changes: 1 addition & 1 deletion extensions/feedback
Submodule feedback updated 1 files
+11 −301 yarn.lock
2 changes: 1 addition & 1 deletion extensions/fnis-integration
2 changes: 1 addition & 1 deletion extensions/game-pillarsofeternity2
2 changes: 1 addition & 1 deletion extensions/gamebryo-archive-invalidation
2 changes: 1 addition & 1 deletion extensions/gamebryo-ba2-support
Submodule gamebryo-ba2-support updated 1 files
+8 −153 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamebryo-bsa-support
Submodule gamebryo-bsa-support updated 1 files
+7 −109 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamebryo-plugin-indexlock
2 changes: 1 addition & 1 deletion extensions/gamebryo-plugin-management
2 changes: 1 addition & 1 deletion extensions/gamebryo-savegame-management
2 changes: 1 addition & 1 deletion extensions/gamebryo-test-settings
2 changes: 1 addition & 1 deletion extensions/gameinfo-steam
Submodule gameinfo-steam updated 1 files
+8 −313 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamestore-gog
Submodule gamestore-gog updated 2 files
+1 −1 package.json
+279 −338 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamestore-origin
Submodule gamestore-origin updated 2 files
+1 −1 package.json
+305 −259 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamestore-uplay
Submodule gamestore-uplay updated 2 files
+1 −1 package.json
+296 −253 yarn.lock
2 changes: 1 addition & 1 deletion extensions/gamestore-xbox
Submodule gamestore-xbox updated 2 files
+1 −1 package.json
+296 −253 yarn.lock
2 changes: 1 addition & 1 deletion extensions/issue-tracker
Submodule issue-tracker updated 1 files
+230 −223 yarn.lock
2 changes: 1 addition & 1 deletion extensions/meta-editor
Submodule meta-editor updated 1 files
+2 −2 yarn.lock
2 changes: 1 addition & 1 deletion extensions/mo-import
Submodule mo-import updated 1 files
+2 −2 yarn.lock
2 changes: 1 addition & 1 deletion extensions/mod-highlight
Submodule mod-highlight updated 1 files
+521 −236 yarn.lock
2 changes: 1 addition & 1 deletion extensions/modtype-dazip
Submodule modtype-dazip updated 1 files
+540 −268 yarn.lock
2 changes: 1 addition & 1 deletion extensions/modtype-dinput
Submodule modtype-dinput updated 1 files
+2 −2 yarn.lock
2 changes: 1 addition & 1 deletion extensions/modtype-harmony-patcher
2 changes: 1 addition & 1 deletion extensions/modtype-umm
Submodule modtype-umm updated 1 files
+526 −246 yarn.lock
2 changes: 1 addition & 1 deletion extensions/mtframework-arc-support
2 changes: 1 addition & 1 deletion extensions/new-file-monitor
Submodule new-file-monitor updated 1 files
+2 −2 yarn.lock
2 changes: 1 addition & 1 deletion extensions/nmm-import-tool
Submodule nmm-import-tool updated 1 files
+6 −106 yarn.lock
2 changes: 1 addition & 1 deletion extensions/open-directory
Submodule open-directory updated 1 files
+529 −263 yarn.lock
2 changes: 1 addition & 1 deletion extensions/quickbms-support
Submodule quickbms-support updated 1 files
+521 −241 yarn.lock
2 changes: 1 addition & 1 deletion extensions/script-extender-error-check
2 changes: 1 addition & 1 deletion extensions/test-gameversion
Submodule test-gameversion updated 1 files
+2 −2 yarn.lock
2 changes: 1 addition & 1 deletion extensions/theme-switcher
Submodule theme-switcher updated 1 files
+10 −305 yarn.lock
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"electron-rebuild": "^1.8.8",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"fork-ts-checker-webpack-plugin": "^4.1.3",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"json-loader": "^0.5.7",
Expand Down
20 changes: 14 additions & 6 deletions webpack.main.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
const webpack = require('webpack');
const nodeExternals = require('webpack-node-externals');
const TerserPlugin = require('terser-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

const mode = 'production';

const transpileOnly = (ForkTsCheckerWebpackPlugin !== undefined)
|| (process.env['BUILD_QUICK_AND_DIRTY'] !== undefined);

const plugins = [
new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
];

if ((ForkTsCheckerWebpackPlugin !== undefined) && (process.env['BUILD_QUICK_AND_DIRTY'] === undefined)) {
plugins.push(new ForkTsCheckerWebpackPlugin());
}

module.exports = {
entry: './src/main.ts',
target: 'electron-main',
Expand All @@ -20,7 +32,7 @@ module.exports = {
loader: 'ts-loader',
exclude: /node_modules/,
options: {
transpileOnly: process.env['BUILD_QUICK_AND_DIRTY'] !== undefined,
transpileOnly,
compilerOptions: {
sourceMap: true,
inlineSourceMap: false,
Expand All @@ -31,11 +43,7 @@ module.exports = {
],
},
resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'] },
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production'),
}),
],
plugins,
devtool: 'source-map',
optimization: {
minimizer: [
Expand Down
22 changes: 16 additions & 6 deletions webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ var webpack = require('webpack');
var nodeExternals = require('webpack-node-externals');
const TerserPlugin = require('terser-webpack-plugin')

const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

const mode = 'production';

const transpileOnly = (ForkTsCheckerWebpackPlugin !== undefined)
|| (process.env['BUILD_QUICK_AND_DIRTY'] !== undefined);

const plugins = [
new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
];

if ((ForkTsCheckerWebpackPlugin !== undefined) && (process.env['BUILD_QUICK_AND_DIRTY'] === undefined)) {
plugins.push(new ForkTsCheckerWebpackPlugin());
}


module.exports = {
entry: './src/renderer.tsx',
target: 'electron-renderer',
Expand All @@ -20,7 +34,7 @@ module.exports = {
loader: 'ts-loader',
exclude: /node_modules/,
options: {
transpileOnly: process.env['BUILD_QUICK_AND_DIRTY'] !== undefined,
transpileOnly,
compilerOptions: {
sourceMap: true,
inlineSourceMap: false,
Expand All @@ -31,11 +45,7 @@ module.exports = {
]
},
resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'] },
plugins: [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production'),
}),
],
plugins,
optimization: {
minimizer: [
new TerserPlugin({
Expand Down

0 comments on commit f047fa7

Please sign in to comment.