diff options
Diffstat (limited to 'semantic/tasks/config/admin')
| -rw-r--r-- | semantic/tasks/config/admin/github.js | 37 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/oauth.example.js | 11 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/release.js | 117 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/README.md | 32 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/bower.json | 29 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/component-package.js | 14 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/composer.json | 22 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/css-package.js | 34 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/less-package.js | 21 | ||||
| -rw-r--r-- | semantic/tasks/config/admin/templates/package.json | 17 |
10 files changed, 0 insertions, 334 deletions
diff --git a/semantic/tasks/config/admin/github.js b/semantic/tasks/config/admin/github.js deleted file mode 100644 index a2c9e20..0000000 --- a/semantic/tasks/config/admin/github.js +++ /dev/null @@ -1,37 +0,0 @@ -/******************************* - GitHub Login -*******************************/ -/* - Logs into GitHub using OAuth -*/ - -var - fs = require('fs'), - path = require('path'), - githubAPI = require('@octokit/rest'), - - // stores oauth info for GitHub API - oAuthConfig = path.join(__dirname, 'oauth.js'), - oAuth = fs.existsSync(oAuthConfig) - ? require(oAuthConfig) - : false, - github -; - -if(!oAuth) { - console.error('Must add oauth token for GitHub in tasks/config/admin/oauth.js'); -} - -github = new githubAPI({ - version : '3.0.0', - debug : true, - protocol : 'https', - timeout : 5000 -}); - -github.authenticate({ - type: 'oauth', - token: oAuth.token -}); - -module.exports = github; diff --git a/semantic/tasks/config/admin/oauth.example.js b/semantic/tasks/config/admin/oauth.example.js deleted file mode 100644 index c4d864a..0000000 --- a/semantic/tasks/config/admin/oauth.example.js +++ /dev/null @@ -1,11 +0,0 @@ -/* - Used to import GitHub Auth Token - To Automate GitHub Updates -*/ - -module.exports = { - token : 'AN-OAUTH2-TOKEN', - username : 'github-username', - name : 'Your Name', - email : '[email protected]' -};
\ No newline at end of file diff --git a/semantic/tasks/config/admin/release.js b/semantic/tasks/config/admin/release.js deleted file mode 100644 index 0eb61e4..0000000 --- a/semantic/tasks/config/admin/release.js +++ /dev/null @@ -1,117 +0,0 @@ -/******************************* - Release Settings -*******************************/ - -// release settings -module.exports = { - - // path to components for repos - source : './dist/components/', - - // modified asset paths for component repos - paths: { - source : '../themes/default/assets/', - output : 'assets/' - }, - - templates: { - bower : './tasks/config/admin/templates/bower.json', - composer : './tasks/config/admin/templates/composer.json', - package : './tasks/config/admin/templates/package.json', - meteor : { - css : './tasks/config/admin/templates/css-package.js', - component : './tasks/config/admin/templates/component-package.js', - less : './tasks/config/admin/templates/less-package.js', - }, - readme : './tasks/config/admin/templates/README.md', - notes : './RELEASE-NOTES.md' - }, - - org : 'Semantic-Org', - repo : 'Semantic-UI', - - // files created for package managers - files: { - composer : 'composer.json', - config : 'semantic.json', - npm : 'package.json', - meteor : 'package.js' - }, - - // root name for distribution repos - distRepoRoot : 'Semantic-UI-', - - // root name for single component repos - componentRepoRoot : 'UI-', - - // root name for package managers - packageRoot : 'semantic-ui-', - - // root path to repos - outputRoot : '../repos/', - - homepage : 'http://www.semantic-ui.com', - - // distributions that get separate repos - distributions: [ - 'LESS', - 'CSS' - ], - - // components that get separate repositories for bower/npm - components : [ - 'accordion', - 'ad', - 'api', - 'breadcrumb', - 'button', - 'card', - 'calendar', - 'checkbox', - 'comment', - 'container', - 'dimmer', - 'divider', - 'dropdown', - 'embed', - 'emoji', - 'feed', - 'flag', - 'form', - 'grid', - 'header', - 'icon', - 'image', - 'input', - 'item', - 'label', - 'list', - 'loader', - 'menu', - 'message', - 'modal', - 'nag', - 'placeholder', - 'popup', - 'progress', - 'rail', - 'slider', - 'rating', - 'reset', - 'reveal', - 'search', - 'segment', - 'shape', - 'sidebar', - 'site', - 'statistic', - 'step', - 'sticky', - 'tab', - 'table', - 'text', - 'toast', - 'transition', - 'visibility' - ] -}; diff --git a/semantic/tasks/config/admin/templates/README.md b/semantic/tasks/config/admin/templates/README.md deleted file mode 100644 index ec1d4eb..0000000 --- a/semantic/tasks/config/admin/templates/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# Semantic {Component} - -This repository contains pre-compiled {component} files using the default themes. This is intended for use in projects that do not need all the bells and whistles of Semantic UI, and want to keep file size to a minimum. - -For the latest changes please see the [Release Notes](https://github.com/Semantic-Org/UI-{Component}/blob/master/RELEASE-NOTES.md) - -**Special Note** -An update in `2.0.8` has fixed an issue which may have prevented some single component modules from working correctly. Please see notes in [this pull request](https://github.com/Semantic-Org/Semantic-UI/pull/2816). - -If you're looking for the full version of Semantic including all components and build tools [check out the main project repository](https://github.com/Semantic-Org/Semantic-UI/tree/1.0) - -#### To install with Bower -``` -bower install semantic-ui-{component} -``` - -#### To install with NPM -``` -npm install semantic-ui-{component} -``` - -#### To install with Meteor -``` -meteor add semantic:ui-{component} -``` - - -## Addendum - -This element's definitions (required class names, html structures) are available in the [UI Docs](http://www.semantic-ui.com) - -Please consider checking out [all the benefits to theming](http://www.learnsemantic.com/guide/expert.html) before using these stand-alone releases. diff --git a/semantic/tasks/config/admin/templates/bower.json b/semantic/tasks/config/admin/templates/bower.json deleted file mode 100644 index ab4951a..0000000 --- a/semantic/tasks/config/admin/templates/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name" : "Component", - "description" : "Component distribution", - "homepage" : "http://www.semantic-ui.com", - "author": { - "name" : "Jack Lukic", - "web" : "http://www.jacklukic.com" - }, - "ignore": [ - "./index.js" - ], - "keywords": [ - "semantic", - "ui", - "css3", - "framework" - ], - "license" : [ - "http://semantic-ui.mit-license.org/" - ], - "ignore": [ - "docs", - "node", - "server", - "spec", - "src", - "test" - ] -} diff --git a/semantic/tasks/config/admin/templates/component-package.js b/semantic/tasks/config/admin/templates/component-package.js deleted file mode 100644 index 74cd51b..0000000 --- a/semantic/tasks/config/admin/templates/component-package.js +++ /dev/null @@ -1,14 +0,0 @@ - -Package.describe({ - name : 'semantic:ui-{component}', - summary : 'Semantic UI - {Component}: Single component release', - version : '{version}', - git : 'git://github.com/Semantic-Org/UI-{Component}.git', -}); - -Package.onUse(function(api) { - api.versionsFrom('1.0'); - api.addFiles([ - {files} - ], 'client'); -}); diff --git a/semantic/tasks/config/admin/templates/composer.json b/semantic/tasks/config/admin/templates/composer.json deleted file mode 100644 index ddc49b9..0000000 --- a/semantic/tasks/config/admin/templates/composer.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name" : "fomantic/ui", - "description" : "Fomantic empowers designers and developers by creating a shared vocabulary for UI.", - "homepage" : "https://fomantic-ui.com", - "authors": [ - { - "name" : "Jack Lukic", - "email": "[email protected]", - "homepage" : "http://www.jacklukic.com", - "role" : "Creator" - } - ], - "keywords": [ - "fomantic", - "fomantic-ui", - "semantic", - "ui", - "css", - "framework" - ], - "license" : "MIT" -}
\ No newline at end of file diff --git a/semantic/tasks/config/admin/templates/css-package.js b/semantic/tasks/config/admin/templates/css-package.js deleted file mode 100644 index 0949ce3..0000000 --- a/semantic/tasks/config/admin/templates/css-package.js +++ /dev/null @@ -1,34 +0,0 @@ -var - where = 'client' // Adds files only to the client -; - -Package.describe({ - name : 'semantic:ui-css', - summary : 'Semantic UI - CSS Release of Semantic UI', - version : '{version}', - git : 'git://github.com/Semantic-Org/Semantic-UI-CSS.git', -}); - -Package.onUse(function(api) { - - api.versionsFrom('1.0'); - - api.use('jquery', 'client'); - - api.addFiles([ - // icons - 'themes/default/assets/fonts/icons.eot', - 'themes/default/assets/fonts/icons.svg', - 'themes/default/assets/fonts/icons.ttf', - 'themes/default/assets/fonts/icons.woff', - 'themes/default/assets/fonts/icons.woff2', - - // flags - 'themes/default/assets/images/flags.png', - - // release - 'semantic.css', - 'semantic.js' - ], 'client'); - -}); diff --git a/semantic/tasks/config/admin/templates/less-package.js b/semantic/tasks/config/admin/templates/less-package.js deleted file mode 100644 index e2f8a25..0000000 --- a/semantic/tasks/config/admin/templates/less-package.js +++ /dev/null @@ -1,21 +0,0 @@ -var - where = 'client' // Adds files only to the client -; - -Package.describe({ - name : 'semantic:ui', - summary : 'Semantic UI - LESS Release of Semantic UI', - version : '{version}', - git : 'git://github.com/Semantic-Org/Semantic-UI-LESS.git', -}); - -Package.onUse(function(api) { - - api.versionsFrom('1.0'); - api.use('less', 'client'); - - api.addFiles([ - {files} - ], 'client'); - -}); diff --git a/semantic/tasks/config/admin/templates/package.json b/semantic/tasks/config/admin/templates/package.json deleted file mode 100644 index 5d96785..0000000 --- a/semantic/tasks/config/admin/templates/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "semantic", - "version": "1.0.0", - "title": "Semantic UI", - "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", - "homepage": "http://www.semantic-ui.com", - "author": "Jack Lukic <[email protected]>", - "license": "MIT", - "repository": { - "type": "git", - "url": "git://github.com/Semantic-Org/Semantic-UI.git" - }, - "bugs": { - "url": "https://github.com/Semantic-Org/Semantic-UI/issues" - }, - "devDependencies": {} -} |