Skip to content

Commit

Permalink
refactor: fix import casing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 16, 2024
1 parent 88e3ca7 commit b3b078d
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { removeSync } from 'fs-extra'
import { Application } from '@adonisjs/application'
import { utils, logger, tasksUi } from '@adonisjs/sink'

import { tasks } from './Tasks'
import { tasks } from './tasks'
import { greet } from './src/Chalk/greet'
import { showArt } from './src/Chalk/art'
import { getHelp } from './src/Chalk/help'
Expand Down
2 changes: 1 addition & 1 deletion src/Chalk/greet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { instructions, logger } from '@adonisjs/sink'
import { CliState } from '../contracts'
import { CliState } from '../Contracts'

/**
* Greet post creation
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import cliWidth from 'cli-width'
import { isAbsolute, join, basename } from 'path'
import { files, getPrompt } from '@adonisjs/sink'

import { CliState } from '../contracts'
import { CliState } from '../Contracts'
import { ensureDirSync } from 'fs-extra'

/**
Expand Down
2 changes: 1 addition & 1 deletion src/schematics/packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

import { CliState } from '../contracts'
import { CliState } from '../Contracts'

export const packages: {
[K in CliState['boilerplate']]: {
Expand Down
2 changes: 1 addition & 1 deletion tasks/ConfigureEncore/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import execa from 'execa'
import { join } from 'path'
import { files, logger as SinkLogger } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Creates the CSS entrypoint
Expand Down
4 changes: 2 additions & 2 deletions tasks/ConfigurePackages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/

import { tasks } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { packages } from '../../src/Schematics/packages'
import { TaskFn } from '../../src/Contracts'
import { packages } from '../../src/schematics/packages'

/**
* Configure installed packages by running `node ace invoke instructions`
Expand Down
2 changes: 1 addition & 1 deletion tasks/ConfigureTests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import execa from 'execa'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Configure tests
Expand Down
2 changes: 1 addition & 1 deletion tasks/FormatSource/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import execa from 'execa'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Format source files using prettier
Expand Down
2 changes: 1 addition & 1 deletion tasks/GenerateManifest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import execa from 'execa'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Generate manifest file by running `node ace generate:manifest` file
Expand Down
4 changes: 2 additions & 2 deletions tasks/InstallDependencies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* file that was distributed with this source code.
*/

import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'
import { getInstallMessage } from '../../src/Helpers'
import { packages } from '../../src/Schematics/packages'
import { packages } from '../../src/schematics/packages'

/**
* Creates the `package.json` file in the project root and installs
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/copyTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { join } from 'path'
import { utils, files } from '@adonisjs/sink'
import { fsReadAll } from '@poppinss/utils/build/helpers'

import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Copy boilerplate files to the destination
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/createEditorConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { files } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Create `.editorconfig` inside destination
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/createGitIgnore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { files } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Creates `.gitignore` file inside destination
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/createRcFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { files } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Creates the `.adonisrc.json` inside destination
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/createTsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { files } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Creates `tsconfig.json` file inside destination
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/setupEslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* file that was distributed with this source code.
*/

import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Setup eslint inside the project
Expand Down
2 changes: 1 addition & 1 deletion tasks/Scaffold/setupPrettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { files } from '@adonisjs/sink'
import { TaskFn } from '../../src/contracts'
import { TaskFn } from '../../src/Contracts'

/**
* Setup prettier inside the project
Expand Down

0 comments on commit b3b078d

Please sign in to comment.