lerna-projen 0.1.269 → 0.1.310

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.76.15"
18
+ "projen": "^0.77.5"
19
19
  },
20
20
  "dependencyClosure": {
21
21
  "constructs": {
@@ -88,7 +88,7 @@
88
88
  "stability": "stable"
89
89
  },
90
90
  "homepage": "https://github.com/AminFazlMondo/Lerna-Projen.git",
91
- "jsiiVersion": "5.1.10 (build 041401a)",
91
+ "jsiiVersion": "5.2.38 (build 1202420)",
92
92
  "keywords": [
93
93
  "lerna",
94
94
  "monorepo",
@@ -797,6 +797,6 @@
797
797
  "symbolId": "src/types:TaskCustomization"
798
798
  }
799
799
  },
800
- "version": "0.1.269",
801
- "fingerprint": "221/1nQaciUCt/b2G8XPIOVfTXXL1IPALPuNvWvoLa8="
800
+ "version": "0.1.310",
801
+ "fingerprint": "I25qUYpze7l/xTgGiimKxpk2d0heVVVlfVdP9Rg6N0A="
802
802
  }
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16
1
+ 20
package/.projenrc.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import {javascript, cdk, TextFile} from 'projen'
2
2
 
3
3
  const repository = 'https://github.com/AminFazlMondo/Lerna-Projen.git'
4
- const nodeVersion = '16'
4
+ const nodeVersion = '20'
5
5
 
6
6
  const project = new cdk.JsiiProject({
7
7
  projenrcTs: true,
package/API.md CHANGED
@@ -3258,6 +3258,7 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
3258
3258
  | <code><a href="#lerna-projen.LernaProjectOptions.property.scopedPackagesOptions">scopedPackagesOptions</a></code> | <code>projen.javascript.ScopedPackagesOptions[]</code> | Options for privately hosted scoped packages. |
3259
3259
  | <code><a href="#lerna-projen.LernaProjectOptions.property.scripts">scripts</a></code> | <code>{[ key: string ]: string}</code> | npm scripts to include. |
3260
3260
  | <code><a href="#lerna-projen.LernaProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
3261
+ | <code><a href="#lerna-projen.LernaProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
3261
3262
  | <code><a href="#lerna-projen.LernaProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
3262
3263
  | <code><a href="#lerna-projen.LernaProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
3263
3264
  | <code><a href="#lerna-projen.LernaProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
@@ -4269,6 +4270,19 @@ Package's Stability.
4269
4270
 
4270
4271
  ---
4271
4272
 
4273
+ ##### `yarnBerryOptions`<sup>Optional</sup> <a name="yarnBerryOptions" id="lerna-projen.LernaProjectOptions.property.yarnBerryOptions"></a>
4274
+
4275
+ ```typescript
4276
+ public readonly yarnBerryOptions: YarnBerryOptions;
4277
+ ```
4278
+
4279
+ - *Type:* projen.javascript.YarnBerryOptions
4280
+ - *Default:* Yarn Berry v4 with all default options
4281
+
4282
+ Options for Yarn Berry.
4283
+
4284
+ ---
4285
+
4272
4286
  ##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="lerna-projen.LernaProjectOptions.property.jsiiReleaseVersion"></a>
4273
4287
 
4274
4288
  ```typescript
@@ -5262,6 +5276,7 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
5262
5276
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.scopedPackagesOptions">scopedPackagesOptions</a></code> | <code>projen.javascript.ScopedPackagesOptions[]</code> | Options for privately hosted scoped packages. |
5263
5277
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.scripts">scripts</a></code> | <code>{[ key: string ]: string}</code> | npm scripts to include. |
5264
5278
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
5279
+ | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
5265
5280
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
5266
5281
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
5267
5282
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
@@ -6288,6 +6303,19 @@ Package's Stability.
6288
6303
 
6289
6304
  ---
6290
6305
 
6306
+ ##### `yarnBerryOptions`<sup>Optional</sup> <a name="yarnBerryOptions" id="lerna-projen.LernaTypescriptProjectOptions.property.yarnBerryOptions"></a>
6307
+
6308
+ ```typescript
6309
+ public readonly yarnBerryOptions: YarnBerryOptions;
6310
+ ```
6311
+
6312
+ - *Type:* projen.javascript.YarnBerryOptions
6313
+ - *Default:* Yarn Berry v4 with all default options
6314
+
6315
+ Options for Yarn Berry.
6316
+
6317
+ ---
6318
+
6291
6319
  ##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="lerna-projen.LernaTypescriptProjectOptions.property.jsiiReleaseVersion"></a>
6292
6320
 
6293
6321
  ```typescript
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.269" };
95
+ LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.310" };
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.269" };
128
+ LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.310" };
129
129
  class LernaProjectFactory {
130
130
  constructor(project) {
131
131
  this.project = project;
@@ -1,6 +1,6 @@
1
1
  # universalify
2
2
 
3
- [![Travis branch](https://img.shields.io/travis/RyanZim/universalify/master.svg)](https://travis-ci.org/RyanZim/universalify)
3
+ ![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/RyanZim/universalify/ci.yml?branch=master)
4
4
  ![Coveralls github branch](https://img.shields.io/coveralls/github/RyanZim/universalify/master.svg)
5
5
  ![npm](https://img.shields.io/npm/dm/universalify.svg)
6
6
  ![npm](https://img.shields.io/npm/l/universalify.svg)
@@ -5,11 +5,8 @@ exports.fromCallback = function (fn) {
5
5
  if (typeof args[args.length - 1] === 'function') fn.apply(this, args)
6
6
  else {
7
7
  return new Promise((resolve, reject) => {
8
- fn.call(
9
- this,
10
- ...args,
11
- (err, res) => (err != null) ? reject(err) : resolve(res)
12
- )
8
+ args.push((err, res) => (err != null) ? reject(err) : resolve(res))
9
+ fn.apply(this, args)
13
10
  })
14
11
  }
15
12
  }, 'name', { value: fn.name })
@@ -19,6 +16,9 @@ exports.fromPromise = function (fn) {
19
16
  return Object.defineProperty(function (...args) {
20
17
  const cb = args[args.length - 1]
21
18
  if (typeof cb !== 'function') return fn.apply(this, args)
22
- else fn.apply(this, args.slice(0, -1)).then(r => cb(null, r), cb)
19
+ else {
20
+ args.pop()
21
+ fn.apply(this, args).then(r => cb(null, r), cb)
22
+ }
23
23
  }, 'name', { value: fn.name })
24
24
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universalify",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Make a callback- or promise-based function support both promises and callbacks.",
5
5
  "keywords": [
6
6
  "callback",
@@ -19,7 +19,7 @@
19
19
  "url": "git+https://github.com/RyanZim/universalify.git"
20
20
  },
21
21
  "scripts": {
22
- "test": "standard && nyc tape test/*.js | colortape"
22
+ "test": "standard && nyc --reporter text --reporter lcovonly tape test/*.js | colortape"
23
23
  },
24
24
  "devDependencies": {
25
25
  "colortape": "^0.1.2",
package/package.json CHANGED
@@ -40,34 +40,32 @@
40
40
  "organization": false
41
41
  },
42
42
  "devDependencies": {
43
- "@types/babel__core": "^7.20.3",
43
+ "@types/babel__core": "^7.20.5",
44
44
  "@types/fs-extra": "^9.0.13",
45
- "@types/jest": "^29",
46
- "@types/node": "^16",
45
+ "@types/jest": "^29.5.11",
46
+ "@types/node": "^18",
47
47
  "@typescript-eslint/eslint-plugin": "^6",
48
48
  "@typescript-eslint/parser": "^6",
49
- "constructs": "^10.0.0",
49
+ "constructs": "^10.3.0",
50
50
  "eslint": "^8",
51
- "eslint-import-resolver-node": "^0.3.9",
52
51
  "eslint-import-resolver-typescript": "^3.6.1",
53
52
  "eslint-plugin-import": "^2.29.0",
54
- "jest": "^29",
53
+ "jest": "^29.7.0",
55
54
  "jest-junit": "^15",
56
55
  "jsii": "5.x",
57
- "jsii-diff": "^1.91.0",
56
+ "jsii-diff": "^1.92.0",
58
57
  "jsii-docgen": "^9.2.2",
59
- "jsii-pacmak": "^1.91.0",
58
+ "jsii-pacmak": "^1.92.0",
60
59
  "jsii-rosetta": "5.x",
61
- "npm-check-updates": "^16",
62
- "projen": "^0.76.15",
60
+ "projen": "^0.77.5",
63
61
  "standard-version": "^9",
64
- "ts-jest": "^29",
62
+ "ts-jest": "^29.1.1",
65
63
  "ts-node": "^10.9.1",
66
- "typescript": "^5.2.2"
64
+ "typescript": "^5.3.3"
67
65
  },
68
66
  "peerDependencies": {
69
67
  "constructs": "^10.3.0",
70
- "projen": "^0.76.15"
68
+ "projen": "^0.77.5"
71
69
  },
72
70
  "dependencies": {
73
71
  "commander": "^11.1.0",
@@ -85,7 +83,7 @@
85
83
  ],
86
84
  "main": "lib/index.js",
87
85
  "license": "Apache-2.0",
88
- "version": "0.1.269",
86
+ "version": "0.1.310",
89
87
  "jest": {
90
88
  "testMatch": [
91
89
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",