@digigov/cli-lab 1.3.0 → 1.3.1
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.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/cli-lab",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "1.3.1",
|
|
6
|
+
"tag": "@digigov/cli-lab_v1.3.1",
|
|
7
|
+
"date": "Wed, 05 Apr 2023 15:16:24 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Fix changedPackages function that calculates which packages needs to be built"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "1.3.0",
|
|
6
18
|
"tag": "@digigov/cli-lab_v1.3.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @digigov/cli-lab
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 05 Apr 2023 15:16:24 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 1.3.1
|
|
6
|
+
Wed, 05 Apr 2023 15:16:24 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- Fix changedPackages function that calculates which packages needs to be built
|
|
4
11
|
|
|
5
12
|
## 1.3.0
|
|
6
13
|
Tue, 21 Feb 2023 09:58:34 GMT
|
|
@@ -8,14 +8,13 @@ export default async function changedPackages(targetBranch) {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
function reduceScripts(customTargetBranch, projects) {
|
|
11
|
-
let targetBranch = customTargetBranch || process.env.
|
|
11
|
+
let targetBranch = customTargetBranch || process.env.CI_DEFAULT_BRANCH || 'origin/main';
|
|
12
12
|
targetBranch = `origin/${targetBranch.replace(/^origin\//, '')}`;
|
|
13
13
|
return projects.reduce((allPackages, project) => {
|
|
14
14
|
const {
|
|
15
|
-
packageName,
|
|
16
15
|
projectFolder
|
|
17
16
|
} = project
|
|
18
|
-
const { stdout } = spawn('git', ['diff', targetBranch, '--', projectFolder])
|
|
17
|
+
const { stdout } = spawn('git', ['diff', '--merge-base', targetBranch, '--', projectFolder])
|
|
19
18
|
if (!stdout.toString().trim()) {
|
|
20
19
|
return allPackages
|
|
21
20
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": {
|
|
3
|
-
"tooling/cli-lab/.rush/temp/shrinkwrap-deps.json": "4e6b292a6fccf76500a1d75a3afc2c50fa94d51e",
|
|
4
|
-
"tooling/cli-lab/CHANGELOG.json": "1b723481d7134302e8f89243ff2ff5b9d4d28288",
|
|
5
|
-
"tooling/cli-lab/CHANGELOG.md": "27c6b6a4cc0bb4b6e875c007a538ee6f64fa38e5",
|
|
6
|
-
"tooling/cli-lab/index.mjs": "5b3c59f4204c70d8ed30f8b4a89182d63d286479",
|
|
7
|
-
"tooling/cli-lab/lib/changed-packages/index.mjs": "88f914bb19d586c00cac2d8d51ede44ce3b196b3",
|
|
8
|
-
"tooling/cli-lab/lib/extra/index.mjs": "a84dae861ab0494d31ba9889c2760d4df4d3cf1c",
|
|
9
|
-
"tooling/cli-lab/misc/html-types.js": "23efd02bdb67d1aedbad938860e1edec677ae801",
|
|
10
|
-
"tooling/cli-lab/misc/react-core-components.js": "9eabab6ba69a27815f6ba60733d96af67184534a",
|
|
11
|
-
"tooling/cli-lab/package.json": "ca8f813cb540410d2dbeae6636a1cf3403814c7d",
|
|
12
|
-
"tooling/cli-lab/scripts/add-package-to-subtree-branch.mjs": "8cf54af4a24419c2a54927d68425cfcaf1683744",
|
|
13
|
-
"tooling/cli-lab/scripts/consistent-package-versions.mjs": "1cf8e8d40b80e4aa33f4bd18db4905226e52a157",
|
|
14
|
-
"tooling/cli-lab/scripts/generate-react-core.mjs": "2adbc79ade070e39a10df67d20f51df292ba6f03",
|
|
15
|
-
"tooling/cli-lab/scripts/merge-subtree.mjs": "5d44135e05581f46214602aac4aed4c3b8941f92",
|
|
16
|
-
"tooling/cli-lab/scripts/publish.mjs": "809fbdbde52d5fe51d0eae4460273c9e7c4cdbdc"
|
|
17
|
-
},
|
|
18
|
-
"arguments": "publint "
|
|
19
|
-
}
|
package/cli-lab.build.log
DELETED
|
File without changes
|