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: change auto-generated icons folder path #59

Merged
merged 4 commits into from
Dec 31, 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
1 change: 1 addition & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@monicon/vite-react",
"@monicon/vite-vue",
"@monicon/svelte-app",
"@monicon/qwik-app",
"@monicon/docs"
]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ yarn-error.log*

# turbo
.turbo

# monicon
.monicon
7 changes: 0 additions & 7 deletions apps/docs/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@monicon/docs",
"version": "0.0.143",
"version": "0.0.0",
"description": "Monicon Documentation",
"private": true,
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with Next.js! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/nuxt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ You can now use Monicon in your Vue components. Here’s an example of how to us
</template>
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/qwik.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ export default component$(() => {
}
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with Qwik! You can now explore more icon sets and customize your usage further.
Expand Down
25 changes: 10 additions & 15 deletions apps/docs/pages/installation/react-native.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Setting up Monicon with React Native is a straightforward process. This guide wi
To get started, you’ll need to install the necessary dependencies for Monicon. In your project directory, run the following command to install the dependencies.

```sh npm2yarn
npm i @monicon/native @monicon/metro @monicon/babel-plugin react-native-svg
npm i @monicon/native @monicon/metro react-native-svg

# if you want react-native-web support
npm i @monicon/webpack
Expand Down Expand Up @@ -57,20 +57,6 @@ For a complete list of available icon sets, refer to the [Icones](https://icones

</Callout>

## Configure Babel

Now you’ll need to configure Babel.

```ts filename="babel.config.js"
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [["@monicon/babel-plugin"]],
};
};
```

## Configure Webpack (Optional)

<Callout type="info">If you are using Expo Router, skip this step.</Callout>
Expand Down Expand Up @@ -142,6 +128,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with React Native! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/react-rollup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with React and Rollup! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/react-rspack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with React and Rspack! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/react-webpack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with React and Webpack! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with React and Vite! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ function App() {
export default App;
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with Remix! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/svelte.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ You can now use Monicon in your Svelte components. Here’s an example of how to
</main>
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon with Svelte! You can now explore more icon sets and customize your usage further.
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/pages/installation/vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ import { Monicon } from "@monicon/vue";
</template>
```

## Configure .gitignore

Add the following to your `.gitignore` file to prevent icons from being committed to your repository.

```
# monicon
.monicon
```

## Next Steps

You’ve successfully set up Monicon! You can now explore more icon sets and customize your usage further.
Expand Down
33 changes: 19 additions & 14 deletions apps/docs/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://monicon-docs.vercel.app</loc><lastmod>2024-11-16T16:35:45.476Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/nextjs</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/nuxt</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/qwik</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-native</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-rollup</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-rspack</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/remix</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/svelte</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/vue</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/bundle-size</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/module-resolution</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/monorepo</loc><lastmod>2024-11-16T16:35:45.477Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app</loc><lastmod>2024-12-30T01:25:42.918Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/customization/custom-loader</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/customization/json-collections</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/customization/local-collections</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/customization/remote-collections</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/nextjs</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/nuxt</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/qwik</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-native</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-rollup</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-rspack</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/react-webpack</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/remix</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/svelte</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/installation/vue</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/bundle-size</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/module-resolution</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://monicon-docs.vercel.app/troubleshooting/monorepo</loc><lastmod>2024-12-30T01:25:42.919Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
6 changes: 3 additions & 3 deletions apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"lint": "next lint"
},
"dependencies": {
"@monicon/react": "*",
"@monicon/react": "1.1.1",
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native-web": "^0.19.10"
},
"devDependencies": {
"@monicon/typescript-config": "*",
"@monicon/webpack": "*",
"@monicon/typescript-config": "1.1.1",
"@monicon/webpack": "1.1.1",
"@types/node": "^20.10.6",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
Expand Down
4 changes: 2 additions & 2 deletions apps/nuxt-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"postinstall": "turbo run build --filter='@monicon/nuxt' && nuxt prepare"
},
"dependencies": {
"@monicon/nuxt": "*"
"@monicon/nuxt": "1.1.1"
},
"devDependencies": {
"@nuxt/devtools": "latest",
Expand All @@ -21,6 +21,6 @@
"nuxt": "^3.13.2",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"@monicon/vue": "*"
"@monicon/vue": "1.1.1"
}
}
37 changes: 0 additions & 37 deletions apps/qwik-app/CHANGELOG.md

This file was deleted.

6 changes: 3 additions & 3 deletions apps/qwik-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@monicon/qwik-app",
"version": "1.1.0",
"version": "0.0.0",
"description": "Blank project with routing included",
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
Expand Down Expand Up @@ -38,8 +38,8 @@
"eslint": "8.57.0",
"eslint-plugin-qwik": "^1.9.1",
"prettier": "3.3.3",
"@monicon/vite": "*",
"@monicon/qwik": "*",
"@monicon/vite": "1.1.1",
"@monicon/qwik": "1.1.1",
"typescript": "5.4.5",
"undici": "*",
"vite": "^6.0.2",
Expand Down
4 changes: 1 addition & 3 deletions apps/react-native-app/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
["@monicon/babel-plugin", { outputFileName: "react-native-app" }],
],
plugins: [],
};
};
7 changes: 3 additions & 4 deletions apps/react-native-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"eject": "expo eject"
},
"dependencies": {
"@monicon/babel-plugin": "*",
"@monicon/metro": "*",
"@monicon/native": "*",
"@monicon/webpack": "*",
"@monicon/metro": "1.1.1",
"@monicon/native": "1.1.1",
"@monicon/webpack": "1.1.1",
"expo": "^49.0.21",
"expo-status-bar": "~1.7.0",
"react": "^18.2.0",
Expand Down
Loading
Loading