Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
⬆️ dependency upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shiru committed Sep 13, 2023
1 parent 5d759d4 commit 96a12ca
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ on:

jobs:
build:
name: Build
name: Build documentation
runs-on: ubuntu-latest
steps:
- name: Use Checkout 4
uses: actions/checkout@v4

- name: Copy required files to docs
run: mkdir ./docs && cp ./favicon.ico ./logo.svg ./docs

- name: Use Node.js 20
uses: actions/setup-node@v3
with:
Expand All @@ -30,17 +27,20 @@ jobs:
- name: Install typedoc
run: pnpm add -g typedoc

- name: Generate Documentation
- name: Generate documentation
run: typedoc

- name: Upload Pages Artifact
- name: Copy documentation assets
run: cp ./favicon.ico ./logo.svg ./docs

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./docs
name: github-pages
retention-days: 1
deploy:
name: Deploy
name: Deploy documentation
needs: build
runs-on: ubuntu-latest
permissions:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test & Coverage

on: [push]
on:
push:
branches:
- main

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ $RECYCLE.BIN/
# Distribution directory
dist/

# Documentation
docs/

# Lock files
bun.lockb
package-lock.json
Expand Down
13 changes: 2 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
{
"cSpell.words": [
"Nullish",
"Vangware",
"bigint",
"pnpm",
"pnpx",
"prettierignore",
"stylelint",
"stylelintrc"
],
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "./node_modules/typescript/lib"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
- This project adheres to [Semantic Versioning][semver].
- This project uses [Gitmoji][gitmoji]

## 10.1.16

- ⬆️ dependency upgrade.

## 10.1.15

- ⬆️ dependency upgrade.
Expand Down
6 changes: 0 additions & 6 deletions lefthook.yml

This file was deleted.

15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"url": "https://github.com/vangware/utils/issues"
},
"dependencies": {
"@vangware/predicates": "^2.1.29",
"@vangware/types": "^6.2.5"
"@vangware/predicates": "^2.1.30",
"@vangware/types": "^6.2.6"
},
"devDependencies": {
"@evilmartians/lefthook": "^1.4.10",
"@types/node": "^20.6.0",
"@vangware/configs": "^5.1.7",
"@vangware/test": "^10.3.22",
"@vangware/configs": "^6.0.0",
"@vangware/test": "^10.3.23",
"c8": "^8.0.1",
"eslint": "^8.49.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.9.0",
"tsx": "^3.12.9",
"typescript": "^5.2.2"
},
Expand Down Expand Up @@ -62,15 +62,18 @@
"scripts": {
"clean": "rimraf ./dist",
"compile": "tsc --project tsconfig.dist.json",
"git:pre-push": "run-s --print-label clean pre-compile lint test",
"lint": "eslint {src,tests}",
"lint:fix": "eslint {src,tests} --fix",
"pre-compile": "tsc --noEmit --project tsconfig.dist.json",
"prepare": "simple-git-hooks",
"prepublishOnly": "run-s compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' c8 test"
},
"sideEffects": false,
"simple-git-hooks": {
"pre-push": "$(pwd)/node_modules/.bin/run-s --print-label clean pre-compile lint test"
},
"type": "module",
"types": "./dist/index.d.ts"
}
2 changes: 1 addition & 1 deletion typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://typedoc.org/schema.json",
"cname": "utils.vangware.com",
"entryPoints": ["./src"],
"extends": ["@vangware/configs/typedoc.json"],
"extends": ["@vangware/configs/typedoc.config.json"],
"name": "Utils by Vangware"
}

0 comments on commit 96a12ca

Please sign in to comment.