Skip to content
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

build: Add cross-env for platform independent build #33

Merged
merged 4 commits into from
Apr 22, 2024

Conversation

zsviczian
Copy link
Contributor

The current configuration does not build on windows. With these changes it does.

@vercel
Copy link

vercel bot commented Sep 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mermaid-to-excalidraw ✅ Ready (Inspect) Visit Preview Apr 22, 2024 10:28am

.gitignore Outdated
@@ -25,3 +25,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock

This comment was marked as duplicate.

.gitignore Outdated Show resolved Hide resolved
package.json Outdated
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx ."
},
"dependencies": {
"@excalidraw/markdown-to-text": "0.1.2",
"mermaid": "10.2.3",
"nanoid": "4.0.2"
"nanoid": "4.0.2",
"cross-env": "^7.0.3"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"cross-env": "^7.0.3"
"cross-env": "7.0.3"

lets lock the exact version so everyone has exact same build when developing

package.json Outdated
@@ -40,7 +41,8 @@
"parcel": "2.9.1",
"prettier": "2.8.8",
"process": "0.11.10",
"typescript": "5.2.2"
"typescript": "5.2.2",
"rimraf": "^5.0.5"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"rimraf": "^5.0.5"
"rimraf": "5.0.5"

lets lock the exact version so everyone has exact same build when developing

@ad1992 ad1992 changed the title fix: Platform independent build build: Add cross-env for platform independent build Apr 22, 2024
Copy link
Member

@ad1992 ad1992 left a comment

Choose a reason for hiding this comment

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

Thanks @zsviczian

@ad1992 ad1992 merged commit 287a699 into excalidraw:master Apr 22, 2024
2 checks 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