Skip to content

Commit ce1bf3c

Browse files
authored
Refactor component and lib source paths (#12)
Move component and lib source implementations out of the app router directory and into the `src/component` and `src/lib directories`.
1 parent f333c60 commit ce1bf3c

File tree

53 files changed

+67
-71
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+67
-71
lines changed

app/tests/analytics/web_client/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import ClientResults from '../components/csr_test_runner';
18+
import ClientResults from '@/components/app_tests/analytics/csr_test_runner';
1919

2020
export const metadata: Metadata = {
2121
title: 'Analytics Web SDK CSR test'

app/tests/analytics/web_ssr/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import { testAnalytics, TestResults } from '../lib/test';
19-
import ResultsDisplay from '../components/results_display';
18+
import { testAnalytics, TestResults } from '@/lib/app_tests/analytics/test';
19+
import ResultsDisplay from '@/components/app_tests/analytics/results_display';
2020

2121
export const metadata: Metadata = {
2222
title: 'Analytics Web SDK SSR test'

app/tests/app/web_client/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import CsrTestRunner from '../components/csr_test_runner';
18+
import CsrTestRunner from '@/components/app_tests/app/csr_test_runner';
1919

2020
export const metadata: Metadata = {
2121
title: 'App Web SDK CSR test'

app/tests/app/web_ssr/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import { testApp, TestResults } from '../lib/test';
19-
import ResultsDisplay from '../components/results_display';
18+
import { testApp, TestResults } from '@/lib/app_tests/app/test';
19+
import ResultsDisplay from '@/components/app_tests/app/results_display';
2020

2121
// Suppress static site generation.
2222
export const dynamic = "force-dynamic";

app/tests/app_check/web_client/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import ClientResults from '../components/csr_test_runner';
18+
import ClientResults from '@/components/app_tests/app_check/csr_test_runner';
1919

2020
export const metadata: Metadata = {
2121
title: 'AppCheck Web SDK CSR test'

app/tests/app_check/web_ssr/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import { testAppCheck, TestResults } from '../lib/test';
19-
import ResultsDisplay from '../components/results_display';
18+
import { testAppCheck, TestResults } from '@/lib/app_tests/app_check/test';
19+
import ResultsDisplay from '@/components/app_tests/app_check/results_display';
2020

2121
// Suppress static site generation.
2222
export const dynamic = "force-dynamic";

app/tests/auth/web_client/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import CSRTestRunner from '../components/csr_test_runner';
18+
import CSRTestRunner from '@/components/app_tests/auth/csr_test_runner';
1919

2020
export const metadata: Metadata = {
2121
title: 'Auth Web SDK CSR test'

app/tests/auth/web_ssr/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import { testAuth, TestResults } from '../lib/test';
19-
import ResultsDisplay from '../components/results_display';
18+
import { testAuth, TestResults } from '@/lib/app_tests/auth/test';
19+
import ResultsDisplay from '@/components/app_tests/auth/results_display';
2020

2121
// Suppress static site generation.
2222
export const dynamic = "force-dynamic";

app/tests/database/web_client/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import CSRTestRunner from '../components/csr_test_runner';
18+
import CSRTestRunner from '@/components/app_tests/database/csr_test_runner';
1919

2020
export const metadata: Metadata = {
2121
title: 'Database Web SDK CSR test'

app/tests/database/web_ssr/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
* limitations under the License.
1616
*/
1717
import type { Metadata } from 'next'
18-
import { testDatabase, TestResults } from '../lib/test';
19-
import ResultsDisplay from '../components/results_display';
18+
import { testDatabase, TestResults } from '@/lib/app_tests/database/test';
19+
import ResultsDisplay from '@/components/app_tests/database/results_display';
2020

2121
// Suppress static site generation.
2222
export const dynamic = "force-dynamic";

0 commit comments

Comments
 (0)