bmdl-sdk 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/init.js CHANGED
@@ -62,7 +62,7 @@ updatePackageJson(projectRoot)
62
62
 
63
63
  console.log('✅ Project initialized successfully!')
64
64
  console.log('\nNext steps:')
65
- console.log(' 1. yarn run dev')
65
+ console.log(' 1. yarn run start:dev')
66
66
  console.log(' 2. yarn run build')
67
67
 
68
68
  //////
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmdl-sdk",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -5,7 +5,7 @@ import { Toaster } from 'sonner'
5
5
 
6
6
  import { LangProvider, ThemeProvider } from '@/providers'
7
7
 
8
- import '@/styles/globals.css'
8
+ import '../styles/globals.css'
9
9
 
10
10
  const inter = Inter({
11
11
  subsets: ['latin', 'cyrillic'],
package/src/app/page.tsx CHANGED
@@ -2,7 +2,6 @@ import { Metadata } from 'next'
2
2
  import { useTranslations } from 'next-intl'
3
3
  import { getTranslations } from 'next-intl/server'
4
4
 
5
- import { ComponentWidget } from '@/components/organisms'
6
5
  import { DefaultLayout } from '@/components/templates'
7
6
 
8
7
  export async function generateMetadata(): Promise<Metadata> {
@@ -18,7 +17,8 @@ export default function HomePage() {
18
17
  //
19
18
  return (
20
19
  <DefaultLayout title={t('home')}>
21
- <ComponentWidget />
20
+ {/* <ComponentWidget /> */}
21
+ <div />
22
22
  </DefaultLayout>
23
23
  )
24
24
  }
@@ -1,7 +1,13 @@
1
+ 'use client';
2
+
1
3
  import dynamic from 'next/dynamic'
2
4
 
3
5
  export const ComponentWidget = dynamic(
4
- () => import(`${process.env.PROJECT_ROOT}/src/app/App.tsx`),
6
+ () => {
7
+ console.log('process.env', process.env);
8
+ // @ts-ignore
9
+ return import(`../../../../../../src/app/App.tsx`)
10
+ },
5
11
  {
6
12
  ssr: false,
7
13
  loading: () => <div>Loading...</div>