Skip to content

Commit

Permalink
fix: Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurTriis1 committed Dec 27, 2024
1 parent 8096ab5 commit 07a7367
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/utils/directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const withBasePath = (basepath: string) => {
* If it reaches process.cwd() (or /, as a safeguard), without finding it, it will throw an exception
*/
const getCorePackagePath = () => {
const packageFromNodeModules = path.join(
const coreFromNodeModules = path.join(
'node_modules',
'@faststore',
'core'
Expand All @@ -39,7 +39,7 @@ export const withBasePath = (basepath: string) => {
resolvedCwd,
basepath,
...parents,
packageFromNodeModules
coreFromNodeModules
)

if (fs.existsSync(attemptedPath)) {
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/customizations/src/GlobalOverrides.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import WebFontsOverrides from 'src/customizations/src/components/overrides/WebFonts'
import { default as CoreWebFonts } from 'src/fonts/WebFonts'
import ThirdPartyScriptsOverrides from 'src/customizations/src/components/overrides/ThirdPartyScripts'
import ThirdPartyScriptsPluginsOverrides from 'src/plugins/overrides/ThirdPartyScripts'
import WebFontsOverridesPlugins from 'src/plugins/overrides/WebFonts'

const Components = {
WebFonts: CoreWebFonts,

...ThirdPartyScriptsPluginsOverrides.components,
...WebFontsOverridesPlugins.components,

...WebFontsOverrides.components,
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/plugins/overrides/ThirdPartyScripts.tsx

This file was deleted.

0 comments on commit 07a7367

Please sign in to comment.