Skip to content

Commit

Permalink
refactor: move init to new subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jun 19, 2024
1 parent 1e2092d commit a2a6e37
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion packages/myst-cli/src/build/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from './build.js';
export * from './clean.js';
export * from './docx/index.js';
export * from './init.js';
export * from './pdf/index.js';
export * from './site/index.js';
export * from './tex/index.js';
Expand Down
1 change: 0 additions & 1 deletion packages/myst-cli/src/build/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ export * from './getFileContent.js';
export * from './localArticleExport.js';
export * from './resolveAndLogErrors.js';
export * from './bibtex.js';
export * from './github.js';
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import inquirer from 'inquirer';
import chalk from 'chalk';
import type { ISession } from 'myst-cli-utils';
import { makeExecutable, writeFileToFolder } from 'myst-cli-utils';
import { getGithubUrl } from '../utils/github.js';
import { getGithubUrl } from '../../utils/github.js';

function createGithubPagesAction({
defaultBranch = 'main',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import fs from 'node:fs';
import path from 'node:path';
import yaml from 'js-yaml';
import { v4 as uuid } from 'uuid';
import inquirer from 'inquirer';
import chalk from 'chalk';
import { defaultConfigFile, loadConfig, writeConfigs } from '../config.js';
import { loadProjectFromDisk } from '../project/load.js';
import { selectors } from '../store/index.js';
import type { ISession } from '../session/types.js';
import inquirer from 'inquirer';
import chalk from 'chalk';
import { startServer } from './site/start.js';
import { startServer } from '../build/site/start.js';
import { githubCurvenoteAction, githubPagesAction } from './gh-actions/index.js';
import { getGithubUrl } from './utils/github.js';
import { getGithubUrl } from '../utils/github.js';

const VERSION_CONFIG = '# See docs at: https://mystmd.org/guide/frontmatter\nversion: 1\n';

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions packages/myst-cli/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * from './resolveExtension.js';
export * from './shouldIgnoreFile.js';
export * from './toc.js';
export * from './uniqueArray.js';
export * from './github.js';

export * as imagemagick from './imagemagick.js';
export * as inkscape from './inkscape.js';

0 comments on commit a2a6e37

Please sign in to comment.