Skip to content

feat!: remove dead code/flows#2609

Merged
AviVahl merged 1 commit intomasterfrom
avi/enough-is-enough
Dec 8, 2024
Merged

feat!: remove dead code/flows#2609
AviVahl merged 1 commit intomasterfrom
avi/enough-is-enough

Conversation

@AviVahl
Copy link
Copy Markdown
Contributor

@AviVahl AviVahl commented Dec 8, 2024

  • remove engineer, dashboard, scripts, webpack, stylable
  • moved still-used non-webpack code from engineer to engine-cli
  • switch from mocha-play to mocha-web
  • remove many more unused deps (types for debug, d3)
  • use express.json instead of using body-parser directly

@@ -1,255 +0,0 @@
import { expect } from 'chai';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need restoration

@@ -1,47 +0,0 @@
import { createDisposables } from '@wixc3/create-disposables';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need restoration

// Preload declares 2 messages, nodeCtx declares 1, procEnv declares 1
const featureName = 'preload/preload-context';

it('Runs only the node context preload, and runs it first, in dev mode', async () => {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need restoration

const disposables = createDisposables();
afterEach(() => disposables.dispose());

it('When loading a feature that depends on a feature that has preload, the preloads are still loaded first', async () => {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need restoration

@AviVahl AviVahl force-pushed the avi/enough-is-enough branch 3 times, most recently from 6957708 to 13ab42e Compare December 8, 2024 14:41
@@ -1,604 +0,0 @@
import { nodeFs as fs } from '@file-services/node';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires restoration

@AviVahl AviVahl force-pushed the avi/enough-is-enough branch 2 times, most recently from 3a7859a to 1c6c1c0 Compare December 8, 2024 15:03
@@ -1,463 +0,0 @@
import chai, { expect } from 'chai';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires restoration (using newer node-env-manager)

@@ -1,449 +0,0 @@
import { nodeFs as fs } from '@file-services/node';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requires restoration

@AviVahl AviVahl force-pushed the avi/enough-is-enough branch 2 times, most recently from c597ac5 to 69f230b Compare December 8, 2024 15:10
- remove engineer, dashboard, webpack, stylable
- moved still-used non-webpack code from engineer to engine-cli
- switch from mocha-play to mocha-web
- remove many more unused deps (types for debug, d3)
- use express.json instead of using body-parser directly
@AviVahl AviVahl force-pushed the avi/enough-is-enough branch from 69f230b to 040600b Compare December 8, 2024 15:13
@AviVahl
Copy link
Copy Markdown
Contributor Author

AviVahl commented Dec 8, 2024

reviewed file-by-file with Barak

@AviVahl AviVahl merged commit e839662 into master Dec 8, 2024
@AviVahl AviVahl deleted the avi/enough-is-enough branch December 8, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant