Skip to content

Commit

Permalink
Add ten as dependency and fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Oct 25, 2024
1 parent f6f2b7a commit 9829709
Show file tree
Hide file tree
Showing 3 changed files with 3,528 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with rho.js
run: "npm i && ./rho.js build"
run: "npm install && ten build"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
22 changes: 5 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
"engines": {
"node": ">=20.12.0"
},
"main": "index.js",
"scripts": {
"build": "./rho.js build",
"build": "ten build",
"check": "lychee --offline .; pipx run linkchecker --ignore-url=node_modules",
"dev": "pnpx nodemon --import ./rho.register.js -- ./rho.js",
"format:prettier": "pnpm run format:toml",
"format:toml": "taplo fmt",
"test": "node --import ./rho.register.js ./rho.test.js",
"test:only": "node --import ./rho.register.js --test-only ./rho.test.js",
"lint": "hyperupcall-scripts-nodejs lint",
"format": "hyperupcall-scripts-nodejs format"
},
Expand All @@ -34,17 +28,11 @@
},
"devDependencies": {
"@hyperupcall/prettier-config": "^0.7.0",
"@hyperupcall/scripts-nodejs": "0.2.0",
"@hyperupcall/ten": "^0.3.0",
"dedent": "^1.5.3",
"prettier-plugin-pkg": "^0.18.1",
"@hyperupcall/scripts-nodejs": "0.2.0"
},
"nodemonConfig": {
"watch": [
"./rho.js",
"./rho.config.js",
"./rho.marked.js"
]
"prettier-plugin-pkg": "^0.18.1"
},
"private": true,
"prettier": "@hyperupcall/scripts-nodejs/prettier-config.js"
}
}
Loading

0 comments on commit 9829709

Please sign in to comment.