Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 87d060f

Browse files
committed
Cleanup lint errors and update package.json with packaging scripts
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
1 parent f5129f8 commit 87d060f

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
dist
2-
node_modules
2+
node_modules
3+
dev-envs.xpi
4+
dev-envs-source.zip

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"license": "Apache-2.0",
88
"private": true,
99
"scripts": {
10-
"build": "webpack",
11-
"lint": "eslint .",
12-
"test": "jest"
10+
"build": "yarn lint && webpack",
11+
"test": "yarn lint && jest",
12+
"package": "yarn build && zip -rD --exclude='src/*.ts' dev-envs.xpi css dist icons manifest.json && zip -rD dev-envs-source.zip *",
13+
"lint": "eslint ."
1314
},
1415
"devDependencies": {
1516
"@types/jest": "^29.2.0",

src/handler/gitlab/gitlabRepoHandler.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { BUTTON_ID, BUTTON_TEXT } from '../../common/consts';
21
import { GitlabRepoHandler } from './gitlabRepoHandler';
32

43
describe('only handles correct URLs', () => {

0 commit comments

Comments
 (0)