From 2798aaec9e20d7f1d4ef24f5e0c168110a99c143 Mon Sep 17 00:00:00 2001 From: "Md. Alimuzzaman Alim" Date: Tue, 19 Sep 2017 00:49:23 +0600 Subject: [PATCH] [ci skip] Distributive Auto Build --- Gruntfile.js | 231 --------- Makefile | 26 - build.sh | 232 --------- composer.lock | 1252 ------------------------------------------------- package.json | 31 -- 5 files changed, 1772 deletions(-) delete mode 100644 Gruntfile.js delete mode 100644 Makefile delete mode 100644 build.sh delete mode 100644 composer.lock delete mode 100644 package.json diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 2f60c2059..000000000 --- a/Gruntfile.js +++ /dev/null @@ -1,231 +0,0 @@ -/** - * Build Plugin - * - * @author Usability Dynamics, Inc. - * @version 2.0.0 - * @param grunt - */ -module.exports = function build( grunt ) { - - // Automatically Load Tasks. - require( 'load-grunt-tasks' )( grunt, { - pattern: 'grunt-*', - config: './package.json', - scope: 'devDependencies' - }); - - grunt.initConfig( { - - package: grunt.file.readJSON( 'composer.json' ), - - markdown: { - all: { - files: [ - { - expand: true, - src: 'readme.md', - dest: 'static/', - ext: '.html' - } - ], - options: { - markdownOptions: { - gfm: true, - codeLines: { - before: '', - after: '' - } - } - } - } - }, - - // Compile LESS - less: { - production: { - options: { - yuicompress: true, - relativeUrls: true - }, - files: {} - }, - development: { - options: { - relativeUrls: true - }, - files: {} - } - }, - - watch: { - options: { - interval: 100, - debounceDelay: 500 - }, - less: { - files: [ - 'static/styles/src/*.*' - ], - tasks: [ 'less' ] - }, - js: { - files: [ - 'static/scripts/src/*.*' - ], - tasks: [ 'uglify' ] - } - }, - - uglify: { - production: { - options: { - mangle: false, - beautify: false - }, - files: [ - { - expand: true, - cwd: 'static/scripts/src', - src: [ '*.js' ], - dest: 'static/scripts' - } - ] - }, - staging: { - options: { - mangle: false, - beautify: true - }, - files: [ - { - expand: true, - cwd: 'static/scripts/src', - src: [ '*.js' ], - dest: 'static/scripts' - } - ] - } - }, - - clean: { - update: [ - "composer.lock" - ], - all: [ - "vendor", - "composer.lock" - ] - }, - - shell: { - /** - * Make Production Build and create new tag ( release ) on Github. - */ - release: { - command: function( tag ) { - return [ - 'sh build.sh ' + tag - ].join( ' && ' ); - }, - options: { - encoding: 'utf8', - stderr: true, - stdout: true - } - }, - /** - * Runs PHPUnit test, creates code coverage and sends it to Scrutinizer - */ - coverageScrutinizer: { - command: [ - 'grunt phpunit:circleci --coverage-clover=coverage.clover', - 'wget https://scrutinizer-ci.com/ocular.phar', - 'php ocular.phar code-coverage:upload --format=php-clover coverage.clover' - ].join( ' && ' ), - options: { - encoding: 'utf8', - stderr: true, - stdout: true - } - }, - /** - * Runs PHPUnit test, creates code coverage and sends it to Code Climate - */ - coverageCodeClimate: { - command: [ - 'grunt phpunit:circleci --coverage-clover build/logs/clover.xml', - 'CODECLIMATE_REPO_TOKEN='+ process.env.CODECLIMATE_REPO_TOKEN + ' ./vendor/bin/test-reporter' - ].join( ' && ' ), - options: { - encoding: 'utf8', - stderr: true, - stdout: true - } - }, - /** - * Composer Install - */ - install: { - command: function( env ) { - if( typeof env !== 'undefined' && env == 'dev' ) { - return [ - "COMPOSER_CACHE_DIR=/dev/null composer install" - ].join( ' && ' ); - } else { - return [ - "COMPOSER_CACHE_DIR=/dev/null composer install --no-dev", - "rm -rf ./vendor/composer/installers", - "find ./vendor -name .git -exec rm -rf '{}' \\;", - "find ./vendor -name .svn -exec rm -rf '{}' \\;", - ].join( ' && ' ); - } - }, - options: { - encoding: 'utf8', - stderr: true, - stdout: true - } - } - }, - - // Runs PHPUnit Tests - phpunit: { - classes: {}, - options: { - bin: './vendor/bin/phpunit', - }, - local: { - configuration: './test/php/phpunit.xml' - }, - circleci: { - configuration: './test/php/phpunit-circle.xml' - } - } - - }); - - // Register tasks - grunt.registerTask( 'default', [ 'markdown', 'less' , 'uglify' ] ); - - // Run default Tests - grunt.registerTask( 'localtest', [ 'phpunit:local' ] ); - grunt.registerTask( 'test', [ 'phpunit:circleci' ] ); - - // Run coverage tests - grunt.registerTask( 'testscrutinizer', [ 'shell:coverageScrutinizer' ] ); - grunt.registerTask( 'testcodeclimate', [ 'shell:coverageCodeClimate' ] ); - - // Install Environment - grunt.registerTask( 'install', 'Run all my install tasks.', function( env ) { - if ( env == null ) env = 'no-dev'; - grunt.task.run( 'clean:all' ); - grunt.task.run( 'shell:install:' + env ); - }); - - // Make Production Build and create new tag ( release ) on Github. - grunt.registerTask( 'release', 'Run all my release tasks.', function( tag ) { - if ( tag == null ) grunt.warn( 'Release tag must be specified, like release:1.0.0' ); - grunt.task.run( 'shell:release:' + tag ); - }); - -}; diff --git a/Makefile b/Makefile deleted file mode 100644 index c33519a33..000000000 --- a/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -## Build Plugin -## -## - -NAME = stateless-media - -# Default Install Action -default: - npm install - -# Install project -# - Removes composer.lock, vendor -# - Runs composer install --no-dev -# - Removes extra files. -install: - echo Install $(NAME). - make default - grunt install - -# Creates Release with Build Distribution -# Example: -# make TAG=1.0.0 release -release: - @echo Releasing $(NAME). - make default - sh build.sh $(TAG) \ No newline at end of file diff --git a/build.sh b/build.sh deleted file mode 100644 index 2e3dbfa19..000000000 --- a/build.sh +++ /dev/null @@ -1,232 +0,0 @@ -#!/bin/bash - -############################################################################################ -# -# Automatic Distribution Build and Tag creating on GitHub -# -############################################################################################ -# -# Script by default does the following steps: -# - creates temp directory -# - clones git repository there -# - creates temp branch -# - installs composer and nodes dependencies -# - adds vendor directory ( composer dependencies ) to commit -# - clears out build -# - commits build to temp branch -# - creates new tag -# - removes temp branch -# - removes temp directory -# -############################################################################################ -# -# Options: -# - $1 ( $RELEASE_VERSION ) - Required. Tag version which will be created for current build -# -############################################################################################ -# -# Features: -# - The current script generates new Tag on GitHub for your build (Distributive). -# - circleci compatible. It can use the latest commit log for creating new tag via CircleCI. -# Log message should contain [release:{tag}] shortcode -# -############################################################################################ -# -# Examples: -# -# Run remote sh file: -# curl -s https://url-to-release-sh-file.sh | RELEASE_VERSION=1.2.3 sh -# -# Run local sh file -# sh build.sh 1.2.3 -# -# Run grunt task ( see information about gruntfile.js below ) -# grunt release:1.2.3 -# -############################################################################################ -# -# CircleCi -# The current script can be triggered on CircleCi. -# Add the following settings to your circle.yml file: -# -# deployment: -# production: -# branch: master -# commands: -# - sh build.sh -# -# Notes: -# - Log ( commit ) message should contain [release:{tag}] shortcode for running script. -# - script will be triggered only on successful (green) build for 'master' branch in -# current example. -# - in random cases gist file is not available on curl request, I suggest to -# download script and call it directly. -# -# More details about CircleCi deployment: -# https://circleci.com/docs/configuration#deployment -# -############################################################################################ -# -# Gruntfile.js -# -# module.exports = function release( grunt ) { -# -# grunt.initConfig( { -# -# shell: { -# release: { -# command: function( tag ) { -# return 'sh build.sh ' + tag; -# }, -# options: { -# encoding: 'utf8', -# stderr: true, -# stdout: true -# } -# } -# } -# -# } ); -# -# grunt.registerTask( 'release', 'Run release tasks.', function( tag ) { -# if ( tag == null ) grunt.warn( 'Release tag must be specified, like release:1.0.0' ); -# grunt.task.run( 'shell:release:' + tag ); -# }); -# -# } -# -# -###################################################################################### - -echo " " -echo "Running build script..." -echo "---" - -if [ -z $RELEASE_VERSION ] ; then - - # Try to get Tag version which should be created. - if [ -z $1 ] ; then - echo "Tag version parameter is not passed." - echo "Determine if we have [release:{version}] shortcode to deploy new release" - RELEASE_VERSION="$( git log -1 --pretty=%s | sed -n 's/.*\[release\:\(.*\)\].*/\1/p' )" - else - echo "Tag version parameter is "$1 - RELEASE_VERSION=$1 - fi - -else - - echo "Tag version parameter is "$RELEASE_VERSION - -fi - -echo "---" - -if [ -z $RELEASE_VERSION ] ; then - - echo "No [release:{tag}] shortcode found." - echo "Finish process." - exit 0 - -else - - echo "Determine current branch:" - if [ -z $CIRCLE_BRANCH ]; then - CIRCLE_BRANCH=$(git rev-parse --abbrev-ref HEAD) - fi - echo $CIRCLE_BRANCH - echo "---" - - # Remove temp directory if it already exists to prevent issues before proceed - if [ -d temp-build-$RELEASE_VERSION ]; then - rm -rf temp-build-$RELEASE_VERSION - fi - - echo "Create temp directory" - mkdir temp-build-$RELEASE_VERSION - cd temp-build-$RELEASE_VERSION - - echo "Do production build from scratch to temp directory" - ORIGIN_URL="$( git config --get remote.origin.url )" - git clone $ORIGIN_URL - cd "$( basename `git rev-parse --show-toplevel` )" - # Be sure we are on the same branch - git checkout $CIRCLE_BRANCH - echo "---" - - #echo "Clean up structure ( remove composer relations )" - #rm -rf composer.lock - #rm -rf vendor - - #echo "Running: composer install --no-dev --no-interaction" - #composer install --no-dev --no-interaction --quiet - #echo "---" - - echo "Create local and remote temp branch temp-automatic-branch-"$RELEASE_VERSION - git checkout -b temp-branch-$RELEASE_VERSION - git push origin temp-branch-$RELEASE_VERSION - git branch --set-upstream-to=origin/temp-branch-$RELEASE_VERSION temp-branch-$RELEASE_VERSION - echo "---" - - # It's used only by CircleCi. Should not be called directly. - # - #echo "Set configuration to proceed" - #git config --global push.default simple - #git config --global user.email "$( git log -1 --pretty=%an )" - #git config --global user.name "$( git log -1 --pretty=%ae )" - #echo "---" - - echo "Install Node modules to minify composer.json" - npm install - grunt json-minify - - echo "Be sure we do not add node and other specific files needed only for development" - rm -rf vendor/composer/installers - rm -rf coverage.clover - rm -rf ocular.phar - rm -rf build - rm -rf node_modules - rm -rf composer.lock - rm -rf .scrutinizer.yml - rm -rf circle.yml - rm -rf build.sh - rm -rf gruntfile.js - rm -rf makefile - rm -rf package.json - rm -rf test - echo "Be sure we do not add .git directories" - find ./vendor -name .git -exec rm -rf '{}' \; - echo "Be sure we do not add .svn directories" - find ./vendor -name .svn -exec rm -rf '{}' \; - echo "Git Add" - git add --all - echo "Be sure we added vendor directory" - git add -f vendor - echo "---" - - echo "Now commit our build to remote branch" - git commit -m "[ci skip] Distributive Auto Build" --quiet - git pull - git push --quiet - echo "---" - - echo "Finally, create tag "$RELEASE_VERSION - git tag -a $RELEASE_VERSION -m "v"$RELEASE_VERSION" - Distributive Auto Build" - git push origin $RELEASE_VERSION - echo "---" - - echo "Remove local and remote temp branches, but switch to previous branch before" - git checkout $CIRCLE_BRANCH - git push origin --delete temp-branch-$RELEASE_VERSION - git branch -D temp-branch-$RELEASE_VERSION - echo "---" - - # Remove temp directory. - echo "Remove temp directory" - cd ../.. - rm -rf temp-build-$RELEASE_VERSION - echo "---" - - echo "Done" - -fi diff --git a/composer.lock b/composer.lock deleted file mode 100644 index 7fc0f133f..000000000 --- a/composer.lock +++ /dev/null @@ -1,1252 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "content-hash": "7281424f7094d1a457772c7fcfde06da", - "packages": [ - { - "name": "ccampbell/chromephp", - "version": "4.1.0", - "source": { - "type": "git", - "url": "https://github.com/ccampbell/chromephp.git", - "reference": "c3c297615d48ae5b2a86a82311152d1ed095fcef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ccampbell/chromephp/zipball/c3c297615d48ae5b2a86a82311152d1ed095fcef", - "reference": "c3c297615d48ae5b2a86a82311152d1ed095fcef", - "shasum": "" - }, - "require": { - "php": ">=5.0.0" - }, - "type": "library", - "autoload": { - "psr-0": { - "ChromePhp": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Craig Campbell", - "email": "iamcraigcampbell@gmail.com", - "homepage": "http://craig.is", - "role": "Developer" - } - ], - "description": "Log variables to the Chrome console (via Chrome Logger Google Chrome extension).", - "homepage": "http://github.com/ccampbell/chromephp", - "keywords": [ - "log", - "logging" - ], - "time": "2013-06-26T03:44:33+00:00" - }, - { - "name": "composer/installers", - "version": "v1.4.0", - "source": { - "type": "git", - "url": "https://github.com/composer/installers.git", - "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b", - "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0" - }, - "replace": { - "roundcube/plugin-installer": "*", - "shama/baton": "*" - }, - "require-dev": { - "composer/composer": "1.0.*@dev", - "phpunit/phpunit": "4.1.*" - }, - "type": "composer-plugin", - "extra": { - "class": "Composer\\Installers\\Plugin", - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Installers\\": "src/Composer/Installers" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kyle Robinson Young", - "email": "kyle@dontkry.com", - "homepage": "https://github.com/shama" - } - ], - "description": "A multi-framework Composer library installer", - "homepage": "https://composer.github.io/installers/", - "keywords": [ - "Craft", - "Dolibarr", - "Eliasis", - "Hurad", - "ImageCMS", - "Kanboard", - "Lan Management System", - "MODX Evo", - "Mautic", - "Maya", - "OXID", - "Plentymarkets", - "Porto", - "RadPHP", - "SMF", - "Thelia", - "WolfCMS", - "agl", - "aimeos", - "annotatecms", - "attogram", - "bitrix", - "cakephp", - "chef", - "cockpit", - "codeigniter", - "concrete5", - "croogo", - "dokuwiki", - "drupal", - "eZ Platform", - "elgg", - "expressionengine", - "fuelphp", - "grav", - "installer", - "itop", - "joomla", - "kohana", - "laravel", - "lavalite", - "lithium", - "magento", - "mako", - "mediawiki", - "modulework", - "moodle", - "osclass", - "phpbb", - "piwik", - "ppi", - "puppet", - "reindex", - "roundcube", - "shopware", - "silverstripe", - "sydes", - "symfony", - "typo3", - "wordpress", - "yawik", - "zend", - "zikula" - ], - "time": "2017-08-09T07:53:48+00:00" - }, - { - "name": "usabilitydynamics/lib-settings", - "version": "0.2.3", - "source": { - "type": "git", - "url": "git@github.com:UsabilityDynamics/lib-settings", - "reference": "0.2.3" - }, - "dist": { - "type": "zip", - "url": "https://github.com/UsabilityDynamics/lib-settings/archive/0.2.3.zip", - "reference": "0.2.3", - "shasum": null - }, - "require": { - "usabilitydynamics/lib-utility": "~0.3" - }, - "require-dev": { - "justinrainbow/json-schema": "1.1.*" - }, - "type": "library", - "extra": { - "component": { - "scripts": [ - "static/scripts/settings.js" - ], - "templates": [ - "static/views/new-installation.xhtml" - ], - "files": [ - "static/schemas/settings.json" - ] - }, - "installer-name": "lib-settings" - }, - "autoload": { - "classmap": [ - "lib" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andy Potanin", - "email": "andy.potanin@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - }, - { - "name": "Maxim Peshkov", - "email": "maxim.peshkov@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - }, - { - "name": "Anton Korotkov", - "email": "anton.korotkov@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - } - ], - "homepage": "http://github.com/usabilitydynamics/lib-settings", - "keywords": [ - "settings" - ] - }, - { - "name": "usabilitydynamics/lib-utility", - "version": "0.3.7", - "source": { - "type": "git", - "url": "git@github.com:UsabilityDynamics/lib-utility", - "reference": "0.3.7" - }, - "dist": { - "type": "zip", - "url": "https://github.com/UsabilityDynamics/lib-utility/archive/0.3.7.zip", - "reference": "0.3.7", - "shasum": null - }, - "require-dev": { - "phpunit/phpunit": "4.1.*" - }, - "type": "library", - "extra": { - "installer-name": "lib-utility", - "component": { - "name": "utility", - "scripts": [ - "scripts/*.js" - ] - } - }, - "autoload": { - "classmap": [ - "lib" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andy Potanin", - "email": "andy.potanin@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - }, - { - "name": "Maxim Peshkov", - "email": "maxim.peshkov@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - }, - { - "name": "Anton Korotkov", - "email": "anton.korotkov@usabilitydynamics.com", - "homepage": "http://usabilitydynamics.com", - "role": "Developer" - } - ], - "keywords": [ - "job", - "process", - "utility" - ] - }, - { - "name": "usabilitydynamics/lib-wp-bootstrap", - "version": "1.2.2", - "source": { - "type": "git", - "url": "git@github.com:UsabilityDynamics/lib-wp-bootstrap", - "reference": "1.2.2" - }, - "dist": { - "type": "zip", - "url": "https://github.com/UsabilityDynamics/lib-wp-bootstrap/archive/1.2.2.zip", - "reference": "1.2.2", - "shasum": null - }, - "require": { - "php": ">=5.3", - "usabilitydynamics/lib-utility": "~0.3" - }, - "type": "library", - "extra": { - "installer-name": "lib-wp-bootstrap" - }, - "autoload": { - "classmap": [ - "lib/classes" - ] - }, - "license": [ - "MIT" - ], - "description": "Wordpress bootstrap library created by UsabilityDynamics", - "homepage": "https://github.com/UsabilityDynamics/lib-wp-bootstrap", - "keywords": [ - "wordpress" - ] - } - ], - "packages-dev": [ - { - "name": "codeclimate/php-test-reporter", - "version": "v0.4.4", - "source": { - "type": "git", - "url": "https://github.com/codeclimate/php-test-reporter.git", - "reference": "eab9ac233f23a4c12a12755793750f22fc46dd3e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/eab9ac233f23a4c12a12755793750f22fc46dd3e", - "reference": "eab9ac233f23a4c12a12755793750f22fc46dd3e", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "padraic/phar-updater": "^1.0", - "php": "^5.3 || ^7.0", - "psr/log": "^1.0", - "satooshi/php-coveralls": "^1.0", - "symfony/console": "^2.0 || ^3.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0.0", - "phpunit/phpunit": "^4.8.31" - }, - "bin": [ - "composer/bin/test-reporter" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.3.x-dev" - } - }, - "autoload": { - "psr-4": { - "CodeClimate\\PhpTestReporter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Code Climate", - "email": "hello@codeclimate.com", - "homepage": "https://codeclimate.com" - } - ], - "description": "PHP client for reporting test coverage to Code Climate", - "homepage": "https://github.com/codeclimate/php-test-reporter", - "keywords": [ - "codeclimate", - "coverage" - ], - "time": "2017-02-15T22:25:47+00:00" - }, - { - "name": "composer/ca-bundle", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", - "reference": "b17e6153cb7f33c7e44eb59578dc12eee5dc8e12", - "shasum": "" - }, - "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.5", - "psr/log": "^1.0", - "symfony/process": "^2.5 || ^3.0" - }, - "suggest": { - "symfony/process": "This is necessary to reliably check whether openssl_x509_parse is vulnerable on older php versions, but can be ignored on PHP 5.5.6+" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\CaBundle\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } - ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", - "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" - ], - "time": "2017-03-06T11:59:08+00:00" - }, - { - "name": "guzzle/guzzle", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle3.git", - "reference": "f7778ed85e3db90009d79725afd6c3a82dab32fe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/f7778ed85e3db90009d79725afd6c3a82dab32fe", - "reference": "f7778ed85e3db90009d79725afd6c3a82dab32fe", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=5.3.3", - "symfony/event-dispatcher": "~2.1" - }, - "replace": { - "guzzle/batch": "self.version", - "guzzle/cache": "self.version", - "guzzle/common": "self.version", - "guzzle/http": "self.version", - "guzzle/inflection": "self.version", - "guzzle/iterator": "self.version", - "guzzle/log": "self.version", - "guzzle/parser": "self.version", - "guzzle/plugin": "self.version", - "guzzle/plugin-async": "self.version", - "guzzle/plugin-backoff": "self.version", - "guzzle/plugin-cache": "self.version", - "guzzle/plugin-cookie": "self.version", - "guzzle/plugin-curlauth": "self.version", - "guzzle/plugin-error-response": "self.version", - "guzzle/plugin-history": "self.version", - "guzzle/plugin-log": "self.version", - "guzzle/plugin-md5": "self.version", - "guzzle/plugin-mock": "self.version", - "guzzle/plugin-oauth": "self.version", - "guzzle/service": "self.version", - "guzzle/stream": "self.version" - }, - "require-dev": { - "doctrine/cache": "~1.3", - "monolog/monolog": "~1.0", - "phpunit/phpunit": "3.7.*", - "psr/log": "~1.0", - "symfony/class-loader": "~2.1", - "zendframework/zend-cache": "2.*,<2.3", - "zendframework/zend-log": "2.*,<2.3" - }, - "suggest": { - "guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.9-dev" - } - }, - "autoload": { - "psr-0": { - "Guzzle": "src/", - "Guzzle\\Tests": "tests/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Guzzle Community", - "homepage": "https://github.com/guzzle/guzzle/contributors" - } - ], - "description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "abandoned": "guzzlehttp/guzzle", - "time": "2016-10-26T18:22:07+00:00" - }, - { - "name": "padraic/humbug_get_contents", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/humbug/file_get_contents.git", - "reference": "6e6c47af83cb98c610f4ba7d06ee809ad59ede1b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/humbug/file_get_contents/zipball/6e6c47af83cb98c610f4ba7d06ee809ad59ede1b", - "reference": "6e6c47af83cb98c610f4ba7d06ee809ad59ede1b", - "shasum": "" - }, - "require": { - "composer/ca-bundle": "^1.0", - "ext-openssl": "*", - "php": "^5.3 || ^7.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.1", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0" - }, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": false - }, - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "psr-4": { - "Humbug\\": "src/" - }, - "files": [ - "src/function.php", - "src/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Théo Fidry", - "email": "theo.fidry@gmail.com" - } - ], - "description": "Secure wrapper for accessing HTTPS resources with file_get_contents for PHP 5.3+", - "homepage": "https://github.com/padraic/file_get_contents", - "keywords": [ - "download", - "file_get_contents", - "http", - "https", - "ssl", - "tls" - ], - "time": "2017-07-10T10:32:34+00:00" - }, - { - "name": "padraic/phar-updater", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/humbug/phar-updater.git", - "reference": "5c28f00c6cb865c462b8037ccb5f469170a1ffb7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/humbug/phar-updater/zipball/5c28f00c6cb865c462b8037ccb5f469170a1ffb7", - "reference": "5c28f00c6cb865c462b8037ccb5f469170a1ffb7", - "shasum": "" - }, - "require": { - "padraic/humbug_get_contents": "^1.0", - "php": "^5.6|^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.5|^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Humbug\\SelfUpdate\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - } - ], - "description": "A thing to make PHAR self-updating easy and secure.", - "keywords": [ - "humbug", - "phar", - "self-update", - "update" - ], - "time": "2017-07-24T07:58:33+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2016-10-10T12:19:37+00:00" - }, - { - "name": "satooshi/php-coveralls", - "version": "1.0.x-dev", - "source": { - "type": "git", - "url": "https://github.com/satooshi/php-coveralls.git", - "reference": "e02ed56ef613d833a07cce714b4fe81a457db768" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/e02ed56ef613d833a07cce714b4fe81a457db768", - "reference": "e02ed56ef613d833a07cce714b4fe81a457db768", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-simplexml": "*", - "guzzle/guzzle": "^2.8 || ^3.0", - "php": "^5.3.3 || ^7.0", - "psr/log": "^1.0", - "symfony/config": "^2.1 || ^3.0", - "symfony/console": "^2.1 || ^3.0", - "symfony/stopwatch": "^2.0 || ^3.0", - "symfony/yaml": "^2.0 || ^3.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.4.3" - }, - "suggest": { - "symfony/http-kernel": "Allows Symfony integration" - }, - "bin": [ - "bin/coveralls" - ], - "type": "library", - "autoload": { - "psr-4": { - "Satooshi\\": "src/Satooshi/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kitamura Satoshi", - "email": "with.no.parachute@gmail.com", - "homepage": "https://www.facebook.com/satooshi.jp" - } - ], - "description": "PHP client library for Coveralls API", - "homepage": "https://github.com/satooshi/php-coveralls", - "keywords": [ - "ci", - "coverage", - "github", - "test" - ], - "time": "2017-07-31T23:12:30+00:00" - }, - { - "name": "symfony/config", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/config.git", - "reference": "d668d8c0502d2b485c00d107db65fdbc56c26282" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/d668d8c0502d2b485c00d107db65fdbc56c26282", - "reference": "d668d8c0502d2b485c00d107db65fdbc56c26282", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/filesystem": "~2.8|~3.0|~4.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.3", - "symfony/finder": "<3.3" - }, - "require-dev": { - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/finder": "~3.3|~4.0", - "symfony/yaml": "~3.0|~4.0" - }, - "suggest": { - "symfony/yaml": "To use the yaml reference dumper" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Config Component", - "homepage": "https://symfony.com", - "time": "2017-08-05T17:34:46+00:00" - }, - { - "name": "symfony/console", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "b789be584eeefa72bcc0d726b6da451e5d24a6df" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/b789be584eeefa72bcc0d726b6da451e5d24a6df", - "reference": "b789be584eeefa72bcc0d726b6da451e5d24a6df", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.3", - "symfony/process": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Console Component", - "homepage": "https://symfony.com", - "time": "2017-08-24T14:43:56+00:00" - }, - { - "name": "symfony/debug", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "50bda5b4b8641616d45254c6855bcd45f2f64187" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/50bda5b4b8641616d45254c6855bcd45f2f64187", - "reference": "50bda5b4b8641616d45254c6855bcd45f2f64187", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Debug Component", - "homepage": "https://symfony.com", - "time": "2017-08-10T07:07:17+00:00" - }, - { - "name": "symfony/event-dispatcher", - "version": "2.8.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "1377400fd641d7d1935981546aaef780ecd5bf6d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/1377400fd641d7d1935981546aaef780ecd5bf6d", - "reference": "1377400fd641d7d1935981546aaef780ecd5bf6d", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^2.0.5|~3.0.0", - "symfony/dependency-injection": "~2.6|~3.0.0", - "symfony/expression-language": "~2.6|~3.0.0", - "symfony/stopwatch": "~2.3|~3.0.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.8-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com", - "time": "2017-06-02T07:47:27+00:00" - }, - { - "name": "symfony/filesystem", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "e4d366b620c8b6e2d4977c154f6a1d5b416db4dd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/e4d366b620c8b6e2d4977c154f6a1d5b416db4dd", - "reference": "e4d366b620c8b6e2d4977c154f6a1d5b416db4dd", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Filesystem Component", - "homepage": "https://symfony.com", - "time": "2017-08-03T09:34:20+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803", - "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.5-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "time": "2017-06-14T15:44:48+00:00" - }, - { - "name": "symfony/stopwatch", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "1f8ea2f7ed0c06537330757b285a3ddb15b76b66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/1f8ea2f7ed0c06537330757b285a3ddb15b76b66", - "reference": "1f8ea2f7ed0c06537330757b285a3ddb15b76b66", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Stopwatch\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Stopwatch Component", - "homepage": "https://symfony.com", - "time": "2017-08-03T09:34:20+00:00" - }, - { - "name": "symfony/yaml", - "version": "3.4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "5a58daa633a14651d7b2a34613c9b62c02faf873" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/5a58daa633a14651d7b2a34613c9b62c02faf873", - "reference": "5a58daa633a14651d7b2a34613c9b62c02faf873", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "conflict": { - "symfony/console": "<3.4" - }, - "require-dev": { - "symfony/console": "~3.4|~4.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "time": "2017-08-24T14:43:56+00:00" - } - ], - "aliases": [], - "minimum-stability": "dev", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "php": ">=5.4" - }, - "platform-dev": { - "php": ">=5.4" - } -} diff --git a/package.json b/package.json deleted file mode 100644 index 8f1b25aa9..000000000 --- a/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "wp-stateless", - "title": "WP-Stateless", - "description": "wpCloud Stateless Media for GCE", - "version": "2.1.0", - "homepage": "https://usabilitydynamics.com", - "author": { - "name": "UsabilityDynamics, Inc.", - "url": "https://usabilitydynamics.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/wpCloud/wp-stateless" - }, - "engines": { - "node": ">= 0.10.0" - }, - "dependencies": { - "load-grunt-tasks": "^0.6.0", - "grunt": "^0.4.5" - }, - "devDependencies": { - "grunt-contrib-clean": "~0.5.0", - "grunt-markdown": "~0.4.0", - "grunt-contrib-less": "~0.8.3", - "grunt-contrib-uglify": "~0.2.4", - "grunt-contrib-watch": "~0.5.3", - "grunt-phpunit": "~0.3.3", - "grunt-shell": "~0.6.0" - } -}