0.0.3 • Published 8 years ago

solar-cli v0.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Solar System

Resolve front-end development of automation tools, dojo build, Independent development, Dependency management, Version management.

Installation

Solar requires Node.js v4+ to run.

You need Solar installed globally:

$ npm solar-cli -g

Apis

-- init package

Init your package. It will generate 'package.json' like npm init

$ solar init -n 'packageName' -d 'description' -v 'version'

-- install packages

Install packages like npm install.

$ solar install -n 'packageName' [--save]
$ solar install -n 'packageName1' -n 'packageName2' [--save]

-- uninstall packages

Uninstall packages like npm uninstall.

$ solar uninstall -n 'packageName' [--save]
$ solar uninstall -n 'packageName1' -n 'packageName2' [--save]

-- generate dojo profile

Auto generate profile.js base on source code. it will exclude packages: system, comlib, bcomlib, app.

$ solar profile -n 'packageName'

-- dojo build

Run dojo build base on profile.js.

$ solar build -n 'packageName'

-- add package

Mapping source to the entire project base on the arguments.

$ solar add -n 'packageName' -l 'location' [-i 'identityName' -p 'modulePath']

-- remove package

Remove(Restore) the mapping.

$ solar remove -n 'packageName' -i 'identityName'

-- publish package

Publish the package to the NPM server.

$ solar publish -n 'packageName'

-- init development environment

Build debug.html, dojoConfig.js, packagesscript.js to start the whole project locally.

$ solar start

Tech

Solar uses a number of open source projects to work properly:

And of course Solar itself is open source with a public repository on GitHub.

Todos

  • Issue fix.
  • Unit Tests plugin.
  • Style Check plugin.
  • ..

License

MIT

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago