Skip to content

Commit

Permalink
Fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUltDev committed May 6, 2024
1 parent 50144c6 commit 1236985
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 27 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,12 @@
"provider.tsx": "dll",
"store.tsx": "redux-action",
"store.ts": "redux-reducer",
},
"typescript.tsserver.watchOptions": {
"watchDirectory": "useFsEvents",
"fallbackPolling": "dynamicPriorityPolling",
"watchFile": "useFsEventsOnParentDirectory",
"excludeDirectories": ["**/node_modules/**/*"],
"synchronousWatchDirectory": true,
}
}
12 changes: 6 additions & 6 deletions library/src/assets/icon/Icon.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import {Button} from 'vocs/components';

# Icon Asset

> :::summary:::
> A component that can display over 200,000 icons via [Iconify](https://icon-sets.iconify.design)
:::example
<Icon
name="ph:cat"
color="#666"
size={48}
/>
:::

```tsx twoslash
import React from 'react';
Expand All @@ -20,15 +18,17 @@ import React from 'react';
import {Icon} from 'react-exo/icon';

// @log: ↓ Try the example
:::example:::
<Icon
name="ph:cat"
color="#666"
size={48}
/>
```

{/* <Button href="https://exo.fig.run/?path=/docs/primitives-assets-icon">Storybook</Button> */}

## Props

:::props:::

## Platform Support

:::info
Expand Down
4 changes: 2 additions & 2 deletions library/src/assets/icon/Icon.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ export const Icon: Story = {
color: '#666',
size: 90,
},
parameters: {
/*parameters: {
design: {
type: 'figma',
url: 'https://www.figma.com/file/DFmPlavFWyMaYJtoGLhGz3/EXO-%5B45%5D-(Copy)?node-id=2029%3A647',
},
},
},*/
};

export default meta;
8 changes: 2 additions & 6 deletions locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ export type Locales = keyof typeof locales;
export const sourceLocale: Locales = 'en';
export const locales = {
en: 'English',
de: 'Deutsch',
es: 'Español',
pt: 'Portugués',
ja: 'Bahasa Indonesia',
ru: 'Русский',
ar: 'やまと',
id: 'عربي',
ja: 'やまと',
ar: 'عربي',
} as const;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"scripts": {
"start": "conc -c 'auto' 'pnpm:*-dev'",
"build": "conc -c 'auto' -g 'pnpm:*-build'",
"build": "conc -c 'gray,gray,green,yellow,magenta,blue,gray' -g 'pnpm:*-build'",
"generate": "pnpm toolkit-cfg-build && pnpm translate-build && pnpm toolkit-web-build && pnpm library-build && pnpm design-build",

"toolkit-cfg-dev": "pnpm --filter ./toolkit/config dev",
Expand Down
8 changes: 2 additions & 6 deletions toolkit/config/locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ export type Locales = keyof typeof locales;
export const sourceLocale: Locales = 'en';
export const locales = {
en: 'English',
de: 'Deutsch',
es: 'Español',
pt: 'Portugués',
ja: 'Bahasa Indonesia',
ru: 'Русский',
ar: 'やまと',
id: 'عربي',
ja: 'やまと',
ar: 'عربي',
} as const;
3 changes: 1 addition & 2 deletions toolkit/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"build:visionos": "react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.visionos.jsbundle --assets-dest dist",

"metro": "react-native start",
"generate": "pod install --project-directory=ios && pod install --project-directory=macos && pod install --project-directory=visionos",
"postinstall": "pnpm generate"
"generate": "pod install --project-directory=ios && pod install --project-directory=macos && pod install --project-directory=visionos"
},
"dependencies": {
"@callstack/react-native-visionos": "^0.73.0",
Expand Down
2 changes: 1 addition & 1 deletion toolkit/storybook/web/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config: StorybookConfig = {
builder: {
name: '@storybook/builder-vite',
options: {
viteConfigPath: '../../web/gen/web/vite.sb.js',
viteConfigPath: '../../web/gen/vite.sb.js',
},
},
disableTelemetry: true,
Expand Down
3 changes: 0 additions & 3 deletions toolkit/web/src/vite.sb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ export default defineConfig(env => mergeConfig(
baseConfig(env),
defineConfig({
plugins,
build: {
chunkSizeWarningLimit: 600,
},
}),
));

0 comments on commit 1236985

Please sign in to comment.