Skip to content

Commit

Permalink
teste path
Browse files Browse the repository at this point in the history
  • Loading branch information
heliomarpm committed Apr 16, 2023
1 parent 7e16672 commit 4805ebe
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions artigos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
https://dev.to/thiagomr/como-publicar-seu-primeiro-package-ts-e-automatizar-com-github-actions-2p4m

https://javascript.plainenglish.io/publishing-a-typescript-npm-package-with-github-actions-7f6486e7da95
https://medium.com/@saqibnoorani/create-your-first-npm-package-in-typescript-and-publish-it-using-github-actions-d04e32607da8
https://medium.com/swlh/publishing-typescript-packages-with-github-actions-3b484f34bacd
16 changes: 16 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
import { KeyValues } from "./keyvalues";

import { join, resolve } from 'node:path';

export function DirName(): string {
return join(__dirname, 'db');
}

export function Resolve(): string {
return resolve('.', 'db');
}


export function Resolve2(): string {
return resolve('db');
}


export { KeyValues }

0 comments on commit 4805ebe

Please sign in to comment.