Skip to content
Permalink
Browse files

Add some packages

  • Loading branch information...
marcomontalbano committed Jul 8, 2019
1 parent a7f2fd1 commit 31c7a26dee05f29030e0a481f9d51c706813d454
@@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "0.0.0"
}
@@ -0,0 +1,22 @@
{
"name": "lerna-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marcomontalbano/lerna-demo.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/marcomontalbano/lerna-demo/issues"
},
"homepage": "https://github.com/marcomontalbano/lerna-demo#readme",
"devDependencies": {
"lerna": "^3.15.0"
}
}
@@ -0,0 +1,11 @@
# `p1`

> TODO: description
## Usage

```
const p1 = require('p1');
// TODO: DEMONSTRATE API
```
@@ -0,0 +1,7 @@
'use strict';

const p1 = require('..');

describe('p1', () => {
it('needs tests');
});
@@ -0,0 +1,7 @@
'use strict';

module.exports = p1;

function p1() {
// TODO
}
@@ -0,0 +1,26 @@
{
"name": "@lerna-demo/p1",
"version": "0.0.0",
"description": "> TODO: description",
"author": "Marco Montalbano <marcomontalbano.work@gmail.com>",
"homepage": "https://github.com/marcomontalbano/lerna-demo/tree/master/packages/p1#readme",
"license": "ISC",
"main": "lib/p1.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/marcomontalbano/lerna-demo.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://github.com/marcomontalbano/lerna-demo/issues"
}
}
@@ -0,0 +1,11 @@
# `p2`

> TODO: description
## Usage

```
const p2 = require('p2');
// TODO: DEMONSTRATE API
```
@@ -0,0 +1,7 @@
'use strict';

const p2 = require('..');

describe('p2', () => {
it('needs tests');
});
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../lib/p2.js')
@@ -0,0 +1,10 @@
'use strict';

module.exports = p2;

function p2() {
// TODO
}


console.log('Hello World!');
@@ -0,0 +1,29 @@
{
"name": "@lerna-demo/p2",
"version": "0.0.0",
"description": "> TODO: description",
"author": "Marco Montalbano <marcomontalbano.work@gmail.com>",
"homepage": "https://github.com/marcomontalbano/lerna-demo/tree/master/packages/p2#readme",
"license": "ISC",
"main": "lib/p2.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"bin": {
"lerna-demo": "./bin/lerna-demo.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marcomontalbano/lerna-demo.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://github.com/marcomontalbano/lerna-demo/issues"
}
}

0 comments on commit 31c7a26

Please sign in to comment.
You can’t perform that action at this time.