Merge branch '56-output-single-file-with-all-types' into 'development'

Resolve "Output single file with all types"

Closes #56

See merge request GeneralProtocols/xo/stack!92
This commit is contained in:
Jim Hamill
2025-05-18 04:49:35 +00:00
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -10,8 +10,8 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"build": "tsc --build --clean && tsc --build", "build": "tsc --build --clean && tsc --build && npm run build:types",
"prepublishOnly": "npm run build", "build:types": "tsc --emitDeclarationOnly --outFile dist/types-bundled.d.ts",
"format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore", "format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore",
"madge": "npx madge --circular ./src/index.ts", "madge": "npx madge --circular ./src/index.ts",
"test": "vitest --run", "test": "vitest --run",
+2 -1
View File
@@ -21,7 +21,8 @@
], ],
"scripts": { "scripts": {
"bench": "vitest bench", "bench": "vitest bench",
"build": "tsc --build --clean && tsc --build", "build": "tsc --build --clean && tsc --build && npm run build:types",
"build:types": "tsc --emitDeclarationOnly --outFile dist/types-bundled.d.ts",
"format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore", "format": "prettier --write \"**/*.{js,ts,md,json}\" --ignore-path .gitignore",
"madge": "npx madge --circular ./src/index.ts", "madge": "npx madge --circular ./src/index.ts",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",