Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
SYNC_LIFECYCLE_DOCS=
GITHUB_TOKEN=
UI_BRANCH=main
CORE_BRANCH=main
LC_DOCS_PUBLISH=
NEXT_PUBLIC_DEV_ENV=local
DEV_ENV=local
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
- name: Deploy app
run: bun run deploy
env:
GITHUB_TOKEN: ${{ secrets.LC_DOCS_PUBLISH }}
SYNC_LIFECYCLE_DOCS: ${{ secrets.LC_DOCS_PUBLISH }}
UI_BRANCH: main
CORE_BRANCH: main

Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ dist
.yarn/install-state.gz
.pnp.*

src/pages/docs/schema/yaml

src/lib/data

src/pages/tags
Expand Down
4 changes: 1 addition & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ echo "Running build:prep..."
bun run build:prep
echo "Staging changes from build:prep..."
# add all page changes after build:prep
git add src/pages/articles/*.mdx src/pages/docs/*.mdx
# add all static changes after build:prep
git add src/lib/static
git add src/pages/docs/*.mdx
echo "Running lint-staged..."
lint-staged
echo "Pre-commit hooks completed successfully. ✨"
Expand Down
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ WORKDIR /app
# Copy dependency files
COPY package*.json bun.lock* ./
RUN bun install
ARG SYNC_LIFECYCLE_DOCS
ENV SYNC_LIFECYCLE_DOCS=${SYNC_LIFECYCLE_DOCS}

COPY . .

Expand Down
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,23 +92,6 @@ Install the dependencies
bun install
```

Create a PAT with with the permissions below (`"code"` is `"Read and Write content"` ).
Add it to your `.env` file by copying `.env.example` and adding your PAT to the `SYNC_LIFECYCLE_DOCS` and `GITHUB_TOKEN`.

### PAT: Personal Access Token, create a fine-grained access token with the following permissions

| rule | access level |
| --- | --- |
| members | `read` |
| metadata | `read` |
| actions | `read/write` |
| contents | `read/write` |
| pull requests | `read/write` |
| workflows | `read/write` |

\*The following permissiones allow you to update content located in scripts


Run the development server

```bash
Expand Down
8 changes: 8 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@
"build:styles": "tailwindcss -i ./src/styles/globals.css -o public/styles.css",
"build:meta": "bun run ./scripts/generateMeta.ts",
"build:tags": "bun run ./scripts/generateTagPages.ts",
"build:sectiondata": "bun run ./scripts/generateSectionData.ts",
"build:blogroll": "bun run ./scripts/generateBlogroll.ts --debug",
"build:prep": "bun run clean && bun run build:remote:schema && bun run build:tags && bun run build:meta && bun run build:sectiondata && bun run sync:doc:dates && bun run build:blogroll && bun run sync:content",
"sync:doc:dates": "bun run ./scripts/syncDocDates.ts src/pages/articles/**/*.mdx src/pages/docs/*.mdx",
"sync:content": "bun run ./scripts/generateAllContent.ts",
"build:remote:schema": "bun run ./scripts/generateJsonSchema.ts",
"clean": "rimraf src/pages/schema src/pages/tags src/lib/data",
"build:prep": "bun run clean && bun run build:tags && bun run build:meta",
"clean": "rimraf src/pages/tags src/lib/data",
"dev": "bun run build:prep && next dev -p 3333",
"deploy": "bun run build && touch out/.nojekyll",
"start": "next start",
Expand Down Expand Up @@ -42,6 +37,7 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"codehike": "^1.0.7",
"framer-motion": "^12.26.2",
"lucide-react": "^0.511.0",
"next": "^15.3.2",
"nextra": "^^^3.2.4",
Expand Down
131 changes: 0 additions & 131 deletions scripts/generateAllContent.ts

This file was deleted.

126 changes: 0 additions & 126 deletions scripts/generateBlogroll.ts

This file was deleted.

Loading