Skip to content

Commit

Permalink
Merge branch 'master' into v3-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
prodkt authored Sep 26, 2024
2 parents 26e16a8 + f5cc8ca commit f3f6722
Show file tree
Hide file tree
Showing 22 changed files with 91 additions and 603 deletions.
1 change: 0 additions & 1 deletion apps/marketing/src/components/page-header.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import { cva } from 'class-variance-authority'
import { cn } from '@/utils/cn'
const pageHeaderVariants = cva('', {
Expand Down
2 changes: 1 addition & 1 deletion apps/marketing/src/layouts/PublicLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ThemeProvider } from 'next-themes'
import { Footer } from '@prodkt/ui/prodkt-components/footer'
import { Header } from '@prodkt/ui/prodkt-components/header'
import { PageFooter } from '@prodkt/ui/prodkt-components/page-footer'
import PageFooter from '@prodkt/ui/prodkt-components/page-footer'
import BaseHead from '@/components/BaseHead.astro'
import Plutio from '@/components/plutio/plutio.astro'
Expand Down
4 changes: 2 additions & 2 deletions apps/marketing/src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import './codeblock.scss';
/* @import '@prodkt/tailwind/color'; */
@import '@prodkt/config/tailwind/src/color.css';
@import '@prodkt/config/tailwind/src/ghost.css';
@import '@prodkt/tailwind/color';
@import '@prodkt/tailwind/ghost';
@import '@prodkt/assets/fonts/stylesheet.css';
@import './flow-board.css';

Expand Down
6 changes: 1 addition & 5 deletions apps/marketing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"extends": ["astro/tsconfigs/strictest", "@prodkt/tsconfig/react.json"],
"compilerOptions": {
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@/supabase/*": ["src/supabase/*"],
"@prodkt/assets/*": ["../../packages/assets/*"],
"@prodkt/config/tailwind/*": ["../../packages/config/tailwind/*"],
"@prodkt/ui/*": ["../../packages/ui/dist/*"]
"@/supabase/*": ["src/supabase/*"]
}
},
"exclude": ["public/posthog.js", "dist"]
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Bryan Funk",
"type": "module",
"scripts": {
"build:temporary": "next build",
"build:temp": "next build",
"clean": "bun run rm -rf .next *.tsbuildinfo playwright-report test-results",
"dev": "next dev",
"lint": "eslint . --max-warnings 0",
Expand Down
Empty file modified bun.lockb
100644 → 100755
Empty file.
18 changes: 9 additions & 9 deletions packages/blocks/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))

// https://astro.build/config
export default defineConfig({
build: {
rollupOptions: {
output: {
entryFileNames: 'client.js',
chunkFileNames: 'client.js',
assetFileNames: 'client.[ext]',
},
},
},
// build: {
// rollupOptions: {
// output: {
// entryFileNames: 'client.js',
// chunkFileNames: 'client.js',
// assetFileNames: 'client.[ext]',
// },
// },
// },
integrations: [
react({
experimentalReactChildren: true,
Expand Down
8 changes: 0 additions & 8 deletions packages/blocks/src/component-map.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import TemplateTresLayout from './templates/tres/layouts/TresLayout.astro'
import AmpersandHero from './templates/unique/components/ampersand-hero.astro'
import LevelnHero from './templates/unique/components/leveln-hero.astro'
import RemixHero from './templates/unique/components/remix-hero.astro'
import WarpLandingPage from './templates/unique/components/warp-landing-page.astro'
import AmpersandLayout from './templates/unique/layouts/ampersand-hero-layout.astro'
import LevelnLayout from './templates/unique/layouts/leveln-hero-layout.astro'
import RemixLayout from './templates/unique/layouts/leveln-hero-layout.astro'
import TemplateUnoAboutOne from './templates/uno/components/About_1.astro'
import TemplateUnoComponentTest from './templates/uno/components/ComponentTest.astro'
import TemplateTres404One from './templates/uno/components/Page404_1.astro'
Expand All @@ -26,11 +22,7 @@ const componentMap: ComponentMap = {
WarpLandingPage,
TemplateUnoComponentTest,
LevelnLayout,
RemixLayout,
AmpersandLayout,
AmpersandHero,
LevelnHero,
RemixHero,
}

export { componentMap }
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
import { ArrowRight } from 'lucide-react'

import { Separator } from '@prodkt/ui/primitives/separator'

export function DosAnnouncement() {
return (
<a
href='/docs/changelog'
className='inline-flex items-center rounded-lg border border-[var(--accent9)] bg-[var(-Accent-a2)] px-3 py-1.5 text-sm font-medium'
>
🎉{' '}
<Separator
className='mx-2 h-4 bg-[var(--accentA8)]'
orientation='vertical'
/>{' '}
<span className='sm:hidden'>Introducing Blocks</span>
🎉 <span className='sm:hidden'>Introducing Blocks</span>
<span className='hidden sm:inline'>Introducing Blocks</span>
<ArrowRight className='w-4 h-4 ml-1' />
</a>
Expand Down
350 changes: 0 additions & 350 deletions packages/blocks/src/templates/unique/components/ampersand-hero.astro

This file was deleted.

11 changes: 0 additions & 11 deletions packages/blocks/src/templates/unique/components/remix-hero.astro

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 9 additions & 9 deletions packages/blocks/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react", // or "react-jsx" for React 17+
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "ESNext",
"target": "ESNext",
"verbatimModuleSyntax": false,
"declarationMap": true,
"declaration": true,
// "jsx": "react", // or "react-jsx" for React 17+
// "esModuleInterop": true,
// "allowSyntheticDefaultImports": true,
// "module": "ESNext",
// "target": "ESNext",
// "verbatimModuleSyntax": false,
// "declarationMap": true,
// "declaration": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
"@/*": ["src/*"]
}
}
}
24 changes: 12 additions & 12 deletions packages/blocks/vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { defineConfig } from 'vite'

export default defineConfig({
build: {
rollupOptions: {
output: {
// Set the main entry file to a fixed name
entryFileNames: '_astro/client.js',
// Keep chunk files with hashes to avoid conflicts with dynamic imports
chunkFileNames: '_astro/client-dynamic.js',
// Asset file names (for CSS, images, etc.) can also keep their hashed names
assetFileNames: '_astro/client-[hash].[ext]',
},
},
},
// build: {
// rollupOptions: {
// output: {
// // Set the main entry file to a fixed name
// entryFileNames: '_astro/client.js',
// // Keep chunk files with hashes to avoid conflicts with dynamic imports
// chunkFileNames: '_astro/client-dynamic.js',
// // Asset file names (for CSS, images, etc.) can also keep their hashed names
// assetFileNames: '_astro/client-[hash].[ext]',
// },
// },
// },
})
3 changes: 2 additions & 1 deletion packages/config/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"type": "module",
"exports": {
".": "./src/preset.ts",
"./color": "./src/ghost.css"
"./color": "./src/color.css",
"./ghost": "./src/ghost.css"
},
"scripts": {
"clean": "bun run rm -rf *.tsbuildinfo",
Expand Down
8 changes: 1 addition & 7 deletions packages/config/vite/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,7 @@ export function buildConfig({
suppressPreserveModulesWarning: true,
}),
],
external: [
'react',
'react-dom',
'@dnd-kit',
'@codesandbox/sandpack-react',
/node_modules/,
],
external: [/node_modules/],
output: {
preserveModules: true,
preserveModulesRoot: 'src',
Expand Down
Loading

0 comments on commit f3f6722

Please sign in to comment.