commit | 9583eab844f405a300d290d7510d2838dbc36aad | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Tue Dec 13 16:10:36 2022 +0900 |
committer | GitHub <noreply@github.com> | Tue Dec 13 16:10:36 2022 +0900 |
tree | 333adb35dd4bed0a291161283c87ab1b1d6b11a2 | |
parent | 035a27e300c0cb055a64c1e15011c009e2bba62e [diff] |
ci(workflow): update node support & action dependencies (#74) * ci(workflow): drop node 10 & 12, add node 16 & 18 * ci(workflow): bump actions/checkout@v3 * ci(workflow): bump actions/setup-node@v3 * ci(workflow): bump codecov/codecov-action@v3
This module is used for creating Cordova style projects. It also incudes support for Cordova App Templates. It can fetch templates from npm and git.
const create = require('cordova-create'); await create(dest, opts);
dest
Required. Path to the destination where the project will be created. Must be an empty dir if it exists.
opts
Optional. Supports following properties.
{ // Attributes to be set in package.json & config.xml id: String, name: String, version: String, // The path/url/package-name to the template that should be used template: String, // An EventEmitter instance that will be used for logging purposes // (actually it only needs to implement a compatible `emit` method) events: EventEmitter }