Skip to content

Commit

Permalink
Merge branch 'main' into pr/nick-genesis/102
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 4, 2023
2 parents a751edf + 5ea5d96 commit e4a9316
Show file tree
Hide file tree
Showing 17 changed files with 1,507 additions and 1,144 deletions.
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"extends": [
"eslint-config-unjs"
],
"extends": ["eslint-config-unjs"],
"rules": {
"unicorn/prefer-module": 0
}
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: ["main"]

permissions:
contents: read

jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- run: pnpm install
- name: Fix lint issues
run: pnpm run lint:fix
- uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9
with:
commit-message: "chore: apply automated fixes"
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ You can define additional [custom registry](#custom-registry) providers using `r
import { registryProvider } from "giget";

const themes = registryProvider(
"https://raw.githubusercontent.com/unjs/giget/main/templates"
"https://raw.githubusercontent.com/unjs/giget/main/templates",
);

const { source, dir } = await downloadRepo("themes:test", {
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,26 @@
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"colorette": "^2.0.19",
"colorette": "^2.0.20",
"defu": "^6.1.2",
"https-proxy-agent": "^5.0.1",
"https-proxy-agent": "^7.0.2",
"mri": "^1.2.0",
"node-fetch-native": "^1.0.2",
"pathe": "^1.1.0",
"tar": "^6.1.13"
"node-fetch-native": "^1.4.0",
"pathe": "^1.1.1",
"tar": "^6.2.0"
},
"devDependencies": {
"@types/node": "^18.15.11",
"@types/tar": "^6.1.4",
"@vitest/coverage-c8": "^0.29.8",
"changelogen": "^0.5.2",
"eslint": "^8.37.0",
"eslint-config-unjs": "^0.1.0",
"jiti": "^1.18.2",
"prettier": "^2.8.7",
"typescript": "^5.0.3",
"unbuild": "^1.2.0",
"vitest": "^0.29.8"
"@types/node": "^20.8.2",
"@types/tar": "^6.1.6",
"@vitest/coverage-v8": "^0.34.6",
"changelogen": "^0.5.5",
"eslint": "^8.50.0",
"eslint-config-unjs": "^0.2.1",
"jiti": "^1.20.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.6"
},
"packageManager": "pnpm@8.0.0"
"packageManager": "pnpm@8.8.0"
}
Loading

0 comments on commit e4a9316

Please sign in to comment.