Skip to content

Commit

Permalink
refactor: small changes (#108)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 6, 2024
1 parent fa7b30d commit a68d324
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 27 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"semantic-release": "^23.0.0 || ^24.0.0"
},
"devDependencies": {
"@archoleat/commitlint-define-config": "^1.0.7",
"@archoleat/commitlint-define-config": "^1.0.8",
"@archoleat/eslint-flat-compatibility": "^1.1.6",
"@archoleat/semantic-release-define-config": "^1.1.11",
"@archoleat/semantic-release-define-config": "^1.1.12",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/types": "^19.0.3",
Expand Down
44 changes: 25 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ const sourceFolder = 'src';
const typesFolder = `${sourceFolder}/types`;

const fileName = 'index';
const fileFormat = 'es';

const indexFile = `${fileName}.ts`;
const declarationFile = `${fileName}.d.ts`;
const outputFile = `${fileName}.js`;

const fileFormat = 'es';

export default defineConfig([
{
plugins: [typescript(), minify()],
Expand Down
6 changes: 3 additions & 3 deletions specs/define-config.spec-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { UserConfig } from '#types';

import { defineConfig } from '#src';

describe('Define Semantic Release Config', () => {
spec('define empty config', async () => {
describe('Semantic Release Config', () => {
spec('empty config', async () => {
expectTypeOf(defineConfig({})).toEqualTypeOf<UserConfig>();
});

spec('define config', async () => {
spec('config', async () => {
expectTypeOf(
defineConfig({
branches: [],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "",
"rootDir": "",
"rootDir": "src",
"skipLibCheck": true,
"target": "ESNext",
"types": ["vitest"]
Expand Down

0 comments on commit a68d324

Please sign in to comment.