Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
manhvu
lerna-ex2
Commits
a2fbfb29
Commit
a2fbfb29
authored
Jul 29, 2020
by
manh
🐝
Browse files
feat:
🚀
add common log package
parent
86625656
Changes
6
Hide whitespace changes
Inline
Side-by-side
packages/back-end/package.json
View file @
a2fbfb29
...
...
@@ -22,5 +22,8 @@
},
"scripts"
:
{
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@lerna-ex2/logger"
:
"^0.0.0"
}
}
packages/front-end/package.json
View file @
a2fbfb29
...
...
@@ -22,5 +22,8 @@
},
"scripts"
:
{
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@lerna-ex2/logger"
:
"^0.0.0"
}
}
packages/logger/README.md
0 → 100644
View file @
a2fbfb29
# `@lerna-ex2/logger`
> TODO: description
## Usage
```
const logger = require('@lerna-ex2/logger');
// TODO: DEMONSTRATE API
```
packages/logger/__tests__/logger.test.js
0 → 100644
View file @
a2fbfb29
'
use strict
'
;
const
logger
=
require
(
'
..
'
);
describe
(
'
@lerna-ex2/logger
'
,
()
=>
{
it
(
'
needs tests
'
);
});
packages/logger/lib/logger.js
0 → 100644
View file @
a2fbfb29
'
use strict
'
;
module
.
exports
=
logger
;
function
logger
()
{
// TODO
}
packages/logger/package.json
0 → 100644
View file @
a2fbfb29
{
"name"
:
"@lerna-ex2/logger"
,
"version"
:
"0.0.0"
,
"description"
:
"> TODO: description"
,
"author"
:
"manhvu <manhvu@orgos.net>"
,
"homepage"
:
""
,
"license"
:
"ISC"
,
"main"
:
"lib/logger.js"
,
"directories"
:
{
"lib"
:
"lib"
,
"test"
:
"__tests__"
},
"files"
:
[
"lib"
],
"publishConfig"
:
{
"access"
:
"public"
},
"repository"
:
{
"type"
:
"git"
,
"url"
:
"git@git.baikal.io:manhvu/lerna-ex2.git"
},
"scripts"
:
{
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment