Skip to content

Commit

Permalink
fix(project): update dependencies and some improvements
Browse files Browse the repository at this point in the history
release-npm
  • Loading branch information
tobua committed Jun 12, 2024
1 parent 037f0ee commit 8c3ebf2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v3
- run: npm install --legacy-peer-deps
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: 🧪 Test
run: npm test
run: bun run test
- name: 🚧 Build
run: npm run build
- uses: tobua/release-npm-action@v1
run: bun run build
- uses: tobua/release-npm-action@v3
with:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
package-lock.json
bun.lockb
tsconfig.json
dist
33 changes: 13 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "padua build",
"start": "padua watch",
"test": "vitest run --no-threads"
"test": "vitest run --pool=threads --poolOptions.threads.singleThread"
},
"padua": {
"esbuild": {
Expand All @@ -23,9 +23,17 @@
}
},
"dependencies": {
"sharp": "^0.31.2",
"sharp": "^0.33.4",
"svg2vectordrawable": "^2.9.1"
},
"devDependencies": {
"@types/get-pixels": "^3.3.4",
"@types/sharp": "^0.32.0",
"get-pixels": "^3.3.3",
"jest-fixture": "^4.1.0",
"padua": "^4.0.1",
"vitest": "^1.6.0"
},
"peerDependencies": {
"numic": ">= 0.3"
},
Expand All @@ -47,29 +55,14 @@
"icon",
"react-native"
],
"devDependencies": {
"@types/get-pixels": "^3.3.2",
"@types/sharp": "^0.31.0",
"get-pixels": "^3.3.3",
"jest-fixture": "^3.0.1",
"padua": "^0.6.1",
"vitest": "^0.26.1"
},
"prettier": "padua/configuration/.prettierrc.json",
"eslintConfig": {
"extends": "./node_modules/padua/configuration/eslint.cjs"
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.json"
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
"publishConfig": {
"provenance": true
},
"engines": {
"node": ">= 14"
"node": ">= 18"
}
}

0 comments on commit 8c3ebf2

Please sign in to comment.