Skip to content

Commit 1dc9615

Browse files
committed
fix: stabilize cockpit integration workflows
1 parent 01d6c73 commit 1dc9615

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

apps/website/src/components/docs/open-in-cockpit.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { renderToStaticMarkup } from 'react-dom/server';
33
import { describe, expect, it } from 'vitest';
4-
import { resolveDocsBundle } from '../../../../../libs/cockpit-docs/src/index';
4+
import { resolveDocsBundle } from '@cacheplane/cockpit-docs';
55
import { OpenInCockpit } from './open-in-cockpit';
66

77
describe('OpenInCockpit', () => {

apps/website/src/components/docs/open-in-cockpit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { toCockpitHref, type DocsBundle } from '../../../../../libs/cockpit-docs/src/index';
2+
import { toCockpitHref, type DocsBundle } from '@cacheplane/cockpit-docs';
33

44
interface OpenInCockpitProps {
55
bundle: DocsBundle;

apps/website/src/lib/docs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
resolveDocsBundle,
66
toDocsSlug,
77
type DocsBundle,
8-
} from '../../../../libs/cockpit-docs/src/index';
8+
} from '@cacheplane/cockpit-docs';
99

1010
const resolveContentDir = (...segments: string[]): string => {
1111
const workspacePath = path.join(process.cwd(), 'apps', 'website', ...segments);

eslint.config.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ export default [
55
...nx.configs['flat/typescript'],
66
...nx.configs['flat/javascript'],
77
{
8-
ignores: ['**/dist', '**/out-tsc', '**/next-env.d.ts'],
8+
ignores: [
9+
'**/dist',
10+
'**/out-tsc',
11+
'**/.next',
12+
'**/.next/**',
13+
'**/public/demo',
14+
'**/public/demo/**',
15+
'**/next-env.d.ts',
16+
],
917
},
1018
{
1119
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],

0 commit comments

Comments
 (0)