Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @commencis/eslint-config to v1.4.3 #4

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]

- 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