Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
92c28cb
docs(store-devtools): add breaking change to migration (#2879)
timdeschryver Jan 16, 2021
c3ac252
fix(component): remove ? from LetViewContext props to prevent 'possib…
markostanimirovic Jan 16, 2021
2f5dcb4
perf(schematics): speed up create effect migration (#2873)
timdeschryver Jan 16, 2021
a9468e1
feat(store): add object-style StoreModule.forFeature overload w/fixes…
brandonroberts Jan 17, 2021
17f076c
docs: add labeler (#2878)
va-stefanek Jan 18, 2021
b611367
fix(component): transform to Observable if Input is Promise
DaSchTour Jan 11, 2021
418513e
test(component): fix failing tests
timdeschryver Jan 23, 2021
a4c73b8
docs(router-store): add working usage for router-store selectors (#2883)
ZackDeRose Jan 23, 2021
c5a5dd1
Interface renames (#2889)
timdeschryver Jan 24, 2021
d489484
fix(router-store): cast return type as RouterReducerState (#2887)
timdeschryver Jan 24, 2021
251b83a
refactor(store-devtools): replace deprecated empty() function (#2895)
krishnaanaril Jan 30, 2021
bb70e6c
fix(data): make entity param partial when is not optimistic (#2899)
yharaskrik Jan 30, 2021
9c54bfb
docs: add missing this in ComponentStore example (#2901)
SerkanSipahi Jan 30, 2021
6d46ac4
fix(data): type overloaded add for is optimistic true | undefined (#2…
yharaskrik Jan 31, 2021
ba8315f
refactor(store): improve on-function typing (#2894)
alex-okrushko Jan 31, 2021
abcc599
fix(push): fix return typing for observables to include undefined (#2…
samuelfernandez Feb 2, 2021
55f0f7a
feat(effects): concatLatestFrom operator (#2760)
Feb 2, 2021
f736cad
chore: release 11.0.0-beta.2
brandonroberts Feb 2, 2021
01f9bd9
chore: release 11.0.0-rc.0
brandonroberts Feb 4, 2021
c96ed39
chore: release 11.0.0
brandonroberts Feb 9, 2021
05cbaf0
docs: update footer copyright year to 2021 (#2916)
mousedownmike Feb 12, 2021
775c794
fix(schematics): add index file (#2923)
timdeschryver Feb 12, 2021
2bea205
fix(store): forFeature using instanceof instead of typeof (#2922)
timdeschryver Feb 12, 2021
da0cdbf
docs(effects): add missing concatLatestFrom operator import
Booster2ooo Feb 15, 2021
9c078ac
chore: release 11.0.1
brandonroberts Feb 15, 2021
1cdabb4
docs(component-store): fix to call `addMovie()` with not string but i…
Feb 20, 2021
dc66292
refactor(schematics): replace deprecated TestBed.get method (#2932)
salemdar Feb 20, 2021
a9812cf
chore: update to latest Nx 11 release (#2930)
brandonroberts Feb 20, 2021
d23b101
chore: update examples to Angular 11 and NgRx 11 (#2935)
markostanimirovic Feb 20, 2021
84ab6b5
docs: add TodoMVC app to the ressources page (#2913)
bbaia Feb 20, 2021
c7fc7bd
docs: update ng generate examples to remove camelCase arguments (#295…
mousedownmike Mar 3, 2021
0c405d2
docs(effects): update documentation to help avoid asynchronous testin…
david-shortman Mar 3, 2021
394cae9
docs: fix filename on spec files (#2949)
daynemay Mar 3, 2021
b95a264
docs: fix break url for indepth (#2963)
OmarioHassan Mar 8, 2021
d104b1a
doc: add weight for selected menu item (#2957)
OmarioHassan Mar 8, 2021
848c031
test: fix async tests across packages (#2946)
markostanimirovic Mar 8, 2021
9b23403
fix(store): allow default parameters in function action (#2954)
timdeschryver Mar 8, 2021
f086f80
feat(schematics): add component store schematics (#2886)
stefanoww Mar 8, 2021
d717c6f
docs: fix ngrx version to use on ng update (#2959)
tiaguinho Mar 8, 2021
9263fe4
test(component/data): fix failed tests (#2965)
markostanimirovic Mar 9, 2021
fd90706
docs(data): add example ngrx data app to repo (#2904)
yharaskrik Mar 11, 2021
a33705c
refactor(example-app): fix typo "thought" in comment (#2968)
rtpHarry Mar 12, 2021
eecc8ce
fix(store): allow primitive types (#2967)
timdeschryver Mar 12, 2021
be69a63
test(data): fix tests (#2955)
timdeschryver Mar 12, 2021
8930e22
feat(component-store): add ability for patchState to accept Observabl…
markostanimirovic Mar 12, 2021
1cc1912
docs: add ngrx-child-selectors to resources (#2973)
markostanimirovic Mar 22, 2021
5f5b679
fix(effects): add support for Proxy objects in Effects (#2976)
MortenGregersen Mar 23, 2021
0bb4940
docs: fix typo in entity tracker docs (#2981)
gsuveti Mar 23, 2021
987cfee
feat(router-store) warn about DefaultRouterStateSerializer for runtim…
david-shortman Mar 31, 2021
0519f6b
chore: release 11.1.0
brandonroberts Mar 31, 2021
4af6459
docs(ComponentStore): complete documentation for patchState (#2987)
SerkanSipahi Apr 7, 2021
5ca85aa
build: don't include un-needed files in the distributed packages (#2990)
alan-agius4 Apr 9, 2021
fe7d058
feat(store): add FunctionWithParametersType to public API (#2988)
jordanpowell88 Apr 10, 2021
d39b862
chore: update StackBlitz examples to version 11 (#2992)
brandonroberts Apr 12, 2021
cdb5bd5
refactor(example-app): remove store generic (#2994)
timdeschryver Apr 12, 2021
7da57bc
fix(store): adjust types to allow a generic reducer (#2996)
timdeschryver Apr 19, 2021
53f3879
docs(component-store): clarify effect description (#2997)
LayZeeDK Apr 19, 2021
a5a1330
chore: release 11.1.1
brandonroberts Apr 20, 2021
7c6d4e4
feat(store): deprecate selectors with props (#2993)
timdeschryver Apr 22, 2021
cb258cb
build: update to Nx version 12.0.x and TypeScript 4.1.x (#2999)
brandonroberts Apr 22, 2021
34add18
chore: update snapshots for example app
brandonroberts Apr 22, 2021
4fb030e
build: update to Angular libraries to version 12 RC.0 (#3000)
brandonroberts Apr 23, 2021
bbcebe1
docs: remove unused css file from counter component (#3002)
AlmaniaM Apr 24, 2021
74a2671
fix(store): ng-add schematics will generate router files if minimal s…
shaun-jacks Apr 25, 2021
4389307
fix(effects): ng-add schematics will generate effects files properly
shaun-jacks Apr 25, 2021
ad13c9c
fix(component): include files in ng-add schematics
shaun-jacks Apr 25, 2021
bfef622
fix(component-store): include files in ng-add schematics
shaun-jacks Apr 25, 2021
526edd9
fix(data): include files in ng-add schematics
shaun-jacks Apr 25, 2021
4d9f647
fix(entity): include files in ng-add schematics
shaun-jacks Apr 25, 2021
eb71d5c
fix(router-store): include files in ng-add schematics
shaun-jacks Apr 25, 2021
ac706de
fix(store-devtools): include files in ng-add schematics
shaun-jacks Apr 25, 2021
d673048
chore: release 12.0.0-beta.0
brandonroberts Apr 27, 2021
61b1ac7
fix(schematics): assert empty as action observable (#3005)
timdeschryver Apr 29, 2021
970c942
chore: release 12.0.0-beta.1
brandonroberts Apr 29, 2021
a9e7fb1
chore: migrate to eslint (#3001)
timdeschryver May 1, 2021
cd145e7
ci: dont lint in parallel (#3011)
timdeschryver May 3, 2021
34e12a6
chore: release 12.0.0-rc.0
brandonroberts May 5, 2021
df760f8
docs(effects): cleanup module imports in example (#3013)
jeripeierSBB May 6, 2021
5259890
feat(store): register eslint-plugin-ngrx with ng add (#3014)
timdeschryver May 10, 2021
5e8b004
docs(store): add selector deprecation in v12 migration (#3015)
timdeschryver May 11, 2021
9640dbc
docs(entity): fix selectedUserId type (#3017)
markostanimirovic May 11, 2021
f294a44
feat(schematics): allow to specify custom prefix
va-stefanek May 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ version: 2.1
var_1: &cache_key yarn-cache-{{ checksum "yarn.lock" }}-0.12.12
var_2: &run_in_node
docker:
- image: circleci/node:12.9.1
- image: circleci/node:12.14.1
var_3: &set_bazel_options
run:
command: sudo cp .circleci/bazel.rc /etc/bazel.bazelrc
var_4: &docs_cache_key yarn-docs-cache-{{ checksum "~/docs/projects/ngrx.io/yarn.lock" }}-0.4
var_5: &run_in_browser
docker:
- image: circleci/node:12.9.1-browsers
- image: circleci/node:12.14.1-browsers
var_6: &docs_in_node
docker:
- image: circleci/node:12.9.1
- image: circleci/node:12.14.1
var_7: &docs_in_browser
docker:
- image: circleci/node:10.13-browsers
var_8: &bazel_cache_key yarn-bazel-cache-{{ checksum "master.txt" }}-0.12.9
- image: circleci/node:12.14-browsers
var_8: &bazel_cache_key yarn-bazel-cache-{{ checksum "master.txt" }}-0.12.14

commands:
write_master_hash:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
# Test
- run:
name: Run All Lint Checks
command: yarn nx run-many --target=lint --all --parallel
command: yarn nx run-many --target=lint --all

lint-affected:
<<: *run_in_node
Expand All @@ -80,7 +80,7 @@ jobs:
- write_master_hash
- run:
name: Run Affected Lint Checks
command: yarn nx affected:lint --base=$(cat ~/project/master.txt) --head=$CIRCLE_SHA1 --parallel
command: yarn nx affected:lint --base=$(cat ~/project/master.txt) --head=$CIRCLE_SHA1

# Enforce some static analysis invariants.
# Note that generally, these should be checked only on the delta in each change,
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
steps:
- add_ssh_keys:
fingerprints:
- "c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec"
- 'c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec'
- checkout:
path: ~/docs
- restore_cache:
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
steps:
- add_ssh_keys:
fingerprints:
- "c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec"
- 'c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec'
- checkout
- restore_cache:
keys:
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
steps:
- add_ssh_keys:
fingerprints:
- "c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec"
- 'c9:c2:b4:5e:13:23:b6:6d:d8:29:3e:68:c6:40:9c:ec'
- checkout
- restore_cache:
keys:
Expand Down
125 changes: 125 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
},
{
"files": ["*.ts"],
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow"
},
{
"selector": "property",
"format": ["camelCase", "UPPER_CASE"],
"leadingUnderscore": "allow"
},
{
"selector": "enum",
"format": ["PascalCase"]
},
{
"selector": "enumMember",
"format": ["PascalCase", "UPPER_CASE"]
},
{
"selector": "typeParameter",
"format": ["PascalCase"]
},
{
"selector": "typeAlias",
"format": ["PascalCase"]
},
{
"selector": "interface",
"format": ["PascalCase"]
},
{
"selector": "classProperty",
"format": ["camelCase", "PascalCase", "UPPER_CASE"],
"leadingUnderscore": "allow"
},
{
"selector": "class",
"format": ["PascalCase"]
},
{
"selector": "variable",
"format": ["camelCase", "PascalCase", "UPPER_CASE"],
"leadingUnderscore": "allow"
},
{
"selector": "objectLiteralProperty",
"format": ["camelCase", "PascalCase", "UPPER_CASE"]
},
{
"selector": "function",
"format": ["camelCase", "PascalCase"],
"leadingUnderscore": "allow"
}
],
"@typescript-eslint/prefer-namespace-keyword": "error",
// because we're using object
"@typescript-eslint/ban-types": "warn",
// because we have empty constructors for DI
"@typescript-eslint/no-empty-function": "warn",
"eqeqeq": ["off", "smart"],
"id-blacklist": [
"error",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined"
],
"id-match": "error",
"import/no-deprecated": "warn",
"no-eval": "off",
"no-redeclare": "off",
"no-underscore-dangle": "off",
"no-var": "error",
"no-prototype-builtins": "off"
},
"plugins": ["eslint-plugin-import", "@typescript-eslint"]
},
{
"files": ["*.html"],
"rules": {}
}
]
}
59 changes: 59 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Add 'Project: ngrx.io' label to any ngrx.io file changes
'Project: ngrx.io':
- projects/ngrx.io/*
- projects/ngrx.io/**/*

# Add 'Project: Example App' label to any example-app file changes
'Project: Example App':
- projects/example-app/*
- projects/example-app/**/*

# Add 'Project: Component' label to any change within the 'component' package
'Project: Component':
- modules/component/*
- modules/component/**/*

# Add 'Project: Component Store' label to any change within the 'component-store' package
'Project: Component Store':
- modules/component-store/*
- modules/component-store/**/*

# Add 'Project: Data' label to any change within the 'data' package
'Project: Data':
- modules/data/*
- modules/data/**/*

# Add 'Project: Effects' label to any change within the 'effects' package
'Project: Effects':
- modules/effects/*
- modules/effects/**/*

# Add 'Project: Entity' label to any change within the 'entity' package
'Project: Entity':
- modules/entity/*
- modules/entity/**/*

# Add 'Project: Router Store' label to any change within the 'router-store' package
'Project: Router Store':
- modules/router-store/*
- modules/router-store/**/*

# Add 'Project: Schematics' label to any change within the 'schematics' package
'Project: Schematics':
- modules/schematics/*
- modules/schematics/**/*

# Add 'Project: Store' label to any change within the 'store' package
'Project: Store':
- modules/store/*
- modules/store/**/*

# Add 'Project: Store Devtools' label to any change within the 'store-devtools' package
'Project: Store Devtools':
- modules/store-devtools/*
- modules/store-devtools/**/*

# Add 'dependencies' label to any change to npm or yarn related stuff
dependencies:
- package.json
- yarn.lock
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# The used configurations are set up in .github/labeler.yml
# For more information, see:
# https://github.com/actions/labeler/blob/master/README.md

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest

steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .nxignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.spec.ts
**/schematics-core/**
**/testing/**
**/testing/**
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ exports_files([
"LICENSE",
# used by ts_jest_test
"jest.config.js",
"setup-jest.ts",
"test-setup.ts",
"tsconfig.json",
])
Loading