Skip to content

Commit

Permalink
feat(Build): switched to postcss resin build, semantic-release, and g…
Browse files Browse the repository at this point in the history
…reenkeeper
  • Loading branch information
GarthDB committed Sep 8, 2016
1 parent e908f16 commit 6f5d46a
Show file tree
Hide file tree
Showing 20 changed files with 129 additions and 291 deletions.
20 changes: 20 additions & 0 deletions .cz-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

module.exports = {

types: [
{value: 'feat', name: 'feat: A new feature'},
{value: 'fix', name: 'fix: A bug fix'},
{value: 'docs', name: 'docs: Documentation only changes'},
{value: 'style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)'},
{value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature'},
{value: 'perf', name: 'perf: A code change that improves performance'},
{value: 'test', name: 'test: Adding missing tests'},
{value: 'chore', name: 'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation'},
{value: 'revert', name: 'revert: Revert to a commit'},
{value: 'WIP', name: 'WIP: Work in progress'}
],

allowBreakingChanges: ['feat', 'fix', 'perf']

};
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
.DS_Store
tmp
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

node_modules
npm-debug.log
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test
.*
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: node_js
node_js:
- "0.10"
before_install:
- "npm install -g grunt-cli"
node_js: "6"
after_success:
- npm run semantic-release
71 changes: 0 additions & 71 deletions Gruntfile.js

This file was deleted.

3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -200,4 +199,4 @@ Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
Topcoat Input Base
==================
# Topcoat Select Base

This is the base component for Topcoat inputs.
It supplies the css resets needed to style an input as well as the lowest level
component for baseline testing of performance.

[![Build Status](https://travis-ci.org/topcoat/input-base.png?branch=fixes)](https://travis-ci.org/topcoat/input-base)
[![Build Status](https://travis-ci.org/topcoat/select-base.svg?branch=master)](https://travis-ci.org/topcoat/select-base) [![npm version](https://badge.fury.io/js/topcoat-select-base.svg)](https://badge.fury.io/js/topcoat-select-base)

[![NPM](https://nodei.co/npm/topcoat-input-base.png)](https://nodei.co/npm/topcoat-input-base/)
---

This is the base component for Topcoat select.
It supplies the css resets needed to style an input as well as the lowest level
component for baseline testing of performance.
11 changes: 11 additions & 0 deletions css/select-base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.select {
extend: %select;
}

.select::-ms-expand {
extend: %select--ms;
}

.select:disabled {
extend: %select--disabled;
}
47 changes: 0 additions & 47 deletions css/select.css

This file was deleted.

1 change: 0 additions & 1 deletion css/select.min.css

This file was deleted.

42 changes: 0 additions & 42 deletions index.html

This file was deleted.

52 changes: 30 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"name": "topcoat-select-base",
"version": "0.0.4",
"description": "Topcoat select base",
"main": "index.html",
"style": "src/select.css",
"style": "src/select-base",
"directories": {
"test": "test",
"lib": "src",
"bin": "css"
"test": "test"
},
"scripts": {
"test": "grunt test",
"prepublish": "grunt"
"test": "ava test",
"prepublish": "rsn -p './' -o ./css/select-base.css ./test/select-base.fixture.css",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git://github.com/topcoat/select-base.git"
"url": "https://github.com/topcoat/select-base.git"
},
"keywords": [
"input",
Expand All @@ -24,23 +22,33 @@
"base",
"adobe"
],
"author": "Garth Braithwaite (http://garthdb.com/)",
"author": "Garth Braithwaite <[email protected]> (http://garthdb.com)",
"contributors": [
"Kristofer Joseph (http://twitter.com/dam)",
"Garth Braithwaite (http://garthdb.com/)"
"Kristofer Joseph <[email protected]> (http://kristoferjoseph.com/)"
],
"license": "Apache",
"devDependencies": {
"grunt": "0.4.1",
"grunt-contrib-watch": "0.4.4",
"grunt-contrib-cssmin": "0.6.1",
"grunt-contrib-jade": "0.7.0",
"grunt-contrib-clean": "0.5.0",
"grunt-simple-mocha": "0.4.0",
"grunt-rework": "0.0.6",
"grunt-topcoat": "0.1.3"
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/topcoat/topcoat/issues"
},
"homepage": "http://topcoat.io",
"dependencies": {
"topcoat-utils": "0.3.0"
"topcoat-utils": "^1.0.0"
},
"devDependencies": {
"autoprefixer": "^6.4.0",
"ava": "^0.16.0",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.14.0",
"cz-customizable": "^4.0.0",
"mocha": "^3.0.2",
"resin": "^1.2.0",
"semantic-release": "^4.3.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
}
}
}
14 changes: 14 additions & 0 deletions src/select-base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@import "topcoat-utils";

%select {
@extend %reset-input;
appearance: none;
@extend %inline-block;
@extend %reset-cursor;
}
%select--ms {
display: none;
}
%select--disabled {
@extend %disabled;
}
32 changes: 0 additions & 32 deletions src/select.css

This file was deleted.

Loading

0 comments on commit 6f5d46a

Please sign in to comment.