Skip to content

Build and Package.json Fixes #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 17, 2025

Conversation

egekorkan
Copy link
Contributor

Adapting the gh pages to the new build process and also adding some basic fields to package.json

@egekorkan
Copy link
Contributor Author

@spf00 or @fexpal can you have a look?

package.json Outdated
"scripts": {
"dev": "cross-env REACT_APP_TARGET_URL=http://localhost:8080 vite",
"build": "vite build",
"build-standalone": "cross-env REACT_APP_TARGET_URL= vite build",
"build-standalone": "cross-env REACT_APP_TARGET_URL=https://eclipse.github.io/editdor/ vite build",
Copy link
Contributor

@spf00 spf00 Apr 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The REACT_APP_TARGET_URL is pretty much what the proxy endpoint query parameter is. So I would leave that blank here REACT_APP_TARGET_URL= such that the standalone ediTDor defaults to using the local disk to save TDs/TMs to.

If we use https://eclipse.github.io/editdor/ the ediTDor assumes to find valid Things API endpoints there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok then we can completely remove the build-standalone script?

@spf00 spf00 merged commit 95c20ef into eclipse:master Apr 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants