Skip to content

Commit

Permalink
chore: rename hilla-file-router to file-router (#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
cromoteca authored Mar 26, 2024
1 parent c715b6f commit 3f90fdc
Show file tree
Hide file tree
Showing 46 changed files with 63 additions and 33 deletions.
38 changes: 36 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
/**
* Implementation of TypeScript's Hilla ConfigView. Represents a view
* configuration from Hilla file-system-routing module.
*
* @see <a href=
* "https://github.com/vaadin/hilla/tree/main/packages/ts/hilla-file-router/src/utils.ts#L3">ConfigView</a>
*/
public final class ClientViewConfig {
private String title;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Represents a view's menu configuration
* from Hilla file-system-routing.
* Used for configuring MainLayout navigation items
* @see <a href="https://github.com/vaadin/hilla/tree/main/packages/ts/hilla-file-router/src/utils.ts#L38">ConfigView menu</a>
*
*/
public record ClientViewMenuConfig(String title, Long order, String icon, Boolean exclude) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@vaadin-component-factory/vcf-nav": "1.1.0",
"@vaadin/bundles": "24.4.0-alpha14",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down
6 changes: 3 additions & 3 deletions packages/java/tests/gradle/single-module/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/java/tests/gradle/single-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@polymer/polymer": "3.5.1",
"@vaadin-component-factory/vcf-nav": "1.1.0",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@polymer/polymer": "3.5.1",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "UNLICENSED",
"type": "module",
"dependencies": {
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-generator-cli": "file:../../../../ts/generator-cli",
"@vaadin/hilla-generator-core": "file:../../../../ts/generator-core",
Expand Down
2 changes: 1 addition & 1 deletion packages/java/tests/spring/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "UNLICENSED",
"type": "module",
"dependencies": {
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-generator-cli": "file:../../../../ts/generator-cli",
Expand Down
6 changes: 3 additions & 3 deletions packages/java/tests/spring/react-grid-test/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/java/tests/spring/react-grid-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@polymer/polymer": "3.5.1",
"@vaadin/bundles": "24.4.0-alpha18",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down
6 changes: 3 additions & 3 deletions packages/java/tests/spring/react-i18n/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/java/tests/spring/react-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@polymer/polymer": "3.5.1",
"@vaadin/bundles": "24.4.0-alpha18",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down
6 changes: 3 additions & 3 deletions packages/java/tests/spring/react-signals/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/java/tests/spring/react-signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@polymer/polymer": "3.5.1",
"@vaadin/bundles": "24.4.0-alpha18",
"@vaadin/common-frontend": "0.0.19",
"@vaadin/hilla-file-router": "file:../../../../ts/hilla-file-router",
"@vaadin/hilla-file-router": "file:../../../../ts/file-router",
"@vaadin/hilla-frontend": "file:../../../../ts/frontend",
"@vaadin/hilla-lit-form": "file:../../../../ts/lit-form",
"@vaadin/hilla-react-auth": "file:../../../../ts/react-auth",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"repository": {
"type": "git",
"url": "https://github.com/vaadin/hilla.git",
"directory": "packages/ts/hilla-file-router"
"directory": "packages/ts/file-router"
},
"keywords": [
"Hilla",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { RouteModule } from '../src/types.js';
import type { RouteMeta } from '../src/vite-plugin/collectRoutesFromFS.js';

export async function createTmpDir(): Promise<URL> {
return pathToFileURL(`${await mkdtemp(join(tmpdir(), 'hilla-file-router-'))}/`);
return pathToFileURL(`${await mkdtemp(join(tmpdir(), 'file-router-'))}/`);
}

export async function createTestingRouteFiles(dir: URL): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('@vaadin/hilla-file-router', () => {
let runtimeUrls: RuntimeFileUrls;

beforeEach(() => {
dir = pathToFileURL(join(tmpdir(), 'hilla-file-router/'));
dir = pathToFileURL(join(tmpdir(), 'file-router/'));
meta = createTestingRouteMeta(new URL('./views/', dir));
runtimeUrls = {
json: new URL('server/views.json', dir),
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3f90fdc

Please sign in to comment.