Skip to content

Commit

Permalink
Merge pull request #46 from bence-toth/publish-demo-page
Browse files Browse the repository at this point in the history
Publishing demo page
  • Loading branch information
bence-toth authored Aug 16, 2020
2 parents b94c1fe + 2a5567d commit 568b5a6
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 635 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change log

## 1.0.1

Got rid of optional chaining operator as it was causing issues.


## 1.0.0

Initial release.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "triangle-mosaic",
"version": "1.0.0",
"version": "1.0.1",
"description": "Generate colorful triangle-based SVG patterns (like this point_down) with ease.",
"main": "./triangle-mosaic/triangle-mosaic.js",
"repository": {
Expand Down
197 changes: 197 additions & 0 deletions triangle-mosaic-demo/package-lock.json

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

8 changes: 6 additions & 2 deletions triangle-mosaic-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
"classnames": "^2.2.6",
"cypress": "^4.12.1",
"eslint": "^6.8.0",
"gh-pages": "^3.1.0",
"majestic": "^1.7.0",
"npm-check": "^5.9.2",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.3",
"stylelint": "^13.6.1",
"stylelint-config-standard": "^20.0.0"
"stylelint-config-standard": "^20.0.0",
"triangle-mosaic": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -25,7 +27,9 @@
"eslint": "eslint --ext .js,.jsx .",
"stylelint": "stylelint \"./src/**/*.css\"",
"proofread": "alex",
"update": "npm-check -u"
"update": "npm-check -u",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
2 changes: 1 addition & 1 deletion triangle-mosaic-demo/src/components/app/app.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {useEffect, useReducer, useRef, useState} from 'react'
import TriangleMosaic from 'triangle-mosaic'

import Coloring from '../coloring/coloring'
import ColoringPresets from '../coloringPresets/coloringPresets'
Expand All @@ -7,7 +8,6 @@ import Variance from '../variance/variance'
import {useDebounce} from './app.hooks'
import {initialState, reducer} from './app.state'
import {downloadSvg, getConfigFromState} from './app.utility'
import TriangleMosaic from './triangleMosaic'

import './app.css'

Expand Down
Loading

0 comments on commit 568b5a6

Please sign in to comment.