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

Commit e0fab2e

Browse files
committed
fix: format ci
1 parent 4b3c50f commit e0fab2e

File tree

78 files changed

+619
-543
lines changed

Some content is hidden

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

78 files changed

+619
-543
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: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,20 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- uses: ./.github/actions/prepare
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Fetch base branch
26+
run: |
27+
git fetch origin main:main
2228
2329
- name: Lint
2430
id: npm-lint
2531
run: npm run lint
2632

27-
# - name: Format Check
28-
# id: npm-format-check
29-
# run: npm run format:check
33+
- name: Format Check
34+
id: npm-format-check
35+
run: npm run format:check
3036

3137
- name: Test
3238
id: npm-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: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777

7878
## 1.1.0 (2024-12-12)
7979

80-
8180
### 🚀 Features
8281

8382
- updated doc links ([cb49dfb](https://github.com/penpot/penpot-plugins/commit/cb49dfb))
@@ -88,15 +87,14 @@
8887
- styles rename layers ([40e08f8](https://github.com/penpot/penpot-plugins/commit/40e08f8))
8988
- **rename-layers:** i#8951 disable buttons when empty ([#8951](https://github.com/penpot/penpot-plugins/issues/8951))
9089

91-
### ❤️ Thank You
90+
### ❤️ Thank You
9291

9392
- alonso.torres
9493
- María Valderrama @mavalroot
9594
- Marina López @cocotime
9695

9796
# 1.0.0 (2024-10-25)
9897

99-
10098
### 🚀 Features
10199

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

110-
### ❤️ Thank You
108+
### ❤️ Thank You
111109

112110
- alonso.torres
113111
- Juanfran @juanfran
@@ -116,7 +114,6 @@
116114

117115
## 0.12.0 (2024-10-04)
118116

119-
120117
### 🚀 Features
121118

122119
- e2e tests ([1371af9](https://github.com/penpot/penpot-plugins/commit/1371af9))
@@ -134,7 +131,7 @@
134131
- **poc-state-plugin:** add new functions to the plugin to test comments and rulers ([6adee11](https://github.com/penpot/penpot-plugins/commit/6adee11))
135132
- **rename-layers:** final review - undo group ([2909bcc](https://github.com/penpot/penpot-plugins/commit/2909bcc))
136133
- **runtime:** refactor plugin state ([16595c2](https://github.com/penpot/penpot-plugins/commit/16595c2))
137-
- **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))
138135
- **table-plugin:** enhancement save config ([07af57d](https://github.com/penpot/penpot-plugins/commit/07af57d))
139136

140137
### 🩹 Fixes
@@ -147,15 +144,14 @@
147144
- **runtime:** ses errorTrapping interferes with penpot error handler ([8c0e36d](https://github.com/penpot/penpot-plugins/commit/8c0e36d))
148145
- **runtime:** prevent override Penpot objects ([120e9e5](https://github.com/penpot/penpot-plugins/commit/120e9e5))
149146

150-
### ❤️ Thank You
147+
### ❤️ Thank You
151148

152149
- alonso.torres
153150
- Juanfran @juanfran
154151
- María Valderrama @mavalroot
155152

156153
## 0.10.0 (2024-07-31)
157154

158-
159155
### 🚀 Features
160156

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

194-
### ❤️ Thank You
190+
### ❤️ Thank You
195191

196192
- alonso.torres
197193
- 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)