@itwin/build-tools 4.2.0-dev.0 → 4.2.0-dev.10

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/CHANGELOG.md CHANGED
@@ -1,6 +1,24 @@
1
1
  # Change Log - @itwin/build-tools
2
2
 
3
- This log was last generated on Mon, 24 Jul 2023 12:35:20 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 17 Aug 2023 07:50:06 GMT and should not be manually modified.
4
+
5
+ ## 4.1.1
6
+ Fri, 18 Aug 2023 13:02:53 GMT
7
+
8
+ _Version update only_
9
+
10
+ ## 4.1.0
11
+ Mon, 14 Aug 2023 14:36:34 GMT
12
+
13
+ ### Updates
14
+
15
+ - with DEBUG_LEAKS on: print the initialize callstack of active async resources which may be preventing node from shutting down
16
+ - Switch to ESLint new flat config system
17
+
18
+ ## 4.0.7
19
+ Thu, 10 Aug 2023 13:19:24 GMT
20
+
21
+ _Version update only_
4
22
 
5
23
  ## 4.0.6
6
24
  Mon, 24 Jul 2023 05:07:33 GMT
@@ -43,6 +61,16 @@ Mon, 22 May 2023 15:34:14 GMT
43
61
  - Fixed 'betools docs' script to set 'packageRoot' to correct relative path from root to package source.
44
62
  - Upgrade TypeScript compile target to es2021.
45
63
 
64
+ ## 3.7.13
65
+ Tue, 08 Aug 2023 19:49:17 GMT
66
+
67
+ _Version update only_
68
+
69
+ ## 3.7.12
70
+ Thu, 27 Jul 2023 21:50:57 GMT
71
+
72
+ _Version update only_
73
+
46
74
  ## 3.7.11
47
75
  Tue, 11 Jul 2023 17:17:21 GMT
48
76
 
package/README.md CHANGED
@@ -30,6 +30,8 @@ The default behaviors of the scripts (without parameters) assume that the direct
30
30
  - package.json
31
31
  - tsconfig.json
32
32
 
33
+ If the directory structure for your package varies from this, define the NODE_PROJECT_ROOT_DIRECTORY environment variable (The RUSHSTACK_FILE_ERROR_BASE_FOLDER that also serves this function is deprecated) as the path to the directory containing your package.json file.
34
+
33
35
  The following is a list of some of the most commonly used scripts within this package:
34
36
 
35
37
  #### docs.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/build-tools",
3
- "version": "4.2.0-dev.0",
3
+ "version": "4.2.0-dev.10",
4
4
  "description": "Bentley build tools",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "url": "http://www.bentley.com"
22
22
  },
23
23
  "dependencies": {
24
- "@microsoft/api-extractor": "7.34.4",
24
+ "@microsoft/api-extractor": "~7.36.4",
25
25
  "chalk": "^3.0.0",
26
26
  "cpx2": "^3.0.0",
27
27
  "cross-spawn": "^7.0.1",
@@ -7,10 +7,13 @@ const FS = require("fs-extra");
7
7
  const path = require("path");
8
8
 
9
9
  // We cannot guarantee the folder structure of a project
10
- // so find the project root using rush env variable if available.
11
- const rootPackageJson = process.env.RUSHSTACK_FILE_ERROR_BASE_FOLDER
12
- ? path.join(process.env.RUSHSTACK_FILE_ERROR_BASE_FOLDER, "package.json")
13
- : "../../../../package.json";
10
+ // so find the project root using environment variables if available, starting with NODE_PROJECT, then RUSHSTACK.
11
+ const rootPackageJson = path.join(
12
+ process.env.NODE_PROJECT_ROOT_DIRECTORY ||
13
+ process.env.RUSHSTACK_FILE_ERROR_BASE_FOLDER ||
14
+ "../../../../",
15
+ "package.json"
16
+ );
14
17
 
15
18
  // Check if path to root package.json is valid.
16
19
  const rootPackageJsonPath = require.resolve(rootPackageJson);