Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 14, 2024
1 parent e14f123 commit f76c743
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 112 deletions.
2 changes: 1 addition & 1 deletion examples/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@astrojs/check": "^0.6.0",
"@types/node": "^20.12.11",
"@types/node": "^20.12.12",
"typescript": "^5.4.5"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@biomejs/biome": "^1.7.3",
"@changesets/cli": "^2.27.1",
"@types/bun": "^1.1.2",
"@types/node": "^20.12.11",
"@types/node": "^20.12.12",
"bun": "^1.1.8",
"simple-git-hooks": "^2.11.1",
"turbo": "^1.13.3",
Expand All @@ -37,7 +37,7 @@
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint && pnpm lint:repo && pnpm typecheck"
},
"packageManager": "pnpm@9.1.0",
"packageManager": "pnpm@9.1.1",
"author": "https://github.com/atomiks",
"contributors": [
"atomiks (https://github.com/atomiks)",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/jsr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@rehype-pretty/core",
"version": "0.13.1",
"version": "0.13.2",
"exports": "./src/index.ts",
"publish": {
"include": ["src/**/*.ts", "README.md", "LICENSE", "jsr.json"],
Expand Down
13 changes: 3 additions & 10 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
},
"./package.json": "./package.json"
},
"files": [
"dist",
"package.json",
"README.md",
"LICENSE"
],
"files": ["dist", "package.json", "README.md", "LICENSE"],
"scripts": {
"build": "tsup --config=tsup.config.ts",
"test": "vitest --run",
Expand All @@ -42,7 +37,7 @@
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@shikijs/transformers": "^1.5.1",
"@types/node": "^20.12.11",
"@types/node": "^20.12.12",
"hast-util-to-html": "^9.0.1",
"mdast-util-to-hast": "^13.1.0",
"prettier": "^3.2.5",
Expand Down Expand Up @@ -70,9 +65,7 @@
"url": "git+https://github.com/rehype-pretty/rehype-pretty-code.git",
"directory": "packages/core"
},
"browserslist": [
"node 18"
],
"browserslist": ["node 18"],
"author": "https://github.com/atomiks",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/transformers/jsr.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@rehype-pretty/transformers",
"version": "0.13.1",
"version": "0.13.2",
"exports": "./src/index.ts",
"publish": {
"include": ["src/**/*.ts", "README.md", "LICENSE", "jsr.json"],
Expand Down
13 changes: 3 additions & 10 deletions packages/transformers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@
"./package.json": "./package.json"
}
},
"files": [
"dist",
"package.json",
"README.md",
"LICENSE"
],
"files": ["dist", "package.json", "README.md", "LICENSE"],
"sideEffects": false,
"scripts": {
"build": "tsup --config=tsup.config.ts",
Expand All @@ -51,7 +46,7 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@types/node": "^20.12.11",
"@types/node": "^20.12.12",
"tsup": "^8.0.2",
"tsx": "^4.10.2",
"typescript": "^5.4.5"
Expand All @@ -65,8 +60,6 @@
"directory": "packages/transformers"
},
"author": "https://github.com/o-az",
"browserslist": [
"node 20"
],
"browserslist": ["node 20"],
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/transformers/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
outDir: 'dist',
format: ['esm'],
splitting: true,
sourcemap: true,
sourcemap: process.env.NODE_ENV === 'development' ? 'inline' : false,
target: ['esnext'],
entry: {
index: './src/index.ts',
Expand Down
Loading

0 comments on commit f76c743

Please sign in to comment.