@atlaskit/dependency-version-analytics 1.4.0 → 1.4.2

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/cli/package.json +2 -2
  3. package/constants/package.json +2 -2
  4. package/dist/cjs/version.json +1 -1
  5. package/dist/es2019/version.json +1 -1
  6. package/dist/esm/version.json +1 -1
  7. package/dist/types/commands/populate-historic-data/package.d.ts +1 -1
  8. package/dist/types/commands/populate-historic-data/product.d.ts +1 -1
  9. package/dist/types/commands/populate-historic-data/types.d.ts +3 -3
  10. package/dist/types/types.d.ts +5 -5
  11. package/dist/types/util/get-package-version-history.d.ts +1 -1
  12. package/dist/types/util/statlas.d.ts +1 -1
  13. package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/package.d.ts +1 -1
  14. package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/product.d.ts +1 -1
  15. package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/types.d.ts +3 -3
  16. package/dist/{types-ts4.0 → types-ts4.5}/types.d.ts +5 -5
  17. package/dist/{types-ts4.0 → types-ts4.5}/util/get-package-version-history.d.ts +1 -1
  18. package/dist/{types-ts4.0 → types-ts4.5}/util/statlas.d.ts +1 -1
  19. package/package.json +11 -3
  20. package/types/package.json +2 -2
  21. /package/dist/{types-ts4.0 → types-ts4.5}/cli.d.ts +0 -0
  22. /package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/__fixtures__/git.d.ts +0 -0
  23. /package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/index.d.ts +0 -0
  24. /package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/lib/dependency-store.d.ts +0 -0
  25. /package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/util/allowed-scopes.d.ts +0 -0
  26. /package/dist/{types-ts4.0 → types-ts4.5}/commands/populate-historic-data/util/generate-csv.d.ts +0 -0
  27. /package/dist/{types-ts4.0 → types-ts4.5}/constants.d.ts +0 -0
  28. /package/dist/{types-ts4.0 → types-ts4.5}/index.d.ts +0 -0
  29. /package/dist/{types-ts4.0 → types-ts4.5}/util/analytics.d.ts +0 -0
  30. /package/dist/{types-ts4.0 → types-ts4.5}/util/assert.d.ts +0 -0
  31. /package/dist/{types-ts4.0 → types-ts4.5}/util/env-with-guard.d.ts +0 -0
  32. /package/dist/{types-ts4.0 → types-ts4.5}/util/get-file-history-from-git.d.ts +0 -0
  33. /package/dist/{types-ts4.0 → types-ts4.5}/util/git.d.ts +0 -0
  34. /package/dist/{types-ts4.0 → types-ts4.5}/util/yarn.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/dependency-version-analytics
2
2
 
3
+ ## 1.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
8
+
9
+ ## 1.4.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
14
+
3
15
  ## 1.4.0
4
16
 
5
17
  ### Minor Changes
package/cli/package.json CHANGED
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/cli.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/cli.d.ts"
11
+ "../dist/types-ts4.5/cli.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/constants.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/constants.d.ts"
11
+ "../dist/types-ts4.5/constants.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dependency-version-analytics",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dependency-version-analytics",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dependency-version-analytics",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { PopulateHistoricDataFlags } from './types';
2
2
  import { UpgradeEvent } from '../../types';
3
- export declare type PopulatePackageFlags = PopulateHistoricDataFlags & {
3
+ export type PopulatePackageFlags = PopulateHistoricDataFlags & {
4
4
  since?: string;
5
5
  pkg: string;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { PopulateHistoricDataFlags } from './types';
2
- export declare type PopulateProductFlags = PopulateHistoricDataFlags & {
2
+ export type PopulateProductFlags = PopulateHistoricDataFlags & {
3
3
  csv: boolean;
4
4
  product: string;
5
5
  reset: boolean;
@@ -1,5 +1,5 @@
1
1
  import { DependencyType } from '../../types';
2
- export declare type PopulateHistoricDataFlags = {
2
+ export type PopulateHistoricDataFlags = {
3
3
  cwd?: string;
4
4
  dev: boolean;
5
5
  dryRun: boolean;
@@ -7,13 +7,13 @@ export declare type PopulateHistoricDataFlags = {
7
7
  interactive: boolean;
8
8
  includeRestrictedScopes?: boolean;
9
9
  };
10
- export declare type DependencyMap = {
10
+ export type DependencyMap = {
11
11
  [name: string]: {
12
12
  version: string;
13
13
  type: DependencyType;
14
14
  };
15
15
  };
16
- export declare type PackageChange = {
16
+ export type PackageChange = {
17
17
  deps: DependencyMap;
18
18
  date: string;
19
19
  };
@@ -1,8 +1,8 @@
1
1
  import { ReleaseType } from 'semver';
2
- export declare type DependencyType = 'devDependency' | 'dependency' | 'optionalDependency' | 'peerDependency';
3
- export declare type UpgradeType = 'add' | 'upgrade' | 'remove' | 'downgrade';
4
- export declare type UpgradeSubType = ReleaseType | null;
5
- export declare type UpgradeEvent = {
2
+ export type DependencyType = 'devDependency' | 'dependency' | 'optionalDependency' | 'peerDependency';
3
+ export type UpgradeType = 'add' | 'upgrade' | 'remove' | 'downgrade';
4
+ export type UpgradeSubType = ReleaseType | null;
5
+ export type UpgradeEvent = {
6
6
  dependencyName: string;
7
7
  versionString: string;
8
8
  major: string | null;
@@ -20,6 +20,6 @@ export declare type UpgradeEvent = {
20
20
  historical?: boolean;
21
21
  commitHash?: string;
22
22
  };
23
- export declare type DistTagsType = {
23
+ export type DistTagsType = {
24
24
  [tag: string]: string;
25
25
  };
@@ -1,5 +1,5 @@
1
1
  import { DistTagsType } from '../types';
2
- export declare type PackageVersionHistoryAndTagsType = {
2
+ export type PackageVersionHistoryAndTagsType = {
3
3
  time: {
4
4
  [version: string]: string;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type Meta = {
1
+ export type Meta = {
2
2
  lastRunHash: string;
3
3
  };
4
4
  export declare function getMeta(product: string): Promise<Meta | null>;
@@ -1,6 +1,6 @@
1
1
  import { PopulateHistoricDataFlags } from './types';
2
2
  import { UpgradeEvent } from '../../types';
3
- export declare type PopulatePackageFlags = PopulateHistoricDataFlags & {
3
+ export type PopulatePackageFlags = PopulateHistoricDataFlags & {
4
4
  since?: string;
5
5
  pkg: string;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { PopulateHistoricDataFlags } from './types';
2
- export declare type PopulateProductFlags = PopulateHistoricDataFlags & {
2
+ export type PopulateProductFlags = PopulateHistoricDataFlags & {
3
3
  csv: boolean;
4
4
  product: string;
5
5
  reset: boolean;
@@ -1,5 +1,5 @@
1
1
  import { DependencyType } from '../../types';
2
- export declare type PopulateHistoricDataFlags = {
2
+ export type PopulateHistoricDataFlags = {
3
3
  cwd?: string;
4
4
  dev: boolean;
5
5
  dryRun: boolean;
@@ -7,13 +7,13 @@ export declare type PopulateHistoricDataFlags = {
7
7
  interactive: boolean;
8
8
  includeRestrictedScopes?: boolean;
9
9
  };
10
- export declare type DependencyMap = {
10
+ export type DependencyMap = {
11
11
  [name: string]: {
12
12
  version: string;
13
13
  type: DependencyType;
14
14
  };
15
15
  };
16
- export declare type PackageChange = {
16
+ export type PackageChange = {
17
17
  deps: DependencyMap;
18
18
  date: string;
19
19
  };
@@ -1,8 +1,8 @@
1
1
  import { ReleaseType } from 'semver';
2
- export declare type DependencyType = 'devDependency' | 'dependency' | 'optionalDependency' | 'peerDependency';
3
- export declare type UpgradeType = 'add' | 'upgrade' | 'remove' | 'downgrade';
4
- export declare type UpgradeSubType = ReleaseType | null;
5
- export declare type UpgradeEvent = {
2
+ export type DependencyType = 'devDependency' | 'dependency' | 'optionalDependency' | 'peerDependency';
3
+ export type UpgradeType = 'add' | 'upgrade' | 'remove' | 'downgrade';
4
+ export type UpgradeSubType = ReleaseType | null;
5
+ export type UpgradeEvent = {
6
6
  dependencyName: string;
7
7
  versionString: string;
8
8
  major: string | null;
@@ -20,6 +20,6 @@ export declare type UpgradeEvent = {
20
20
  historical?: boolean;
21
21
  commitHash?: string;
22
22
  };
23
- export declare type DistTagsType = {
23
+ export type DistTagsType = {
24
24
  [tag: string]: string;
25
25
  };
@@ -1,5 +1,5 @@
1
1
  import { DistTagsType } from '../types';
2
- export declare type PackageVersionHistoryAndTagsType = {
2
+ export type PackageVersionHistoryAndTagsType = {
3
3
  time: {
4
4
  [version: string]: string;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type Meta = {
1
+ export type Meta = {
2
2
  lastRunHash: string;
3
3
  };
4
4
  export declare function getMeta(product: string): Promise<Meta | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dependency-version-analytics",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Tool to pull atlaskit version history from a repo",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -10,6 +10,14 @@
10
10
  "license": "Apache-2.0",
11
11
  "main": "dist/cjs/index.js",
12
12
  "types": "dist/types/index.d.ts",
13
+ "typesVersions": {
14
+ ">=4.5 <4.9": {
15
+ "*": [
16
+ "dist/types-ts4.5/*",
17
+ "dist/types-ts4.5/index.d.ts"
18
+ ]
19
+ }
20
+ },
13
21
  "sideEffects": false,
14
22
  "atlaskit:src": "src/index.ts",
15
23
  "atlassian": {
@@ -41,7 +49,7 @@
41
49
  "@types/micromatch": "^4.0.1",
42
50
  "@types/node": "~16.11.27",
43
51
  "ts-node": "^10.9.1",
44
- "typescript": "4.5.5"
52
+ "typescript": "~4.9.5"
45
53
  },
46
54
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
47
- }
55
+ }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/types.d.ts"
11
+ "../dist/types-ts4.5/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }
File without changes
File without changes
File without changes