Skip to content

Commit

Permalink
refactor: async context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Dec 15, 2024
1 parent 94f5d41 commit 67801a7
Show file tree
Hide file tree
Showing 27 changed files with 73 additions and 892 deletions.
1 change: 0 additions & 1 deletion packages-serverless/midway-fc-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"main": "dist/index.js",
"typings": "index.d.ts",
"dependencies": {
"@midwayjs/async-hooks-context-manager": "workspace:^",
"@midwayjs/faas": "workspace:^",
"raw-body": "2.5.2"
},
Expand Down
2 changes: 0 additions & 2 deletions packages-serverless/midway-fc-starter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
} from '@midwayjs/faas';
import * as getRawBody from 'raw-body';
import { IncomingMessage } from 'http';
import { createContextManager } from '@midwayjs/async-hooks-context-manager';
import { mockContext } from './mock';
import { InitializeContext } from './interface';

Expand Down Expand Up @@ -74,7 +73,6 @@ export class BootstrapStarter extends AbstractBootstrapStarter {
applicationAdapter,
},
},
asyncContextManager: createContextManager(),
...this.options,
});

Expand Down
88 changes: 0 additions & 88 deletions packages/async-hooks-context-manager/CHANGELOG.md

This file was deleted.

9 changes: 0 additions & 9 deletions packages/async-hooks-context-manager/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions packages/async-hooks-context-manager/jest.config.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/async-hooks-context-manager/jest.setup.js

This file was deleted.

34 changes: 0 additions & 34 deletions packages/async-hooks-context-manager/package.json

This file was deleted.

157 changes: 0 additions & 157 deletions packages/async-hooks-context-manager/src/asyncHooksContextManager.ts

This file was deleted.

Loading

0 comments on commit 67801a7

Please sign in to comment.