This commit is contained in:
2026-05-15 08:32:45 +02:00
parent fc2547bd59
commit 231006e61d
2143 changed files with 0 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) Cenk Kilic <cenk@kilic.dev> (https://srcs.kilic.dev), Sam Verschueren <sam.verschueren@gmail.com> (github.com/SamVerschueren)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+17
View File
@@ -0,0 +1,17 @@
# listr2
[![Pipeline](https://gitlab.kilic.dev/libraries/listr2/badges/master/pipeline.svg?style=flat-square&ignore_skipped=true)](https://gitlab.kilic.dev/libraries/listr2/-/commits/master) [![Version](https://img.shields.io/npm/v/listr2.svg?style=flat-square&logo=npm)](https://www.npmjs.com/package/listr2?activeTab=versions) [![Downloads](https://img.shields.io/npm/dm/listr2.svg?style=flat-square&logo=npm)](https://www.npmjs.com/package/listr2) [![Size](https://img.shields.io/bundlephobia/min/listr2?style=flat-square&logo=npm)](https://www.npmjs.com/package/listr2) [![Dependencies](https://img.shields.io/librariesio/release/npm/listr2?style=flat-square&logo=npm)](https://www.npmjs.com/package/listr2?activeTab=dependencies) [![codecov](https://codecov.io/gh/listr2/listr2/branch/master/graph/badge.svg?style=flat-square)](https://codecov.io/gh/listr2/listr2)
[![github sponsors](https://img.shields.io/github/sponsors/cenk1cenk2?style=flat-square&logo=github)](https://github.com/sponsors/cenk1cenk2) [![opencollective](https://img.shields.io/opencollective/sponsors/listr2?label=open%20collective&logo=opencollective)](https://opencollective.com/listr2)
**Create beautiful CLI interfaces via easy and logical to-implement task lists that feel alive and interactive.**
---
## Documentation
**[Read the documentation...](https://listr2.kilic.dev)**
## Demo
![Demo](https://media.githubusercontent.com/media/listr2/listr2/master/examples/renderer-default.gif)
+2329
View File
File diff suppressed because it is too large Load Diff
+1565
View File
File diff suppressed because it is too large Load Diff
+1565
View File
File diff suppressed because it is too large Load Diff
+2244
View File
File diff suppressed because it is too large Load Diff
+128
View File
@@ -0,0 +1,128 @@
{
"name": "listr2",
"version": "6.6.1",
"description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.",
"license": "MIT",
"repository": "https://github.com/listr2/listr2",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"author": {
"name": "Cenk Kilic",
"email": "cenk@kilic.dev",
"url": "https://cenk.kilic.dev"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "tsup-node",
"dev:start": "tsup-node --watch",
"example": "TS_NODE_PROJECT=examples/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --loader ./loader.js' node",
"clean": "rimraf node_modules pnpm-lock.yaml",
"format": "prettier --log-level warn --write src/ tests/ examples/ docs/ && pnpm run lint --fix",
"lint": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/ examples/ docs/",
"test": "TS_NODE_PROJECT=tests/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules' jest --config ./tests/jest.config.ts",
"test:cov": "pnpm run test --coverage",
"test:dev": "NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --inspect=0.0.0.0:9229' pnpm run test --verbose --watchAll",
"test:read-snapshot": "./tests/read-terminal-snapshots.sh",
"docs:build": "vuepress build docs",
"docs:dev:start": "vuepress dev docs",
"docs:dev:start:clean": "vuepress dev docs --clean-cache"
},
"simple-git-hooks": {
"pre-commit": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm exec lint-staged",
"prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
"pre-push": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm run test"
},
"lint-staged": {
"*.{ts,js,tsx,jsx,spec.ts}": [
"prettier --loglevel warn --write",
"eslint --fix"
],
"*.{json,md}": [
"prettier --loglevel warn --write"
]
},
"keywords": [
"listr",
"cli",
"task",
"list",
"tasklist",
"terminal",
"term",
"console",
"ascii",
"unicode",
"loading",
"indicator",
"progress",
"busy",
"wait",
"idle"
],
"dependencies": {
"cli-truncate": "^3.1.0",
"colorette": "^2.0.20",
"eventemitter3": "^5.0.1",
"log-update": "^5.0.1",
"rfdc": "^1.3.0",
"wrap-ansi": "^8.1.0"
},
"devDependencies": {
"@cenk1cenk2/cz-cc": "^1.6.6",
"@cenk1cenk2/eslint-config": "^2.7.12",
"@jest/globals": "^29.6.2",
"@swc/core": "^1.3.72",
"@tsconfig/node16": "^16.1.0",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.5",
"@types/wrap-ansi": "^8.0.1",
"@vuepress/client": "2.0.0-beta.66",
"@vuepress/plugin-docsearch": "2.0.0-beta.66",
"enquirer": "^2.4.1",
"eslint": "^8.46.0",
"execa": "^7.2.0",
"jest": "^29.6.2",
"jest-mock-process": "^2.0.0",
"lint-staged": "^13.2.3",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"rxjs": "^7.8.1",
"simple-git-hooks": "^2.9.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"tsup": "7.1.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.4",
"typescript": "^5.1.6",
"vue": "3.3.4",
"vuepress": "2.0.0-beta.66",
"vuepress-plugin-typedoc": "0.12.1",
"vuepress-theme-hope": "2.0.0-beta.234"
},
"peerDependencies": {
"enquirer": ">= 2.3.0 < 3"
},
"peerDependenciesMeta": {
"enquirer": {
"optional": true
}
},
"config": {
"commitizen": {
"path": "./node_modules/@cenk1cenk2/cz-cc"
}
}
}