Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump ip from 2.0.0 to 2.0.1 #35

Closed
wants to merge 99 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
c1b1103
prerelease - new bool flag options
chenasraf Apr 19, 2022
bab9fd5
Merge remote-tracking branch 'origin/master' into develop
chenasraf Nov 24, 2023
7d5d302
feat: v2 poc
chenasraf Nov 18, 2023
73c1ad9
feat: array & typed options
chenasraf Nov 18, 2023
29d6973
feat: pass main instance to run fn
chenasraf Nov 19, 2023
b0d20bf
feat: help generator
chenasraf Nov 19, 2023
d26114d
feat: built-in help command + flag
chenasraf Nov 19, 2023
602877c
chore: cleanups + install typedoc
chenasraf Nov 19, 2023
1f781c3
chore: formatting & readme update
chenasraf Nov 20, 2023
571920b
ci: update actions
chenasraf Nov 20, 2023
ecd7ced
feat: example lines, help style updates
chenasraf Nov 20, 2023
255d2f5
test: tests & bug fixes
chenasraf Nov 23, 2023
b11cdd3
feat: improve help config, update styles, fixes
chenasraf Nov 23, 2023
8bf678e
docs: jsdoc updates
chenasraf Nov 24, 2023
a404623
docs: add examples, generate docs for all files
chenasraf Nov 24, 2023
2647ceb
build: add semantic-release
chenasraf Nov 24, 2023
6a30f55
ci: update build steps
chenasraf Nov 24, 2023
282be2e
ci: fix node version label
chenasraf Nov 24, 2023
b2ef069
docs: package version no longer necessary
chenasraf Nov 24, 2023
a7c11d6
ci: update npm release config
chenasraf Nov 24, 2023
c414365
feat: transform output name for options
chenasraf Nov 24, 2023
058e6c8
chore: remove old files
chenasraf Nov 24, 2023
7306e08
chore: rename style utils
chenasraf Nov 24, 2023
4b111ab
ci: update release config
chenasraf Nov 24, 2023
0cc4157
chore(release): 2.0.0-pre.1 [skip ci]
semantic-release-bot Nov 24, 2023
dfe8262
ci: update
chenasraf Nov 24, 2023
7435b83
chore(release): 2.0.0-pre.1 [skip ci]
semantic-release-bot Nov 24, 2023
b63b7c3
ci: update
chenasraf Nov 24, 2023
2095c6a
chore(release): 2.0.0-pre.1 [skip ci]
semantic-release-bot Nov 24, 2023
48b9602
feat: different opt output name (default camelCase)
chenasraf Nov 27, 2023
0f068f2
docs: fix changelog
chenasraf Nov 25, 2023
47dbe32
docs: update license to MIT
chenasraf Nov 29, 2023
a0aa8ec
fix: exported types fixes
chenasraf Dec 1, 2023
c1f6fd1
chore(release): 2.0.0-pre.2 [skip ci]
semantic-release-bot Dec 1, 2023
0f317d8
ci: fix build artifacts
chenasraf Dec 1, 2023
742b597
fix: support help option with early quit
chenasraf Dec 2, 2023
fed6f60
fix: help output formatting/text
chenasraf Dec 2, 2023
9562f2d
ci: fix build assets
chenasraf Dec 2, 2023
9bdd33f
chore(release): 2.0.0-pre.3 [skip ci]
semantic-release-bot Dec 2, 2023
efb8d43
refactor: propagate option prefixes to help
chenasraf Dec 2, 2023
637f91d
feat: global column width
chenasraf Dec 2, 2023
c214999
docs: update docs build
chenasraf Dec 4, 2023
0f17d33
fix: required options
chenasraf Dec 4, 2023
291ff0f
fix: detect the correct flag syntax in all cases
chenasraf Dec 4, 2023
fa29138
fix: bugfixes, build updates
chenasraf Dec 11, 2023
a42a854
fix: flag negation
chenasraf Dec 11, 2023
d6d0e92
build: fix ci
chenasraf Dec 11, 2023
6bb6d53
build: fix ci
chenasraf Dec 11, 2023
fbcb112
chore(release): 2.0.0-pre.4 [skip ci]
semantic-release-bot Dec 11, 2023
eacb0dd
fix: default options & default values
chenasraf Dec 12, 2023
8d971fc
chore(release): 2.0.0-pre.5 [skip ci]
semantic-release-bot Dec 12, 2023
119f201
fix: let help flag ignore requirements
chenasraf Dec 12, 2023
16c49ea
chore(release): 2.0.0-pre.6 [skip ci]
semantic-release-bot Dec 12, 2023
4660ba6
chore: cleanups
chenasraf Dec 12, 2023
a3090f9
fix: command/option parsing priorities
chenasraf Dec 14, 2023
856eba8
fix: build
chenasraf Dec 14, 2023
3d32115
fix: error types
chenasraf Dec 14, 2023
a54d60d
chore(release): 2.0.0-pre.7 [skip ci]
semantic-release-bot Dec 14, 2023
b0060cf
fix(help): help subcommand default
chenasraf Dec 14, 2023
0559831
chore(release): 2.0.0-pre.8 [skip ci]
semantic-release-bot Dec 14, 2023
215cd64
fix: type inferences
chenasraf Dec 15, 2023
00baf83
chore(release): 2.0.0-pre.9 [skip ci]
semantic-release-bot Dec 15, 2023
187037b
feat(help): update styles
chenasraf Dec 17, 2023
0742898
chore: add try..catch
chenasraf Jan 21, 2024
bc1979c
fix: type err
chenasraf Jan 21, 2024
9725789
chore(release): 2.0.0-pre.10 [skip ci]
semantic-release-bot Jan 21, 2024
cc8f562
chore: update deps
chenasraf Jan 23, 2024
31c26e1
build(deps-dev): bump @babel/traverse from 7.14.8 to 7.23.7
dependabot[bot] Jan 23, 2024
b910ee4
refactor: negation strings
chenasraf Jan 27, 2024
e55c51f
fix: move negation logic to MassargFlag
chenasraf Jan 28, 2024
12f23ed
feat: don't auto-wrap footer text
chenasraf Jan 28, 2024
bab8e33
feat: default value in help
chenasraf Jan 28, 2024
441daa3
feat: new docs wip
chenasraf Jan 27, 2024
c8ec829
docs: update
chenasraf Jan 27, 2024
8bd697a
remove generated files
chenasraf Jan 28, 2024
4875a05
docs: update
chenasraf Jan 28, 2024
f555346
docs: update readme
chenasraf Jan 28, 2024
87f98ba
feat: don't auto-wrap footer text
chenasraf Jan 28, 2024
a0f015f
docs: update
chenasraf Jan 28, 2024
5723ea3
docs: update
chenasraf Jan 28, 2024
d230eb0
docs: update
chenasraf Jan 28, 2024
7f14e68
build: fix
chenasraf Jan 28, 2024
dfa8f36
chore(release): 2.0.0-pre.11 [skip ci]
semantic-release-bot Jan 28, 2024
cd83a34
fix: split negation labels to 2 lines
chenasraf Jan 29, 2024
b3075a0
fix: simplify option help output, fix default value display
chenasraf Jan 29, 2024
0070b80
fix: docs
chenasraf Jan 29, 2024
5f23a57
chore(release): 2.0.0-pre.12 [skip ci]
semantic-release-bot Jan 29, 2024
07ad1f5
ci: update docs build
chenasraf Jan 29, 2024
36e0d5a
ci: run release action on all branches
chenasraf Jan 29, 2024
d693796
docs: fix reamde links
chenasraf Jan 29, 2024
7871819
Update README.md
chenasraf Jan 30, 2024
eade766
fix: add spacing between args, update sample
chenasraf Jan 30, 2024
7da82d9
chore: update changelog gen
chenasraf Jan 30, 2024
371dd8c
ci: revert unnecessary check
chenasraf Jan 30, 2024
b3327bf
chore(release): 2.0.0-pre.13 [skip ci]
semantic-release-bot Jan 30, 2024
7f89f1d
docs: add readme links
chenasraf Jan 30, 2024
2983653
docs: add readme badge
chenasraf Jan 30, 2024
46b07bd
docs: update badges
chenasraf Jan 30, 2024
9e7280f
build(deps): bump ip from 2.0.0 to 2.0.1
dependabot[bot] Feb 21, 2024
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
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[*]
tab_width = 2
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: chenasraf
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: casraf
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Documentation

on:
push:
branches: [master, pre, develop]

jobs:
docs:
name: Build Documentation
runs-on: ubuntu-latest
# if: "contains(github.event.head_commit.message, 'chore(release)')"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install PNPM
run: npm i -g pnpm
- name: Install dependencies
run: |
pnpm install --frozen-lockfile
cd docs && pnpm install --frozen-lockfile
- name: Build Docs
run: pnpm docs:build
- name: Deploy on GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
50 changes: 0 additions & 50 deletions .github/workflows/main.yml

This file was deleted.

16 changes: 10 additions & 6 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ name: Pull Requests

on:
pull_request:
branches: [master]
branches: [master, develop, pre]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn build
node-version: '20.x'
- name: Install PNPM
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Tests
run: pnpm test
- name: Build Package
run: pnpm build
42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release
on:
push:
branches: [master, pre, develop]
permissions:
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install PNPM
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Tests
run: pnpm test
- name: Build Package
run: pnpm build
- name: Pack
run: cd ./build && pnpm pack --pack-destination=../
# - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
# run: npm audit signatures
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
3 changes: 2 additions & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"line_length": 100,
"tables": false,
"code_blocks": false
}
},
"no-inline-html": false
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gen/
CHANGELOG.md
14 changes: 12 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"printWidth": 100,
"semi": false,
"printWidth": 120,
"singleQuote": false
"singleQuote": true,
"trailingComma": "all",
"overrides": [
{
"files": "*.md",
"options": {
"printWidth": 100,
"proseWrap": "always"
}
}
]
}
Loading
Loading