Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
421 changes: 0 additions & 421 deletions .eslintignore

This file was deleted.

28 changes: 0 additions & 28 deletions .eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/feature-qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
jobs:
testing:
permissions:
pull-requests: write
secrets: inherit
uses: Beuterei/reusable-workflows/.github/workflows/node-qa-tests.yml@main
with:
test_runner: vitest

name: "Run quality assurance tests"

on:
pull_request:
branches:
- main
types:
- opened # pr is created
- reopened # pr is reopened
- synchronize # pr got new commit
28 changes: 0 additions & 28 deletions .github/workflows/github-npm-feature-publish.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/github-npm-feature-remove.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/npm-next-publish.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/npm-production-publish.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/package-next-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
jobs:
publish-npm:
needs: testing
secrets: inherit
uses: Beuterei/reusable-workflows/.github/workflows/package-publish.yml@main
with:
dist_tag: "next"
node_version: "22"
testing:
permissions:
pull-requests: write
secrets: inherit

uses: Beuterei/reusable-workflows/.github/workflows/node-qa-tests.yml@main
name: "Publish pack with next dist-tag with npm registry"

on:
push:
branches:
- main
# eslint-disable-next-line yml/no-empty-mapping-value
workflow_dispatch:
19 changes: 19 additions & 0 deletions .github/workflows/package-production-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
jobs:
publish-npm:
needs: testing
secrets: inherit
uses: Beuterei/reusable-workflows/.github/workflows/package-publish.yml@main
with:
node_version: "22"
testing:
permissions:
pull-requests: write
secrets: inherit

uses: Beuterei/reusable-workflows/.github/workflows/node-qa-tests.yml@main
name: "Publish pack with latest dist-tag with npm registry"

on:
release:
types:
- created
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.npmrc

# i test locally sometimes with yarn. But it should not be commited
yarn.lock
.eslintcache

# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,webstorm,phpstorm,node,git,windows,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,webstorm,phpstorm,node,git,windows,macos
Expand Down Expand Up @@ -30,7 +28,6 @@ yarn.lock
# Icon must end with two \r
Icon


# Thumbnails
._*

Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged --verbose
9 changes: 3 additions & 6 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
npx hook-cli checkForVulnerabilities
npx hook-cli updateReminder
npm run test:cov
npx tsx src/index.ts checkForVulnerabilities
npx tsx src/index.ts updateReminder --warn-only
Loading
Loading