lerna-projen 0.1.321 → 0.1.323

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
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "constructs": "^10.3.0",
18
- "projen": "^0.78.8"
18
+ "projen": "^0.78.11"
19
19
  },
20
20
  "dependencyClosure": {
21
21
  "constructs": {
@@ -797,6 +797,6 @@
797
797
  "symbolId": "src/types:TaskCustomization"
798
798
  }
799
799
  },
800
- "version": "0.1.321",
801
- "fingerprint": "XWUfljHRDs57dwpoWqx0AuZ3N5DVr08TRGcj3C79mK0="
800
+ "version": "0.1.323",
801
+ "fingerprint": "KH4YaDgrfNo+OEcfZ1ic3VfRk3Q1tuVuLs003yH2ai0="
802
802
  }
package/API.md CHANGED
@@ -76,7 +76,7 @@ new LernaProject(options: LernaProjectOptions)
76
76
  | <code><a href="#lerna-projen.LernaProject.toString">toString</a></code> | Returns a string representation of this construct. |
77
77
  | <code><a href="#lerna-projen.LernaProject.addExcludeFromCleanup">addExcludeFromCleanup</a></code> | Exclude the matching files from pre-synth cleanup. |
78
78
  | <code><a href="#lerna-projen.LernaProject.addGitIgnore">addGitIgnore</a></code> | Adds a .gitignore pattern. |
79
- | <code><a href="#lerna-projen.LernaProject.addPackageIgnore">addPackageIgnore</a></code> | Exclude these files from the bundled package. |
79
+ | <code><a href="#lerna-projen.LernaProject.addPackageIgnore">addPackageIgnore</a></code> | Adds patterns to be ignored by npm. |
80
80
  | <code><a href="#lerna-projen.LernaProject.addTask">addTask</a></code> | Adds a new task to this project. |
81
81
  | <code><a href="#lerna-projen.LernaProject.addTip">addTip</a></code> | Prints a "tip" message during synthesis. |
82
82
  | <code><a href="#lerna-projen.LernaProject.annotateGenerated">annotateGenerated</a></code> | Marks the provided file(s) as being generated. |
@@ -156,15 +156,14 @@ The glob pattern to ignore.
156
156
  public addPackageIgnore(pattern: string): void
157
157
  ```
158
158
 
159
- Exclude these files from the bundled package.
160
-
161
- Implemented by project types based on the
162
- packaging mechanism. For example, `NodeProject` delegates this to `.npmignore`.
159
+ Adds patterns to be ignored by npm.
163
160
 
164
161
  ###### `pattern`<sup>Required</sup> <a name="pattern" id="lerna-projen.LernaProject.addPackageIgnore.parameter.pattern"></a>
165
162
 
166
163
  - *Type:* string
167
164
 
165
+ The pattern to ignore.
166
+
168
167
  ---
169
168
 
170
169
  ##### `addTask` <a name="addTask" id="lerna-projen.LernaProject.addTask"></a>
@@ -1549,7 +1548,7 @@ new LernaTypescriptProject(options: LernaTypescriptProjectOptions)
1549
1548
  | <code><a href="#lerna-projen.LernaTypescriptProject.toString">toString</a></code> | Returns a string representation of this construct. |
1550
1549
  | <code><a href="#lerna-projen.LernaTypescriptProject.addExcludeFromCleanup">addExcludeFromCleanup</a></code> | Exclude the matching files from pre-synth cleanup. |
1551
1550
  | <code><a href="#lerna-projen.LernaTypescriptProject.addGitIgnore">addGitIgnore</a></code> | Adds a .gitignore pattern. |
1552
- | <code><a href="#lerna-projen.LernaTypescriptProject.addPackageIgnore">addPackageIgnore</a></code> | Exclude these files from the bundled package. |
1551
+ | <code><a href="#lerna-projen.LernaTypescriptProject.addPackageIgnore">addPackageIgnore</a></code> | Adds patterns to be ignored by npm. |
1553
1552
  | <code><a href="#lerna-projen.LernaTypescriptProject.addTask">addTask</a></code> | Adds a new task to this project. |
1554
1553
  | <code><a href="#lerna-projen.LernaTypescriptProject.addTip">addTip</a></code> | Prints a "tip" message during synthesis. |
1555
1554
  | <code><a href="#lerna-projen.LernaTypescriptProject.annotateGenerated">annotateGenerated</a></code> | Marks the provided file(s) as being generated. |
@@ -1629,15 +1628,14 @@ The glob pattern to ignore.
1629
1628
  public addPackageIgnore(pattern: string): void
1630
1629
  ```
1631
1630
 
1632
- Exclude these files from the bundled package.
1633
-
1634
- Implemented by project types based on the
1635
- packaging mechanism. For example, `NodeProject` delegates this to `.npmignore`.
1631
+ Adds patterns to be ignored by npm.
1636
1632
 
1637
1633
  ###### `pattern`<sup>Required</sup> <a name="pattern" id="lerna-projen.LernaTypescriptProject.addPackageIgnore.parameter.pattern"></a>
1638
1634
 
1639
1635
  - *Type:* string
1640
1636
 
1637
+ The pattern to ignore.
1638
+
1641
1639
  ---
1642
1640
 
1643
1641
  ##### `addTask` <a name="addTask" id="lerna-projen.LernaTypescriptProject.addTask"></a>
@@ -4542,7 +4540,7 @@ public readonly releaseWorkflowName: string;
4542
4540
  ```
4543
4541
 
4544
4542
  - *Type:* string
4545
- - *Default:* "Release"
4543
+ - *Default:* "release"
4546
4544
 
4547
4545
  The name of the default release workflow.
4548
4546
 
@@ -6592,7 +6590,7 @@ public readonly releaseWorkflowName: string;
6592
6590
  ```
6593
6591
 
6594
6592
  - *Type:* string
6595
- - *Default:* "Release"
6593
+ - *Default:* "release"
6596
6594
 
6597
6595
  The name of the default release workflow.
6598
6596
 
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.321" };
95
+ LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.323" };
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.321" };
128
+ LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.323" };
129
129
  class LernaProjectFactory {
130
130
  constructor(project) {
131
131
  this.project = project;
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "jsii-docgen": "^9.2.2",
58
58
  "jsii-pacmak": "^1.93.0",
59
59
  "jsii-rosetta": "5.x",
60
- "projen": "^0.78.8",
60
+ "projen": "^0.78.11",
61
61
  "standard-version": "^9",
62
62
  "ts-jest": "^29.1.1",
63
63
  "ts-node": "^10.9.2",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "peerDependencies": {
67
67
  "constructs": "^10.3.0",
68
- "projen": "^0.78.8"
68
+ "projen": "^0.78.11"
69
69
  },
70
70
  "dependencies": {
71
71
  "commander": "^11.1.0",
@@ -83,7 +83,7 @@
83
83
  ],
84
84
  "main": "lib/index.js",
85
85
  "license": "Apache-2.0",
86
- "version": "0.1.321",
86
+ "version": "0.1.323",
87
87
  "jest": {
88
88
  "testMatch": [
89
89
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
package/.gitattributes DELETED
@@ -1,24 +0,0 @@
1
- # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
-
3
- *.snap linguist-generated
4
- /.eslintrc.json linguist-generated
5
- /.gitattributes linguist-generated
6
- /.github/pull_request_template.md linguist-generated
7
- /.github/workflows/auto-approve.yml linguist-generated
8
- /.github/workflows/build.yml linguist-generated
9
- /.github/workflows/pull-request-lint.yml linguist-generated
10
- /.github/workflows/release.yml linguist-generated
11
- /.github/workflows/upgrade-main.yml linguist-generated
12
- /.gitignore linguist-generated
13
- /.mergify.yml linguist-generated
14
- /.npmignore linguist-generated
15
- /.nvmrc linguist-generated
16
- /.projen/** linguist-generated
17
- /.projen/deps.json linguist-generated
18
- /.projen/files.json linguist-generated
19
- /.projen/tasks.json linguist-generated
20
- /API.md linguist-generated
21
- /LICENSE linguist-generated
22
- /package-lock.json linguist-generated
23
- /package.json linguist-generated
24
- /tsconfig.dev.json linguist-generated
package/.projenrc.ts DELETED
@@ -1,73 +0,0 @@
1
- import {javascript, cdk, TextFile} from 'projen'
2
-
3
- const repository = 'https://github.com/AminFazlMondo/Lerna-Projen.git'
4
- const nodeVersion = '20'
5
-
6
- const project = new cdk.JsiiProject({
7
- projenrcTs: true,
8
- defaultReleaseBranch: 'main',
9
- name: 'lerna-project',
10
- description: 'A lerna project for managing monorepo using lerna',
11
- keywords: [
12
- 'lerna',
13
- 'monorepo',
14
- 'projen',
15
- 'typescript',
16
- ],
17
- majorVersion: 0,
18
- packageName: 'lerna-projen',
19
- packageManager: javascript.NodePackageManager.NPM,
20
- repository,
21
- repositoryUrl: repository,
22
- authorAddress: 'amin.fazl@mondo.com.au',
23
- author: 'Amin Fazl',
24
- peerDeps: [
25
- 'projen',
26
- 'constructs',
27
- ],
28
- devDeps: [
29
- '@types/babel__core',
30
- '@types/fs-extra',
31
- ],
32
- bundledDeps: [
33
- 'commander',
34
- 'fs-extra',
35
- ],
36
- releaseToNpm: true,
37
- npmAccess: javascript.NpmAccess.PUBLIC,
38
- docgen: true,
39
- tsconfig: {
40
- compilerOptions: {
41
- lib: ['es2019'],
42
- },
43
- },
44
- workflowNodeVersion: nodeVersion,
45
- publishTasks: true,
46
- autoApproveOptions: {
47
- allowedUsernames: ['AminFazlMondo'],
48
- },
49
- autoApproveUpgrades: true,
50
- jsiiVersion: '5.x',
51
- })
52
-
53
- const additionalRules = {
54
- 'curly': [
55
- 'error',
56
- 'multi',
57
- 'consistent',
58
- ],
59
- 'semi': [
60
- 'error',
61
- 'never',
62
- ],
63
- 'object-curly-spacing': 'error',
64
- 'nonblock-statement-body-position': ['error', 'below'],
65
- }
66
-
67
- project.eslint?.addRules(additionalRules)
68
-
69
- new TextFile(project, '.nvmrc', {
70
- lines: [nodeVersion],
71
- })
72
-
73
- project.synth()