Skip to content

Commit 0897b41

Browse files
author
Egor Didenko
authored
Merge pull request #13 from uploadcare/develop
Develop
2 parents 33d0b3a + 45752f1 commit 0897b41

File tree

17 files changed

+774
-47
lines changed

17 files changed

+774
-47
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: "CodeQL"
22

33
on:
44
pull_request:
5-
branches:
6-
- main
75
push:
86
branches:
97
- main

.github/workflows/release-manual.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626

2727
- name: "Version and publish 🚀"
2828
env:
29+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2930
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
3132
run: |
3233
git config --global user.email "github-actions[bot]@users.noreply.github.com"
3334
git config --global user.name "github-actions[bot]"

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
./node_modules/.bin/lint-staged
5+

.lintstagedrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"*.{js,ts}": ["biome lint . ", "git add"]
3+
}

biome.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true
10+
},
11+
"ignore": ["./.nx", "node_modules/", "dist/"]
12+
},
13+
"formatter": {
14+
"indentStyle": "space",
15+
"enabled": true,
16+
"lineWidth": 80
17+
}
18+
}

lerna.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
"version": {
66
"createRelease": "github",
77
"conventionalCommits": true,
8-
"allowBranch": [
9-
"main",
10-
"develop"
11-
],
8+
"allowBranch": ["main", "develop"],
129
"message": "chore(release): publish"
1310
}
1411
}

nx.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,18 @@
22
"targetDefaults": {
33
"dev": {
44
"cache": true,
5-
"dependsOn": [
6-
"^dev"
7-
]
5+
"dependsOn": ["^dev"]
86
},
97
"build": {
108
"cache": true,
11-
"dependsOn": [
12-
"^build"
13-
]
9+
"dependsOn": ["^build"]
1410
},
1511
"preview": {
1612
"dependsOn": []
1713
},
1814
"test": {
1915
"cache": true,
20-
"dependsOn": [
21-
"^test"
22-
]
16+
"dependsOn": ["^test"]
2317
}
2418
}
2519
}

0 commit comments

Comments
 (0)