Skip to content

Commit

Permalink
fix: Weird marker on li (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD authored Jan 10, 2025
1 parent 902c56d commit f3e7686
Show file tree
Hide file tree
Showing 13 changed files with 379 additions and 607 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/continuous-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
bun-version: latest

- name: 📦 Install
run: bun install
version: latest
run_install: false

- name: 🚀 Prepare
run: bun run dev:prepare
run: pnpm run dev:prepare

- name: 🛠️ Build
run: bun run build
run: pnpm run build

- name: 🚀 Continuous Release
run: bunx pkg-pr-new publish './packages/cli'
run: npx pkg-pr-new publish './packages/cli'
10 changes: 3 additions & 7 deletions apps/lp/app/components/layout/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,15 @@ const nav = [
<div class="mt-6">
<div class="relative">
<div class="flex">
<NuxtLink to="/docs" class="group -mb-px -ml-px flex w-full cursor-pointer justify-between gap-2 border border-neutral-800 border-opacity-50 p-4 text-xs text-neutral-500 transition-all duration-300 ease-in-out hover:border-opacity-100 hover:bg-neutral-800/50 hover:text-neutral-200">
<span class="text-neutral-400">
Documentation
</span>
<NuxtLink to="/getting-started" class="group -mb-px -ml-px flex w-full cursor-pointer justify-between gap-2 border border-neutral-800 border-opacity-50 p-4 text-xs text-neutral-500 transition-all duration-300 ease-in-out hover:border-opacity-100 hover:bg-neutral-800/50 hover:text-neutral-200">
Documentation
<UIcon name="lucide:arrow-right" class="ml-1 inline-block text-neutral-400 transition-all duration-300 ease-in-out group-hover:-rotate-45" />
</NuxtLink>
<NuxtLink
to="https://app.shelve.cloud/login"
class="group -mb-px -ml-px flex w-full cursor-pointer justify-between gap-2 border border-neutral-800 border-opacity-50 p-4 text-xs text-neutral-500 transition-all duration-300 ease-in-out hover:border-opacity-100 hover:bg-neutral-800/50 hover:text-neutral-200"
>
<span class="text-neutral-400">
Login
</span>
Login
<UIcon name="lucide:arrow-right" class="ml-1 inline-block text-neutral-400 transition-all duration-300 ease-in-out group-hover:-rotate-45" />
</NuxtLink>
</div>
Expand Down
3 changes: 1 addition & 2 deletions apps/lp/app/components/layout/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ items.push(githubItem)
color="neutral"
:items
class="hidden sm:flex"
:ui="{ link: 'py-1 px-3' }"
>
<template #components-trailing>
<UBadge variant="subtle" size="sm" />
Expand All @@ -59,7 +58,7 @@ items.push(githubItem)
</UDropdownMenu>
</div>
<div>
<UButton label="Open App" @click="navigateTo(`https://app.shelve.cloud/login`, { external: true })" />
<UButton label="Open App" size="sm" @click="navigateTo(`https://app.shelve.cloud/login`, { external: true })" />
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions apps/lp/shelve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/HugoRCD/shelve/main/packages/types/schema.json",
"project": "shelve",
"slug": "hrcd"
}
3 changes: 3 additions & 0 deletions docker/app-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ services:
build:
context: ../
dockerfile: ./apps/shelve/Dockerfile
args:
- TURBO_TEAM=${TURBO_TEAM}
- TURBO_TOKEN=${TURBO_TOKEN}
container_name: shelve_app
restart: always
environment:
Expand Down
4 changes: 4 additions & 0 deletions docker/lp-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ services:
build:
context: ../
dockerfile: ./apps/lp/Dockerfile
args:
- NUXT_UI_PRO_LICENSE=${NUXT_UI_PRO_LICENSE}
- TURBO_TEAM=${TURBO_TEAM}
- TURBO_TOKEN=${TURBO_TOKEN}
container_name: lp
restart: always
environment:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@hrcd/eslint-config": "edge",
"@shelve/cli": "*",
"@shelve/cli": "workspace:*",
"automd": "0.3.12",
"eslint": "9.17.0",
"turbo": "2.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ To start contributing, you can follow these steps:
3. Create a branch using conventional commits and the issue number as the branch name. For example, `feat/123` or `fix/456`.
4. Make changes following the local development steps.
5. Commit your changes following the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
6. If your changes affect the code, run tests using `bun run test`.
6. If your changes affect the code, run tests using `pnpm run test`.
7. Create a pull request following the [Pull Request Template](https://github.com/HugoRCD/markdown/blob/main/src/pull_request_template.md).
- To be merged, the pull request must pass the tests/workflow and have at least one approval.
- If your changes affect the documentation, make sure to update it.
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"dev:prod": "NODE_ENV=production bun src/index.ts",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"release": "bun run test",
"release:edge": "bun run test && npm publish --tag edge",
"release": "pnpm run test",
"release:edge": "pnpm run test && npm publish --tag edge",
"start": "node ./dist/index.mjs",
"test": "bun run build && bun run typecheck && bun run lint && vitest run",
"test": "pnpm run build && pnpm run typecheck && pnpm run lint && vitest run",
"typecheck": "tsc --noEmit",
"vitest": "vitest run"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"dev:prepare": "bun run build",
"dev:prepare": "pnpm run build",
"clean": "rm -rf dist",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"release": "bun run typecheck && bun run lint && bun run build"
"release": "pnpm run typecheck && pnpm run lint && pnpm run build"
},
"sideEffects": false,
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bun install
To run:

```bash
bun run index.ts
pnpm run index.ts
```

This project was created using `bun init` in bun v1.1.34. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"access": "public"
},
"scripts": {
"dev": "bun run src/index.ts",
"dev": "pnpm run src/index.ts",
"dev:prepare": "unbuild",
"build": "unbuild",
"release": "bun run build",
"release": "pnpm run build",
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
Expand Down
Loading

0 comments on commit f3e7686

Please sign in to comment.