Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SSen committed Apr 8, 2021
1 parent 84adae4 commit b3c440a
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 189 deletions.
18 changes: 9 additions & 9 deletions packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "packages",
"version": "1.0.0",
"scripts": {
"build": "rocket-punch build",
"build": "rocket-punch build --strict",
"publish": "rocket-punch publish",
"view": "rocket-punch view",
"doctor": "rocket-punch doctor",
Expand Down Expand Up @@ -63,9 +63,9 @@
"@types/lodash.debounce": "^4.0.6",
"@types/mini-css-extract-plugin": "^1.4.1",
"@types/node": "^14.14.37",
"@types/node-fetch": "^2.5.9",
"@types/node-fetch": "^2.5.10",
"@types/nodemon": "^1.19.0",
"@types/prompts": "^2.4.0",
"@types/prompts": "^2.0.10",
"@types/ramda": "^0.27.39",
"@types/react": "^17.0.3",
"@types/react-dev-utils": "^9.0.5",
Expand All @@ -85,13 +85,13 @@
"@types/webpack-merge": "^5.0.0",
"@types/webpack-node-externals": "^2.5.1",
"@types/yargs": "^16.0.1",
"anymatch": "^3.1.1",
"anymatch": "^3.1.2",
"browserslist": "^4.16.3",
"cfonts": "^2.9.1",
"chalk": "^4.1.0",
"chokidar": "^3.5.1",
"css-loader": "^5.2.0",
"date-fns": "^2.19.0",
"date-fns": "^2.20.0",
"electron": "^12.0.2",
"esbuild-jest": "^0.5.0",
"esbuild-loader": "^2.11.0",
Expand All @@ -116,7 +116,7 @@
"less-loader": "^8.0.0",
"lint-staged": "^10.5.4",
"lodash.debounce": "^4.0.8",
"mini-css-extract-plugin": "^1.4.0",
"mini-css-extract-plugin": "^1.4.1",
"node-fetch": "^2.6.1",
"nodemon": "^2.0.7",
"package-json": "^6.5.0",
Expand Down Expand Up @@ -152,11 +152,11 @@
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"type-fest": "^1.0.1",
"typescript": "^4.2.3",
"typescript": "^4.2.4",
"url-loader": "^4.1.1",
"webpack": "^5.30.0",
"webpack": "^5.31.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-dev-server": "^4.0.0-beta.1",
"webpack-dev-server": "^4.0.0-beta.2",
"webpack-merge": "^5.7.3",
"webpack-node-externals": "^2.5.2",
"worker-loader": "^3.0.8",
Expand Down
8 changes: 4 additions & 4 deletions packages/src/@rocket-scripts/electron/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function build({
{} as Record<string, string>,
),

global: JSON.stringify([]),
'global': JSON.stringify([]),
}),
],
},
Expand Down Expand Up @@ -199,9 +199,9 @@ export async function build({
},

plugins: [
new MiniCssExtractPlugin({
(new MiniCssExtractPlugin({
filename: `[name].css`,
}) as WebpackPluginInstance,
}) as unknown) as WebpackPluginInstance,

new HtmlWebpackPlugin({
template: path.join(cwd, `src/${app}/index.html`),
Expand All @@ -223,7 +223,7 @@ export async function build({
{} as Record<string, string>,
),

global: JSON.stringify([]),
'global': JSON.stringify([]),
}),
],
},
Expand Down
4 changes: 2 additions & 2 deletions packages/src/@rocket-scripts/electron/start.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ export async function start({
},

plugins: [
new MiniCssExtractPlugin({
(new MiniCssExtractPlugin({
filename: `[name].css`,
}) as WebpackPluginInstance,
}) as unknown) as WebpackPluginInstance,

new HtmlWebpackPlugin({
template: path.join(cwd, `src/${app}/index.html`),
Expand Down
4 changes: 2 additions & 2 deletions packages/src/@rocket-scripts/web/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ export async function build({

plugins: [
// create css files
new MiniCssExtractPlugin({
(new MiniCssExtractPlugin({
filename: `${chunkPath}[name].[fullhash].css`,
chunkFilename: `${chunkPath}[name].[fullhash].css`,
}) as WebpackPluginInstance,
}) as unknown) as WebpackPluginInstance,

// create size report
new BundleAnalyzerPlugin({
Expand Down
4 changes: 2 additions & 2 deletions packages/src/@ssen/electron-dev-server/__run__/basic.run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ import { devServerStart } from '../devServerStart';
},

plugins: [
new MiniCssExtractPlugin({
(new MiniCssExtractPlugin({
filename: `[name].css`,
}),
}) as unknown) as WebpackPluginInstance,

new HtmlWebpackPlugin({
template: path.join(cwd, 'src/app/index.html'),
Expand Down
Loading

0 comments on commit b3c440a

Please sign in to comment.