Skip to content

Commit

Permalink
chore: update repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 29, 2023
1 parent b5ec030 commit 3270fbc
Show file tree
Hide file tree
Showing 28 changed files with 2,318 additions and 3,656 deletions.
File renamed without changes.
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@v3
- 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"
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: "pnpm"
- run: pnpm install
- run: pnpm lint
# - run: pnpm build
# - run: pnpm vitest --coverage
# - uses: codecov/codecov-action@v3
- run: pnpm test:types
- run: NITRO_PRESET=cloudflare_pages pnpm build
27 changes: 0 additions & 27 deletions .github/workflows/cloudflare.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ node_modules
.DS_Store
coverage
dist

.conf*
.nitro
.output
.cache
.env
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 LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 - UnJS
Copyright (c) 2022 - pooya@pi0.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion server/nitro.config.ts → nitro.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineNitroConfig } from "nitropack";
import { defineNitroConfig } from "nitropack/config";

export default defineNitroConfig({
runtimeConfig: {
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "ungh-monorepo",
"version": "0.0.0",
"name": "ungh",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "cd server && pnpm dev",
"build": "cd server && pnpm build",
"build": "nitropack build",
"dev": "nitropack dev",
"lint": "eslint --ext .ts,.js,.mjs,.cjs . && prettier -c .",
"lint:fix": "eslint --fix --ext .ts,.js,.mjs,.cjs . && prettier -w .",
"release": "pnpm test && changelogen --release && git push --follow-tags && pnpm publish",
"test": "pnpm lint"
"test": "pnpm lint && pnpm test:types",
"test:types": "tsc --noEmit"
},
"devDependencies": {
"changelogen": "^0.4.1",
"eslint": "^8.34.0",
"eslint-config-unjs": "^0.1.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
"eslint": "^8.48.0",
"eslint-config-unjs": "^0.2.0",
"nitropack": "^2.6.2",
"prettier": "^3.0.1",
"typescript": "^5.2.2"
},
"packageManager": "pnpm@7.27.0"
"packageManager": "pnpm@8.7.0"
}
Loading

0 comments on commit 3270fbc

Please sign in to comment.