create-framer-plugin
Advanced tools
Comparing version 0.1.13 to 0.1.14
10
index.js
@@ -36,3 +36,2 @@ #!/usr/bin/env node | ||
message: "What is your plugin named?", | ||
initial: "my-plugin", | ||
validate: (name) => { | ||
@@ -52,4 +51,8 @@ const validation = validateNpmName(path.basename(path.resolve(name))) | ||
if (!projectPath) { | ||
console.error("No project name given") | ||
process.exit(1) | ||
console.log( | ||
`${chalk.green(checkmark)} Using default name “${chalk.bold( | ||
"my-plugin" | ||
)}”` | ||
) | ||
projectPath = "my-plugin" | ||
} | ||
@@ -162,2 +165,3 @@ | ||
vite: "^5", | ||
"vite-plugin-framer": "^0", | ||
}, | ||
@@ -164,0 +168,0 @@ } |
{ | ||
"name": "create-framer-plugin", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "Create Framer Plugins with one command", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import { defineConfig } from "vite" | ||
import react from "@vitejs/plugin-react-swc" | ||
import mkcert from "vite-plugin-mkcert" | ||
import framerPlugin from "vite-plugin-framer" | ||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [react(), mkcert()], | ||
plugins: [react(), mkcert(), framerPlugin()], | ||
}) |
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
40499
32
1246