dev/build/tasks/build.app.plugins.js
function queryPluginVersion(pluginDir) {
        var pluginXml = path.join(pluginDir, 'plugin.xml');

        var domPluginXml = jsdom.jsdom(fs.readFileSync(pluginXml).toString());
        return $(domPluginXml).find('plugin').attr('version');
    }
function queryPluginVersion(pluginDir) {
        var pluginXml = path.join(pluginDir, 'plugin.xml');

        var domPluginXml = jsdom.jsdom(fs.readFileSync(pluginXml).toString());
        return $(domPluginXml).find('plugin').attr('version');
    }
function queryPluginVersion ( pluginDir ) { var pluginXml = path . join ( pluginDir , 'plugin.xml' ) ; var domPluginXml = jsdom . jsdom ( fs . readFileSync ( pluginXml ) . toString ( ) ) ; return $ ( domPluginXml ) . find ( 'plugin' ) . attr ( 'version' ) ; }
query plugin version.
query plugin version .