Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JSRにモジュールを公開するまで/公開してから
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
虎の穴ラボ株式会社
May 03, 2024
Technology
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JSRにモジュールを公開するまで/公開してから
JSR(
https://jsr.io/
) にモジュールを公開するまでに行ったJSRからの要求事項の対応と公開してから行ったJSRのスコアを上げるための対応について
虎の穴ラボ株式会社
May 03, 2024
More Decks by 虎の穴ラボ株式会社
See All by 虎の穴ラボ株式会社
関西Ruby登壇資料
toranoana
0
34
Tailwind CSSとAtomic Designで実現する効率的な Web 開発の事例
toranoana
1
720
Denoについて、同人誌記事を出しました+update
toranoana
0
250
【虎の穴ラボ Tech Talk #2】プロンプトエンジニアリング
toranoana
0
170
20241121_[TechTalk#2]虎の穴ラボでのLLMについて取り組み紹介
toranoana
0
180
社内チャットへRAG導入した話(Tech Talk #2)
toranoana
0
250
Deno Deploy で Web Cache API を 使えるようになったので試した知見
toranoana
1
770
【虎の穴ラボ Tech Talk】虎の穴ラボTech Talk説明資料
toranoana
0
540
虎の穴ラボ Tech Talk_CDKでFargate環境構築
toranoana
1
710
Other Decks in Technology
See All in Technology
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.2k
メルペイ 会計システム概要と歴史
mewuto
0
200
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
260
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
340
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
140
分析AIエージェントを育てる、動く環境を育てる
codatum
1
700
Deep Data Security 機能解説
oracle4engineer
PRO
2
750
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
430
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.5k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
780
20260930_Gemma4_Hands-on
tsho
0
240
Essential architectural thinking (revised edition)
ufried
0
110
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
10k
GraphQLとの向き合い方2022年版
quramy
50
15k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
790
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
310
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
610
Google's AI Overviews - The New Search
badams
0
1.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
780
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Transcript
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. T
O R A N O A N A L a b 2024 JSR にモジュールを 公開するまで/公開してから 2024/5/03 JSR Meetup 虎の穴ラボ株式会社 奥谷 一陽
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
自己紹介 奥谷 一陽 所属:虎の穴ラボ株式会社 興味:Deno、TypeScript 最近買ったもの:ガーゼケット X:@okutann88 github:Octo8080X toranoana.deno 主催の1人です
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
アジェンダ - JSRにパッケージを公開するまで - JSRにパッケージを公開してから - 所感/困っていること
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
こんなものを作りました
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
こんなものを作りました。
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
Thoth - Deno KV の上で構築する全文検索
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開するまで
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開するまで - JSRは、http(s)でモジュールを参照することを許してくれない => http://deno.land/x から参照していたモジュールを JSRに置いてあるモジュールに切り替える。
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開するまで - JSRは、/// <reference lib="deno.unstable" /> の記述を許していない => 削除する
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開するまで - JSRは、/// <reference lib="deno.unstable" /> の記述を許していない - Issueを立てて聞いてみた。 https://github.com/jsr-io/jsr/issues/362 => deno.json の compilerOptions.lib で記載しよう
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開するまで - slow types のエラーに対応 - エクスポートされる関数/クラス/const/let宣言に明示的な型が必要 - 参照: https://jsr.io/docs/about-slow-types =>型を明示してあげる - 後から気がついたことですが、deno publish に `--allow-slow-types` オプ ションがあるので、一時回避できるそうです。
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
などなど対応して、JSRにモジュール公開!
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから - ドキュメントサイトを作りました。 https://thoth-doc.deno.dev/
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから - JSRスコアを上げる活動 - JSRには、条件を満たすと上げられるスコアがある。 - Readme またはモジュールのドキュメントがある - Readme またはモジュールのドキュメントに例がある - ほとんどのシンボルのドキュメントがある - slow types が使用されていない - 少なくとも 2 つのランタイムが互換性があるとマークされている など
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから - JSRスコアを上げる活動 - JSRには、条件を満たすと上げられるスコアがある。 - ほとんどのシンボルのドキュメントがある => JSDocコメントを書く
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから - JSRスコアを上げる活動 - JSRには、条件を満たすと上げられるスコアがある。 - ほとんどのシンボルのドキュメントがある =>JSDocコメントを書くとJSRにも反映される JSDoc コメント 書く前
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
JSRにパッケージを公開してから - JSRスコアを上げる活動 - JSRには、条件を満たすと上げられるスコアがある。 - ほとんどのシンボルのドキュメントがある =>JSDocコメントを書くとJSRにも反映される JSDoc コメント 書いた後
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
所感/困っていること
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
所感/困っていること 所感 - JSR公開するパッケージの条件としてやって欲しいことが明確にある。 =>やっていないとエラーになる。わかりやすくて良い。 --dry-run を使うと「公開のタイミングで気づく」ということも減るはず - スコアを設定することで、開発者側の資料作成がモチベートされている =>JSRに載っているモジュールのベースラインがキープされていると思う。 困っていること - JSR公開モジュールをDenoとNodeの両対応したいが、Node.jsでのJSR公開モ ジュールの参照がうまくできていない。 =>もし、何かわかる方いたら相談させてください。
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
ありがとうございました
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
ちょっと宣伝
Copyright (C) 2023 Toranoana Lab Inc. All Rights Reserved. 2024
5月15日(水) toranoana.deno #16 開催