Skip to content

Commit

Permalink
feat(primitives): initial commit for primitives package
Browse files Browse the repository at this point in the history
  • Loading branch information
tangdrew committed Jan 21, 2019
1 parent ba69f32 commit 1c44e1e
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 3 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap"
"bootstrap": "lerna bootstrap",
"build": "yarn install && lerna -v && lerna bootstrap && lerna run build --sort",
"test": "yarn build && lerna run test"
},
"devDependencies": {
"@types/glob": "^5.0.35",
Expand Down
11 changes: 11 additions & 0 deletions packages/primitives/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `primitives`

> TODO: description
## Usage

```
const primitives = require('primitives');
// TODO: DEMONSTRATE API
```
22 changes: 22 additions & 0 deletions packages/primitives/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "primitives",
"version": "0.0.1",
"description": "FHIR primitive runtime types.",
"keywords": [
"fhir"
],
"author": "Andrew Tang <[email protected]>",
"license": "MIT",
"main": "src/index.ts",
"directories": {
"lib": "src",
"test": "test"
},
"files": [
"src"
],
"scripts": {},
"devDependencies": {
"typescript": "^3.2.2"
}
}
3 changes: 3 additions & 0 deletions packages/primitives/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/**
* FHIR Primitive Runtime Types
*/
7 changes: 7 additions & 0 deletions packages/primitives/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist"
},
"include": ["./src/**/*.ts"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"sourceMap": true,
"declaration": true
},
"exclude": ["node_modules"]
"exclude": ["./**/node_modules"]
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6046,7 +6046,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb"
integrity sha512-zQIMOmC+372pC/CCVLqnQ0zSBiY7HHodU7mpQdjiZddek4GMj31I3dUJ7gAs9o65X7mnRma6OokOkc6f9jjfBg==

typescript@^3.0.1:
typescript@^3.0.1, typescript@^3.2.2:
version "3.2.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5"
integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg==
Expand Down

0 comments on commit 1c44e1e

Please sign in to comment.