Comparing version 0.1.20 to 0.1.21
#!/usr/bin/env node | ||
var CLI = require('../dist/neon-cli/cli.js').default; | ||
var CLI = require('../lib/cli.js').default; | ||
var cli = new CLI(process.argv, process.cwd()); | ||
@@ -5,0 +5,0 @@ cli.exec() |
{ | ||
"name": "neon-cli", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "Build and load native Rust/Neon modules.", | ||
"author": "Dave Herman <dherman@mozilla.com>", | ||
"author": "Dave Herman <david.herman@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/neon-bindings/neon-cli.git" | ||
"url": "https://github.com/neon-bindings/neon.git" | ||
}, | ||
"main": "dist/neon-cli/index.js", | ||
"types": "dist/neon-cli/index.d.ts", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"bin": { | ||
"neon": "./bin/cli.js" | ||
}, | ||
"license": "MIT", | ||
"license": "SEE LICENSE IN LICENSE-*", | ||
"dependencies": { | ||
"chalk": "^1.1.1", | ||
"chalk": "~2.1.0", | ||
"command-line-args": "^4.0.2", | ||
@@ -23,3 +23,2 @@ "command-line-commands": "^2.0.0", | ||
"handlebars": "^4.0.3", | ||
"in-publish": "^2.0.0", | ||
"inquirer": "^3.0.6", | ||
@@ -29,3 +28,3 @@ "mkdirp": "^0.5.1", | ||
"rimraf": "^2.6.1", | ||
"rsvp": "^3.1.0", | ||
"rsvp": "^4.6.1", | ||
"semver": "^5.1.0", | ||
@@ -35,22 +34,22 @@ "toml": "^2.3.0", | ||
"validate-npm-package-license": "^3.0.1", | ||
"validate-npm-package-name": "^2.2.2" | ||
"validate-npm-package-name": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^3.5.2", | ||
"@types/chai": "^4.0.4", | ||
"@types/chalk": "^0.4.31", | ||
"@types/es6-promise": "0.0.32", | ||
"@types/es6-promise": "0.0.33", | ||
"@types/handlebars": "^4.0.32", | ||
"@types/inquirer": "0.0.33", | ||
"@types/mkdirp": "^0.3.29", | ||
"@types/inquirer": "0.0.35", | ||
"@types/mkdirp": "^0.5.1", | ||
"@types/mocha": "^2.2.41", | ||
"@types/nexpect": "^0.4.29", | ||
"@types/node": "^7.0.13", | ||
"@types/rimraf": "0.0.28", | ||
"@types/node": "^8.0.28", | ||
"@types/rimraf": "^2.0.2", | ||
"@types/rsvp": "^3.3.1", | ||
"@types/semver": "^5.3.31", | ||
"@types/tmp": "0.0.32", | ||
"@types/tmp": "0.0.33", | ||
"chai": "^3.4.1", | ||
"mocha": "^2.3.4", | ||
"mocha": "^3.5.3", | ||
"nexpect": "^0.5.0", | ||
"tmp": "0.0.28", | ||
"tmp": "0.0.33", | ||
"ts-dict": "^0.1.1", | ||
@@ -62,10 +61,9 @@ "ts-node": "^3.0.2", | ||
"scripts": { | ||
"test": "npm run transpile && mocha dist/neon-cli-test/acceptance", | ||
"transpile": "tsc", | ||
"prepublish": "in-install || npm run transpile" | ||
"prepublishOnly": "npm run transpile" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/neon-bindings/neon-cli/issues" | ||
"url": "https://github.com/neon-bindings/neon/issues" | ||
}, | ||
"homepage": "https://github.com/neon-bindings/neon-cli" | ||
"homepage": "https://www.neon-bindings.com" | ||
} |
# The Neon Command-Line Tool | ||
[![Build Status](https://travis-ci.org/neon-bindings/neon-cli.svg?branch=master)](https://travis-ci.org/neon-bindings/neon-cli) | ||
[![npm](https://img.shields.io/npm/v/neon-cli.svg)](https://www.npmjs.com/package/neon-cli) | ||
Automatically create and build [Neon](https://github.com/neon-bindings/neon) modules. | ||
![Screencast](screencast.gif) | ||
# Getting started | ||
Install `neon-cli` as a global package: | ||
``` | ||
npm install -g neon-cli | ||
``` | ||
To create a new Neon project, use `neon new`: | ||
``` | ||
neon new my-project | ||
``` | ||
This will ask you a few questions and then generate a project skeleton for you. Follow the instructions from there to build and run your project! | ||
# Requirements | ||
See the [Neon README](https://github.com/neon-bindings/neon/#requirements). | ||
# Commands | ||
## neon new | ||
Creates a new Neon project skeleton. | ||
``` | ||
neon new <name> [--rust|-r <toolchain>] | ||
``` | ||
The `name` is the project name and the name of the subdirectory of the current working directory that will be created. | ||
The optional `--rust` parameter allows specifying a custom toolchain (`stable` or `nightly`) to use for building the project with multirust instead of the system default Rust installation. | ||
# Get Involved | ||
The Neon community is just getting started and there's tons of fun to be had. Come play! :) | ||
The [Rust Bindings community Slack](https://rust-bindings.slack.com/) is open to all; use [the Slackin app](https://rust-bindings-slackin.herokuapp.com/) to receive an invitation. | ||
# License | ||
MIT | ||
For more information, see the [Neon home page](https://www.neon-bindings.com)! |
@@ -11,8 +11,4 @@ { | ||
"sourceMap": false, | ||
"outDir": "dist", | ||
"rootDir": "packages", | ||
"baseUrl": "./packages", | ||
"paths": { | ||
"*": ["*"] | ||
}, | ||
"outDir": "lib", | ||
"declaration": true, | ||
@@ -30,3 +26,3 @@ | ||
"include": [ | ||
"packages/**/*" | ||
"src/**/*" | ||
], | ||
@@ -33,0 +29,0 @@ "exclude": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16
116588
66
1
1
2472
6
3
+ Addedbuiltins@1.0.3(transitive)
+ Addedchalk@2.1.0(transitive)
+ Addedhas-flag@2.0.0(transitive)
+ Addedrsvp@4.8.5(transitive)
+ Addedsupports-color@4.5.0(transitive)
+ Addedvalidate-npm-package-name@3.0.0(transitive)
- Removedin-publish@^2.0.0
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedbuiltins@0.0.7(transitive)
- Removedchalk@1.1.32.4.2(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedin-publish@2.0.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.05.5.0(transitive)
- Removedvalidate-npm-package-name@2.2.2(transitive)
Updatedchalk@~2.1.0
Updatedrsvp@^4.6.1