Skip to content

Commit

Permalink
Merge pull request #7 from alex-streza/feature/image-storage
Browse files Browse the repository at this point in the history
Feature/image storage
  • Loading branch information
alex-streza authored Dec 10, 2022
2 parents 078f5c4 + 6e30f51 commit 316f258
Show file tree
Hide file tree
Showing 63 changed files with 10,272 additions and 3,058 deletions.
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
.pnp.js

# testing
coverage

# database
prisma/db.sqlite
prisma/db.sqlite-journal

# next.js
.next/
out/

# expo
.expo/
dist/

# production
build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo

# turbo
.turbo

# PWA
sw.*
workbox-*
17 changes: 0 additions & 17 deletions api/go.mod

This file was deleted.

34 changes: 0 additions & 34 deletions api/go.sum

This file was deleted.

29 changes: 0 additions & 29 deletions api/main.go

This file was deleted.

8 changes: 8 additions & 0 deletions figma/build-figma-plugin.ui.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const env = JSON.stringify(require("dotenv").config().parsed);

module.exports = (buildOptions) => ({
...buildOptions,
define: {
"process.env": env,
},
});
13 changes: 12 additions & 1 deletion figma/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
{
"name": "@summon-ai/figma",
"dependencies": {
"@create-figma-plugin/ui": "^2.1.5",
"@create-figma-plugin/utilities": "^2.1.5",
"@headlessui/react": "^1.7.4",
"@primer/octicons-react": "^17.9.0",
"@react-hookz/web": "^20.0.1",
"copy-to-clipboard": "^3.3.3",
"dotenv": "^16.0.3",
"konva": "8.3.14",
"preact": "^10"
"preact": "^10",
"spacetime": "^7.3.0"
},
"devDependencies": {
"@create-figma-plugin/build": "^2.1.5",
"@create-figma-plugin/tsconfig": "^2.1.5",
"@figma/plugin-typings": "1.54.0",
"@types/node": "^18.0.0",
"@types/react": "^18.0.25",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
Expand All @@ -24,6 +31,7 @@
"build": "build-figma-plugin --typecheck --minify",
"watch": "build-figma-plugin --typecheck --watch",
"watch:css": "tailwindcss -i ./src/input.css -o ./src/styles.css --watch",
"clean": "rimraf .next .turbo node_modules",
"format": "prettier --write ./src",
"lint": "eslint ./src"
},
Expand All @@ -33,6 +41,9 @@
"editorType": [
"figma"
],
"permissions": [
"currentuser"
],
"menu": [
{
"name": "Generate Images",
Expand Down
Loading

0 comments on commit 316f258

Please sign in to comment.