create-miro-app
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -15,3 +15,3 @@ import pc from 'picocolors'; | ||
color: pc.cyan, | ||
templates: [SharedTemplates.Client], | ||
templates: [SharedTemplates.Client, SharedTemplates.ClientAssets], | ||
customPackageJSONFields: { | ||
@@ -55,5 +55,5 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
'@types/react': '18.0.15', | ||
'@types/react-dom': '18.0.6', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.reactTypes, | ||
...DEPENDENCIES.reactDomTypes, | ||
...DEPENDENCIES.vitePluginReactRefresh, | ||
@@ -60,0 +60,0 @@ ...DEPENDENCIES.typescript, |
@@ -15,3 +15,7 @@ import pc from 'picocolors'; | ||
color: pc.yellow, | ||
templates: [SharedTemplates.Client], | ||
templates: [ | ||
SharedTemplates.Client, | ||
SharedTemplates.ClientAssets, | ||
SharedTemplates.Vite, | ||
], | ||
customPackageJSONFields: { | ||
@@ -43,3 +47,3 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.typescript, | ||
@@ -46,0 +50,0 @@ }, |
@@ -15,3 +15,3 @@ import pc from 'picocolors'; | ||
color: pc.green, | ||
templates: [SharedTemplates.Client], | ||
templates: [SharedTemplates.Client, SharedTemplates.ClientAssets], | ||
customPackageJSONFields: { | ||
@@ -53,3 +53,3 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.vitePluginVue, | ||
@@ -56,0 +56,0 @@ ...DEPENDENCIES.typescript, |
@@ -55,3 +55,3 @@ import pc from 'picocolors'; | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.expressTypes, | ||
@@ -58,0 +58,0 @@ ...DEPENDENCIES.expressCookieTypes, |
@@ -52,3 +52,3 @@ import pc from 'picocolors'; | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.typescript, | ||
@@ -55,0 +55,0 @@ ...DEPENDENCIES.nodeTypes, |
@@ -15,3 +15,3 @@ import pc from 'picocolors'; | ||
color: pc.cyan, | ||
templates: [SharedTemplates.Client], | ||
templates: [SharedTemplates.Client, SharedTemplates.ClientAssets], | ||
customPackageJSONFields: { | ||
@@ -55,5 +55,5 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
'@types/react': '18.0.15', | ||
'@types/react-dom': '18.0.6', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.reactTypes, | ||
...DEPENDENCIES.reactDomTypes, | ||
...DEPENDENCIES.vitePluginReactRefresh, | ||
@@ -60,0 +60,0 @@ ...DEPENDENCIES.typescript, |
@@ -15,3 +15,7 @@ import pc from 'picocolors'; | ||
color: pc.yellow, | ||
templates: [SharedTemplates.Client], | ||
templates: [ | ||
SharedTemplates.Client, | ||
SharedTemplates.ClientAssets, | ||
SharedTemplates.Vite, | ||
], | ||
customPackageJSONFields: { | ||
@@ -43,3 +47,3 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.typescript, | ||
@@ -46,0 +50,0 @@ }, |
@@ -15,3 +15,3 @@ import pc from 'picocolors'; | ||
color: pc.green, | ||
templates: [SharedTemplates.Client], | ||
templates: [SharedTemplates.Client, SharedTemplates.ClientAssets], | ||
customPackageJSONFields: { | ||
@@ -53,3 +53,3 @@ scripts: { | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.vitePluginVue, | ||
@@ -56,0 +56,0 @@ ...DEPENDENCIES.typescript, |
@@ -55,3 +55,3 @@ import pc from 'picocolors'; | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.expressTypes, | ||
@@ -58,0 +58,0 @@ ...DEPENDENCIES.expressCookieTypes, |
@@ -52,3 +52,3 @@ import pc from 'picocolors'; | ||
devDependencies: { | ||
'@mirohq/websdk-types': 'latest', | ||
...DEPENDENCIES.miroWebSdkTypes, | ||
...DEPENDENCIES.typescript, | ||
@@ -55,0 +55,0 @@ ...DEPENDENCIES.nodeTypes, |
{ | ||
"name": "create-miro-app", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"keywords": [ | ||
@@ -26,6 +26,7 @@ "miro", | ||
"scripts": { | ||
"predev": "yarn clear:dist && yarn build:config && yarn transpile-ts", | ||
"predev": "yarn clear:dist && yarn build:config && yarn transpile-ts && yarn build:templates-list", | ||
"dev": "ncc build ./src/index.ts -w -C", | ||
"prebuild": "yarn predev", | ||
"build:config": "node scripts/create-config.mjs > ./src/generatedConfigs.ts", | ||
"build:templates-list": "node scripts/create-shared-templates-list.mjs > ./src/generatedTemplatesList.ts", | ||
"build": "ncc build ./src/index.ts --minify --no-cache --no-source-map-register", | ||
@@ -44,2 +45,3 @@ "transpile-ts": "node scripts/transpile-ts.mjs", | ||
"@swc/core": "^1.3.6", | ||
"@types/analytics-node": "^3.1.9", | ||
"@types/async-retry": "1.4.3", | ||
@@ -55,2 +57,3 @@ "@types/cross-spawn": "6.0.2", | ||
"@vercel/ncc": "0.33.0", | ||
"analytics-node": "^6.2.0", | ||
"async-retry": "1.3.3", | ||
@@ -61,3 +64,2 @@ "commander": "8.3.0", | ||
"express": "^4.18.2", | ||
"got": "12.1.0", | ||
"husky": "7.0.4", | ||
@@ -64,0 +66,0 @@ "lint-staged": "12.1.3", |
@@ -27,9 +27,14 @@ ## Create a Miro app | ||
| Name | Description | | ||
| ------------- | --------------------------------------------------------------------------------------- | | ||
| `[name]` | Sets the name of the app.<br />Default: `my-miro-app` | | ||
| `--npm` | Bootstraps the project using `npm`.<br />Default: `yarn`, if installed. | | ||
| `--framework` | Sets the framework template to use.<br />One of: `vanilla`, `react`, `vue` or `express` | | ||
| `--flavour` | Sets the language template to use.<br />One of: `js`, `ts` | | ||
| Name | Description | | ||
| ------------- | ----------------------------------------------------------------------------------------------------------- | | ||
| `[name]` | Sets the name of the app.<br />Default: `my-miro-app` | | ||
| `--npm` | Bootstraps the project using `npm`.<br />Default: `yarn`, if installed. | | ||
| `--framework` | Sets the framework template to use.<br />One of: `vanilla`, `react`, `preact`, `vue`, `nextjs` or `express` | | ||
| `--flavour` | Sets the language template to use.<br />One of: `js`, `ts` | | ||
### Analytics | ||
`create-miro-app` collects completely anonymous analytics data about framework | ||
and language usage. To opt-out, set the following environment variable: DO_NOT_TRACK=1 | ||
## See also | ||
@@ -36,0 +41,0 @@ |
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 7 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1146298
127
4309
44
33
58
20