-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
832 additions
and
2,263 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,39 @@ | ||
name: Test or Release | ||
|
||
on: | ||
- push | ||
- pull_request | ||
push: | ||
branches: | ||
- master | ||
tags-ignore: | ||
- '**' | ||
paths-ignore: | ||
- '**/*.md' | ||
- LICENSE | ||
pull_request: | ||
|
||
jobs: | ||
test-or-release: | ||
runs-on: ubuntu-latest | ||
runs-on: macos-13 | ||
steps: | ||
- name: Checkout Sources | ||
uses: actions/checkout@v2 | ||
- name: Install Node | ||
uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/*' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install PNPM | ||
uses: pnpm/action-setup@v2 | ||
cache: 'pnpm' | ||
- run: pnpm i --frozen-lockfile --no-verify-store-integrity | ||
- run: npm test | ||
- uses: codecov/codecov-action@v4 | ||
if: ${{ github.ref_name == 'master' }} | ||
with: | ||
version: '>=6' | ||
run_install: | | ||
- args: [--frozen-lockfile, --no-verify-store-integrity] | ||
- name: Test | ||
run: npm test | ||
- name: Coverage | ||
uses: codecov/codecov-action@v2 | ||
- name: Publish | ||
uses: cycjimmy/semantic-release-action@v2 | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- uses: prantlf/publish-release-action@v1 | ||
if: ${{ github.ref_name == 'master' }} | ||
with: | ||
semantic_version: 18 | ||
branches: master | ||
no-archives: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,35 @@ | ||
## [0.0.6](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.5...v0.0.6) (2023-10-08) | ||
# Changes | ||
|
||
## [0.0.6](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.5...v0.0.6) (2023-10-08) | ||
|
||
### Bug Fixes | ||
|
||
* Upgrade dependencies, support Rollup 4 ([738f4cb](https://github.com/prantlf/rollup-plugin-shebang-bin/commit/738f4cbf936e20ca116d355a73ddf6c2ca5f2fc0)) | ||
|
||
## [0.0.5](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.4...v0.0.5) (2022-10-30) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Upgrade dependencies, support Rollup 3, CJS and TypeScript ([bfb8dbb](https://github.com/prantlf/rollup-plugin-shebang-bin/commit/bfb8dbb71b9bbb1146e50f5e980666fe936f7551)) | ||
|
||
## [0.0.4](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.3...v0.0.4) (2022-06-03) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Fix homepage URL ([f50c7a0](https://github.com/prantlf/rollup-plugin-shebang-bin/commit/f50c7a083dbe7e6348861a7f0f430e64778d9d3f)) | ||
|
||
## [0.0.3](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.2...v0.0.3) (2022-05-23) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Do not install unnecessary dependencies ([877fff8](https://github.com/prantlf/rollup-plugin-shebang-bin/commit/877fff869bbe3d622bad4df300eb69b1798c67e9)) | ||
|
||
## [0.0.2](https://github.com/prantlf/rollup-plugin-shebang-bin/compare/v0.0.1...v0.0.2) (2022-05-10) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Upgrade dependencies ([9594349](https://github.com/prantlf/rollup-plugin-shebang-bin/commit/95943495c07dab2972897f4f86e168071c950525)) | ||
|
||
# 0.0.1 (2022-01-22) | ||
## 0.0.1 (2022-01-22) | ||
|
||
Initial rerlease |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"files": { | ||
"ignore": [ | ||
"lib/*.cjs" | ||
] | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"style": { | ||
"noParameterAssign": "off" | ||
}, | ||
"complexity": { | ||
"useArrowFunction": "off" | ||
} | ||
} | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": false, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf", | ||
"lineWidth": 90 | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"arrowParentheses": "asNeeded", | ||
"bracketSpacing": true, | ||
"quoteProperties": "asNeeded", | ||
"quoteStyle": "single", | ||
"semicolons": "asNeeded", | ||
"trailingComma": "none" | ||
} | ||
}, | ||
"json": { | ||
"parser": { | ||
"allowComments": false, | ||
"allowTrailingCommas": false | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"trailingCommas": "none" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { Plugin } from 'rollup' | ||
import type { Plugin } from 'rollup' | ||
|
||
interface ShebangOptions { | ||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.