Skip to content

Commit

Permalink
updated penpot lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Cenadros committed Nov 25, 2024
2 parents 99f6372 + e8fa1c5 commit b9f64f0
Show file tree
Hide file tree
Showing 26 changed files with 5,447 additions and 6,001 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
node_modules
dist
ui-src/.env

# Sentry Config File
.env.sentry-build-plugin
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# penpot-exporter

## 0.12.1

### Patch Changes

- [#236](https://github.com/penpot/penpot-exporter-figma-plugin/pull/236)
[`3da80b4`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/3da80b4c266cf21e3123f8bf8a80bf2318c48c38)
Thanks [@Cenadros](https://github.com/Cenadros)! - Fixed transformed shapes when flipped
horizontally/vertically

## 0.12.0

### Minor Changes

- [#228](https://github.com/penpot/penpot-exporter-figma-plugin/pull/228)
[`a079f16`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/a079f168df4f0d3cbd15ea58097f6763380d72a4)
Thanks [@Cenadros](https://github.com/Cenadros)! - Added basic analytics and error tracking using
MixPanel and Sentry

## 0.11.0

### Minor Changes

- [#229](https://github.com/penpot/penpot-exporter-figma-plugin/pull/229)
[`f77bc46`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/f77bc463acdb9c12ca45f0ac7e908761eef454e9)
Thanks [@Cenadros](https://github.com/Cenadros)! - Basic Error Management

## 0.10.2

### Patch Changes

- [#225](https://github.com/penpot/penpot-exporter-figma-plugin/pull/225)
[`2d0b63d`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/2d0b63d5cd0579d1c2aef0694ed6624edc288fb2)
Thanks [@jordisala1991](https://github.com/jordisala1991)! - Fix vector network error on invalid
access to the property

## 0.10.1

### Patch Changes

- [#221](https://github.com/penpot/penpot-exporter-figma-plugin/pull/221)
[`638817a`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/638817a1d6f5b4a21b266d73d797b677ce2ebac7)
Thanks [@Cenadros](https://github.com/Cenadros)! - Figma typings update

- [#220](https://github.com/penpot/penpot-exporter-figma-plugin/pull/220)
[`c95d442`](https://github.com/penpot/penpot-exporter-figma-plugin/commit/c95d442e74b2e59ab8873dab808f9f95cdfb4021)
Thanks [@Cenadros](https://github.com/Cenadros)! - Fixed issue where big vectors are making the
plugin crash

## 0.10.0

### Minor Changes
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<a href="https://penpot.app/"><b>Penpot Website</b></a> •
<a href="https://community.penpot.app/t/figma-to-penpot-export-plugin/5554"><b>Export Figma to Penpot (Penpot community)</b></a> •
<a href="https://community.penpot.app/"><b>Penpot Community</b></a> •
<a href="https://www.figma.com/community/plugin/1219369440655168734/penpot-exporter"><b>Plugin in Figma community</b></a>
<a href="https://www.figma.com/community/plugin/1219369440655168734/penpot-exporter"><b>Plugin in Figma community</b></a>
</p>

<p align="center">
Expand Down Expand Up @@ -96,6 +96,10 @@ then selecting "Download ZIP". Extract the ZIP file to a location on your comput
3. Once you are in the correct folder, you can run the `npm install` command to install the
dependencies, and then the `npm run build` command to build the plugin.

#### Building for production:

Follow the same steps as above, but instead of running `npm run build`, run `npm run build:prod`.

### Add to Figma

`Figma menu` > `Plugins` > `Development` > `Import plugin from manifest…` To add the plugin to
Expand Down
9 changes: 8 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"main": "dist/code.js",
"ui": "dist/index.html",
"editorType": ["figma"],
"networkAccess": { "allowedDomains": ["none"] },
"networkAccess": {
"allowedDomains": [
"https://o4508183201316864.ingest.de.sentry.io",
"https://api-js.mixpanel.com"
],
"reasoning": "We use Sentry and Mixpanel to monitor the performance of the plugin and get information about errors to continue improving the experience."
},
"permissions": ["currentuser"],
"documentAccess": "dynamic-page"
}
Loading

0 comments on commit b9f64f0

Please sign in to comment.