From 01ae8ad2e8943c1da0599a5cdf973f5fd69716fe Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Fri, 7 Apr 2023 11:24:05 -0700 Subject: [PATCH] chore(deps): add missing dependencies used in webpack.makeConfig.js This was meant as a step toward supporting "npm ln scratch-gui" but it turns out that's pretty far away. Still, it's better to be honest about the dependencies. --- package-lock.json | 6 +++++- package.json | 6 +++++- webpack.makeConfig.js | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0e9feaa..ce7ef06 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@babel/preset-env": "^7.9.6", "@babel/preset-react": "^7.9.4", "async": "^3.2.0", + "autoprefixer": "9.8.8", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "babel-plugin-react-intl": "^7.5.7", @@ -41,6 +42,8 @@ "minimist": "^1.2.5", "mkdirp": "^1.0.4", "nets": "^3.2.0", + "postcss-import": "12.0.1", + "postcss-simple-vars": "5.0.2", "react": "16.14.0", "react-dom": "16.14.0", "react-intl": "2.9.0", @@ -49,7 +52,8 @@ "rimraf": "^3.0.2", "scratch-gui": "github:LLK/scratch-gui#scratch-desktop-v3.29.0", "uuid": "^8.0.0", - "webpack": "^4.43.0" + "webpack": "^4.43.0", + "webpack-merge": "4.2.2" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 6bbc9f6..c580e70 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@babel/preset-env": "^7.9.6", "@babel/preset-react": "^7.9.4", "async": "^3.2.0", + "autoprefixer": "9.8.8", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "babel-plugin-react-intl": "^7.5.7", @@ -57,6 +58,8 @@ "minimist": "^1.2.5", "mkdirp": "^1.0.4", "nets": "^3.2.0", + "postcss-import": "12.0.1", + "postcss-simple-vars": "5.0.2", "react": "16.14.0", "react-dom": "16.14.0", "react-intl": "2.9.0", @@ -65,7 +68,8 @@ "rimraf": "^3.0.2", "scratch-gui": "github:LLK/scratch-gui#scratch-desktop-v3.29.0", "uuid": "^8.0.0", - "webpack": "^4.43.0" + "webpack": "^4.43.0", + "webpack-merge": "4.2.2" }, "resolutions": { "upath": "^1.0.5" diff --git a/webpack.makeConfig.js b/webpack.makeConfig.js index 19ed37c..460c3ed 100644 --- a/webpack.makeConfig.js +++ b/webpack.makeConfig.js @@ -9,8 +9,8 @@ const merge = require('webpack-merge'); // PostCss const autoprefixer = require('autoprefixer'); -const postcssVars = require('postcss-simple-vars'); const postcssImport = require('postcss-import'); +const postcssVars = require('postcss-simple-vars'); const isProduction = (process.env.NODE_ENV === 'production');