Skip to content

Commit

Permalink
Update dependencies (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Jan 17, 2024
1 parent 08655e8 commit 0f4a31d
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 132 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-cherries-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/starlight': patch
---

Updates dependencies: `@astrojs/mdx`, `@astrojs/sitemap`, and `astro-expressive-code`
4 changes: 2 additions & 2 deletions examples/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"dependencies": {
"@astrojs/starlight": "^0.15.3",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.0.3",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.0.1",
"sharp": "^0.32.5",
"tailwindcss": "^3.3.3"
"tailwindcss": "^3.4.1"
}
}
8 changes: 4 additions & 4 deletions packages/starlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,19 +166,19 @@
"astro": "^4.0.0"
},
"devDependencies": {
"@astrojs/markdown-remark": "^4.0.0",
"@astrojs/markdown-remark": "^4.0.1",
"@types/node": "^18.16.19",
"@vitest/coverage-v8": "^0.33.0",
"astro": "^4.0.1",
"vitest": "^0.33.0"
},
"dependencies": {
"@astrojs/mdx": "^2.0.0",
"@astrojs/sitemap": "^3.0.3",
"@astrojs/mdx": "^2.0.4",
"@astrojs/sitemap": "^3.0.4",
"@pagefind/default-ui": "^1.0.3",
"@types/hast": "^3.0.3",
"@types/mdast": "^4.0.3",
"astro-expressive-code": "^0.30.1",
"astro-expressive-code": "^0.31.0",
"bcp-47": "^2.1.0",
"hast-util-select": "^6.0.2",
"hastscript": "^8.0.0",
Expand Down
78 changes: 39 additions & 39 deletions packages/tailwind/__tests__/tailwind.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,44 +30,44 @@ describe('@tailwind base;', async () => {

test('generates Starlight base CSS', async () => {
expect(base).toMatchInlineSnapshot(`
"*, ::before, ::after {
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}
::before, ::after {
--tw-content: ;
}
:root {
--sl-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", Arial, \\"Noto Sans\\", sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\", \\"Noto Color Emoji\\";
--sl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \\"Liberation Mono\\", \\"Courier New\\", monospace;
--sl-color-white: #fff;
--sl-color-gray-1: #e5e7eb;
--sl-color-gray-2: #d1d5db;
--sl-color-gray-3: #9ca3af;
--sl-color-gray-4: #4b5563;
--sl-color-gray-5: #374151;
--sl-color-gray-6: #1f2937;
--sl-color-black: #111827;
--sl-color-accent-low: #1e1b4b;
--sl-color-accent: #4f46e5;
--sl-color-accent-high: #c7d2fe;
}
:root[data-theme=\\"light\\"] {
--sl-color-white: #111827;
--sl-color-gray-1: #1f2937;
--sl-color-gray-2: #374151;
--sl-color-gray-3: #6b7280;
--sl-color-gray-4: #9ca3af;
--sl-color-gray-5: #d1d5db;
--sl-color-gray-6: #e5e7eb;
--sl-color-gray-7: #f3f4f6;
--sl-color-black: #fff;
--sl-color-accent-low: #c7d2fe;
--sl-color-accent: #4f46e5;
--sl-color-accent-high: #312e81;
}"
`);
"*, ::before, ::after {
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}
::before, ::after {
--tw-content: ;
}
:root {
--sl-font: ui-sans-serif, system-ui, sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\", \\"Noto Color Emoji\\";
--sl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \\"Liberation Mono\\", \\"Courier New\\", monospace;
--sl-color-white: #fff;
--sl-color-gray-1: #e5e7eb;
--sl-color-gray-2: #d1d5db;
--sl-color-gray-3: #9ca3af;
--sl-color-gray-4: #4b5563;
--sl-color-gray-5: #374151;
--sl-color-gray-6: #1f2937;
--sl-color-black: #111827;
--sl-color-accent-low: #1e1b4b;
--sl-color-accent: #4f46e5;
--sl-color-accent-high: #c7d2fe;
}
:root[data-theme=\\"light\\"] {
--sl-color-white: #111827;
--sl-color-gray-1: #1f2937;
--sl-color-gray-2: #374151;
--sl-color-gray-3: #6b7280;
--sl-color-gray-4: #9ca3af;
--sl-color-gray-5: #d1d5db;
--sl-color-gray-6: #e5e7eb;
--sl-color-gray-7: #f3f4f6;
--sl-color-black: #fff;
--sl-color-accent-low: #c7d2fe;
--sl-color-accent: #4f46e5;
--sl-color-accent-high: #312e81;
}"
`);
});

test('configures `--sl-color-*` variables', () => {
Expand Down Expand Up @@ -107,7 +107,7 @@ describe('@tailwind base;', async () => {
--tw-content: ;
}
:root {
--sl-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", Arial, \\"Noto Sans\\", sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\", \\"Noto Color Emoji\\";
--sl-font: ui-sans-serif, system-ui, sans-serif, \\"Apple Color Emoji\\", \\"Segoe UI Emoji\\", \\"Segoe UI Symbol\\", \\"Noto Color Emoji\\";
--sl-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \\"Liberation Mono\\", \\"Courier New\\", monospace;
--sl-color-white: #fff;
--sl-color-gray-1: #e5e7eb;
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@vitest/coverage-v8": "^0.33.0",
"postcss": "^8.4.27",
"postcss": "^8.4.33",
"vitest": "^0.33.0"
},
"peerDependencies": {
Expand Down
Loading

1 comment on commit 0f4a31d

@vercel
Copy link

@vercel vercel bot commented on 0f4a31d Jan 17, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.