create-framer-plugin
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,9 +1,10 @@ | ||
// @ts-check | ||
import { glob } from "glob" | ||
import path from "path" | ||
import fs from "fs" | ||
import url from "url" | ||
const identity = x => x | ||
export const copy = async (src, dest, { cwd, rename = identity, parents = true } = {}) => { | ||
export const copy = async (src, dest, { cwd = process.cwd(), rename = identity, parents = true } = {}) => { | ||
const source = typeof src === "string" ? [src] : src | ||
@@ -19,3 +20,3 @@ | ||
absolute: false, | ||
stats: false, | ||
stat: false, | ||
}) | ||
@@ -22,0 +23,0 @@ |
@@ -20,3 +20,3 @@ // @ts-check | ||
dependencies: { | ||
"framer-plugin": "^1", | ||
"framer-plugin": "^2", | ||
react: "^18", | ||
@@ -23,0 +23,0 @@ "react-dom": "^18", |
{ | ||
"name": "create-framer-plugin", | ||
"version": "1.0.0", | ||
"description": "Create Framer Plugins with one command", | ||
"main": "index.js", | ||
"bin": "index.js", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/framer/create-plugin.git" | ||
}, | ||
"scripts": { | ||
"start": "npm run clean && node index.js", | ||
"quick": "npm run clean && node index.js my-plugin && cd my-plugin && npm run dev", | ||
"clean": "rm -rf my-plugin", | ||
"setup-dev": "node scripts/setup-dev.js", | ||
"dev": "yarn setup-dev && cd templates/default && yarn && yarn dev" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"engines": { | ||
"node": ">=18.18.0" | ||
}, | ||
"devDependencies": { | ||
"@types/prompts": "^2.4.9" | ||
}, | ||
"dependencies": { | ||
"chalk": "^5.3.0", | ||
"glob": "^10.3.12", | ||
"minimist": "^1.2.8", | ||
"prompts": "^2.4.2", | ||
"validate-npm-package-name": "^5.0.0" | ||
}, | ||
"packageManager": "yarn@4.1.1", | ||
"targets": { | ||
"context": "node", | ||
"outputFormat": "esmodule", | ||
"default": { | ||
"distDir": "./dist" | ||
} | ||
"name": "create-framer-plugin", | ||
"version": "1.0.1", | ||
"description": "Create Framer Plugins with one command", | ||
"main": "index.js", | ||
"bin": "index.js", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/framer/create-plugin.git" | ||
}, | ||
"scripts": { | ||
"start": "npm run clean && node index.js", | ||
"quick": "npm run clean && node index.js my-plugin && cd my-plugin && npm run dev", | ||
"clean": "rm -rf my-plugin", | ||
"setup-dev": "node scripts/setup-dev.js", | ||
"dev": "yarn setup-dev && cd templates/default && yarn && yarn dev", | ||
"prepublishOnly": "yarn clean" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"engines": { | ||
"node": ">=18.18.0" | ||
}, | ||
"devDependencies": { | ||
"@types/prompts": "^2.4.9" | ||
}, | ||
"dependencies": { | ||
"chalk": "^5.3.0", | ||
"glob": "^10.3.12", | ||
"minimist": "^1.2.8", | ||
"prompts": "^2.4.2", | ||
"validate-npm-package-name": "^5.0.0" | ||
}, | ||
"packageManager": "yarn@4.5.1", | ||
"targets": { | ||
"context": "node", | ||
"outputFormat": "esmodule", | ||
"default": { | ||
"distDir": "./dist" | ||
} | ||
} | ||
} | ||
} |
@@ -8,9 +8,8 @@ { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"build": "vite build --base=${PREFIX_BASE_PATH:+/$npm_package_name}/", | ||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"preview": "vite preview", | ||
"pack": "npx framer-plugin-tools@latest pack" | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"framer-plugin": "^1", | ||
"framer-plugin": "^0", | ||
"react": "^18", | ||
@@ -21,16 +20,14 @@ "react-dom": "^18", | ||
"devDependencies": { | ||
"@eslint/js": "^9", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"@types/react": "^18", | ||
"@typescript-eslint/eslint-plugin": "^7", | ||
"@typescript-eslint/parser": "^7", | ||
"@vitejs/plugin-react-swc": "^3", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"eslint-plugin-react-hooks": "^5.1.0-rc.0", | ||
"eslint-plugin-react-refresh": "^0.4.9", | ||
"typescript-eslint": "^8.0.1", | ||
"vite-plugin-framer": "^1", | ||
"eslint": "^9.9.0", | ||
"globals": "^15.9.0", | ||
"typescript": "^5.3", | ||
"vite": "^5" | ||
"eslint": "^8", | ||
"eslint-plugin-react-hooks": "^4", | ||
"eslint-plugin-react-refresh": "^0", | ||
"typescript": "^5.3.3", | ||
"vite": "^5", | ||
"vite-plugin-framer": "^0" | ||
} | ||
} |
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
24835
29