Skip to content

Commit

Permalink
feat!: remove dead code/flows
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
AviVahl committed Dec 8, 2024
1 parent e05a396 commit 1c6c1c0
Show file tree
Hide file tree
Showing 197 changed files with 452 additions and 10,712 deletions.
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{
"type": "node",
"request": "launch",
"name": "mocha-play Current",
"program": "${workspaceFolder}/node_modules/mocha-play/bin/mocha-play.js",
"name": "mocha-web Current",
"program": "${workspaceFolder}/node_modules/mocha-web/bin/mocha-web.js",
"args": ["${file}", "-w"],
"outputCapture": "std",
"internalConsoleOptions": "openOnSessionStart"
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ You can reade some guides [here](https://wixplosives.github.io/engine/guides/)

- **[@wixc3/engine-core](https://github.com/wixplosives/engine/tree/master/packages/core)** - core runtime entities.

- **[@wixc3/engine-scripts](https://github.com/wixplosives/engine/tree/master/packages/scripts)** - `engine` CLI.

- **[@wixc3/engineer](https://github.com/wixplosives/engine/tree/master/packages/engineer)** - `engine` dev server.

- **[@wixc3/engine-test-kit](https://github.com/wixplosives/engine/tree/master/packages/test-kit)** - `withFeature` and other test mechanisms.

## License
Expand Down
2 changes: 1 addition & 1 deletion engine.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @type {import('@wixc3/engine-scripts').EngineConfig}
* @type {import('@wixc3/engine-cli').EngineConfig}
*/
module.exports = {
featureDiscoveryRoot: 'dist',
Expand Down
2 changes: 1 addition & 1 deletion examples/cross-iframe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "47.4.2",
"private": true,
"scripts": {
"start": "engineer start",
"start": "engine --dev",
"test": "npm run test:it",
"test:it": "mocha \"dist/test/**/*.it.js\""
}
Expand Down
2 changes: 1 addition & 1 deletion examples/file-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@example/file-server",
"version": "47.4.2",
"scripts": {
"start": "engineer start",
"start": "engine --dev",
"test": "npm run test:it && npm run test:unit",
"test:it": "mocha \"dist/test/**/*.it.js\"",
"test:unit": "mocha \"dist/test/**/*.unit.js\""
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@example/multi-env",
"version": "47.4.2",
"scripts": {
"start": "engineer start",
"start": "engine --dev",
"test": "npm run test:it && npm run test:unit",
"test:it": "mocha \"dist/test/**/*.it.js\"",
"test:unit": "mocha \"dist/test/**/*.unit.js\""
Expand Down
2 changes: 1 addition & 1 deletion examples/node-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"license": "MIT",
"private": true,
"scripts": {
"start": "engineer start"
"start": "engine --dev"
}
}
1 change: 0 additions & 1 deletion examples/node-only/src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"references": [
{ "path": "../../../packages/core/src" },
{ "path": "../../../packages/test-kit/src" },
{ "path": "../../../packages/engineer/src" }
]
}
2 changes: 1 addition & 1 deletion examples/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@example/playground",
"version": "47.4.2",
"scripts": {
"start": "engineer start"
"start": "engine --dev"
},
"license": "UNLICENSED",
"private": true
Expand Down
11 changes: 0 additions & 11 deletions examples/preload/package.json

This file was deleted.

25 changes: 0 additions & 25 deletions examples/preload/src/feature/all.feature.ts

This file was deleted.

63 changes: 0 additions & 63 deletions examples/preload/src/feature/all.main.env.ts

This file was deleted.

1 change: 0 additions & 1 deletion examples/preload/src/feature/all.main.preload.ts

This file was deleted.

11 changes: 0 additions & 11 deletions examples/preload/src/feature/all.node1.env.ts

This file was deleted.

6 changes: 0 additions & 6 deletions examples/preload/src/feature/all.node1.preload.ts

This file was deleted.

10 changes: 0 additions & 10 deletions examples/preload/src/feature/all.webworker1.env.ts

This file was deleted.

1 change: 0 additions & 1 deletion examples/preload/src/feature/all.webworker1.preload.ts

This file was deleted.

7 changes: 0 additions & 7 deletions examples/preload/src/feature/non-contextual.feature.ts

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions examples/preload/src/feature/preload-context.feature.ts

This file was deleted.

28 changes: 0 additions & 28 deletions examples/preload/src/feature/preload-context.main.env.ts

This file was deleted.

10 changes: 0 additions & 10 deletions examples/preload/src/feature/preload-context.procEnv.env.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions examples/preload/src/fixtures/parent.feature.ts

This file was deleted.

5 changes: 0 additions & 5 deletions examples/preload/src/fixtures/parent.node1.env.ts

This file was deleted.

5 changes: 0 additions & 5 deletions examples/preload/src/fixtures/parent.node1.preload.ts

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions examples/preload/src/globals.d.ts

This file was deleted.

47 changes: 0 additions & 47 deletions examples/preload/src/test/all.it.ts

This file was deleted.

Loading

0 comments on commit 1c6c1c0

Please sign in to comment.