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

Commit a5bece3

Browse files
authored
Merge pull request #198 from agile-ts/develop
'New Release 🎉
2 parents 17c56f4 + a45c3b4 commit a5bece3

File tree

156 files changed

+2012
-1576
lines changed

Some content is hidden

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

156 files changed

+2012
-1576
lines changed

.changeset/early-pants-begin.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
'@agile-ts/api': patch
3+
'@agile-ts/core': patch
4+
'cra-template-agile': patch
5+
'cra-template-agile-typescript': patch
6+
'@agile-ts/event': patch
7+
'@agile-ts/logger': patch
8+
'@agile-ts/multieditor': patch
9+
'@agile-ts/proxytree': patch
10+
'@agile-ts/react': patch
11+
'@agile-ts/utils': patch
12+
'@agile-ts/vue': patch
13+
---
14+
15+
#### :nail_care: Polish
16+
* `api`, `core`, `cra-template-agile-typescript`, `cra-template-agile`, `event`, `logger`, `multieditor`, `proxytree`, `react`, `utils`, `vue`
17+
* [#194](https://github.com/agile-ts/agile/pull/194) Commonjs issue ([@bennodev19](https://github.com/bennodev19))
18+
* `core`
19+
* [#195](https://github.com/agile-ts/agile/pull/195) Removed `internal.ts` and resolved cycle dependencies ([@bennodev19](https://github.com/bennodev19))
20+
21+
#### Committers: 1
22+
- BennoDev ([@bennodev19](https://github.com/bennodev19))
23+

.github/ISSUE_TEMPLATE/SUPPORT.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: 🆘 Support, Help, and Advice
3+
about: 👉🏽 Need help or tech support? Please don't open an issue! Head to https://github.com/agile-ts/agile/discussions or https://stackoverflow.com/questions/tagged/agile-ts.
4+
---
5+
6+
Hey there! If you need help or tech support then this is not the place to ask.
7+
Please head to the [AgileTs Discord](https://discord.com/T9GzreAwPH) instead
8+
or post a question to [Stackoverflow](https://stackoverflow.com/questions/tagged/agile-ts).
9+
10+
If you arrived here because you think AgileTs's documentation is unclear,
11+
insufficient or wrong, please consider creating an issue for the documentation [here](https://github.com/agile-ts/documentation) instead.

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"trailingComma": "es5",
1111
"endOfLine": "lf",
1212
"semi": true
13-
}
13+
}

benchmark/runtime/benchmarkTypes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,4 @@ export const startBundleBench = async (entry: string, isDev: boolean) => {
146146
);
147147

148148
console.log(metafile);
149-
// TODO analyze metafile
150149
};

examples/nextjs/develop/clock/pages/ssg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function SSG() {
88
}
99

1010
// If you build and start the app, the date returned here will have the same
11-
// value for all requests, as this method gets executed at build time.
11+
// value for all requests, as this method gets executed at build time. (see browser network tab)
1212
export function getStaticProps() {
1313
const initialCore = {
1414
light: LIGHT.value,

examples/nextjs/develop/clock/pages/ssr.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function SSR() {
99

1010
// The date returned here will be different for every request that hits the page,
1111
// that is because the page becomes a serverless function instead of being statically
12-
// exported when you use `getServerSideProps` or `getInitialProps`
12+
// exported when you use `getServerSideProps` or `getInitialProps`. (see browser network tab)
1313
export function getServerSideProps() {
1414
tick(Date.now(), false);
1515

examples/plainjs/develop/tree-shaking/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "src/index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"build": "webpack",
8+
"build": "shx rm -rf dist && webpack",
99
"install:dev:agile": "yalc add @agile-ts/core @agile-ts/logger & yarn install",
1010
"install:prod:agile": "yarn add @agile-ts/core @agile-ts/logger & yarn install"
1111
},
@@ -17,6 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@agile-ts/core": "file:.yalc/@agile-ts/core",
20-
"@agile-ts/logger": "file:.yalc/@agile-ts/logger"
20+
"@agile-ts/logger": "file:.yalc/@agile-ts/logger",
21+
"@agile-ts/react": "file:.yalc/@agile-ts/react"
2122
}
2223
}

examples/react-native/develop/AwesomeTSProject/core/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { createState, createComputed, createCollection } from '@agile-ts/core';
2-
import { createEvent, Event } from '@agile-ts/event';
2+
import { createEvent } from '@agile-ts/event';
33
import { Alert } from 'react-native';
44

55
export const MY_STATE = createState<string>('MyState', { key: 'my-state' }); //.persist();
66
export const MY_STATE_2 = createState<string>('MyState2'); //.persist("my-state2");
7-
export const MY_STATE_3 = createState<number>(1); //.persist("my-state2");
87

98
MY_STATE.watch('test', (value: any) => {
109
console.log('Watch ' + value);
@@ -37,8 +36,6 @@ MY_COLLECTION.getGroup('myGroup')?.persist({
3736
followCollectionPersistKeyPattern: true,
3837
});
3938

40-
console.log('Initial: myCollection ', MY_COLLECTION);
41-
4239
export const MY_EVENT = createEvent<{ name: string }>();
4340

4441
MY_EVENT.on('Test', (payload) => {

examples/react-native/develop/AwesomeTSProject/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"start": "react-native start",
99
"test": "jest",
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
11-
"install:agile": "yalc add @agile-ts/core @agile-ts/react @agile-ts/api & yarn install"
11+
"install:dev:agile": "yalc add @agile-ts/core @agile-ts/react @agile-ts/api @agile-ts/event & yarn install",
12+
"install:prod:agile": "yarn add @agile-ts/core @agile-ts/react @agile-ts/api @agile-ts/event & yarn install"
1213
},
1314
"dependencies": {
1415
"@agile-ts/api": "file:.yalc/@agile-ts/api",

examples/react-native/develop/AwesomeTSProject/yarn.lock

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,25 @@
33

44

55
"@agile-ts/api@file:.yalc/@agile-ts/api":
6-
version "0.0.5"
6+
version "0.0.22"
7+
dependencies:
8+
"@agile-ts/utils" "^0.0.8"
79

810
"@agile-ts/core@file:.yalc/@agile-ts/core":
9-
version "0.0.5"
11+
version "0.2.3"
12+
dependencies:
13+
"@agile-ts/utils" "^0.0.8"
14+
15+
"@agile-ts/event@file:.yalc/@agile-ts/event":
16+
version "0.0.11"
1017

1118
"@agile-ts/react@file:.yalc/@agile-ts/react":
12-
version "0.0.5"
19+
version "0.2.0"
20+
21+
"@agile-ts/utils@^0.0.8":
22+
version "0.0.8"
23+
resolved "https://registry.yarnpkg.com/@agile-ts/utils/-/utils-0.0.8.tgz#ab9e1eeaddf282340936bddeb74421a2f77de804"
24+
integrity sha512-ex19gPIS5imgV+rzs5HE2CNAIkQ162hPWH5u3HKNZnHiVU6FX62sikH5tG2oQocbDb7FkeB16D7v9ihQeuKYug==
1325

1426
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4":
1527
version "7.10.4"

0 commit comments

Comments
 (0)