Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: include public folder in standalone build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelfimov committed Jan 7, 2024
1 parent 0ce1f9d commit eb5ed6f
Show file tree
Hide file tree
Showing 91 changed files with 1,020 additions and 984 deletions.
1,046 changes: 532 additions & 514 deletions .pnp.cjs

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions .run/dev.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="dev" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/landing/entrypoints/renderer/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2">
<option name="LaunchBrowser.Before.Run" browser="98ca6316-2f89-46d9-a9e5-fa9e2b0625b3" url="http://localhost:3000" />
</method>
</configuration>
</component>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions landing/entrypoints/renderer/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ module.exports = {
},
]
},
typescript: {
ignoreBuildErrors: true,
},
webpack: (config) => {
config.module.rules.push(
{
Expand Down
2 changes: 1 addition & 1 deletion landing/entrypoints/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "BSD-3-Clause",
"main": "src/index.ts",
"scripts": {
"build": "yarn next build src --no-lint && cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/.next/static && mv ./dist/server.js ./dist/index.js",
"build": "yarn next build src --no-lint && cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/.next/static && cp -r ./src/public ./dist/public && mv ./dist/server.js ./dist/index.js",
"cleanup": "rm -rf dist | rm -rf .next | rm -rf src/.next",
"dev": "yarn next dev src",
"prepack": "run build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const LandingAbout: FC<LandingAboutProps> = ({ language, data }) => {
{ contentAddons: { title, content, excerpt, image } },
index
) => (
<>
<React.Fragment key={title}>
<Condition match={index !== 0}>
<Layout flexBasis={[32, 32, 80]} />
</Condition>
Expand All @@ -43,7 +43,7 @@ const LandingAbout: FC<LandingAboutProps> = ({ language, data }) => {
<Condition match={index !== topSide.length - 1}>
<Layout flexBasis={[32, 32, 80]} />
</Condition>
</>
</React.Fragment>
))}
<Layout flexBasis={[64, 64, 160]} />
<LandingWorkDirections language={language} />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@atls/code-service": "0.0.24",
"@atls/config-eslint": "0.0.12",
"@atls/config-eslint": "0.0.10",
"@atls/config-jest": "0.0.5",
"@jest/core": "28.1.2",
"@rushstack/eslint-patch": "1.6.0",
Expand Down
Loading

0 comments on commit eb5ed6f

Please sign in to comment.