Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 719fbbe

Browse files
committed
Merge remote-tracking branch 'origin/staging'
2 parents 3a69f51 + d82c881 commit 719fbbe

File tree

97 files changed

+1579
-602
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1579
-602
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
description: Create a report to help us improve
2-
labels: ["bug"]
2+
labels: ['bug']
33
name: Plugins bug report
4-
title: "bug: "
4+
title: 'bug: '
55
body:
66
- type: markdown
77
attributes:

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
description: Suggest an idea for this project.
2-
labels: ["needs triage", "enhancement"]
3-
name: "Plugin feature request"
4-
title: "feature: "
2+
labels: ['needs triage', 'enhancement']
3+
name: 'Plugin feature request'
4+
title: 'feature: '
55
body:
66
- type: markdown
77
attributes:

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,22 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: ./.github/actions/prepare
26+
with:
27+
fetch-depth: 0
28+
29+
- name: Fetch base branch
30+
if: github.event_name == 'pull_request'
31+
run: |
32+
git fetch origin main:main
2633
2734
- name: Lint
2835
id: npm-lint
2936
run: npm run lint
3037

38+
- name: Format Check
39+
id: npm-format-check
40+
run: npm run format:check
41+
3142
- name: Test
3243
id: npm-test
3344
run: npm run test

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"prettier.singleQuote": true
3-
}
2+
"prettier.singleQuote": true
3+
}

CHANGELOG.md

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 1.3.2 (2025-07-04)
2+
3+
### 🩹 Fixes
4+
5+
- plugins-runtime public package.json ([70fd69f](https://github.com/penpot/penpot-plugins/commit/70fd69f))
6+
7+
### ❤️ Thank You
8+
9+
- Juanfran @juanfran
10+
11+
## 1.3.1 (2025-07-04)
12+
13+
### 🚀 Features
14+
15+
- plugins-runtime as npm library ([41c56b1](https://github.com/penpot/penpot-plugins/commit/41c56b1))
16+
17+
### 🩹 Fixes
18+
19+
- package-lock.json ([16b29f8](https://github.com/penpot/penpot-plugins/commit/16b29f8))
20+
21+
### ❤️ Thank You
22+
23+
- Juanfran @juanfran
24+
125
## 1.3.0 (2025-06-25)
226

327
### 🚀 Features
@@ -53,7 +77,6 @@
5377

5478
## 1.1.0 (2024-12-12)
5579

56-
5780
### 🚀 Features
5881

5982
- updated doc links ([cb49dfb](https://github.com/penpot/penpot-plugins/commit/cb49dfb))
@@ -64,15 +87,14 @@
6487
- styles rename layers ([40e08f8](https://github.com/penpot/penpot-plugins/commit/40e08f8))
6588
- **rename-layers:** i#8951 disable buttons when empty ([#8951](https://github.com/penpot/penpot-plugins/issues/8951))
6689

67-
### ❤️ Thank You
90+
### ❤️ Thank You
6891

6992
- alonso.torres
7093
- María Valderrama @mavalroot
7194
- Marina López @cocotime
7295

7396
# 1.0.0 (2024-10-25)
7497

75-
7698
### 🚀 Features
7799

78100
- **plugins-runtime:** add close callback to load api ([aeddab7](https://github.com/penpot/penpot-plugins/commit/aeddab7))
@@ -83,7 +105,7 @@
83105
- search in icons plugin ([b4664a2](https://github.com/penpot/penpot-plugins/commit/b4664a2))
84106
- **table-plugin:** i#8965 empty cell values when importing csv files ([#8965](https://github.com/penpot/penpot-plugins/issues/8965))
85107

86-
### ❤️ Thank You
108+
### ❤️ Thank You
87109

88110
- alonso.torres
89111
- Juanfran @juanfran
@@ -92,7 +114,6 @@
92114

93115
## 0.12.0 (2024-10-04)
94116

95-
96117
### 🚀 Features
97118

98119
- e2e tests ([1371af9](https://github.com/penpot/penpot-plugins/commit/1371af9))
@@ -110,7 +131,7 @@
110131
- **poc-state-plugin:** add new functions to the plugin to test comments and rulers ([6adee11](https://github.com/penpot/penpot-plugins/commit/6adee11))
111132
- **rename-layers:** final review - undo group ([2909bcc](https://github.com/penpot/penpot-plugins/commit/2909bcc))
112133
- **runtime:** refactor plugin state ([16595c2](https://github.com/penpot/penpot-plugins/commit/16595c2))
113-
- **runtime:** remove deprecated method ([ccc5f78](https://github.com/penpot/penpot-plugins/commit/ccc5f78))
134+
- **runtime:** remove deprecated method ([ccc5f78](https://github.com/penpot/penpot-plugins/commit/ccc5f78))
114135
- **table-plugin:** enhancement save config ([07af57d](https://github.com/penpot/penpot-plugins/commit/07af57d))
115136

116137
### 🩹 Fixes
@@ -123,15 +144,14 @@
123144
- **runtime:** ses errorTrapping interferes with penpot error handler ([8c0e36d](https://github.com/penpot/penpot-plugins/commit/8c0e36d))
124145
- **runtime:** prevent override Penpot objects ([120e9e5](https://github.com/penpot/penpot-plugins/commit/120e9e5))
125146

126-
### ❤️ Thank You
147+
### ❤️ Thank You
127148

128149
- alonso.torres
129150
- Juanfran @juanfran
130151
- María Valderrama @mavalroot
131152

132153
## 0.10.0 (2024-07-31)
133154

134-
135155
### 🚀 Features
136156

137157
- change permissions names ([99126f8](https://github.com/penpot/penpot-plugins/commit/99126f8))
@@ -167,7 +187,7 @@
167187
- **plugins-runtime:** fix problem with types in test ([17db173](https://github.com/penpot/penpot-plugins/commit/17db173))
168188
- **styles:** input, button & select worksans font family ([1b9d3b2](https://github.com/penpot/penpot-plugins/commit/1b9d3b2))
169189

170-
### ❤️ Thank You
190+
### ❤️ Thank You
171191

172192
- alonso.torres
173193
- Juanfran @juanfran

apps/colors-to-tokens-plugin/src/app/app.component.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@ export class AppComponent {
157157
const extraData: TokenFileExtraData = {
158158
$themes: [],
159159
$metadata: {
160-
activeThemes: [],
161-
tokenSetOrder: [],
162-
activeSets: []
163-
}
164-
}
160+
activeThemes: [],
161+
tokenSetOrder: [],
162+
activeSets: [],
163+
},
164+
};
165165

166166
const tokensStructure = {
167167
...fileTokens.tokens,
168-
...extraData
169-
}
168+
...extraData,
169+
};
170170

171171
const blob = new Blob([JSON.stringify(tokensStructure)], {
172172
type: 'text/json',

apps/colors-to-tokens-plugin/src/app/utils/transform-to-token.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ export function transformToToken(colors: LibraryColor[]) {
3232
opacity: currentOpacity,
3333
color: data.color,
3434
});
35-
35+
3636
const names: string[] = data.name.replace(/[#{}$]/g, '').split(' ');
37-
const key: string = data.path.replace(' \\/ ', '/').replace(/ /g, '') || 'global';
37+
const key: string =
38+
data.path.replace(' \\/ ', '/').replace(/ /g, '') || 'global';
3839

3940
if (!result[key]) {
4041
result[key] = {};

apps/colors-to-tokens-plugin/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

apps/colors-to-tokens-plugin/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { appConfig } from './app/app.config';
33
import { AppComponent } from './app/app.component';
44

55
bootstrapApplication(AppComponent, appConfig).catch((err) =>
6-
console.error(err)
6+
console.error(err),
77
);

apps/colors-to-tokens-plugin/src/model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export interface TokenFileExtraData {
1111
}
1212

1313
export interface TokenFileMetada {
14-
activeThemes: [],
15-
tokenSetOrder: [],
16-
activeSets: []
14+
activeThemes: [];
15+
tokenSetOrder: [];
16+
activeSets: [];
1717
}
1818

1919
export type TokenStructure = {

0 commit comments

Comments
 (0)