Skip to content

Commit

Permalink
build: re-enable chromatic stories
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubisation committed Apr 16, 2024
1 parent a420b08 commit 2b988dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scripts/chromatic-stories-generator.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* eslint-disable import-x/default, import-x/no-named-as-default-member */
import { readdirSync, readFileSync, writeFileSync } from 'fs';
import { basename, dirname, join, relative } from 'path';
import { fileURLToPath } from 'url';

import * as ts from 'typescript';
import ts from 'typescript';

const chromaticFile = join(
dirname(fileURLToPath(import.meta.url)),
Expand Down
3 changes: 2 additions & 1 deletion scripts/migrate-ssr-e2e.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* eslint-disable import-x/default, import-x/no-named-as-default-member */
import { readFileSync, writeFileSync } from 'fs';
import { basename, dirname, join, relative } from 'path';

import * as glob from 'glob';
// eslint-disable-next-line @typescript-eslint/naming-convention
import MagicString from 'magic-string';
import * as ts from 'typescript';
import ts from 'typescript';

/*
* Convert e2e test files to use the lit fixture, to enable ssr testing.
Expand Down
3 changes: 2 additions & 1 deletion scripts/migrate-toggle-data-entry.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* eslint-disable import-x/default, import-x/no-named-as-default-member */
import { readFileSync, writeFileSync } from 'fs';

import * as glob from 'glob';
// eslint-disable-next-line @typescript-eslint/naming-convention
import MagicString from 'magic-string';
import * as ts from 'typescript';
import ts from 'typescript';

function* iterate(node: ts.Node): Generator<ts.Node, void, unknown> {
yield node;
Expand Down

0 comments on commit 2b988dd

Please sign in to comment.