@vkontakte/vk-miniapps-deploy 0.2.0 → 0.2.1

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,3 +1,7 @@
1
+ ## v0.2.1
2
+
3
+ - ⚠️ Предупреждение: добавлено сообщение в `postinstall`, информирующее о прекращении поддержки версий ниже `v1.0.0`.
4
+
1
5
  ## v0.2.0
2
6
 
3
7
  - Добавили поддержку деплоя через proxy сервер.
package/README.md CHANGED
@@ -20,6 +20,7 @@ First add this to your scripts section of `package.json`:
20
20
 
21
21
  ```JSON
22
22
  "scripts": {
23
+ "predeploy": "npm run build",
23
24
  "deploy": "vk-miniapps-deploy",
24
25
  "clean-source": "rimraf README.md src webroot package.json"
25
26
  },
@@ -79,3 +80,5 @@ rm ~/.config/configstore/@vkontakte/vk-miniapps-deploy.json
79
80
 
80
81
  [npm]: https://img.shields.io/npm/v/@vkontakte/vk-miniapps-deploy.svg
81
82
  [npm-url]: https://npmjs.com/package/@vkontakte/vk-miniapps-deploy
83
+
84
+ For more details, visit the official [VK Developer Portal](https://dev.vk.com/mini-apps/development/hosting/overview).
package/index.js CHANGED
@@ -500,6 +500,10 @@ async function run(cfg) {
500
500
  return await upload(uploadURL, bundleFile).then((r) => {
501
501
  if (r.version) {
502
502
  console.log('Uploaded version ' + r.version + '!');
503
+ console.warn(
504
+ 'WARNING: Versions below 1.0.0 are deprecated. Please upgrade to v1.0.0 or later.',
505
+ );
506
+
503
507
  return getQueue(r.version, cfg);
504
508
  } else {
505
509
  console.error('Upload error:', r);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vk-miniapps-deploy",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Deploy to VK Mini Apps hosting with one simple command",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,8 @@
9
9
  "lint:eslint": "eslint ./index.js",
10
10
  "lint:prettier": "prettier --check ./index.js",
11
11
  "lint:fix": "eslint ./index.js --fix",
12
- "lint:ci": "yarn lint:eslint && yarn lint:prettier"
12
+ "lint:ci": "yarn lint:eslint && yarn lint:prettier",
13
+ "postinstall": "node -e \"console.warn('WARNING: Versions below 1.0.0 are deprecated. Please upgrade to v1.0.0 or later.')\""
13
14
  },
14
15
  "license": "MIT",
15
16
  "engines": {