@aryaemami59/tsconfig 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/scripts/build.ts +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aryaemami59/tsconfig",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "TypeScript configuration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
},
|
|
234
234
|
"devDependencies": {
|
|
235
235
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
236
|
-
"@types/node": "^25.2.
|
|
236
|
+
"@types/node": "^25.2.3",
|
|
237
237
|
"prettier": "^3.8.1",
|
|
238
238
|
"publint": "^0.3.17",
|
|
239
239
|
"typescript": "^5.9.3"
|
package/scripts/build.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as fs from 'node:fs/promises'
|
|
4
4
|
import * as path from 'node:path'
|
|
5
|
-
import {
|
|
5
|
+
import type { Options } from 'prettier'
|
|
6
|
+
import { format } from 'prettier'
|
|
6
7
|
import ts from 'typescript'
|
|
7
8
|
import packageJson from '../package.json' with { type: 'json' }
|
|
8
9
|
import type {
|
|
@@ -237,7 +238,10 @@ const build = async () => {
|
|
|
237
238
|
}),
|
|
238
239
|
} as const satisfies TsConfigJson
|
|
239
240
|
|
|
240
|
-
const prettierConfig =
|
|
241
|
+
const prettierConfig = {
|
|
242
|
+
semi: false,
|
|
243
|
+
singleQuote: true,
|
|
244
|
+
} as const satisfies Options
|
|
241
245
|
|
|
242
246
|
fs.writeFile(
|
|
243
247
|
tsconfigJsonPath,
|