Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 3a407e0

Browse files
authored
Merge pull request #16 from agile-ts/0.0.5
0.0.5
2 parents de14790 + 3f691d5 commit 3a407e0

File tree

87 files changed

+19801
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+19801
-49
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ yarn-error.log*
2020
*.sln
2121
*.sw*
2222
sync.js
23+
*.log
2324

2425
# Generated files from build
2526
src/*.js

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.0.5](https://github.com/agile-ts/agile/compare/v0.0.4...v0.0.5) (2020-11-05)
7+
8+
**Note:** Version bump only for package agile
9+
10+
11+
12+
13+
614
## 0.0.4 (2020-11-03)
715

816
**Note:** Version bump only for package agile

ReadMe.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Agile Framework `v0.0.4`
1+
# Agile Framework `v0.0.5`
22

33
_Agile is a global state and logic framework for reactive Typescript & Javascript applications. Supporting frameworks like React and React Native._
44

@@ -22,7 +22,10 @@ _Agile is a global state and logic framework for reactive Typescript & Javascrip
2222
<img src="https://img.shields.io/github/repo-size/agile-ts/agile.svg" alt="GitHub Repo Size"></a>
2323

2424

25-
##### Agile is strongly inspired by [PulseJs](https://github.com/pulse-framework/pulse)
25+
##### Agile is inspired by [PulseJs](https://github.com/pulse-framework/pulse)
26+
Agile has a similar syntax as [PulseJs](https://pulsejs.org/) and works slightly different under the hood.
27+
Maybe a little more sophisticated and extensible
28+
**BUT** I would recommend you to use PulfseJS right away as it is supported by a cool community and has nearly all features AgileTs offers.
2629

2730
| Name | Latest Version |
2831
| ------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[android]
3+
target = Google Inc.:Google APIs:23
4+
5+
[maven_repositories]
6+
central = https://repo1.maven.org/maven2
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native-community',
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
6+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -text
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
24+
# Android/IntelliJ
25+
#
26+
build/
27+
.idea
28+
.gradle
29+
local.properties
30+
*.iml
31+
32+
# Visual Studio Code
33+
#
34+
.vscode/
35+
36+
# node.js
37+
#
38+
node_modules/
39+
npm-debug.log
40+
yarn-error.log
41+
42+
# BUCK
43+
buck-out/
44+
\.buckd/
45+
*.keystore
46+
!debug.keystore
47+
48+
# fastlane
49+
#
50+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
51+
# screenshots whenever they are needed.
52+
# For more information about the recommended setup visit:
53+
# https://docs.fastlane.tools/best-practices/source-control/
54+
55+
*/fastlane/report.xml
56+
*/fastlane/Preview.html
57+
*/fastlane/screenshots
58+
59+
# Bundle artifact
60+
*.jsbundle
61+
62+
# CocoaPods
63+
/ios/Pods/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
bracketSpacing: false,
3+
jsxBracketSameLine: true,
4+
singleQuote: true,
5+
trailingComma: 'all',
6+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

examples/AwesomeTSProject/App.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import React from 'react';
2+
import {SafeAreaView, Text, StatusBar, Button} from 'react-native';
3+
import {useAgile} from '@agile-ts/react';
4+
import {MY_EVENT, MY_STATE} from './core';
5+
6+
const App = () => {
7+
const myState = useAgile(MY_STATE);
8+
9+
return (
10+
<>
11+
<StatusBar barStyle="dark-content" />
12+
<SafeAreaView>
13+
<Text style={{fontWeight: 'bold'}}>{myState}</Text>
14+
<Button
15+
title={'Change State'}
16+
onPress={() => {
17+
MY_STATE.set('Hello World');
18+
}}
19+
/>
20+
<Button
21+
title={'Trigger Event'}
22+
onPress={() => {
23+
MY_EVENT.trigger({name: 'Jeff'});
24+
}}
25+
/>
26+
</SafeAreaView>
27+
</>
28+
);
29+
};
30+
31+
export default App;

0 commit comments

Comments
 (0)