From 382c185c3bb63e48163077fe5301ac52cd0d0600 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 6 Nov 2018 17:06:01 +0100 Subject: [PATCH] v1.0.0 (#204) --- README.md | 22 ++++------------------ examples/react/basic/package.json | 4 ++-- packages/angular/package.json | 8 ++++---- packages/core/package.json | 2 +- packages/react/package.json | 6 ++---- packages/schematics/package.json | 2 +- scripts/release.sh | 0 7 files changed, 14 insertions(+), 30 deletions(-) mode change 100644 => 100755 scripts/release.sh diff --git a/README.md b/README.md index 36db23fa..cc636980 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,10 @@ Loona works with [**React**](./packages/react/README.md) and [**Angular**](./pac All of the documentation for Loona including usage articles and helpful recipes lives on [loonajs.com](https://loonajs.com). +## Read about Loona + +- [Introducing Loona](https://medium.com/the-guild/loona-state-management-graphql-77baf6734f1) + ## Features - **Single store** - Keep your remote and local data in just one space and make it a single source of truth. @@ -39,24 +43,6 @@ It also uses a concept of: By having it all, Loona helps you to keep every piece of your data's flow separated. -## Example - -Check out [loonajs.com](https://loonajs.com) - -```typescript -@State({ - defaults: { - notes: [], - }, -}) -export class NotesState { - // Resolvers - // Mutations - // Updates - // Action handlers -} -``` - --- ## Contributing diff --git a/examples/react/basic/package.json b/examples/react/basic/package.json index b108c43c..5309d1db 100644 --- a/examples/react/basic/package.json +++ b/examples/react/basic/package.json @@ -1,9 +1,9 @@ { "name": "examples-react-basic", - "version": "1.0.0-beta.6", + "version": "1.0.0", "private": true, "dependencies": { - "@loona/react": "1.0.0-beta.6", + "@loona/react": "1.0.0", "@material-ui/core": "3.1.0", "@material-ui/icons": "3.0.1", "apollo-cache-inmemory": "1.3.7", diff --git a/packages/angular/package.json b/packages/angular/package.json index 0d97d139..49b44fbe 100644 --- a/packages/angular/package.json +++ b/packages/angular/package.json @@ -1,6 +1,6 @@ { "name": "@loona/angular", - "version": "1.0.0-beta.6", + "version": "1.0.0", "description": "App State Management done with GraphQL (angular integration)", "author": "Kamil Kisiela ", "license": "MIT", @@ -34,8 +34,8 @@ "release:canary": "yarn build && npm publish build --tag canary" }, "peerDependencies": { - "@angular/core": "^6.1.0 || ^7.0.0", - "apollo-angular": "^1.2.0", + "@angular/core": "^6.1.0 && ^7.0.0", + "apollo-angular": "^1.3.0", "apollo-client": "^2.3.0", "apollo-cache": "^1.0.0", "apollo-link": "^1.0.0", @@ -43,7 +43,7 @@ "rxjs": "^6.0.0" }, "dependencies": { - "@loona/core": "1.0.0-beta.6" + "@loona/core": "1.0.0" }, "devDependencies": { "@angular/common": "7.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index d01ddf63..8fdf6287 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@loona/core", - "version": "1.0.0-beta.6", + "version": "1.0.0", "description": "App State Management done with GraphQL (core package)", "author": "Kamil Kisiela ", "license": "MIT", diff --git a/packages/react/package.json b/packages/react/package.json index 66f56d3a..b00decba 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@loona/react", - "version": "1.0.0-beta.6", + "version": "1.0.0", "description": "App State Management done with GraphQL (react integration)", "author": "Kamil Kisiela ", "license": "MIT", @@ -40,13 +40,11 @@ "react-apollo": "^2.1.0" }, "dependencies": { - "@loona/core": "1.0.0-beta.6", - "invariant": "^2.2.2", + "@loona/core": "1.0.0", "prop-types": "^15.6.0" }, "devDependencies": { "@types/graphql": "14.0.3", - "@types/invariant": "2.2.29", "@types/jest": "23.3.9", "@types/prop-types": "15.5.6", "@types/react": "16.4.18", diff --git a/packages/schematics/package.json b/packages/schematics/package.json index f14a191a..2f8c9a3b 100644 --- a/packages/schematics/package.json +++ b/packages/schematics/package.json @@ -1,7 +1,7 @@ { "name": "@loona/schematics", - "version": "1.0.0-beta.6", + "version": "1.0.0", "description": "Loona Angular Schematics", "author": "Kamil Kisiela ", "license": "MIT", diff --git a/scripts/release.sh b/scripts/release.sh old mode 100644 new mode 100755