Skip to content

Commit

Permalink
feat(core): transition daemon from queue to transaction based messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Nov 20, 2024
1 parent bbdc330 commit 7cc7547
Show file tree
Hide file tree
Showing 33 changed files with 522 additions and 352 deletions.
55 changes: 1 addition & 54 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,66 +181,13 @@
}
},
"plugins": [
"@monodon/rust",
{
"plugin": "@nx/playwright/plugin",
"options": {
"targetName": "pw-e2e",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/eslint/plugin",
"exclude": ["packages/**/__fixtures__/**/*"],
"options": {
"targetName": "lint"
}
},
{
"plugin": "@nx/jest/plugin",
"exclude": [
"e2e/**/*",
"packages/**/__fixtures__/**/*",
"jest.config.ts"
],
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/webpack/plugin",
"options": {
"serveTargetName": "serve-base",
"buildTargetName": "build-client"
}
},
{
"plugin": "@nx/jest/plugin",
"include": ["e2e/**/*"],
"exclude": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"],
"options": {
"targetName": "e2e-local",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/jest/plugin",
"include": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"],
"options": {
"targetName": "e2e-macos-local",
"ciTargetName": "e2e-macos-ci"
}
},
{
"plugin": "@nx/next/plugin",
"options": {
"startTargetName": "next:start",
"buildTargetName": "next:build",
"devTargetName": "dev",
"serveStaticTargetName": "serve-static"
}
},
"@nx/powerpack-enterprise-cloud"
}
],
"nxCloudId": "62d013ea0852fe0a2df74438",
"nxCloudUrl": "https://staging.nx.app",
Expand Down
1 change: 1 addition & 0 deletions packages/angular/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export {
optimisticUpdate,
pessimisticUpdate,
} from './src/runtime/nx/data-persistence';
// asda
3 changes: 1 addition & 2 deletions packages/angular/src/plugins/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ const knownExecutors = {
test: new Set(['@angular-devkit/build-angular:karma']),
};

const pmc = getPackageManagerCommand();

function readProjectsCache(cachePath: string): Record<string, AngularProjects> {
return existsSync(cachePath) ? readJsonFile(cachePath) : {};
}
Expand Down Expand Up @@ -144,6 +142,7 @@ async function buildAngularProjects(
): Promise<AngularProjects> {
const projects: Record<string, AngularProjects[string] & { root: string }> =
{};
const pmc = getPackageManagerCommand();

const absoluteConfigFilePath = join(context.workspaceRoot, configFilePath);
const angularJson = readJsonFile<AngularJson>(absoluteConfigFilePath);
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ async function startServer(
}

if (watchForChanges && daemonClient.enabled()) {
unregisterFileWatcher = await createFileWatcher();
// unregisterFileWatcher = await createFileWatcher();
}

const { projectGraphClientResponse, sourceMapResponse } =
Expand Down
Loading

0 comments on commit 7cc7547

Please sign in to comment.