8
0
Просмотр исходного кода

Internal: Safety + better description.

Piotrek Koszuliński 7 лет назад
Родитель
Сommit
8a0013a6e1
2 измененных файлов с 6 добавлено и 1 удалено
  1. 2 1
      package.json
  2. 4 0
      scripts/release/release-ckeditor5.js

+ 2 - 1
package.json

@@ -1,7 +1,8 @@
 {
 {
   "name": "ckeditor5",
   "name": "ckeditor5",
   "version": "10.1.0",
   "version": "10.1.0",
-  "description": "The development environment of CKEditor 5.",
+  "description": "The development environment of CKEditor 5 – the best browser-based rich text editor.",
+  "private": true,
   "keywords": [
   "keywords": [
     "CKEditor",
     "CKEditor",
     "ckeditor5",
     "ckeditor5",

+ 4 - 0
scripts/release/release-ckeditor5.js

@@ -82,6 +82,10 @@ cli.provideToken()
 					continue;
 					continue;
 				}
 				}
 
 
+				if ( property == 'private' ) {
+					continue;
+				}
+
 				// Copy value from original package.json file.
 				// Copy value from original package.json file.
 				jsonFile[ property ] = packageJson[ property ];
 				jsonFile[ property ] = packageJson[ property ];
 			}
 			}