Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename hilla-file-router to file-router #2261

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link dead before PR

*/
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>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link dead before PR

*
*/
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
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
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
Loading