Git Product home page Git Product logo

router-component-store's Introduction

@ngworker/* monorepo

All Contributors

Monorepo for the ngworker NPM organization. Packages for Angular applications.

Packages

Packages in this monorepo.

Package Description
Spectacular (@ngworker/spectacular) Spectacular Angular integration testing. Test harnesses for Angular applications and libraries.

Sponsors

Wallaby ๐Ÿฆ˜

The maintainers of ngworker use Wallaby.js for inline test feeedback sponsored by Wallaby. Get your free OSS license at the Wallaby website.

Wallaby.js

Contributors to this repository are welcome to use the Wallaby.js OSS License to get test results immediately as you type, and see the results in your editor right next to your code.

Nrwl ๐ŸŒŠ

Nrwl sponsors computation hours saved for ngworker through Nx Cloud โ˜. Apply for a free license for your OSS project at [email protected] or watch ngworker's Nx Cloud runs and cache stats on nx.app.

Computation Memoization in the Cloud

Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.

Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nxโ€™s advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.

Visit Nx Cloud to learn more.

Contributors

Thanks goes to these wonderful people:


Lars Gyrup Brink Nielsen

๐Ÿ’ฌ ๐Ÿ› ๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ก ๐Ÿค” ๐Ÿš‡ ๐Ÿšง ๐Ÿง‘โ€๐Ÿซ ๐Ÿ“ฆ ๐Ÿ”Œ ๐Ÿ“† ๐Ÿ‘€ โš ๏ธ

Santosh Yadav

๐Ÿ’ฌ ๐Ÿ’ป ๐Ÿ“– ๐Ÿค” ๐Ÿ‘€ โš ๏ธ

Bitcollage

๐Ÿ’ฌ ๐Ÿ› ๐Ÿ’ป ๐Ÿ’ก ๐Ÿค” ๐Ÿš‡ ๐Ÿšง ๐Ÿ“ฆ ๐Ÿ‘€ โš ๏ธ

Nacho Vazquez

๐Ÿ’ฌ ๐Ÿ› ๐Ÿ’ป ๐Ÿ“– ๐Ÿ’ก ๐Ÿค” ๐Ÿš‡ ๐Ÿ“ฆ ๐Ÿ‘€ โš ๏ธ

Tim Deschryver

๐Ÿ“–

(emoji key)

This project follows the all-contributors specification. Contributions of any kind welcome!

router-component-store's People

Contributors

layzeedk avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

router-component-store's Issues

Bug in component tests: Class constructor ComponentStore cannot be invoked without 'new'

Actual behavior

When using LocalRouterStore in a standalone component test, the following error occurs:

TypeError: Class constructor ComponentStore cannot be invoked without 'new'

According to the stack trace, the source is local-router-store/local-router-component-store.ts.

Expected behavior

No errors when using LocalRouterStore in a standalone component test.

Environment

Reported by @Phhansen

Add support for custom serializer and custom router state type

The current ngrx router-store supports provofing a custom state serializer and working with a custom state type. router-component-store should support this too.

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive 90% of the pledge once the issue is completed & verified
  • Polar receives 10% of the pledge as a fee
Fund with Polar

Add support for NavigationExtras state

Support for NavigationExtras state is missing. For a example this.router.navigate(['/some-path'], {state: {some-state-key : 'some-state-value'}}, should add to #serializeRouteSnapshot a property something like {navigationState: {some-state-key : 'some-state-value'}}.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • chore(deps): update actions/checkout action to v3
  • chore(deps): update actions/setup-node action to v3
  • chore(deps): update actions/upload-artifact action to v3
  • chore(deps): update dependency @nrwl/workspace to v15
  • chore(deps): update dependency renovate to v32
  • chore(deps): update volta-cli/action action to v4
  • ๐Ÿ” Create all pending approval PRs at once ๐Ÿ”

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Detected dependencies

github-actions
.github/actions/setup-node/action.yml
  • volta-cli/action v1
  • actions/cache v3
.github/workflows/ci.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/checkout v2
  • actions/checkout v2
  • actions/checkout v2
  • actions/upload-artifact v2
.github/workflows/nx-migrate.yml
  • actions/checkout v2
  • lewagon/wait-on-check-action v1.1.2
  • actions/checkout v2
npm
package.json
  • @angular/animations 13.1.3
  • @angular/common 13.1.3
  • @angular/compiler 13.1.3
  • @angular/core 13.1.3
  • @angular/forms 13.1.3
  • @angular/platform-browser 13.1.3
  • @angular/platform-browser-dynamic 13.1.3
  • @angular/router 13.1.3
  • @ngrx/component-store 13.0.2
  • @ngrx/router-store 13.0.2
  • @ngrx/store 13.0.2
  • @nrwl/angular 13.3.6
  • rxjs 7.4.0
  • tslib 2.3.1
  • zone.js 0.11.8
  • @angular-devkit/build-angular 13.0.4
  • @angular-eslint/eslint-plugin 13.0.1
  • @angular-eslint/eslint-plugin-template 13.0.1
  • @angular-eslint/template-parser 13.0.1
  • @angular/cli 13.0.4
  • @angular/compiler-cli 13.1.3
  • @angular/language-service 13.1.3
  • @nrwl/cli 13.3.6
  • @nrwl/cypress 13.3.6
  • @nrwl/eslint-plugin-nx 13.3.6
  • @nrwl/jest 13.3.6
  • @nrwl/linter 13.3.6
  • @nrwl/tao 13.3.6
  • @nrwl/workspace 13.3.6
  • @schematics/angular 12.2.18
  • @types/jest 27.0.3
  • @types/node 14.14.45
  • @typescript-eslint/eslint-plugin 5.3.1
  • @typescript-eslint/parser 5.3.1
  • cypress 8.3.1
  • eslint 8.2.0
  • eslint-config-prettier 8.1.0
  • eslint-plugin-ngrx 2.1.4
  • jest 27.2.5
  • jest-preset-angular 11.0.1
  • ng-packagr 13.0.8
  • postcss 8.3.11
  • postcss-import 14.0.2
  • postcss-preset-env 6.7.1
  • postcss-url 10.1.3
  • prettier 2.3.2
  • renovate 31.97.3
  • ts-jest 27.0.7
  • typescript 4.4.4
  • node 16.18.0
  • yarn 1.22.19
  • node 16.18.0
  • yarn 1.22.19
packages/router-component-store/package.json
  • tslib ^2.3.0
  • @angular/core ^12.2.0
  • @angular/router ^12.2.0
  • @ngrx/component-store ^12.0.0
  • rxjs ^7.0.0
nvm
.nvmrc
  • node 16.18.0

  • Check this box to trigger a request for Renovate to run again on this repository

Add TestingRouterStore to ease test setup and DX

It would be cool with some helpers when testing components and/or services that import RouterStore. Both in relation to provideGlobalRouterStore() vs provideLocalRouterStore() and when setting up the spec with routing in mind as that also depends on RouterTestingModule.

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive 90% of the pledge once the issue is completed & verified
  • Polar receives 10% of the pledge as a fee
Fund with Polar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.