@ckeditor/ckeditor5-dev-release-tools 45.0.2 → 45.0.4

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.
@@ -108,7 +108,7 @@ export default async function publishPackages( options ) {
108
108
  }
109
109
 
110
110
  // Let's give an npm a moment for taking a breath...
111
- await wait( 1000 );
111
+ await wait( 1000 * 15 );
112
112
 
113
113
  // ...and try again.
114
114
  return publishPackages( {
@@ -15,7 +15,7 @@ import pacote from 'pacote';
15
15
  * @returns {Promise}
16
16
  */
17
17
  export default async function checkVersionAvailability( version, packageName ) {
18
- return pacote.manifest( `${ packageName }@${ version }` )
18
+ return pacote.manifest( `${ packageName }@${ version }`, { cache: null } )
19
19
  .then( () => {
20
20
  // If `pacote.manifest` resolves, a package with the given version exists.
21
21
  return false;
@@ -15,7 +15,7 @@ import pacote from 'pacote';
15
15
  * @returns {Promise.<boolean>}
16
16
  */
17
17
  export default async function isVersionPublishableForTag( packageName, version, npmTag ) {
18
- const npmVersion = await pacote.manifest( `${ packageName }@${ npmTag }` )
18
+ const npmVersion = await pacote.manifest( `${ packageName }@${ npmTag }`, { cache: null } )
19
19
  .then( ( { version } ) => version )
20
20
  // An `npmTag` does not exist, or it's a first release of a package.
21
21
  .catch( () => null );
@@ -38,7 +38,7 @@ export function getLastFromChangelog( cwd = process.cwd() ) {
38
38
  export function getLastPreRelease( releaseIdentifier, cwd = process.cwd() ) {
39
39
  const packageName = getPackageJson( cwd ).name;
40
40
 
41
- return pacote.packument( packageName )
41
+ return pacote.packument( packageName, { cache: null } )
42
42
  .then( result => {
43
43
  const lastVersion = Object.keys( result.versions )
44
44
  .filter( version => version.startsWith( releaseIdentifier ) )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-dev-release-tools",
3
- "version": "45.0.2",
3
+ "version": "45.0.4",
4
4
  "description": "Tools used for releasing CKEditor 5 and related packages.",
5
5
  "keywords": [],
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -22,7 +22,7 @@
22
22
  "lib"
23
23
  ],
24
24
  "dependencies": {
25
- "@ckeditor/ckeditor5-dev-utils": "^45.0.2",
25
+ "@ckeditor/ckeditor5-dev-utils": "^45.0.4",
26
26
  "@octokit/rest": "^21.0.0",
27
27
  "chalk": "^5.0.0",
28
28
  "cli-columns": "^4.0.0",