Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: minor issues found #34

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const generatePackageJson = (params: GeneratePackageJsonParams, input: Ge
...finalPackage,
repository: {
type: 'git',
url: `git+${params.gitUrl as string}`
url: `git+${params.gitUrl as string}.git`
},
keywords: params.keywords,
author: params.author,
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion template/vite/src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-nocheck
import React from "react";
import * as ReactDOM from "react-dom/client";
import Loader from "./components/loader.tsx";
import { defaultLang } from "./core/i18n.ts";
import { Main } from "./main.tsx";
import "../src/core/i18n.ts";
Expand Down
6 changes: 1 addition & 5 deletions template/vite/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import { setContext } from "@apollo/client/link/context";
import * as React from "react";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import { ToastContainer } from "react-toastify";
import { CartProvider } from "./context/cartContext.tsx";
import { accessEnv } from "./helpers/accessEnv.ts";
import Layout from "./components/layout.tsx";
import { getLocalStorage } from "./helpers/localStroage.ts";
import "./index.css";
import "@fortawesome/fontawesome-svg-core/styles.css";
Expand Down Expand Up @@ -62,9 +60,7 @@ export const Main: React.FC<Readonly<IMainProperties>> = (props) => {
toastClassName="toast-container"
style={{ width: "50rem" }}
/>
<CartProvider>
<RouterProvider router={router} />
</CartProvider>
<RouterProvider router={router} />
</ApolloProvider>
</>
);
Expand Down