@vkontakte/create-vk-mini-app
Advanced tools
Comparing version 2.0.0-alpha.2 to 2.0.1
{ | ||
"name": "@vkontakte/create-vk-mini-app", | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.1", | ||
"description": "VK Mini Apps Boilerplate", | ||
@@ -13,6 +13,5 @@ "repository": "https://github.com/VKCOM/create-vk-mini-app", | ||
"build": "tsc && esbuild src/create-vk-mini-app.ts --bundle --platform=node --target=node18.0 --outfile=bin/create-vk-mini-app.js", | ||
"create": "node ./bin/create-vk-mini-app.js", | ||
"lint:eslint": "eslint ./src --ext=ts", | ||
"lint:prettier": "prettier --check --ignore-unknown .", | ||
"eslint:fix": "eslint ./src --ext=ts --fix", | ||
"lint:prettier": "prettier --check --ignore-unknown .", | ||
"prepublishOnly": "yarn build" | ||
@@ -47,6 +46,6 @@ }, | ||
"eslint-plugin-react": "^7.16.0", | ||
"eslint-plugin-react-hooks": "^2.5.1", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"prettier": "^2.7.1", | ||
"typescript": "^5.3.3" | ||
"typescript": "^5.1.6" | ||
} | ||
} |
@@ -67,12 +67,12 @@ # Create VK Mini App | ||
```bash | ||
yarn create @vkontakte/vk-mini-app mini-app --typescript --template=vkapp-router-bridge-ui | ||
yarn create @vkontakte/vk-mini-app mini-app --typescript --template=vkui-bridge-router | ||
``` | ||
создаст папку “mini-app” c примером “vkapp-ui” реализованном на ts | ||
создаст папку “mini-app” c примером “vkui-bridge-router” реализованном на ts | ||
```bash | ||
yarn create @vkontakte/vk-mini-app . --template=vkapp-bridge-ui | ||
yarn create @vkontakte/vk-mini-app . --template=vkui-bridge | ||
``` | ||
создаст пример “vkapp-bridge-ui” на js в текущей дериктории | ||
создаст пример “vkui-bridge” на js в текущей дериктории | ||
@@ -83,11 +83,11 @@ ## Виды шаблонов | ||
<tr> | ||
<td width="220px"><strong>vkapp-router-bridge-ui</strong></td> | ||
<td width="220px"><strong>vkui-bridge-router</strong></td> | ||
<td>вариант мини-аппа со встроенным роутером, поддерживающим анимации vkui, подключенной библиотекой vk-bridge и интерфейсом vkui</td> | ||
</tr> | ||
<tr> | ||
<td><strong>vkapp-bridge-ui</strong></td> | ||
<td><strong>vkui-bridge</strong></td> | ||
<td>вариант мини-аппа со встроенной библиотекой vk bridge и vkui интерфейсом</td> | ||
</tr> | ||
<tr> | ||
<td><strong>vkapp-ui</td> | ||
<td><strong>vkui-only</td> | ||
<td>вариант веб приложения основанном на интерфейсе vkui, не является мини-аппом, так как в нем нет библиотеки vk bridge, отвечающей за связь с платформой</td> | ||
@@ -94,0 +94,0 @@ </tr> |
@@ -18,3 +18,3 @@ import chalk from 'chalk'; | ||
export const TEMPLATES_OPTIONS = { | ||
'vkapp-router-bridge-ui': { | ||
'vkui-bridge-router': { | ||
display: 'VKUI + Bridge + Router (recommended)', | ||
@@ -24,7 +24,7 @@ color: chalk.hex('#c7c7c7').bold, | ||
}, | ||
'vkapp-bridge-ui': { | ||
'vkui-bridge': { | ||
display: 'VKUI + Bridge', | ||
color: chalk.hex('#c7c7c7'), | ||
}, | ||
'vkapp-ui': { | ||
'vkui-only': { | ||
display: 'VKUI-only', | ||
@@ -40,2 +40,2 @@ color: chalk.hex('#c7c7c7'), | ||
export const DEFAULT_DIR_NAME = 'mini-app'; | ||
export const DEFAULT_TEMPLATE_NAME = 'vkapp-router-bridge-ui'; | ||
export const DEFAULT_TEMPLATE_NAME = 'vkui-bridge-router'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
393534