Skip to content

Commit

Permalink
Merge pull request #4 from Commencis/renovate/commencis-eslint-config…
Browse files Browse the repository at this point in the history
…-1.x

chore(deps): update dependency @commencis/eslint-config to v1.4.3
  • Loading branch information
ymehmetcan authored Nov 11, 2024
2 parents 73a146b + e1e6d23 commit 120d565
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 112 deletions.
8 changes: 8 additions & 0 deletions .changeset/eighty-snails-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@commencis/cli': patch
---

update dependency: @commencis/eslint-config@1.4.4

- update folder structure & exports
- comply new import sort rules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"devDependencies": {
"@changesets/cli": "2.27.9",
"@commencis/commitlint-config": "1.1.0",
"@commencis/eslint-config": "1.2.0",
"@commencis/eslint-config": "1.4.4",
"@commencis/prettier-config": "1.1.0",
"@commitlint/cli": "19.5.0",
"@svitejs/changesets-changelog-github-compact": "1.2.0",
Expand Down
184 changes: 80 additions & 104 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions src/commands/create.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import chalk from 'chalk';

import { printLogo, validateProjectName, validateTemplate } from '@/utils';

import { setupTemplate } from '@/helpers';
import { TemplateId } from '@/types';
import { printLogo, validateProjectName, validateTemplate } from '@/utils';

import { setupTemplate } from '@/helpers/setupTemplate';
import { getProjectName, getSelectedTemplate } from '@/prompts';

export type CreateActionOptions = {
Expand Down
5 changes: 5 additions & 0 deletions src/helpers/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export * from './cleanUpDirectory';
export * from './cleanUpTemplateFiles';
export * from './createMetaData';
export * from './setupTemplate';
export * from './updatePackageData';
4 changes: 2 additions & 2 deletions src/helpers/setupTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import fs from 'node:fs/promises';
import os from 'node:os';
import path from 'node:path';
import { promisify } from 'node:util';
import ora from 'ora';

import { getTemplateDataById } from '@/utils';
import ora from 'ora';

import { TemplateId } from '@/types';
import { getTemplateDataById } from '@/utils';

import { cleanUpDirectory } from './cleanUpDirectory';
import { cleanUpTemplateFiles } from './cleanUpTemplateFiles';
Expand Down
Empty file removed src/services/index.ts
Empty file.
3 changes: 1 addition & 2 deletions src/utils/getTemplateDataById.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { TemplateData, TemplateId } from '@/types';

import { TEMPLATE_DATA } from '@/constants';
import { TemplateData, TemplateId } from '@/types';

export function getTemplateDataById(id: TemplateId): TemplateData {
const templateData = Object.values(TEMPLATE_DATA).find(
Expand Down

0 comments on commit 120d565

Please sign in to comment.