Skip to content

Commit

Permalink
Merge branch 'master' into development/community
Browse files Browse the repository at this point in the history
  • Loading branch information
Aishwaryak01 committed Jun 27, 2024
2 parents 6e3ef3f + 45df1c1 commit e8dce1e
Show file tree
Hide file tree
Showing 117 changed files with 3,284 additions and 2,011 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ COPY --from=builder /app/apps/site-projects/next.config.js \
COPY --from=builder /app/apps/dev-recruiters/next.config.js \
/app/apps/dev-recruiters/package.json \
./apps/dev-recruiters/
COPY --from=builder /app/apps/gptbot/next.config.js \
/app/apps/gptbot/package.json \
./apps/gptbot/
COPY --from=builder /app/apps/app/public ./apps/app/public
COPY --from=builder --chown=nextjs:nodejs /app/apps/app/.next ./apps/app/.next
COPY --from=builder --chown=nextjs:nodejs /app/apps/app/.env.production ./apps/app/.env.production
Expand Down
12 changes: 8 additions & 4 deletions apps/app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const withTM = require('next-transpile-modules')([
'@devlaunchers/site-projects',
'@devlaunchers/dev-recruiters',
'@devlaunchers/website',
'@devlaunchers/gptbot',
]); // pass the modules you would like to see transpiled

/** @type {import('next').NextConfig} */
Expand Down Expand Up @@ -39,18 +40,21 @@ const nextConfig = {
'devlaunchersstaging.blob.core.windows.net',
'lh3.googleusercontent.com',
'localhost',
'apiv4-staging.devlaunchers.org'
'apiv4-staging.devlaunchers.org',
],
disableStaticImages: true,
unoptimized: false
unoptimized: false,
},
webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
) => {
// Important: return the modified config
config.resolve.alias['styled-components'] = path.resolve("./node_modules", "styled-components");
return config
config.resolve.alias['styled-components'] = path.resolve(
'./node_modules',
'styled-components'
);
return config;
},
reactStrictMode: true, // It helps you avoid legacy code, and deprecated APIs.
eslint: {
Expand Down
1 change: 1 addition & 0 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dependencies": {
"@builder.io/partytown": "0.7.4",
"@devlaunchers/dev-recruiters": "workspace:^",
"@devlaunchers/gptbot": "workspace:*",
"@devlaunchers/ideaspace": "*",
"@devlaunchers/site-projects": "*",
"@devlaunchers/tailwind": "workspace:*",
Expand Down
8 changes: 8 additions & 0 deletions apps/app/pages/gptbot/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Page from '@devlaunchers/gptbot/src/pages/index';
import App from '@devlaunchers/gptbot/src/pages/_app';
//export { getStaticProps } from '@devlaunchers/website/src/pages/index';

/////////////////////////////////////////

import { constructAppPage } from '../../utils/routingTools.js';
export default constructAppPage(App, Page);
Loading

0 comments on commit e8dce1e

Please sign in to comment.