feat(core)!: remove rechoir + lodash templates from config loader#4066
feat(core)!: remove rechoir + lodash templates from config loader#4066
Conversation
erikian
left a comment
There was a problem hiding this comment.
I'm getting Error: Template (base) is not compatible with this version of Electron Forge (7.10.2), it requires 7.7.0 when running tests locally with git clean -dfx && yarn && yarn build && yarn test, maybe the build artifacts we're using on CI are stale?
| @@ -366,28 +354,13 @@ describe('forgeConfigIsValidFilePath', () => { | |||
| const fixturePath = path.resolve(__dirname, '../../fixture/dummy_js_conf/'); | |||
| await expect( | |||
There was a problem hiding this comment.
nit: this await is no longer necessary
|
|
||
| it('fails when a file is nonexistent', async () => { | ||
| const fixturePath = path.resolve(__dirname, '../../fixture/dummy_js_conf/'); | ||
| await expect( |
MarshallOfSound
left a comment
There was a problem hiding this comment.
Approving the concept, have fun fighting CI
|
@erikian which tests in particular are failing locally for you? I'm not running into this locally myself with the same steps. 🤔 |
|
|
BTW, do we still need |
Those should be short-circuited via |
|
@erikian I wonder if you have Forge 7.7.0 installed globally by accident and that's polluting the tests. None of our fixtures seem to reference |
|
@erickzhao you're right, I do have |
rechoirandinterpretlodash.templatefor interpolated configs: https://lodash.com/docs/4.17.15#templateBREAKING CHANGE: Forge only accepts JS/TS configuration files