Files
massarg/package.json
semantic-release-bot d5d8a887b4 chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/chenasraf/massarg/compare/v1.0.6...v2.0.0) (2024-01-31)

### Bug Fixes

* add spacing between args, update sample ([dbbb12c](dbbb12cd6a))
* bugfixes, build updates ([ecd3a20](ecd3a20463))
* build ([cdc9118](cdc9118f6d))
* command/option parsing priorities ([5129528](5129528339))
* default options & default values ([84b2599](84b2599454))
* detect the correct flag syntax in all cases ([08192b9](08192b9c27))
* docs ([0d3bb62](0d3bb62d8b))
* error types ([8364f19](8364f1998c))
* exported types fixes ([941d2b3](941d2b3ac8))
* flag negation ([d2426ec](d2426ecde5))
* help output formatting/text ([eceeed5](eceeed52c1))
* **help:** help subcommand default ([59c393d](59c393d5f5))
* let help flag ignore requirements ([203adba](203adba622))
* move negation logic to MassargFlag ([359d802](359d802c82))
* required options ([aaa4ecd](aaa4ecd9d2))
* simplify option help output, fix default value display ([c340280](c34028059e))
* split negation labels to 2 lines ([34fd299](34fd299674))
* support help option with early quit ([185939b](185939bd21))
* type err ([852ce3f](852ce3f3f6))
* type inferences ([c92785e](c92785e746))

### Continuous Integration

* update release config ([6eb382d](6eb382d5c9))

### Features

* array & typed options ([eca10e4](eca10e4c1d))
* built-in help command + flag ([f0ee853](f0ee853dbe))
* default value in help ([7e5f15a](7e5f15a18d))
* different opt output name (default camelCase) ([76e0f85](76e0f85e00))
* don't auto-wrap footer text ([b6d6583](b6d6583ef2))
* don't auto-wrap footer text ([6e947a4](6e947a4340))
* example lines, help style updates ([c042a34](c042a3481c))
* global column width ([70dfd55](70dfd55be7))
* help generator ([4051864](4051864429))
* **help:** update styles ([da59628](da59628aba))
* improve help config, update styles, fixes ([c397ec9](c397ec9fd7))
* new docs wip ([05bd42c](05bd42c8e5))
* pass main instance to run fn ([e110498](e110498f3b))
* transform output name for options ([64545ae](64545ae750))
* v2 poc ([5476327](54763276e7))

### BREAKING CHANGES

* recreated massarg package
2024-01-31 07:56:18 +00:00

49 lines
1.5 KiB
JSON

{
"name": "massarg",
"version": "2.0.0",
"description": "Flexible, powerful, and simple command/argument parser for CLI applications",
"keywords": [
"shell",
"cli",
"parser",
"typescript",
"args",
"command-line"
],
"main": "index.js",
"repository": "https://github.com/chenasraf/massarg.git",
"author": "Chen Asraf <chenasrafil@gmail.com>",
"license": "Apache",
"scripts": {
"build": "tsc -p tsconfig.build.json && cp package.json README.md build",
"dev": "tsc --watch",
"cmd": "ts-node src/sample.ts",
"test": "jest",
"docs:build": "cd docs && pnpm build",
"docs:watch": "cd docs && pnpm start",
"docs:deploy": "pnpm docs:build && gh-pages -d docs",
"semantic-release": "semantic-release",
"changelog": "conventional-changelog -i CHANGELOG.md -s -r 0; echo \"# Change Log\n\n$(cat CHANGELOG.md)\" > CHANGELOG.md"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/release-notes-generator": "^12.1.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.10",
"conventional-changelog": "^5.1.0",
"conventional-changelog-cli": "^4.1.0",
"gh-pages": "^6.1.1",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"semantic-release": "^23.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"zod": "^3.22.4"
}
}