Skip to content

Commit

Permalink
update referral links and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarnadas committed Feb 9, 2024
1 parent 6ebcbdc commit 61f3462
Show file tree
Hide file tree
Showing 7 changed files with 2,000 additions and 2,781 deletions.
2 changes: 1 addition & 1 deletion config/webpack.prod-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { port, domain } = require('./environment')['prod']

module.exports = [
{
mode: 'production',
mode: 'development',
target: 'node',
devtool: 'source-map',
entry: path.join(__dirname, '../src/server/index.ts'),
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@
"start": "npm-run-all --parallel watch:client watch:server start:server",
"start:server": "nodemon ./build/server -e ts,js,json -i '*.spec.js' --watch ./build/server",
"start:similarity": "nodemon ./build/similarity",
"watch:devserver": "webpack-dev-server --env=dev-client --hot --inline --progress --colors --content-base ./build/client",
"watch:devserver": "webpack-dev-server --env ENVIRONMENT=dev-client --hot --inline --progress --content-base ./build/client",
"watch": "npm-run-all --parallel watch:client watch:server",
"watch:client": "npm run build:dev-client -- --watch",
"watch:server": "npm run build:dev-server -- --watch",
"watch:similarity": "npm run build:similarity -- --watch",
"build:dev": "yarn clean && npm run build:dev-client && npm run build:dev-server",
"build:dev-client": "webpack --env=dev-client --progress --colors",
"build:dev-server": "webpack --env=dev-server --progress --colors",
"build:ver": "webpack --env=ver --progress --colors",
"build:client": "webpack --env=prod-client --progress --colors",
"build:server": "webpack --env=prod-server --progress --colors",
"build:similarity": "webpack --env=similarity --progress --colors",
"build:dev-client": "webpack --env ENVIRONMENT=dev-client --progress",
"build:dev-server": "webpack --env ENVIRONMENT=dev-server --progress",
"build:ver": "webpack --env ENVIRONMENT=ver --progress",
"build:client": "webpack --env ENVIRONMENT=prod-client --progress",
"build:server": "webpack --env ENVIRONMENT=prod-server --progress",
"build:similarity": "webpack --env ENVIRONMENT=similarity --progress",
"build": "yarn clean && yarn build:client && yarn build:server",
"test": "jest spec",
"test-server": "webpack --env=test-server --progress --colors",
"test-server:store": "webpack --env=gen-store --progress --colors",
"test-server": "webpack --env ENVIRONMENT=test-server --progress",
"test-server:store": "webpack --env ENVIRONMENT=gen-store --progress",
"backup": "node ./backup.js",
"restore": "cd ../mongo && docker-compose up",
"docker:mongo": "docker-compose -f ../docker-compose.dev.yml up",
Expand Down Expand Up @@ -148,7 +148,7 @@
"url-loader": "^0.5.9",
"webpack": "^4.6.0",
"webpack-bundle-analyzer": "3",
"webpack-cli": "^2.0.14",
"webpack-cli": "^4",
"webpack-node-externals": "^1.5.4"
},
"author": "Mario Reder",
Expand Down
6 changes: 3 additions & 3 deletions src/client/components/views/MainView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ class MainView extends React.PureComponent<any, any> {
iconColor="bright"
/>
<SMMButton
link="http://mariomods.net/"
link="https://shitzuapes.xyz/"
blank
text="Mario Making Mods"
iconSrc="/img/MMM.png"
text="Shitzu Apes"
iconSrc="/img/shitzu.svg"
iconColor="bright"
noText
/>
Expand Down
9 changes: 5 additions & 4 deletions src/client/components/views/SocialView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ class SocialView extends React.PureComponent<any, any> {
<div style={styles.content}>
Here are all our affiliate links. If you want to become an affiliate, please contact the webmaster<br /><br />
<SMMButton
link='http://mariomods.net/' blank
text='Mario Making Mods'
iconSrc='/img/MMM.png'
iconColor='bright'
link="https://shitzuapes.xyz/"
blank
text="Shitzu Apes"
iconSrc="/img/shitzu.svg"
iconColor="bright"
noText
/>
<SMMButton
Expand Down
Loading

0 comments on commit 61f3462

Please sign in to comment.