@types/shelljs
Advanced tools
| import shelljs = require("./index"); | ||
| declare global { | ||
| const cat: typeof shelljs.cat; | ||
| const cd: typeof shelljs.cd; | ||
| const chmod: typeof shelljs.chmod; | ||
| const cmd: typeof shelljs.cmd; | ||
| const config: typeof shelljs.config; | ||
| const cp: typeof shelljs.cp; | ||
| const dirs: typeof shelljs.dirs; | ||
| const echo: typeof shelljs.echo; | ||
| const env: typeof shelljs.env; | ||
| const error: typeof shelljs.error; | ||
| const exec: typeof shelljs.exec; | ||
| const exit: typeof shelljs.exit; | ||
| const find: typeof shelljs.find; | ||
| const grep: typeof shelljs.grep; | ||
| const head: typeof shelljs.head; | ||
| const ln: typeof shelljs.ln; | ||
| const ls: typeof shelljs.ls; | ||
| const mkdir: typeof shelljs.mkdir; | ||
| const mv: typeof shelljs.mv; | ||
| const popd: typeof shelljs.popd; | ||
| const pushd: typeof shelljs.pushd; | ||
| const pwd: typeof shelljs.pwd; | ||
| const rm: typeof shelljs.rm; | ||
| const sed: typeof shelljs.sed; | ||
| const set: typeof shelljs.set; | ||
| const sort: typeof shelljs.sort; | ||
| const tail: typeof shelljs.tail; | ||
| const tempdir: typeof shelljs.tempdir; | ||
| const touch: typeof shelljs.touch; | ||
| const uniq: typeof shelljs.uniq; | ||
| const ShellString: typeof shelljs.ShellString; | ||
| } |
| // TODO: proper typing | ||
| // https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins#pluginregister-options | ||
| export function register(...args: unknown[]): void; |
| /// <reference types="node"/> | ||
| import child = require("child_process"); | ||
| import glob = require("glob"); | ||
| import glob = require("fast-glob"); | ||
@@ -1243,3 +1243,3 @@ /** | ||
| */ | ||
| globOptions: glob.GlobOptions; | ||
| globOptions: glob.Options; | ||
@@ -1246,0 +1246,0 @@ /** |
+3
-34
@@ -1,2 +0,3 @@ | ||
| import shelljs = require("./index"); | ||
| import "./global"; | ||
| declare global { | ||
@@ -10,36 +11,4 @@ interface Target { | ||
| all?: Target; | ||
| [s: string]: Target; | ||
| [s: string]: Target | undefined; | ||
| }; | ||
| const cat: typeof shelljs.cat; | ||
| const cd: typeof shelljs.cd; | ||
| const chmod: typeof shelljs.chmod; | ||
| const cmd: typeof shelljs.cmd; | ||
| const config: typeof shelljs.config; | ||
| const cp: typeof shelljs.cp; | ||
| const dirs: typeof shelljs.dirs; | ||
| const echo: typeof shelljs.echo; | ||
| const env: typeof shelljs.env; | ||
| const error: typeof shelljs.error; | ||
| const exec: typeof shelljs.exec; | ||
| const exit: typeof shelljs.exit; | ||
| const find: typeof shelljs.find; | ||
| const grep: typeof shelljs.grep; | ||
| const head: typeof shelljs.head; | ||
| const ln: typeof shelljs.ln; | ||
| const ls: typeof shelljs.ls; | ||
| const mkdir: typeof shelljs.mkdir; | ||
| const mv: typeof shelljs.mv; | ||
| const popd: typeof shelljs.popd; | ||
| const pushd: typeof shelljs.pushd; | ||
| const pwd: typeof shelljs.pwd; | ||
| const rm: typeof shelljs.rm; | ||
| const sed: typeof shelljs.sed; | ||
| const set: typeof shelljs.set; | ||
| const sort: typeof shelljs.sort; | ||
| const tail: typeof shelljs.tail; | ||
| const tempdir: typeof shelljs.tempdir; | ||
| const touch: typeof shelljs.touch; | ||
| const uniq: typeof shelljs.uniq; | ||
| const ShellString: typeof shelljs.ShellString; | ||
| } |
+15
-4
| { | ||
| "name": "@types/shelljs", | ||
| "version": "0.8.17", | ||
| "version": "0.10.0", | ||
| "description": "TypeScript definitions for shelljs", | ||
@@ -46,2 +46,13 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shelljs", | ||
| "types": "index.d.ts", | ||
| "exports": { | ||
| ".": "./index.d.ts", | ||
| "./global": "./global.d.ts", | ||
| "./global.js": "./global.d.ts", | ||
| "./make": "./make.d.ts", | ||
| "./make.js": "./make.d.ts", | ||
| "./package": "./package.json", | ||
| "./package.json": "./package.json", | ||
| "./plugin": "./plugin.d.ts", | ||
| "./plugin.js": "./plugin.d.ts" | ||
| }, | ||
| "repository": { | ||
@@ -54,8 +65,8 @@ "type": "git", | ||
| "dependencies": { | ||
| "glob": "^11.0.3", | ||
| "fast-glob": "^3.3.2", | ||
| "@types/node": "*" | ||
| }, | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "34722e27ad5ec6fe942a491d2a925512fe565af89d78fb695dcee534cb90173d", | ||
| "typeScriptVersion": "5.1" | ||
| "typesPublisherContentHash": "fd45e47d97b96232cef9353b89f5b92c6d9947fbf247d943896835eab6b79435", | ||
| "typeScriptVersion": "5.2" | ||
| } |
@@ -11,6 +11,6 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Tue, 01 Jul 2025 20:02:28 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [glob](https://npmjs.com/package/glob) | ||
| * Last updated: Fri, 12 Dec 2025 07:36:28 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [fast-glob](https://npmjs.com/package/fast-glob) | ||
| # Credits | ||
| These definitions were written by [Niklas Mollenhauer](https://github.com/nikeee), [Vojtech Jasny](https://github.com/voy), [George Kalpakas](https://github.com/gkalpak), [Paul Huynh](https://github.com/pheromonez), [Alexander Futász](https://github.com/aldafu), [ExE Boss](https://github.com/ExE-Boss), and [Mirco Sanguineti](https://github.com/msanguineti). |
51496
1.15%7
40%1179
0.51%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed