Skip to content

Commit 90bcac3

Browse files
committed
Rename the folders update ci config.
1 parent 5409994 commit 90bcac3

35 files changed

+6
-9
lines changed

.circleci/config.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ jobs:
88
working_directory: ~/repo
99

1010
steps:
11-
# Checkout and restore dependency cache
1211
- checkout
1312
- restore_cache:
1413
key: v2-dependencies-{{ checksum "yarn.lock" }}
1514

16-
# Download and cache dependencies
1715
- run: yarn global add greenkeeper-lockfile@1 --prefix ~/repo
1816
- run: ~/repo/bin/greenkeeper-lockfile-update
1917
- run: yarn install
@@ -23,9 +21,7 @@ jobs:
2321
- "node_modules"
2422

2523
- run: yarn build
24+
- run: yarn build:demo
2625
- run: yarn format
27-
28-
# run tests and report the coverage
2926
- run: yarn test --coverage && yarn report-coverage
30-
3127
- run: ~/repo/bin/greenkeeper-lockfile-upload

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To install with yarn use
2020

2121
## Usage
2222

23-
Check out the the [examples/](https://github.com/Dean177/with-url-state/tree/master/example) or play with it in [CodeSandbox](https://codesandbox.io/s/18x4l87yx7).
23+
Check out the the [demo](https://dean177.github.io/with-url-state/) view the code in the [demo](https://github.com/Dean177/with-url-state/tree/master/example) or play with it in [CodeSandbox](https://codesandbox.io/s/18x4l87yx7).
2424

2525
Using javascript
2626

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

demo/src/react-app-env.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="react-scripts" />
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@
102102
"main": "dist/withUrlState.js",
103103
"types": "dist/withUrlState.d.ts",
104104
"scripts": {
105-
"build": "rm -rf dist && tsc && yarn build:docs",
106-
"build:demo": "rm -rf demo && cd example && yarn && yarn build && mv build ../demo",
107-
"deploy:demo": "gh-pages -d demo",
105+
"build": "rm -rf dist && tsc",
106+
"build:demo": "rm -rf demo-build && cd demo && yarn && yarn build && mv build ../demo-build",
107+
"deploy:demo": "gh-pages -d demo-build",
108108
"lint": "tslint --fix",
109109
"prettify": "prettier --parser typescript --write",
110110
"format": "yarn lint src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx && yarn prettify src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx",

0 commit comments

Comments
 (0)