compass icon indicating copy to clipboard operation
compass copied to clipboard

chore(compass-shell): Update compass-shell to new config, remove electron env

Open Anemy opened this issue 3 years ago • 1 comments

Updates compass-shell to the shared config (webpack, typescript, mocha, etc).

After this is merged I'll open a follow up pr with the reformat prettier changes.

Anemy avatar Jul 15 '22 16:07 Anemy

Back to wip till I figure out what the ci failure on windows is about:

[2022/09/29 10:59:06.755] @mongodb-js/compass-shell: > @mongodb-js/[email protected] test
[2022/09/29 10:59:06.755] @mongodb-js/compass-shell: > mocha
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell: node:internal/modules/cjs/loader:959
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:   throw err;
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:   ^
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell: Error: Cannot find module 'Z:\data\mci\1cf226360198bc6fe8456f87a21f8c51\src\packages\compass-shell\node'
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:     at node:internal/main/run_main_module:17:47 {
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:   code: 'MODULE_NOT_FOUND',
[2022/09/29 10:59:07.169] @mongodb-js/compass-shell:   requireStack: []
[2022/09/29 10:59:07.177] @mongodb-js/compass-shell: }

mocha node:internal/modules/cjs/loader:959 throw err Error: Cannot find module node

Anemy avatar Sep 29 '22 17:09 Anemy

Not sure why that windows e2e test started passing all of a sudden... nice

Anemy avatar Dec 01 '22 20:12 Anemy