@atlaskit/dependency-version-analytics 1.6.2 → 1.6.3
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,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/dependency-version-analytics
|
|
2
2
|
|
|
3
|
+
## 1.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#66058](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66058) [`f602c4298340`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f602c4298340) - Migrate @atlaskit/dependency-version-analytics to use declarative entry points
|
|
8
|
+
|
|
3
9
|
## 1.6.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -67,7 +67,7 @@ function createUpgradeEvent(name, version, previousVersion, date, optionalEventA
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
return {
|
|
70
|
-
cliVersion: "1.6.
|
|
70
|
+
cliVersion: "1.6.3",
|
|
71
71
|
dependencyName: name,
|
|
72
72
|
versionString: eventVersion,
|
|
73
73
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -59,7 +59,7 @@ export function createUpgradeEvent(name, version, previousVersion, date, optiona
|
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
return {
|
|
62
|
-
cliVersion: "1.6.
|
|
62
|
+
cliVersion: "1.6.3",
|
|
63
63
|
dependencyName: name,
|
|
64
64
|
versionString: eventVersion,
|
|
65
65
|
major: parsedVersion ? `${parsedVersion.major}` : null,
|
|
@@ -66,7 +66,7 @@ export function createUpgradeEvent(name, version, previousVersion, date) {
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
return _objectSpread({
|
|
69
|
-
cliVersion: "1.6.
|
|
69
|
+
cliVersion: "1.6.3",
|
|
70
70
|
dependencyName: name,
|
|
71
71
|
versionString: eventVersion,
|
|
72
72
|
major: parsedVersion ? "".concat(parsedVersion.major) : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dependency-version-analytics",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Tool to pull atlaskit version history from a repo",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"atlassian": {
|
|
24
24
|
"team": "UIP - Platform Integration Trust (PITa)",
|
|
25
|
-
"deprecatedAutoEntryPoints": true,
|
|
26
25
|
"releaseModel": "continuous"
|
|
27
26
|
},
|
|
28
27
|
"bin": {
|
|
@@ -57,5 +56,11 @@
|
|
|
57
56
|
"ts-node": "^10.9.1",
|
|
58
57
|
"typescript": "~4.9.5"
|
|
59
58
|
},
|
|
60
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
61
|
-
|
|
59
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
|
|
60
|
+
"af:exports": {
|
|
61
|
+
".": "./src/index.ts",
|
|
62
|
+
"./cli": "./src/cli.ts",
|
|
63
|
+
"./constants": "./src/constants.ts",
|
|
64
|
+
"./types": "./src/types.ts"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/dependency-version-analytics"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { ReleaseType } from 'semver';
|
|
8
|
-
|
|
9
|
-
// @public (undocumented)
|
|
10
|
-
export type DependencyType = 'dependency' | 'devDependency' | 'optionalDependency' | 'peerDependency';
|
|
11
|
-
|
|
12
|
-
// @public (undocumented)
|
|
13
|
-
type PopulateHistoricDataFlags = {
|
|
14
|
-
cwd?: string;
|
|
15
|
-
dev: boolean;
|
|
16
|
-
dryRun: boolean;
|
|
17
|
-
limit?: number;
|
|
18
|
-
interactive: boolean;
|
|
19
|
-
includeRestrictedScopes?: boolean;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
export function populatePackage(flags: PopulatePackageFlags): Promise<UpgradeEvent[]>;
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
type PopulatePackageFlags = PopulateHistoricDataFlags & {
|
|
27
|
-
since?: string;
|
|
28
|
-
pkg: string;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
// @public (undocumented)
|
|
32
|
-
export function populateProduct(flags: PopulateProductFlags): Promise<void>;
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
type PopulateProductFlags = PopulateHistoricDataFlags & {
|
|
36
|
-
csv: boolean;
|
|
37
|
-
product: string;
|
|
38
|
-
reset: boolean;
|
|
39
|
-
statlas?: boolean;
|
|
40
|
-
tag?: string;
|
|
41
|
-
supportedPackages?: string;
|
|
42
|
-
subWorkDir?: string;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
// @public (undocumented)
|
|
46
|
-
export function sendAnalytics(analyticsEvents: UpgradeEvent[], { dev, limit, product, skipPrompt, }: {
|
|
47
|
-
dev?: boolean;
|
|
48
|
-
limit?: number;
|
|
49
|
-
product: string;
|
|
50
|
-
skipPrompt?: boolean;
|
|
51
|
-
}): Promise<void>;
|
|
52
|
-
|
|
53
|
-
// @public (undocumented)
|
|
54
|
-
export type UpgradeEvent = {
|
|
55
|
-
dependencyName: string;
|
|
56
|
-
versionString: string;
|
|
57
|
-
major: null | string;
|
|
58
|
-
minor: null | string;
|
|
59
|
-
patch: null | string;
|
|
60
|
-
date: string;
|
|
61
|
-
upgradeType: UpgradeType;
|
|
62
|
-
upgradeSubType: UpgradeSubType;
|
|
63
|
-
cliVersion: string;
|
|
64
|
-
latestTag: null | string;
|
|
65
|
-
nextTag: null | string;
|
|
66
|
-
hotfixTag: null | string;
|
|
67
|
-
rcTag: null | string;
|
|
68
|
-
dependencyType?: DependencyType;
|
|
69
|
-
historical?: boolean;
|
|
70
|
-
commitHash?: string;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export type UpgradeSubType = ReleaseType | null;
|
|
75
|
-
|
|
76
|
-
// @public (undocumented)
|
|
77
|
-
export type UpgradeType = 'add' | 'downgrade' | 'remove' | 'upgrade';
|
|
78
|
-
|
|
79
|
-
// (No @packageDocumentation comment for this package)
|
|
80
|
-
|
|
81
|
-
```
|