Skip to content

Commit

Permalink
feat(all-general): add common package for enum and types
Browse files Browse the repository at this point in the history
  • Loading branch information
rams23 committed Dec 28, 2020
1 parent 09da2c5 commit 6b7bb89
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@pipeline/common",
"version": "0.0.0",
"types": "build/index.d.ts",
"typings": "build/index.d.ts",
"main": "build/index.js",
"scripts": {
"build": "tsc --outDir build",
"build:watch": "tsc --watch --declaration --outDir build "
},
"devDependencies": {
"typescript": "4.1.3"
}
}
3 changes: 3 additions & 0 deletions packages/common/src/firebaseCollection.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export enum FirebaseCollection {
Users = 'users'
}
5 changes: 5 additions & 0 deletions packages/common/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import {FirebaseCollection} from "./firebaseCollection";

export {
FirebaseCollection
}
6 changes: 6 additions & 0 deletions packages/common/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../../tsconfig.json",
"include": [
"src"
]
}

0 comments on commit 6b7bb89

Please sign in to comment.