Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

apex-publish-static-files

2.0.2 • Public • Published

APEX Publish Static Files

npm Build Status Dependency Status XO code style

Uploads all files from a local directory or a single file to Oracle APEX. Destination can be:

  • Application Static Files
  • Workspace Static Files
  • Theme Files
  • Plugin Files

demo

Requirements

Install

npm install apex-publish-static-files

Usage

var publisher = require('apex-publish-static-files');
 
publisher.publish({
    connectString: "user/pass@server:port/sid",
    directory: "/Users/vmorneau/Documents/project/www",
    appID: 111
});

Options

Name Type Default Description
sqlclPath string sql Path to SQLcl (example: /Users/vmorneau/sqlcl/bin/sql)
connectString string user/pass@server:port/sid
directory string Local directory that contains the files or file path
appID numeric Application ID to export the files to
destination string Determines where the files should be uploaded in APEX (choices: application, workspace, theme, plugin)

Methods

Name Type Description
publish function Publishes the files to APEX

Changelog

See changelog.

License

MIT © Vincent Morneau

Install

npm i apex-publish-static-files

DownloadsWeekly Downloads

13

Version

2.0.2

License

MIT

Unpacked Size

326 kB

Total Files

15

Last publish

Collaborators

  • avatar