@j2inn/podify v3.0.3
Podify
Build your TypeScript/JavaScript module into a POD file!
Guide
Install the module into your project...
npm install @j2inn/podify --save-devBy default, podify attempts to use your module's package.json file to create a POD file. To try it out run...
npx podifySome things to note...
- The POD file's name, version and description uses your module's
package.jsonname, version and description. - The POD file is generated in a
distsub-directory in your project. - Your project's
distfolder is included in the POD file.
Configuration
The default settings might not be to everyone's test. To customize the settings generate a pod.config.js file in your project...
npx podify --initThis generates a JavaScript file with your project's default parameters that can be customized further. This file will be automatically detected when running podify.
A pod.config.json configuration file is also supported.
POD Configuration Properties
By pod.config.js and pod.config.json support the following properties...
- name: The name of your POD file. This should end with 'Ext'. By default converted from
package.json. - version: The POD file's description. By default converted from
package.json. - description: The POD file's description. By default converted from
package.json. - organization: An object with an organization's
nameandurlproperties. - destination: The destination folder where the POD file is generated.
- folders: An array of objects with
localPathfor the local path andpodPathfor the directory in the POD file.
Base path
By default, podify runs against your current working directory. To use an alternate working directory, please specify a path...
npx podify --path /foo/barFAN_HOME
If your FAN_HOME environment variable is defined (and the directory exists), the POD will be additionally copied over to ${FAN_HOME}/lib/fan.