From 8182343254c1362f89f4bc068f3d57bf6ef67bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Mon, 26 Mar 2018 14:37:33 +0200 Subject: [PATCH] Other: ckeditor5-cloudservices was renamed to ckeditor5-cloud-services and ckeditor-cloudservices-core to ckeditor-cloud-services-core. --- CHANGELOG.md | 6 +++--- LICENSE.md | 2 +- README.md | 12 +++++------ package.json | 8 ++++---- src/cloudservices.js | 20 +++++++++---------- ...ces-config.js => cloud-services-config.js} | 0 tests/_utils/tokenmock.js | 2 +- 7 files changed, 25 insertions(+), 25 deletions(-) rename tests/_utils/{cloudservices-config.js => cloud-services-config.js} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 586b876..8927a96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ Changelog ========= -## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-cloudservices/compare/v1.0.0-alpha.1...v1.0.0-beta.1) (2018-03-15) +## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-cloud-services/compare/v1.0.0-alpha.1...v1.0.0-beta.1) (2018-03-15) ### Other changes -* Removed the default value of `config.cloudServices.uploadUrl`. Closes [#12](https://github.com/ckeditor/ckeditor5-cloudservices/issues/12). ([d718e54](https://github.com/ckeditor/ckeditor5-cloudservices/commit/d718e54)) +* Removed the default value of `config.cloudServices.uploadUrl`. Closes [#12](https://github.com/ckeditor/ckeditor5-cloud-services/issues/12). ([d718e54](https://github.com/ckeditor/ckeditor5-cloud-services/commit/d718e54)) ### BREAKING CHANGES @@ -16,4 +16,4 @@ Changelog ### Features -* Introduced the `CloudeServices` plugin. Closes [#1](https://github.com/ckeditor/ckeditor5-cloudservices/issues/1). ([fbf04dd](https://github.com/ckeditor/ckeditor5-cloudservices/commit/fbf04dd)) +* Introduced the `CloudeServices` plugin. Closes [#1](https://github.com/ckeditor/ckeditor5-cloud-services/issues/1). ([fbf04dd](https://github.com/ckeditor/ckeditor5-cloud-services/commit/fbf04dd)) diff --git a/LICENSE.md b/LICENSE.md index 92c1e37..cac7d52 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,7 @@ Software License Agreement ========================== -**CKEditor 5 Cloud Services** – https://github.com/ckeditor/ckeditor5-cloudservices
+**CKEditor 5 Cloud Services** – https://github.com/ckeditor/ckeditor5-cloud-services
Copyright (c) 2003-2018, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved. Licensed under the terms of any of the following licenses at your choice: diff --git a/README.md b/README.md index 5d65cf8..356fcac 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,19 @@ CKEditor 5 Cloud Services ========================= [![Join the chat at https://gitter.im/ckeditor/ckeditor5](https://badges.gitter.im/ckeditor/ckeditor5.svg)](https://gitter.im/ckeditor/ckeditor5?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-cloudservices.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloudservices) -[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-cloudservices.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-cloudservices) +[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-cloud-services.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-cloud-services) +[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-cloud-services.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-cloud-services) [![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=d3hvenZqQVZERFQ5d09FWXdyT0ozVXhLaVltRFRjTTUyZGpvQWNmWVhUUT0tLUZqNlJ1YWRUd0RvdEVOaEptM1B2Q0E9PQ==--c9d3dee40b9b4471ff3fb516d9ecf8d09292c7e0)](https://www.browserstack.com/automate/public-build/d3hvenZqQVZERFQ5d09FWXdyT0ozVXhLaVltRFRjTTUyZGpvQWNmWVhUUT0tLUZqNlJ1YWRUd0RvdEVOaEptM1B2Q0E9PQ==--c9d3dee40b9b4471ff3fb516d9ecf8d09292c7e0) -[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5-cloudservices/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5-cloudservices?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5-cloud-services/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5-cloud-services?branch=master)
-[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-cloudservices/status.svg)](https://david-dm.org/ckeditor/ckeditor5-cloudservices) -[![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-cloudservices/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-cloudservices?type=dev) +[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-cloud-services/status.svg)](https://david-dm.org/ckeditor/ckeditor5-cloud-services) +[![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-cloud-services/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-cloud-services?type=dev) CKEditor 5's [Cloud Services](https://ckeditor.com/ckeditor-cloud-services/) integration layer, which handles `config.cloudServices` and tokens. ## Documentation -See the [`@ckeditor/ckeditor5-cloudservices` package](https://docs.ckeditor.com/ckeditor5/latest/api/cloudservices.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). +See the [`@ckeditor/ckeditor5-cloud-services` package](https://docs.ckeditor.com/ckeditor5/latest/api/cloudservices.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). ## License diff --git a/package.json b/package.json index c5ec36c..ebc7da7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@ckeditor/ckeditor5-cloudservices", + "name": "@ckeditor/ckeditor5-cloud-services", "version": "1.0.0-beta.1", "description": "CKEditor 5's Cloud Services integration layer.", "keywords": [ @@ -7,7 +7,7 @@ "ckeditor5-lib" ], "dependencies": { - "@ckeditor/ckeditor-cloudservices-core": "^0.2.0", + "@ckeditor/ckeditor-cloud-services-core": "^0.2.0", "@ckeditor/ckeditor5-core": "^1.0.0-beta.1", "@ckeditor/ckeditor5-utils": "^1.0.0-beta.1" }, @@ -24,10 +24,10 @@ "author": "CKSource (http://cksource.com/)", "license": "(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)", "homepage": "https://ckeditor.com", - "bugs": "https://github.com/ckeditor/ckeditor5-cloudservices/issues", + "bugs": "https://github.com/ckeditor/ckeditor5-cloud-services/issues", "repository": { "type": "git", - "url": "https://github.com/ckeditor/ckeditor5-cloudservices.git" + "url": "https://github.com/ckeditor/ckeditor5-cloud-services.git" }, "files": [ "lang", diff --git a/src/cloudservices.js b/src/cloudservices.js index 80aeea0..4b88d91 100644 --- a/src/cloudservices.js +++ b/src/cloudservices.js @@ -4,15 +4,15 @@ */ /** - * @module cloudservices/cloudservices + * @module cloud-services/cloudservices */ import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; -import Token from '@ckeditor/ckeditor-cloudservices-core/src/token/token'; +import Token from '@ckeditor/ckeditor-cloud-services-core/src/token/token'; /** * Plugin introducing CKEditor 5's Cloud Services integration. - * It takes care of the {@link module:cloudservices/cloudservices~CloudServicesConfig `config.cloudService`} + * It takes care of the {@link module:cloud-services/cloudservices~CloudServicesConfig `config.cloudService`} * configuration options and initializes the token provider. * * @extends module:core/plugin~Plugin @@ -47,7 +47,7 @@ export default class CloudServices extends Plugin { /** * Other plugins use this token for the authorization process. It handles token requesting and refreshing. - * Its value is `null` when {@link module:cloudservices/cloudservices~CloudServicesConfig#tokenUrl} is not provided. + * Its value is `null` when {@link module:cloud-services/cloudservices~CloudServicesConfig#tokenUrl} is not provided. * * @readonly * @member {Object|null} #token @@ -68,11 +68,11 @@ export default class CloudServices extends Plugin { CloudServices.Token = Token; /** - * The configuration of CKEditor Cloud Services. Introduced by the {@link module:cloudservices/cloudservices~CloudServices} plugin. + * The configuration of CKEditor Cloud Services. Introduced by the {@link module:cloud-services/cloudservices~CloudServices} plugin. * - * Read more in {@link module:cloudservices/cloudservices~CloudServicesConfig}. + * Read more in {@link module:cloud-services/cloudservices~CloudServicesConfig}. * - * @member {module:cloudservices/cloudservices~CloudServicesConfig} module:core/editor/editorconfig~EditorConfig#cloudServices + * @member {module:cloud-services/cloudservices~CloudServicesConfig} module:core/editor/editorconfig~EditorConfig#cloudServices */ /** @@ -104,7 +104,7 @@ CloudServices.Token = Token; * * Without a properly working token endpoint (token URL) CKEditor plugins will not be able to connect to CKEditor Cloud Services. * - * @member {String} module:cloudservices/cloudservices~CloudServicesConfig#tokenUrl + * @member {String} module:cloud-services/cloudservices~CloudServicesConfig#tokenUrl */ /** @@ -115,9 +115,9 @@ CloudServices.Token = Token; * after subscribing to Easy Image service. * To learn how to start using Easy Image check {@glink @cs guides/quick-start Cloud Services - Quick start} documentation. * - * Note: Make sure to also set the {@link module:cloudservices/cloudservices~CloudServicesConfig#tokenUrl} configuration option. + * Note: Make sure to also set the {@link module:cloud-services/cloudservices~CloudServicesConfig#tokenUrl} configuration option. * * Read more in [Cloud Services Quick start](https://docs.ckeditor.com/cs/latest/guides/quick-start.html). * - * @member {String} module:cloudservices/cloudservices~CloudServicesConfig#uploadUrl + * @member {String} module:cloud-services/cloudservices~CloudServicesConfig#uploadUrl */ diff --git a/tests/_utils/cloudservices-config.js b/tests/_utils/cloud-services-config.js similarity index 100% rename from tests/_utils/cloudservices-config.js rename to tests/_utils/cloud-services-config.js diff --git a/tests/_utils/tokenmock.js b/tests/_utils/tokenmock.js index d800946..ded8315 100644 --- a/tests/_utils/tokenmock.js +++ b/tests/_utils/tokenmock.js @@ -3,7 +3,7 @@ * For licensing, see LICENSE.md. */ -import Token from '@ckeditor/ckeditor-cloudservices-core/src/token/token'; +import Token from '@ckeditor/ckeditor-cloud-services-core/src/token/token'; export default class TokenMock extends Token { /**