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

Commit

Permalink
Merge pull request #11 from reactioncommerce/feat-10-mikemurray-base-ui
Browse files Browse the repository at this point in the history
Add base admin UI components and features
  • Loading branch information
mikemurray authored Apr 7, 2020
2 parents 858940e + 959dbfa commit cb78663
Show file tree
Hide file tree
Showing 63 changed files with 2,273 additions and 253 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ HYDRA_REDIRECT_URL=http://localhost:8081

# Public vars for the web-app
PUBLIC_GRAPHQL_API_URL=http://localhost:3000/graphql
PUBLIC_I18N_BASE_URL=http://localhost:3000
PUBLIC_I18N_FALLBACK_LANGUAGE=en
PUBLIC_OIDC_CLIENT_ID=reaction-admin-core
PUBLIC_OIDC_URL=http://localhost:4444
PUBLIC_ROOT_URL=http://localhost:8081
25 changes: 8 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
"html-webpack-plugin": "^3.2.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"mdi-material-ui": "^6.13.0",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"rimraf": "^3.0.2",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
Expand Down
1 change: 1 addition & 0 deletions package/config/eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
}
},
rules: {
"id-length": ["error", { exceptions: ["t", "_"] }],
"jsx-a11y/label-has-for": "off",
"node/no-missing-import": "off",
"node/no-missing-require": "off",
Expand Down
5 changes: 4 additions & 1 deletion package/config/webpack.common.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const fs = require("fs");
const path = require("path");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const HtmlWebPackPlugin = require("html-webpack-plugin");
const Dotenv = require("dotenv-webpack");

Expand All @@ -21,7 +22,6 @@ const resolvePathFromRoot = (relativePath) => (

module.exports = {
output: {
// path: path.resolve(__dirname, "dist"),
path: resolvePathFromRoot("dist"),
publicPath: "/",
chunkFilename: "[chunkhash]-[name].bundle.js",
Expand Down Expand Up @@ -99,6 +99,9 @@ module.exports = {
systemvars: true
}),
new CleanWebpackPlugin(),
new CopyWebpackPlugin([
{ from: "public" }
]),
new HtmlWebPackPlugin({
template: "./src/index.html"
})
Expand Down
Loading

0 comments on commit cb78663

Please sign in to comment.