Skip to content

Commit

Permalink
Merge pull request #6 from make-software/update-client-repo-to-a-new-…
Browse files Browse the repository at this point in the history
…structure

Update client repo to a new structure
  • Loading branch information
victoriari authored Jun 3, 2024
2 parents 8735f52 + 4c5cb37 commit 1ee9138
Show file tree
Hide file tree
Showing 124 changed files with 32,747 additions and 33,470 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
node_modules
dist
.env

# IDEs and editors
.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
2 changes: 2 additions & 0 deletions client/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/build
/coverage
*.yaml
*.css
*.json
2 changes: 1 addition & 1 deletion client/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"singleQuote": true,
"bracketSpacing": true,
"printWidth": 120,
"printWidth": 70,
"tabWidth": 2,
"jsxSingleQuote": true,
"arrowParens": "avoid",
Expand Down
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Congrats! You have successfully created a new React project with CSPR.click!

Please type
Please type

```bash
cp public/config.js.local public/config.js
Expand Down
21 changes: 11 additions & 10 deletions client/config-overrides.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// eslint-disable-next-line no-undef
module.exports = function override(config) {
config.module.rules = [...config.module.rules,
{
test: /\.m?js/,
resolve: {
fullySpecified: false
}
}
]
return config
}
config.module.rules = [
...config.module.rules,
{
test: /\.m?js/,
resolve: {
fullySpecified: false,
},
},
];
return config;
};
Loading

0 comments on commit 1ee9138

Please sign in to comment.