Skip to content

Commit

Permalink
Via jsr?
Browse files Browse the repository at this point in the history
  • Loading branch information
studnitz committed Oct 11, 2024
1 parent ac2c80b commit 4e6e5bd
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Publish package
run: npx jsr publish
6 changes: 6 additions & 0 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "@clickbar/utils",
"version": "0.0.1",
"exports": "./src/mod.ts",
"license": "MIT"
}
1 change: 0 additions & 1 deletion src/index.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/mod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* eslint-disable unicorn/prevent-abbreviations */
export * from "./date";

0 comments on commit 4e6e5bd

Please sign in to comment.