1. 1

    Nice. Keep ’em coming.

    1. 1

      0.2 released - all electron-webpack “add-ons” (except of react and vue) are now available as CLI options, and as questions in interactive mode.

      Next release will focus on react and vue.

      1. 1

        Is there a demo of this toolbar or a screenshot?

        1. 1

          Ok cool. Sounds rather complicated for a package manager.

          1. 1

            React or Vue is currently both possible, but only with manual setup following electron-webpack docs. However, I want to provide simple CLI options so it becomes a trivial decision.

            Currently, npm works just as good, but yes there are some reasons. Relevant already: yarn supports resolutions field in package.json - allows to pin (sub-) dependencies to a specific version. That’s helpful in some situations. For example, the currently copied template has a sub sub dependency on svgo, which uses js-yaml, which according to GitHub has a security vulnerability. Using npm, we cannot get rid of that, as we can’t expect all dependencies in the chain to immediately upgrade. Using yarn, we pin js-yaml to the fixed version, overriding what the parent dependency wanted: https://github.com/loopmode/create-electron-app/blob/master/packages/generator-electron-app/templates/package.json#L12

            In future, a --workspaces option will generate a monorepo setup out of the box, where local packages are symlinked in development using yarn workspaces. That’s a big benefit of yarn.

            Finally, yarn create automatically uses latest versions from npm, while apparently npm init doesn’t unless you manually upgrade the locally installed package first, at least as far I could see.

            1. 1

              Comment moved into response to previous comment

              1. 1

                This looks cool. I like that you can pick between react or vue. Any reason you went with yarn over npm?

                1. 1

                  Thanks for support

                  1. 1

                    Oh. I didn’t build it. It’s an open source link aggregator called lobsters. You can find more about it in the about page in the footer.

                    1. 1

                      Most definitely! It’d be great to have you give a talk bout this site and how you built it. We’ll have to coordinate timing with a venue

                      1. 2

                        Awesome. I’m in the south bay I’ll have to make a trip up.

                        1. 1

                          Nice site.

                          1. 1

                            If I wan’t already using Ubuntu I would try this.

                            1. 1

                              No problem. Feel free to post in any of these topics.