Skip to content

Commit

Permalink
Moved generate to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Dec 24, 2024
1 parent 951f789 commit 8e4c6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
"build": "astro build",
"clean": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' +",
"format": "eslint --fix . && prettier --write .",
"generate": "vite-node generate.ts",
"generate": "vite-node scripts/generate.ts",
"lint": "eslint . && prettier --check .",
"prepare": "husky",
"preview": "npm run build && astro preview --open --port 8080",
"profiles": "vite-node profiles/build.ts",
"start": "astro dev --open --port 8080",
"update": "ncu -u",
"test": "npm run lint",
Expand Down
2 changes: 1 addition & 1 deletion generate.ts → scripts/generate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { version } from "./package.json"
import { version } from "../package.json"
import JsonSchema from "@apidevtools/json-schema-ref-parser"
import fs from "fs-extra"
import { glob } from "glob"
Expand Down

0 comments on commit 8e4c6c0

Please sign in to comment.