2.0.3 • Published 1 year ago

@j2inn/podify v2.0.3

Weekly downloads
56
License
UNLICENSED
Repository
-
Last release
1 year ago

Podify

Build your TypeScript/JavaScript module into a POD file!

Guide

Install the module into your project...

npm install @j2inn/podify --save-dev

By default, podify attempts to use your module's package.json file to create a POD file. To try it out run...

npx podify

Some things to note...

  • The POD file's name, version and description uses your module's package.json name, version and description.
  • The POD file is generated in a dist sub-directory in your project.
  • Your project's dist folder 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 --init

This 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 name and url properties.
  • destination: The destination folder where the POD file is generated.
  • folders: An array of objects with localPath for the local path and podPath for 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/bar

FAN_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.

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

1.0.6-beta.1

2 years ago

1.0.5-beta.1

2 years ago

2.0.0

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago