Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed May 14, 2024
1 parent eef9f29 commit 60f410b
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 90 deletions.
3 changes: 1 addition & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"linked": [["rehype-pretty-code", "@rehype-pretty/transformers"]],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": ["website", "example-*"],
"bumpVersionsWithWorkspaceProtocolOnly": true,
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
Expand Down
2 changes: 1 addition & 1 deletion .changeset/few-fans-bathe.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

- fix: smarter way to modify rounded in presence of title (#205)
- fix: prevent start line numbers being highlighted (#181)
- feat: introduce new package @rehype-pretty/transformers. Release the first transformer: @rehype-pretty/transformers/copy-button (see [example usage](https://github.com/rehype-pretty/rehype-pretty-code/blob/master/examples/astro/astro.config.ts))
- feat: introduce new package `@rehype-pretty/transformers`. Release the first transformer: `@rehype-pretty/transformers/copy-button` (see [example usage](https://github.com/rehype-pretty/rehype-pretty-code/blob/master/examples/astro/astro.config.ts))
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
runs-on: ['ubuntu-latest']
permissions:
issues: write
checks: write
actions: write
contents: write
id-token: write
packages: write
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
with:
# Note: pnpm install after versioning is necessary to refresh lockfile
version: pnpm dlx bun@latest ./scripts/changeset-update-version.ts
publish: pnpm exec changeset publish
publish: pnpm changeset:publish
commit: "[ci] release"
title: "[ci] release"
env:
Expand Down
2 changes: 0 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ node-options="--no-warnings"
ignore-workspace-root-check=true

@jsr:registry=https://npm.jsr.io
//npm.pkg.github.com/:_authToken=NPM_GITHUB_TOKEN

4 changes: 2 additions & 2 deletions examples/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@rehype-pretty/transformers": "workspace:*",
"@tailwindcss/vite": "4.0.0-alpha.14",
"@tailwindcss/vite": "4.0.0-alpha.15",
"rehype-pretty-code": "workspace:*",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.0",
Expand All @@ -23,7 +23,7 @@
"@sveltejs/kit": "^2.5.8",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"magic-string": "^0.30.10",
"svelte": "5.0.0-next.123",
"svelte": "5.0.0-next.132",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
Expand Down
1 change: 0 additions & 1 deletion packages/core/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ shell-emulator=true
shamefully-hoist=true
enable-pre-post-scripts=true
@jsr:registry=https://npm.jsr.io
//npm.pkg.github.com/:_authToken=NPM_GITHUB_TOKEN
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/rehype-pretty/rehype-pretty-code.git",
Expand Down
1 change: 0 additions & 1 deletion packages/transformers/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ shell-emulator=true
shamefully-hoist=true
enable-pre-post-scripts=true
@jsr:registry=https://npm.jsr.io
//npm.pkg.github.com/:_authToken=NPM_GITHUB_TOKEN
161 changes: 83 additions & 78 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scripts/changeset-update-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ run().catch((error) => {
async function run() {
const versionCommand = bun.$`pnpm exec changeset version`.text();
const installCommand = bun.$`pnpm install --lockfile-only`.text();
// const formatCommand = bun.$`biome format . --write`.text();
const formatCommand = bun.$`pnpm biome format . --write`.text();

const results = await Promise.all([
versionCommand,
installCommand,
// formatCommand,
formatCommand,
]);

console.info(JSON.stringify(results, undefined, 2));
Expand Down

0 comments on commit 60f410b

Please sign in to comment.