Skip to content

Commit

Permalink
use prettier rehype code (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Jan 18, 2024
1 parent a6e51e5 commit 8d086e7
Show file tree
Hide file tree
Showing 14 changed files with 170 additions and 561 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ yarn.lock
.vercel

# Generated Content
src/shiki/
public/robots.txt
public/sitemap.xml
public/sitemap-*.xml
3 changes: 1 addition & 2 deletions docs/articles/archiving-requests-to-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ You'll need another environment variable called `BLOB_CONTAINER_PATH`.
We'll write a policy called `request-archive-policy` that can be used on all
routes.

```ts
// file-archive-policy.ts
```ts title="file-archive-policy.ts"
import { ZuploRequest, ZuploContext } from "@zuplo/runtime";

export type RequestArchivePolicyOptions = {
Expand Down
90 changes: 19 additions & 71 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
"build:scripts": "node ./scripts/build.mjs",
"format": "prettier --write .",
"typecheck": "tsc",
"postinstall": "npm run get-policies && npm run ci:shiki",
"postinstall": "npm run get-policies",
"get-policies": "sh ./scripts/get-policies.sh",
"ci:shiki": "node ./scripts/copy-shiki.mjs",
"ci:policies": "node ./scripts/build.mjs && node --enable-source-maps ./scripts/update-policies.main.mjs"
},
"browserslist": "defaults, not ie <= 11",
Expand Down Expand Up @@ -50,10 +49,10 @@
"remark-gfm": "^3.0.1",
"remark-rehype": "^10.1.0",
"sharp": "^0.32.0",
"shiki": "^0.14.7",
"simple-functional-loader": "^1.2.1",
"tailwindcss": "^3.3.3",
"typescript": "^5.2.2",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"zustand": "^4.4.7"
},
Expand Down
13 changes: 0 additions & 13 deletions scripts/copy-shiki.mjs

This file was deleted.

Loading

1 comment on commit 8d086e7

@vercel
Copy link

@vercel vercel bot commented on 8d086e7 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

docs-git-main.zuplopreview.net
docs.zuplo.site
docs.zuplopreview.net

Please sign in to comment.