Skip to content

Commit

Permalink
chore: revert analogjs/astro-angular to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Jan 11, 2025
1 parent 0ffc1fd commit 7c3e224
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 35 deletions.
10 changes: 10 additions & 0 deletions apps/radix-docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import tailwind from '@astrojs/tailwind';
import { getHighlighter } from '@shikijs/compat';
import AutoImport from 'astro-auto-import';
import { defineConfig } from 'astro/config';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import rehypePrettyCode from 'rehype-pretty-code';
import rehypeSlug from 'rehype-slug';
Expand Down Expand Up @@ -42,6 +44,9 @@ const prettyCodeOptions = {
}
};

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

// https://astro.build/config
export default defineConfig({
site: siteConfig.url,
Expand All @@ -66,6 +71,11 @@ export default defineConfig({
'@angular/core/rxjs-interop',
'lucide-angular'
]
},
resolve: {
alias: {
'@': path.resolve(__dirname, 'src')
}
}
},
integrations: [
Expand Down
2 changes: 1 addition & 1 deletion apps/radix-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@alpinejs/focus": "^3.14.8",
"@analogjs/astro-angular": "^2.0.0-alpha.3",
"@analogjs/astro-angular": "2.0.0-alpha.2",
"@astrojs/alpinejs": "^0.4.1",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.3",
Expand Down
8 changes: 4 additions & 4 deletions apps/showcase-taxonomy/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"type": "module",
"dependencies": {
"@analogjs/content": "2.0.0-alpha.3",
"@analogjs/router": "2.0.0-alpha.3",
"@analogjs/platform": "2.0.0-alpha.3",
"@analogjs/vite-plugin-angular": "2.0.0-alpha.3",
"@analogjs/content": "2.0.0-alpha.2",
"@analogjs/router": "2.0.0-alpha.2",
"@analogjs/platform": "2.0.0-alpha.2",
"@analogjs/vite-plugin-angular": "2.0.0-alpha.2",
"marked": "^12.0.2",
"front-matter": "^4.0.2"
}
Expand Down
60 changes: 30 additions & 30 deletions pnpm-lock.yaml

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

0 comments on commit 7c3e224

Please sign in to comment.