Skip to content

Commit

Permalink
Merge pull request #120 from tuatmcc/develop
Browse files Browse the repository at this point in the history
version up
  • Loading branch information
OJII3 authored Mar 2, 2024
2 parents 3e70a44 + 9f9299b commit 0510edd
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 38 deletions.
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "20"
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.8.0
20.11.1
7 changes: 5 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"linter": {
"enabled": true,
"rules": {
"all": true,
"nursery": {
"noUnusedImports": "error"
},
"style": {
"noDefaultExport": "off"
}
}
},
Expand Down Expand Up @@ -38,7 +42,6 @@
"useIgnoreFile": true
},
"files": {
"include": ["src/**/*.ts", "test/**/*.ts", "scripts/**/*.js"],
"ignore": ["dist/**", "node_modules/**"]
"ignore": ["/bin/", "/lib/"]
}
}
110 changes: 80 additions & 30 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdorganizer",
"version": "2.4.1",
"version": "2.4.2",
"description": "A cli tool to convert Markdown into TypeScript Module",
"author": "tuatmcc",
"license": "MIT",
Expand All @@ -15,7 +15,7 @@
"build": "node ./scripts/build.js",
"start": "node ./bin/cli.js",
"main": "tsx ./src/main.ts",
"lint": "biome lint . && biome format .",
"lint": "biome check .",
"fmt": "biome check --apply .",
"test": "vitest"
},
Expand All @@ -33,7 +33,8 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.3.3",
"@biomejs/biome": "^1.5.3",
"@types/node": "^20.11.24",
"@types/uuid": "^9.0.7",
"esbuild-node-externals": "^1.7.0",
"tsx": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions tests/mock/generated/tests_mock_content_blog_hello_index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BlogDocument } from './types';

export default ({
export default {
documentCategory: 'blog',
globPattern: 'tests/mock/content/blog/**/index.md',
rootPath: 'tests/mock/content/blog/hello/index.md',
Expand All @@ -12,4 +12,4 @@ export default ({
bool: true,
num: 1,
},
} satisfies BlogDocument);
} satisfies BlogDocument;

0 comments on commit 0510edd

Please sign in to comment.