Skip to content

Commit

Permalink
v1.0 (#111)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Michael Stramel <stramel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
6 people authored Dec 22, 2023
1 parent 5ad9670 commit a40531c
Show file tree
Hide file tree
Showing 90 changed files with 4,401 additions and 2,351 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": ["www", "service", "demo"]
}
5 changes: 5 additions & 0 deletions .changeset/cool-eyes-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-icon": patch
---

Updates the `exports` field to point to the correct `astro-icon/components` source file
5 changes: 5 additions & 0 deletions .changeset/fuzzy-beers-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-icon": patch
---

Moves warning about local directory to the moment they are used
5 changes: 5 additions & 0 deletions .changeset/neat-dodos-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-icon": patch
---

Makes the `astro-icon` integration's `include` settings optional. By default, all icons for any detected `@iconify-json/*` dependencies will be included. This makes migration much easier for existing static site users, while offering the same amount of control for server rendered users.
7 changes: 7 additions & 0 deletions .changeset/plenty-turtles-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"astro-icon": major
---

Finally, `astro-icon@1.0.0` has arrived! This release provides a more flexible and reliable method of icon management, removes a number of redundant APIs, and now relies on Astro's official integration API.

Please see the [Upgade to `astro-icon` v1](https://github.com/natemoo-re/astro-icon/tree/main/docs/migrate-to-v1.md) guide for specific migration steps and [the package README](https://github.com/natemoo-re/astro-icon/tree/main/packages/core#astro-icon) for more information.
17 changes: 17 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"demo": "0.0.1",
"astro-icon": "0.8.1",
"service": "0.1.0",
"www": "0.0.8"
},
"changesets": [
"cool-eyes-remain",
"fuzzy-beers-count",
"neat-dodos-camp",
"plenty-turtles-exist",
"violet-experts-travel"
]
}
5 changes: 5 additions & 0 deletions .changeset/violet-experts-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-icon": patch
---

Updates the SVGO options so that they are correctly passed through the build process
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'main'
pull_request:

# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
cancel-in-progress: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm changeset publish
commit: 'chore: release'
title: 'chore: release'
env:
Expand Down
1 change: 1 addition & 0 deletions demo/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.astro
2 changes: 0 additions & 2 deletions demo/.npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions demo/astro.config.mjs

This file was deleted.

7 changes: 7 additions & 0 deletions demo/astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from "astro/config";
import icon from "astro-icon";

// https://astro.build/config
export default defineConfig({
integrations: [icon()],
});
13 changes: 8 additions & 5 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
"build": "astro build",
"preview": "astro preview"
},
"devDependencies": {
"astro": "^3.6.4",
"astro-icon": "0.8.2"
},
"dependencies": {
"heroicons": "^1.0.5"
"@iconify-json/bi": "^1.1.15",
"@iconify-json/fe": "^1.1.6",
"@iconify-json/ic": "^1.1.13",
"@iconify-json/ri": "^1.1.5"
},
"devDependencies": {
"astro": "^4.0.7",
"astro-icon": "workspace:*"
}
}
17 changes: 0 additions & 17 deletions demo/src/components/Component.astro

This file was deleted.

10 changes: 0 additions & 10 deletions demo/src/components/DeepComponent.astro

This file was deleted.

2 changes: 2 additions & 0 deletions demo/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference path="../.astro/icon.d.ts" />
/// <reference types="astro/client" />
1 change: 1 addition & 0 deletions demo/src/icons/adjustment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions demo/src/icons/custom.ts

This file was deleted.

3 changes: 0 additions & 3 deletions demo/src/icons/heroicons.ts

This file was deleted.

10 changes: 10 additions & 0 deletions demo/src/icons/logos/alpine-multi-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions demo/src/icons/logos/alpine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

2 comments on commit a40531c

@vercel
Copy link

@vercel vercel bot commented on a40531c Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on a40531c Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

api-astroicon – ./packages/service

api-astroicon-nmoo.vercel.app
api.astroicon.dev
api-astroicon-git-main-nmoo.vercel.app

Please sign in to comment.