Skip to content

Commit

Permalink
feat: add hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
imtaotao committed Aug 26, 2021
1 parent 8462495 commit 11fe199
Show file tree
Hide file tree
Showing 39 changed files with 191 additions and 12,654 deletions.
1 change: 0 additions & 1 deletion packages/runtime/core/src/hooks/lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { AsyncSeriesBailHook } from './asyncSeriesBailHook';

export function createGlobalLifecycle(_hasIntercept: boolean) {
return new HooksSystem('global', {
// initialize: new SyncHook(),
beforeBootstrap: new SyncHook(),
bootstrap: new SyncHook(),
beforeRegisterApp: new SyncHook(),
Expand Down
5 changes: 5 additions & 0 deletions packages/runtime/hooks/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src/
node_modules/
__tests__/
api-extractor.json
.npmignore
8 changes: 0 additions & 8 deletions packages/runtime/hooks/CHANGELOG.md

This file was deleted.

220 changes: 0 additions & 220 deletions packages/runtime/hooks/LICENSE

This file was deleted.

Loading

0 comments on commit 11fe199

Please sign in to comment.