New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adonisjs/ace

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/ace - npm Package Compare versions

Comparing version 11.3.1 to 12.0.0-0

build/commands/index_command.d.ts

20

build/index.d.ts

@@ -1,8 +0,12 @@

export { Kernel } from './src/Kernel';
export { args } from './src/Decorators/args';
export { flags } from './src/Decorators/flags';
export { BaseCommand } from './src/BaseCommand';
export { handleError } from './src/utils/handleError';
export { ManifestLoader } from './src/Manifest/Loader';
export { ManifestGenerator } from './src/Manifest/Generator';
export { listDirectoryFiles } from './src/utils/listDirectoryFiles';
export { Parser } from './src/parser.js';
export { Kernel } from './src/kernel.js';
export * as errors from './src/errors.js';
export { args } from './src/decorators/args.js';
export { flags } from './src/decorators/flags.js';
export { BaseCommand } from './src/commands/base.js';
export { HelpCommand } from './src/commands/help.js';
export { ListCommand } from './src/commands/list.js';
export { FsLoader } from './src/loaders/fs_loader.js';
export { ListLoader } from './src/loaders/list_loader.js';
export { ExceptionHandler } from './src/exception_handler.js';
export { IndexGenerator } from './src/generators/index_generator.js';

39

build/index.js

@@ -1,27 +0,12 @@

"use strict";
/*
* @adonisjs/ace
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.listDirectoryFiles = exports.ManifestGenerator = exports.ManifestLoader = exports.handleError = exports.BaseCommand = exports.flags = exports.args = exports.Kernel = void 0;
var Kernel_1 = require("./src/Kernel");
Object.defineProperty(exports, "Kernel", { enumerable: true, get: function () { return Kernel_1.Kernel; } });
var args_1 = require("./src/Decorators/args");
Object.defineProperty(exports, "args", { enumerable: true, get: function () { return args_1.args; } });
var flags_1 = require("./src/Decorators/flags");
Object.defineProperty(exports, "flags", { enumerable: true, get: function () { return flags_1.flags; } });
var BaseCommand_1 = require("./src/BaseCommand");
Object.defineProperty(exports, "BaseCommand", { enumerable: true, get: function () { return BaseCommand_1.BaseCommand; } });
var handleError_1 = require("./src/utils/handleError");
Object.defineProperty(exports, "handleError", { enumerable: true, get: function () { return handleError_1.handleError; } });
var Loader_1 = require("./src/Manifest/Loader");
Object.defineProperty(exports, "ManifestLoader", { enumerable: true, get: function () { return Loader_1.ManifestLoader; } });
var Generator_1 = require("./src/Manifest/Generator");
Object.defineProperty(exports, "ManifestGenerator", { enumerable: true, get: function () { return Generator_1.ManifestGenerator; } });
var listDirectoryFiles_1 = require("./src/utils/listDirectoryFiles");
Object.defineProperty(exports, "listDirectoryFiles", { enumerable: true, get: function () { return listDirectoryFiles_1.listDirectoryFiles; } });
export { Parser } from './src/parser.js';
export { Kernel } from './src/kernel.js';
export * as errors from './src/errors.js';
export { args } from './src/decorators/args.js';
export { flags } from './src/decorators/flags.js';
export { BaseCommand } from './src/commands/base.js';
export { HelpCommand } from './src/commands/help.js';
export { ListCommand } from './src/commands/list.js';
export { FsLoader } from './src/loaders/fs_loader.js';
export { ListLoader } from './src/loaders/list_loader.js';
export { ExceptionHandler } from './src/exception_handler.js';
export { IndexGenerator } from './src/generators/index_generator.js';
# The MIT License
Copyright 2022 Harminder Virk, contributors
Copyright (c) 2023 AdonisJS Framework

@@ -5,0 +5,0 @@ 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:

{
"name": "@adonisjs/ace",
"version": "11.3.1",
"description": "Commandline apps framework used by AdonisJs",
"version": "12.0.0-0",
"description": "A CLI framework for Node.js",
"main": "build/index.js",
"type": "module",
"files": [
"build/commands",
"build/schemas",
"build/src",
"build/stubs",
"build/index.d.ts",
"build/index.js"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js"
},
"bin": {
"ace-toolkit": "./build/commands/main.js"
},
"scripts": {
"mrm": "mrm --preset=@adonisjs/mrm-preset",
"pretest": "npm run lint",
"test": "node -r @adonisjs/require-ts/build/register ./bin/test.ts",
"lint": "eslint . --ext=.ts",
"test": "cross-env NODE_DEBUG=adonisjs:ace c8 npm run vscode:test",
"clean": "del-cli build",
"compile": "npm run lint && npm run clean && tsc",
"build:schema": "ts-json-schema-generator --path='src/types.ts' --type='CommandMetaData' --tsconfig='tsconfig.json' --out='schemas/command_metadata_schema.json'",
"copy:files": "copyfiles schemas/* stubs/*.stub build",
"precompile": "npm run lint && npm run clean",
"compile": "tsc",
"postcompile": "npm run build:schema && npm run copy:files",
"build": "npm run compile",
"commit": "git-cz",
"release": "FORCE_COLOR=true np --message=\"chore(release): %s\"",
"release": "np",
"version": "npm run build",
"sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/ace",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"prepublishOnly": "npm run build"
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/ace",
"vscode:test": "node --loader=ts-node/esm bin/test.ts"
},
"keywords": [
"adonisjs",
"commandline",
"cli",
"commander"
],
"author": "virk",
"homepage": "https://adonisjs.com",
"author": "virk,adonisjs",
"license": "MIT",
"dependencies": {
"@poppinss/cliui": "^3.0.2",
"@poppinss/prompts": "^2.0.2",
"@poppinss/utils": "^4.0.4",
"fs-extra": "^10.1.0",
"getopts": "^2.3.0",
"leven": "^3.1.0",
"mustache": "^4.2.0",
"slash": "^3.0.0",
"term-size": "^2.2.1"
"@poppinss/cliui": "^6.1.1-0",
"@poppinss/hooks": "^7.1.1-0",
"@poppinss/macroable": "^1.0.0-2",
"@poppinss/prompts": "^3.1.0-0",
"@poppinss/utils": "^6.5.0-0",
"jsonschema": "^1.4.1",
"string-similarity": "^4.0.4",
"string-width": "^5.1.2",
"yargs-parser": "^21.1.1",
"youch": "^3.2.2",
"youch-terminal": "^2.1.5"
},
"peerDependencies": {
"@adonisjs/application": "^5.0.0"
},
"nyc": {
"exclude": [
"test"
],
"extension": [
".ts"
]
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"devDependencies": {
"@adonisjs/application": "^5.2.4",
"@adonisjs/mrm-preset": "^5.0.3",
"@adonisjs/require-ts": "^2.0.12",
"@japa/assert": "^1.3.4",
"@japa/run-failed-tests": "^1.0.7",
"@japa/runner": "^2.0.8",
"@japa/spec-reporter": "^1.1.12",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@japa/assert": "^1.3.5",
"@japa/expect-type": "^1.0.2",
"@japa/run-failed-tests": "^1.0.8",
"@japa/runner": "^2.1.1",
"@japa/spec-reporter": "^1.2.0",
"@poppinss/dev-utils": "^2.0.3",
"@types/node": "^17.0.35",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^4.0.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-adonis": "^2.1.0",
"eslint-plugin-prettier": "^4.0.0",
"@swc/core": "^1.3.29",
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.7.15",
"@types/sinon": "^10.0.13",
"@types/string-similarity": "^4.0.0",
"c8": "^7.12.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-adonis": "^3.0.3",
"eslint-plugin-prettier": "^4.2.1",
"fs-extra": "^11.1.0",
"github-label-sync": "^2.2.0",
"husky": "^8.0.1",
"mrm": "^4.0.0",
"np": "^7.6.1",
"prettier": "^2.6.2",
"husky": "^8.0.3",
"np": "^7.6.3",
"prettier": "^2.8.3",
"reflect-metadata": "^0.1.13",
"typescript": "^4.6.4"
"sinon": "^15.0.1",
"ts-json-schema-generator": "^1.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"np": {
"contents": ".",
"anyBranch": false
},
"directories": {
"doc": "docs",
"example": "example",
"test": "test"
},
"repository": {

@@ -110,15 +101,2 @@ "type": "git",

},
"mrmConfig": {
"core": true,
"license": "MIT",
"services": [
"github-actions"
],
"minNodeVersion": "14.15.4",
"probotApps": [
"stale",
"lock"
],
"runGhActionsOnWindows": true
},
"eslintConfig": {

@@ -142,3 +120,4 @@ "extends": [

"eslintIgnore": [
"build"
"build",
"backup"
],

@@ -154,3 +133,29 @@ "prettier": {

"printWidth": 100
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public",
"tag": "next"
},
"np": {
"message": "chore(release): %s",
"tag": "next",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"build/**",
"examples/**"
]
}
}

@@ -1,45 +0,25 @@

<div align="center">
<img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1558612869/adonis-readme_zscycu.jpg" width="600px">
</div>
# @adonisjs/ace
<br />
<div align="center">
<h3>Command line framework of AdonisJS</h3>
<p> Ace is command line framework embedded into AdonisJS for creating CLI commands. AdonisJS is the <strong>only Node.js framework</strong> that allows creating CLI commands as part of the application codebase. </p>
</div>
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
<br />
## Introduction
Ace is the command-line framework for Node.js. It is built with **testing in mind**, is **light weight** in comparison to other CLI frameworks, and offers a clean API for creating CLI commands.
<div align="center">
## Official Documentation
The documentation is available on the official website
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.
</div>
We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.
<div align="center">
<h3>
<a href="https://adonisjs.com">
Website
</a>
<span> | </span>
<a href="https://docs.adonisjs.com/guides/ace-commandline">
Guides
</a>
<span> | </span>
<a href="CONTRIBUTING.md">
Contributing
</a>
<span> | </span>
<a href="flow-chart.png">
Flow chart
</a>
</h3>
</div>
## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).
<div align="center">
<sub>Built with ❤︎ by <a href="https://twitter.com/AmanVirk1">Harminder Virk</a>
</div>
## License
AdonisJS Ace is open-sourced software licensed under the [MIT license](LICENSE.md).
[gh-workflow-image]: https://img.shields.io/github/workflow/status/adonisjs/ace/test?style=for-the-badge
[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/ace/test.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/ace/actions/workflows/test.yml "Github action"

@@ -46,0 +26,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc