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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
虎の穴ラボ株式会社
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
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
130
全PRの83%が AIレビューだけでマージできるようになった開発組織は その後どうなったか @2026/10
athug
0
130
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.3k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
780
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
1
130
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
140
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
1
710
Codex概要
ymiya55
0
490
今さら理解するウェブフォントver.2026
takanorip
3
550
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
120
会社説明資料
persolserverworks
0
9.7k
継続的なAIコスト最適化
bgpat
1
270
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Everyday Curiosity
cassininazir
0
350
30 Presentation Tips
portentint
PRO
1
420
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
How to Talk to Developers About Accessibility
jct
2
570
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
780
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
620
Git: the NoSQL Database
bkeepers
PRO
433
67k
Prompt Engineering for Job Search
mfonobong
0
500
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
260
How to train your dragon (web standard)
notwaldorf
96
6.9k
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 開催