Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Sep 3, 2017
1 parent 050127f commit 6936a8c
Show file tree
Hide file tree
Showing 75 changed files with 176 additions and 181 deletions.
15 changes: 15 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
extends: [
"stylelint-config-standard"
],
rules: {
"custom-property-empty-line-before": null,
"value-list-comma-newline-after": null,
"indentation": 4,
"rule-empty-line-before": null,
"at-rule-empty-line-before": null,
"declaration-empty-line-before": null,
"comment-empty-line-before": null,
"max-empty-lines": null
}
}
15 changes: 0 additions & 15 deletions .stylelintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

With the awesome [PostCSS](http://postcss.org/) and [cssnext](http://cssnext.io/), we can write code in the future's CSS syntax.

Because Mobi.css is made of plugins, we use [lerna](https://github.com/lerna/lerna) to manage mulitple packages.
Because Mobi.css is made of plugins, we use [Lerna](https://github.com/lerna/lerna) to manage mulitple packages.

### Setup

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"packages": [
"packages/*"
],
"version": "3.0.0-beta.3",
"version": "3.0.0",
"npmClient": "npm"
}
14 changes: 0 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,6 @@
"repository": "https://github.com/mobi-css/mobi.css",
"author": "xcatliu <[email protected]>",
"license": "MIT",
"browserslist": [
"last 5 iOS versions",
"last 5 Android versions",
"last 5 ChromeAndroid versions",
"last 5 UCAndroid versions",
"last 5 FirefoxAndroid versions",
"last 5 OperaMini versions",
"last 5 OperaMobile versions",
"last 5 Samsung versions",
"last 3 Chrome versions",
"last 3 Firefox versions",
"last 3 Edge versions",
"last 3 Opera versions"
],
"devDependencies": {
"lerna": "^2.1.2",
"stylelint": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mobi-plugin-button/dist/mobi-plugin-button.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions packages/mobi-plugin-button/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const pkg = require('./package.json');
const SRC_DIR = path.resolve(__dirname, 'src');
const DIST_DIR = path.resolve(__dirname, 'dist');

const prependContent = `/*! ${pkg.name} v${pkg.version} ${pkg.homepage} */\n`;
const prepend = `/*! ${pkg.name} v${pkg.version} ${pkg.homepage} */\n`;

gulp.task('default', ['build'], () => {
gulp.watch([
Expand All @@ -26,8 +26,7 @@ gulp.task('build:css', (callback) => {
buildCss({
src: `${SRC_DIR}/${pkg.name}.css`,
dist: `${DIST_DIR}/${pkg.name}.css`,
minify: false,
prependContent,
prepend,
callback
});
});
Expand All @@ -36,8 +35,8 @@ gulp.task('build:css:min', (callback) => {
buildCss({
src: `${SRC_DIR}/${pkg.name}.css`,
dist: `${DIST_DIR}/${pkg.name}.min.css`,
minify: true,
prependContent,
compress: true,
prepend,
callback
});
});
6 changes: 3 additions & 3 deletions packages/mobi-plugin-button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobi-plugin-button",
"version": "3.0.0-beta.3",
"version": "3.0.0",
"description": "The button plugin for Mobi.css",
"main": "src/index.css",
"scripts": {
Expand All @@ -19,10 +19,10 @@
"license": "MIT",
"homepage": "http://getmobicss.com/docs/button.html",
"dependencies": {
"mobi-theme-base": "^3.0.0-beta.3"
"mobi-theme-base": "^3.0.0"
},
"devDependencies": {
"gulp": "^3.9.1",
"mobi-util-build-css": "^3.0.0-beta.3"
"mobi-util-build-css": "^3.0.0"
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6936a8c

Please sign in to comment.