Skip to content

Commit f94bcd2

Browse files
committed
feat(store): 🚚 migrate to monorepo
1 parent f1f6b3a commit f94bcd2

Some content is hidden

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

52 files changed

+4309
-3
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"editor.tabSize": 2,
44
"editor.defaultFormatter": "esbenp.prettier-vscode",
55
"prettier.configPath": ".prettierrc",
6-
"conventionalCommits.scopes": ["rx"]
6+
"conventionalCommits.scopes": ["rx", "store"]
77
}

libs/store/.browserslistrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# For the full list of supported browsers by the Angular framework, please see:
6+
# https://angular.io/guide/browser-support
7+
8+
# You can see what browsers were selected by your queries by running:
9+
# npx browserslist
10+
11+
last 1 Chrome version
12+
last 1 Firefox version
13+
last 2 Edge major versions
14+
last 2 Safari major versions
15+
last 2 iOS major versions
16+
Firefox ESR

libs/store/.eslintrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"extends": ["../../.eslintrc.json"],
3+
"ignorePatterns": ["!**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts"],
7+
"extends": [
8+
"plugin:@nrwl/nx/angular",
9+
"plugin:@angular-eslint/template/process-inline-templates"
10+
],
11+
"rules": {
12+
"@angular-eslint/directive-selector": [
13+
"error",
14+
{
15+
"type": "attribute",
16+
"prefix": "ngry",
17+
"style": "camelCase"
18+
}
19+
],
20+
"@angular-eslint/component-selector": [
21+
"error",
22+
{
23+
"type": "element",
24+
"prefix": "ngry",
25+
"style": "kebab-case"
26+
}
27+
]
28+
}
29+
},
30+
{
31+
"files": ["*.html"],
32+
"extends": ["plugin:@nrwl/nx/angular-template"],
33+
"rules": {}
34+
}
35+
]
36+
}

libs/store/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## Installation
2+
3+
Install the package:
4+
5+
```bash
6+
npm i @ngry/store
7+
```
8+
9+
Optionally, install [`@ngry/rx`](https://www.npmjs.com/package/@ngry/rx) for useful operators like `ofType`
10+
and `task` and handy testing tools for Observables:
11+
12+
```bash
13+
npm i @ngry/rx
14+
```
15+
16+
## Documentation
17+
18+
- [Store](docs/store.md)
19+
- [Overview](docs/store.md#overview)
20+
- [Read operators](docs/store.md#read-operators)
21+
- [`select` operator](docs/store.md#select-operator)
22+
- [`query` operator](docs/store.md#query-operator)
23+
- [`get` operator](docs/store.md#get-operator)
24+
- [Write operators](docs/store.md#write-operators)
25+
- [`update` operator](docs/store.md#update-operator)
26+
- [`patch` operator](docs/store.md#patch-operator)
27+
- [`property` operator](docs/store.md#property-operator)
28+
- [`to` operator](docs/store.md#to-operator)
29+
- [`reset` operator](docs/store.md#reset-operator)
30+
- [Effects operators](docs/store.md#effects-operators)
31+
- [`fn` operator](docs/store.md#fn-operator)
32+
33+
## License
34+
35+
MIT

0 commit comments

Comments
 (0)