Skip to content

Commit

Permalink
0.2.8
Browse files Browse the repository at this point in the history
- moves from psychic-ui to psychic.css (reduces bundle from 257 KB -> 239 KB *7%*)
- updates dependencies
  • Loading branch information
gabrielcsapo committed Nov 14, 2017
1 parent 8499e40 commit 0dd7b2a
Show file tree
Hide file tree
Showing 14 changed files with 49 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ package-lock.json
./webpack.config.js
build.json
packed
npm-debug.log
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.2.8 (11/13/2017)

- moves from psychic-ui to psychic.css (reduces bundle from 257 KB -> 239 KB *7%*)
- updates dependencies

# 0.2.7 (10/12/2017)

- adds babel-minify-webpack-plugin which reduces build output from 345K to 263 KB
Expand Down
18 changes: 16 additions & 2 deletions docs/example/index.html

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions docs/index.html

Large diffs are not rendered by default.

Binary file modified docs/storybook/favicon.ico
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/storybook/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<body>
<div id="root"></div>
<div id="error-display"></div>
<script src="static/preview.b4ae893162335424b687.bundle.js"></script>
<script src="static/preview.4f7979be0ad749f0e90c.bundle.js"></script>
</body>
</html>

4 changes: 2 additions & 2 deletions docs/storybook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="storybook-version" content="3.2.11">
<meta name="storybook-version" content="3.2.15">
<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<title>Storybook</title>
<style>
Expand Down Expand Up @@ -40,7 +40,7 @@
</head>
<body style="margin: 0;">
<div id="root"></div>
<script src="static/manager.fc8f59dc2d041a54093c.bundle.js"></script>
<script src="static/manager.1f9871cfb2b4dfc6705c.bundle.js"></script>
</body>
</html>

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "build.sh",
"version": "0.2.7",
"version": "0.2.8",
"description": "🔨 run and visualize the build process",
"repository": {
"type": "https",
Expand All @@ -15,7 +15,7 @@
"lint": "eslint .",
"test": "tape test/**.js",
"coverage": "tap test --coverage --coverage-report=lcov --no-browser",
"generate-docs": "jsdoc -c jsdoc.json",
"generate-docs": "tryitout && jsdoc -c jsdoc.json",
"pack": "pkg bin/build.js -c package.json -o packed/build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o ./docs/storybook"
Expand All @@ -26,7 +26,7 @@
"author": "Gabriel J. Csapo <[email protected]>",
"license": "ISC",
"dependencies": {
"async": "^2.5.0",
"async": "^2.6.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-minify-webpack-plugin": "^0.2.0",
Expand All @@ -40,27 +40,27 @@
"html-webpack-inline-source-plugin": "0.0.9",
"html-webpack-plugin": "^2.30.1",
"js-yaml": "^3.10.0",
"log-update": "^2.1.0",
"log-update": "^2.3.0",
"opn": "^5.1.0",
"prop-types": "^15.6.0",
"psychic.css": "0.0.1",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react": "^16.1.1",
"react-dom": "^16.1.1",
"shelljs": "^0.7.8",
"style-loader": "^0.19.0",
"webpack": "^3.7.1"
"webpack": "^3.8.1"
},
"devDependencies": {
"@storybook/addon-actions": "^3.2.12",
"@storybook/react": "^3.2.12",
"@storybook/addon-actions": "^3.2.15",
"@storybook/react": "^3.2.15",
"docdash": "^0.4.0",
"eslint": "^4.8.0",
"eslint": "^4.11.0",
"eslint-plugin-react": "^7.4.0",
"jsdoc": "^3.5.5",
"pkg": "^4.2.5",
"tap": "^10.7.1",
"pkg": "^4.2.6",
"tap": "^10.7.3",
"tape": "^4.8.0",
"tryitout": "^0.3.4"
"tryitout": "^1.1.1"
},
"pkg": {
"scripts": [
Expand All @@ -69,7 +69,7 @@
],
"assets": [
"src/**/*",
"node_modules/psychic-css/dist/psychic-min.css"
"node_modules/psychic.css/dist/psychic.min.css"
],
"targets": [
"node8-macos-x64",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'psychic-css/dist/psychic-min.css';
import 'psychic.css/dist/psychic.min.css';
import './style.css';

import React from 'react';
Expand Down
9 changes: 5 additions & 4 deletions tryitout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ module.exports = {
</div>
</div>
`,
template: 'landing',
options: {
width: '100%'
},
footer: {
author: 'Made with 🐒 by @gabrielcsapo',
website: 'http://www.gabrielcsapo.com'
}
output: './docs',
footer: `
<div class="text-black">Made with ☕️ by <a href="http://www.gabrielcsapo.com">@gabrielcsapo</a></div>
`
};

0 comments on commit 0dd7b2a

Please sign in to comment.