Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vkontakte/create-vk-mini-app

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/create-vk-mini-app - npm Package Compare versions

Comparing version 2.0.0-alpha.2 to 2.0.1

templates/javascript/vkui-bridge-router/.eslintrc.cjs

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc