-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
"!node_modules/?angular${/*}" in files doesn't exclude node_modules/@angular folder #8460
"!node_modules/?angular${/*}" in files doesn't exclude node_modules/@angular folder #8460
Comments
The only change I was able to find in the diff that might be related is an upgrade from Can you try force-resolving/overwriting the version of minimatch in your package.json to 5.1.1 and see if that resolves the issue? If so, I can open a PR asap and get it into the next release |
@mmaietta I tried overriding the minimatch version with yarn but it complained about the versions being too far apart and ignored the override. In our case we tell electron-builder to ignore the node_modules folder entirely because we use webpack to bundle the files first. Going from 24.13.3 to 25.0.5, resulted in electron-builder pulling in packages in the node_modules folder that start with On an unrelated note the newer version of electron-builder logs that it is adding asar integrity data, even though we don't even use that and the docs don't list any obvious way to stop electron-builder doing that unnecessary work (bit like how there doesn't seem to be a way to turn off code signing completely). |
Ah, I used to have a project that took the same approach (bundle all files first). Would you mind trying v25.1.5? It updated app-builder-bin dependency multiple times due to some bugs it had in parsing the dependency tree. For disabling sign, I think you can set configuration property |
With that version As for why we don't use code signing, it comes with various downsides that make it unsuitable for an open source project maintained by various unrelated individuals, such as costing lots of money (especially when you consider that creating a signing certificate for macos requires buying a mac first), requires tying your legal details to the app and requires tying it to someones personal Microsoft account and Apple ID or setting up a company to tie it to a company account. If you know any way of signing apps that doesn't come with those downsides I would love to hear it. |
Ahhh, my apologies. I mean 25.1.6, that version has the fix for the app-builder-bin bug that causes that memory loop. |
Could you share a minimum repro repo/gist/zip that I could test locally with? |
…tron-userland#8547) fix electron-userland#8460 Reproducible demo ``` { "name": "TestApp", "productName": "Test App ßW", "description": "My Electron application description", "keywords": [], "main": "./main.js", "version": "1.0.0", "author": "beyondkmp", "scripts": { "start": "electron .", "dist": "electron-builder" }, "license": "MIT", "build": { "appId": "electron-blog-example", "files": [ "!node_modules/@electron/remote/*" ], "win": { "target": "nsis" } }, "devDependencies": { "electron": "32.1.0", "electron-builder": "25.1.6" }, "dependencies": { "tar": "7.4.3", "@electron/remote": "2.1.2" } } ``` --------- Co-authored-by: beyondkmp <beyondkmkp@gmail.com>
The text was updated successfully, but these errors were encountered: