Skip to content

Commit

Permalink
Merge pull request #189 from jaredwray/upgrading-express-to-4.21.0
Browse files Browse the repository at this point in the history
upgrading express to 4.21.0
  • Loading branch information
jaredwray authored Sep 18, 2024
2 parents 014eb72 + 4941153 commit 7b8fbf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"clean": "rimraf ./dist ./coverage ./node_modules ./package-lock.json ./yarn.lock ./pnpm-lock.yaml ./site/README.md ./site/dist",
"build": "rimraf ./dist && tsup src/docula.ts --format cjs,esm --dts --clean",
"build": "rimraf ./dist && tsup src/docula.ts --format esm --dts --clean",
"build-site": "rimraf ./site/README.md && node bin/docula.mjs build -s ./site -o ./site/dist",
"serve-mega": "rimraf ./test/fixtures/mega-page-site/dist && node bin/docula.mjs serve -s ./test/fixtures/mega-page-site",
"test": "xo --fix && vitest run --coverage",
Expand All @@ -50,7 +50,7 @@
"axios": "^1.7.7",
"cheerio": "^1.0.0",
"ecto": "^3.0.8",
"express": "^4.19.2",
"express": "^4.21.0",
"feed": "^4.2.2",
"gray-matter": "^4.0.3",
"he": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import process from 'node:process';
import {type DoculaSection} from './builder.js';

export class DoculaOptions {
public templatePath = path.join(process.cwd(), './template');
public templatePath = path.join(import.meta.url, '../../template').replace('file:', '');
public outputPath = path.join(process.cwd(), './dist');
public sitePath = path.join(process.cwd(), './site');
public githubPath = 'jaredwray/docula';
Expand Down

0 comments on commit 7b8fbf4

Please sign in to comment.