-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/initial draft #3
Conversation
dist/index.d.ts
Outdated
@@ -1 +1,3 @@ | |||
export declare function testLib(): string; | |||
import { plug } from "./plug"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tentar não usar a pasta dist e fazer isso no build
jest.config.js
Outdated
"js", | ||
"jsx", | ||
"json", | ||
"node" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remover extensão desnecessária
lib/aux/aux-code.tsx
Outdated
@@ -0,0 +1,67 @@ | |||
import * as React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
renomear aux para example
import { TStream, ILifecycle, IPlugState } from './interfaces/plug'; | ||
|
||
|
||
export const plug = <T extends {}>(stream: TStream, lifecycleHooks: Partial<ILifecycle> = {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
futuramente podemos usar Hooks aqui
@@ -35,5 +35,22 @@ | |||
"istanbul": "^0.4.5", | |||
"mocha": "^6.0.2", | |||
"typescript": "^3.3.4000" | |||
}, | |||
"dependencies": { | |||
"@babel/core": "^7.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separar dependencies e devDependencies
No description provided.