spectacle icon indicating copy to clipboard operation
spectacle copied to clipboard

`wireit` setup

Open gksander opened this issue 3 years ago • 1 comments

This PR sets up wireit in the repo, including:

  • wireit setup for most root scripts.
  • GH Actions setup with wireit, which should theoretically speed up CI runs some scenarios.

Per this issue, we can't yet seamlessly run our example dev servers along with a core build watch with a single command. We'll have to keep our eyes on that issue, so that we can eventually have some sort of dev command that watches the core source files (and compiles those on change), and has example dev servers running that use the built core files.

gksander avatar Jul 08 '22 14:07 gksander

UPDATE: Clean repo clone and install fixed this.

When I run pnpm run build:core I'm getting

https://github.com/browserslist/browserslist#browsers-data-updating
/Users/rye/scm/fmd/spectacle/node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:165
		return moduleGraph.getParentModule(this).buildMeta.strictHarmonyModule
		                                        ^

TypeError: Cannot read properties of undefined (reading 'buildMeta')

but I'm guessing it might be something local to my setup?

ryan-roemer avatar Jul 08 '22 16:07 ryan-roemer