Skip to content

Commit 027ed09

Browse files
feat: oidc (#18)
1 parent 0274d42 commit 027ed09

File tree

14 files changed

+4086
-4587
lines changed

14 files changed

+4086
-4587
lines changed

.changeset/config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
3-
"changelog": "@changesets/cli/changelog",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{ "repo": "florian-lefebvre/astro-loading-indicator" }
6+
],
47
"commit": false,
58
"fixed": [],
69
"linked": [],

.github/renovate.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":disableDependencyDashboard",
6+
":disablePeerDependencies",
7+
"schedule:weekly",
8+
"helpers:pinGitHubActionDigestsToSemver",
9+
"group:allNonMajor"
10+
],
11+
"rangeStrategy": "bump",
12+
"ignorePaths": ["**/node_modules/**"],
13+
"minimumReleaseAge": "3 days",
14+
"postUpdateOptions": ["pnpmDedupe"],
15+
"packageRules": [
16+
{
17+
"groupName": "github-actions",
18+
"matchManagers": ["github-actions"]
19+
}
20+
]
21+
}

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
permissions: {}
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
name: Release
11+
if: ${{ github.repository_owner == 'florian-lefebvre' }}
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
19+
with:
20+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
21+
fetch-depth: 0
22+
persist-credentials: false
23+
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061
24+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
25+
with:
26+
node-version: 24.10.0
27+
cache: 'pnpm'
28+
- run: pnpm install
29+
- name: Create Release Pull Request
30+
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba
31+
with:
32+
version: pnpm ci-version
33+
publish: pnpm ci-publish
34+
commit: '[ci] release'
35+
title: '[ci] release'
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Display a progress bar between page navigations when using View Transitions.
44

5-
To see how to get started, check out the [package README](./package/README.md)
5+
To see how to get started, check out the [package README](./packages/astro-loading-indicator/README.md)
66

77
## Licensing
88

biome.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.5.2/schema.json",
3-
"organizeImports": {
4-
"enabled": true
5-
},
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
64
"linter": {
75
"enabled": true,
86
"rules": {
@@ -13,6 +11,6 @@
1311
}
1412
},
1513
"files": {
16-
"ignore": ["dist", ".astro"]
14+
"includes": ["**", "!playground", "!**/dist", "!**/.astro"]
1715
}
1816
}

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
22
"name": "root",
33
"private": true,
4-
"packageManager": "pnpm@8.14.1",
4+
"packageManager": "pnpm@10.18.3",
55
"engines": {
66
"node": ">=18.19.0"
77
},
88
"scripts": {
99
"playground:dev": "pnpm --filter playground dev",
1010
"changeset": "changeset",
11-
"release": "node scripts/release.mjs",
1211
"lint": "biome check .",
13-
"lint:fix": "biome check --apply ."
12+
"lint:fix": "biome check --write .",
13+
"ci-version": "changeset version && pnpm install --no-frozen-lockfile",
14+
"ci-publish": "changeset publish"
1415
},
1516
"devDependencies": {
16-
"@biomejs/biome": "1.7.1",
17-
"@changesets/cli": "^2.27.1"
17+
"@biomejs/biome": "2.2.6",
18+
"@changesets/cli": "^2.27.9",
19+
"@changesets/changelog-github": "^0.5.1"
1820
}
1921
}
File renamed without changes.
File renamed without changes.

package/package.json renamed to packages/astro-loading-indicator/package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,26 @@
22
"name": "astro-loading-indicator",
33
"version": "0.7.0",
44
"description": "Display a progress bar between page navigations when using View Transitions",
5-
"author": {
6-
"email": "contact@florian-lefebvre.dev",
7-
"name": "Florian Lefebvre",
8-
"url": "https://florian-lefebvre.dev"
5+
"type": "module",
6+
"sideEffects": false,
7+
"exports": {
8+
"./component": "./src/LoadingIndicator.astro"
99
},
10-
"license": "MIT",
10+
"scripts": {},
1111
"keywords": [
1212
"astro-component",
1313
"withastro",
1414
"astro",
1515
"ui"
1616
],
17-
"homepage": "https://github.com/florian-lefebvre/astro-loading-indicator",
18-
"publishConfig": {
19-
"access": "public"
17+
"author": "florian-lefebvre",
18+
"repository": {
19+
"type": "git",
20+
"url": "git+https://github.com/florian-lefebvre/astro-loading-indicator.git"
2021
},
21-
"sideEffects": false,
22-
"exports": {
23-
"./component": "./src/LoadingIndicator.astro"
24-
},
25-
"scripts": {},
26-
"type": "module",
22+
"bugs": "https://github.com/florian-lefebvre/astro-loading-indicator/issues",
23+
"homepage": "https://github.com/florian-lefebvre/astro-loading-indicator#readme",
24+
"license": "MIT",
2725
"peerDependencies": {
2826
"astro": "^4.0.0 || ^5.0.0"
2927
}

0 commit comments

Comments
 (0)