Skip to content

Commit

Permalink
Merge pull request #77 from RNGeek/update-deps
Browse files Browse the repository at this point in the history
依存関係を更新
  • Loading branch information
mizdra authored Feb 2, 2022
2 parents f73795e + fda0231 commit 0ac9f3d
Show file tree
Hide file tree
Showing 5 changed files with 3,259 additions and 1,968 deletions.
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
publish = "dist/frontend"
functions = "dist/serverless"
[build.environment]
NODE_VERSION = "14.5.0"
NPM_VERSION = "6.14.5"
YARN_VERSION = "1.22.4"
NODE_VERSION = "16.13.2"
NPM_VERSION = "8.4.0"
YARN_VERSION = "1.22.15"
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,37 +36,37 @@
"vuelidate": "^0.5.0"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.61",
"@types/aws-lambda": "^8.10.92",
"@types/node": "^14.6.2",
"@typescript-eslint/parser": "^3.10.1",
"autoprefixer": "^9.8.6",
"copy-webpack-plugin": "^6.0.4",
"css-loader": "^4.2.2",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-import-resolver-webpack": "^0.12.2",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^6.2.2",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"mini-css-extract-plugin": "^0.11.0",
"netlify-lambda": "^2.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.5.3",
"netlify-lambda": "^2.0.15",
"npm-run-all": "^4.1.2",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"sw-precache-webpack-plugin": "^1.0.0",
"ts-loader": "^8.0.3",
"url-loader": "^4.1.0",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^7.3.0",
"ts-loader": "^9.2.6",
"url-loader": "^4.1.1",
"vue-eslint-parser": "^7.1.0",
"vue-loader": "^15.9.3",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-node-externals": "^2.5.2"
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4",
"webpack-node-externals": "^3.0.0",
"workbox-webpack-plugin": "^6.4.2"
},
"engines": {
"node": ">= 4.0.0",
Expand Down
1 change: 0 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
features: {
'nesting-rules': true,
'custom-media-queries': true,
'color-mod-function': true,
},
},
},
Expand Down
13 changes: 7 additions & 6 deletions webpack.frontend.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const webpack = require('webpack')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin')
const { GenerateSW } = require('workbox-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
Expand Down Expand Up @@ -32,7 +31,9 @@ module.exports = (env, argv) => ({
devtool: argv.mode === 'development' ? 'inline-source-map' : false,

devServer: {
contentBase: distPath,
static: {
directory: distPath,
},
historyApiFallback: true,
proxy: {
'/.netlify': {
Expand Down Expand Up @@ -129,10 +130,10 @@ module.exports = (env, argv) => ({
},
],
}),
new SWPrecacheWebpackPlugin({
new GenerateSW({
cacheId: 'emtimer',
filename: 'service-worker.js',
staticFileGlobsIgnorePatterns: [/_redirects$/],
swDest: resolve(distPath, './service-worker.js'),
exclude: [/_redirects$/],
}),
],
})
Loading

0 comments on commit 0ac9f3d

Please sign in to comment.