Skip to content

Commit

Permalink
chore(ownership): update demo to use community package (#135)
Browse files Browse the repository at this point in the history
this commit updates the demo in this repository to use the
`@stencil-community` scoped version of the router. functionally, there
are no changes, as we move from using the same router published under a
different scope
  • Loading branch information
rwaskiewicz authored Jun 6, 2022
1 parent 519b5df commit 51bc399
Show file tree
Hide file tree
Showing 9 changed files with 451 additions and 1,470 deletions.
1,903 changes: 442 additions & 1,461 deletions packages/demo/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test.watch": "jest --watch"
},
"dependencies": {
"@stencil/router": "^0.2.7-1"
"@stencil-community/router": "^1.0.2"
},
"jest": {
"transform": {
Expand Down
4 changes: 2 additions & 2 deletions packages/demo/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

import '@stencil/core';

import '@stencil/router';
import '@stencil-community/router';
import '@stencil/state-tunnel';
import {
LocationSegments,
MatchResults,
RouterHistory,
} from '@stencil/router';
} from '@stencil-community/router';


export namespace Components {
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-deep-component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Element, Prop } from '@stencil/core';
import { RouterHistory, LocationSegments, injectHistory } from '@stencil/router';
import { RouterHistory, LocationSegments, injectHistory } from '@stencil-community/router';

@Component({
tag: 'test-deep-component'
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-demo-four.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop } from '@stencil/core';
import { RouterHistory, MatchResults } from '@stencil/router';
import { RouterHistory, MatchResults } from '@stencil-community/router';

@Component({
tag: 'test-demo-four'
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-demo-seven.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop } from '@stencil/core';
import { RouterHistory, MatchResults } from '@stencil/router';
import { RouterHistory, MatchResults } from '@stencil-community/router';

@Component({
tag: 'test-demo-seven'
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-demo-six.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop } from '@stencil/core';
import { RouterHistory, MatchResults } from '@stencil/router';
import { RouterHistory, MatchResults } from '@stencil-community/router';

@Component({
tag: 'test-demo-six'
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-demo-three.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, Prop } from '@stencil/core';
import { RouterHistory, MatchResults } from '@stencil/router';
import { RouterHistory, MatchResults } from '@stencil-community/router';

@Component({
tag: 'test-demo-three'
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/components/test-route-guard.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ComponentInterface, Prop, State } from '@stencil/core';
import { RouterHistory, MatchResults } from '@stencil/router';
import { RouterHistory, MatchResults } from '@stencil-community/router';

@Component({
tag: 'test-route-guard'
Expand Down

0 comments on commit 51bc399

Please sign in to comment.