lerna-projen 0.1.477 → 0.1.478

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "name": "lerna-projen",
108
108
  "readme": {
109
- "markdown": "# lerna-projen\n\nInspired by [projen](https://github.com/projen/projen) and [lerna](https://github.com/lerna/lerna)\n\nThis is a library to use manage mono repositories using projen.\n\n## Getting started\n\nTo create a new project, run the following command and follow the instructions:\n\n```\nconsole\n$ mkdir my-project\n$ cd my-project\n$ git init\n$ npx projen new --from lerna-projen lerna-project\nšŸ¤– Synthesizing project...\n...\n```\n\nThe project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.\n\n### Example\n```javascript\nconst { LernaProject } = require('lerna-projen');\nconst { TypeScriptProject } = require('projen');\n\nconst parentProject = new LernaProject({\n name: 'my-parent-project',\n ...\n});\n\nconst firstProject = new TypeScriptProject({\n name: 'my-first-project',\n parent: parentProject,\n ...\n});\n\nparentProject.addSubProject(firstProject);\n\nparentProject.synth()\n```\n\nThe rest of the process is taken care of by projen. All of the scripts on the parent project are chained by running the same command from the sub project using lerna.\n"
109
+ "markdown": "<p align=\"center\">\n <img src=\"./assets/lerna-projen_200.png\" width=\"150px\" />\n</p>\n\n# lerna-projen\n\nInspired by [projen](https://github.com/projen/projen) and [lerna](https://github.com/lerna/lerna)\n\nThis is a library to use manage mono repositories using projen.\n\n## Getting started TS\n\nTo create a new project, run the following command and follow the instructions:\n\n```\nconsole\n$ mkdir my-project\n$ cd my-project\n$ git init\n$ npx projen new --from lerna-projen lerna-ts-project\nšŸ¤– Synthesizing project...\n...\n```\n\nThe project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.\n\n### Example for TS\n```javascript\nimport {LernaTypescriptProject} from 'lerna-projen';\nimport { TypeScriptProject } from 'projen';\n\nconst parentProject = new LernaTypescriptProject({\n name: 'my-parent-project',\n ...\n});\n\nconst firstProject = new TypeScriptProject({\n name: 'my-first-project',\n parent: parentProject,\n ...\n});\n\nparentProject.addSubProject(firstProject);\n\nparentProject.synth()\n```\n\n## Getting started JS\n\nTo create a new project, run the following command and follow the instructions:\n\n```\nconsole\n$ mkdir my-project\n$ cd my-project\n$ git init\n$ npx projen new --from lerna-projen lerna-project\nšŸ¤– Synthesizing project...\n...\n```\n\nThe project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.\n\n### Example for JS\n```javascript\nconst { LernaProject } = require('lerna-projen');\nconst { TypeScriptProject } = require('projen');\n\nconst parentProject = new LernaProject({\n name: 'my-parent-project',\n ...\n});\n\nconst firstProject = new TypeScriptProject({\n name: 'my-first-project',\n parent: parentProject,\n ...\n});\n\nparentProject.addSubProject(firstProject);\n\nparentProject.synth()\n```\n\nThe rest of the process is taken care of by projen. All of the scripts on the parent project are chained by running the same command from the sub project using lerna.\n"
110
110
  },
111
111
  "repository": {
112
112
  "type": "git",
@@ -1000,6 +1000,6 @@
1000
1000
  "symbolId": "src/utils:AddNxTaskDependencyOptions"
1001
1001
  }
1002
1002
  },
1003
- "version": "0.1.477",
1004
- "fingerprint": "RiiJ3YXQEoOBNLlVgs3lXxi5nka5z+8rptuGb+7E/IU="
1003
+ "version": "0.1.478",
1004
+ "fingerprint": "HU0CR2jdiA8C6YuGPNoZtkfqQ2jXx+ZIgHFk1t5OdZE="
1005
1005
  }
package/README.md CHANGED
@@ -1,10 +1,51 @@
1
+ <p align="center">
2
+ <img src="./assets/lerna-projen_200.png" width="150px" />
3
+ </p>
4
+
1
5
  # lerna-projen
2
6
 
3
7
  Inspired by [projen](https://github.com/projen/projen) and [lerna](https://github.com/lerna/lerna)
4
8
 
5
9
  This is a library to use manage mono repositories using projen.
6
10
 
7
- ## Getting started
11
+ ## Getting started TS
12
+
13
+ To create a new project, run the following command and follow the instructions:
14
+
15
+ ```
16
+ console
17
+ $ mkdir my-project
18
+ $ cd my-project
19
+ $ git init
20
+ $ npx projen new --from lerna-projen lerna-ts-project
21
+ šŸ¤– Synthesizing project...
22
+ ...
23
+ ```
24
+
25
+ The project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.
26
+
27
+ ### Example for TS
28
+ ```javascript
29
+ import {LernaTypescriptProject} from 'lerna-projen';
30
+ import { TypeScriptProject } from 'projen';
31
+
32
+ const parentProject = new LernaTypescriptProject({
33
+ name: 'my-parent-project',
34
+ ...
35
+ });
36
+
37
+ const firstProject = new TypeScriptProject({
38
+ name: 'my-first-project',
39
+ parent: parentProject,
40
+ ...
41
+ });
42
+
43
+ parentProject.addSubProject(firstProject);
44
+
45
+ parentProject.synth()
46
+ ```
47
+
48
+ ## Getting started JS
8
49
 
9
50
  To create a new project, run the following command and follow the instructions:
10
51
 
@@ -20,7 +61,7 @@ $ npx projen new --from lerna-projen lerna-project
20
61
 
21
62
  The project type can be anything to start with, then in the `projenrc` file, initiate a lerna project and add all of the sub normal projen project to the lerna project.
22
63
 
23
- ### Example
64
+ ### Example for JS
24
65
  ```javascript
25
66
  const { LernaProject } = require('lerna-projen');
26
67
  const { TypeScriptProject } = require('projen');
Binary file
Binary file
package/lib/index.js CHANGED
@@ -92,7 +92,7 @@ class LernaProject extends projen_1.javascript.NodeProject {
92
92
  }
93
93
  exports.LernaProject = LernaProject;
94
94
  _a = JSII_RTTI_SYMBOL_1;
95
- LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.477" };
95
+ LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.478" };
96
96
  /**
97
97
  * @pjid lerna-ts-project
98
98
  */
@@ -125,7 +125,7 @@ class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
125
125
  }
126
126
  exports.LernaTypescriptProject = LernaTypescriptProject;
127
127
  _b = JSII_RTTI_SYMBOL_1;
128
- LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.477" };
128
+ LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.478" };
129
129
  class LernaProjectFactory {
130
130
  constructor(project) {
131
131
  this.project = project;
package/package.json CHANGED
@@ -89,7 +89,7 @@
89
89
  "publishConfig": {
90
90
  "access": "public"
91
91
  },
92
- "version": "0.1.477",
92
+ "version": "0.1.478",
93
93
  "jest": {
94
94
  "coverageProvider": "v8",
95
95
  "testMatch": [