Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JQuery Plugin Publish
Search
JasonNi
September 06, 2013
Programming
1
260
JQuery Plugin Publish
JQuery Plugin Publishing Travel
JasonNi
September 06, 2013
Tweet
Share
More Decks by JasonNi
See All by JasonNi
RxDialog
jasonni
3
410
Android UI Design Pattern
jasonni
0
140
Google Mobile Developer Summit Overview
jasonni
1
54
Google Mobile Design Codelab.pdf
jasonni
1
96
Other Decks in Programming
See All in Programming
5分で理解する SOLID 原則 #phpcon_nagoya
shogogg
1
420
Boost Your Web Performance with Hyperdrive
chimame
1
130
クックパッド検索システム統合/Cookpad Search System Consolidation
giga811
0
170
PRレビューのお供にDanger
stoticdev
1
240
Datadog Workflow Automation で圧倒的価値提供
showwin
1
320
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
120
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
160
良いコードレビューとは
danimal141
9
8.5k
The Price of Micro Frontends… and Your Alternatives @bastacon 2025 in Frankfurt
manfredsteyer
PRO
0
170
Amazon Bedrockマルチエージェントコラボレーションを諦めてLangGraphに入門してみた
akihisaikeda
1
170
iOSでQRコード生成奮闘記
ktcryomm
2
140
バッチを作らなきゃとなったときに考えること
irof
2
560
Featured
See All Featured
Building Your Own Lightsaber
phodgson
104
6.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Language of Interfaces
destraynor
156
24k
GraphQLとの向き合い方2022年版
quramy
44
14k
The World Runs on Bad Software
bkeepers
PRO
67
11k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
How GitHub (no longer) Works
holman
314
140k
What's in a price? How to price your products and services
michaelherold
244
12k
Git: the NoSQL Database
bkeepers
PRO
429
65k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Transcript
JQuery Plugin 上架之旅 JasonNi MiiiCasa
緣起 miiicloud 在選檔案時 要一筆一筆勾選 在做測試時
旅程展開... 花個1小時寫一個來用好了
旅程展開...此時
旅程展開... 這東西 要做就要做最好低 應該要做成 framework 到處都可用 做成 JQuery Plugin 上架到
JQuery 官網好了!
旅程展開...
上架123 官方手冊 JQuery Plugin Publish Reference 1. Create a Github
Repo 2. Add a Post-Receive Hook 3. Add a Manifest 4. Validate Manifest 5. Publish a Version
Create a Github Repo
Add a Post-Receive Hook Github Help: Add a Post-Receive Hook
http://plugins.jquery.com/postreceive-hook
Add a Manifest JQuery Manifest Spec 命名規則: yourplugin.jquery.json Require Fields
• name • version • title • author • licenses • dependencies Optional Fields • description • keywords • homepage • docs • demo • download
Manifest Example { // JSON "name": "rangeselector", "version": "1.0.2", "title":
"jQuery Range Selector", "author": { "name": "Jason Ni", "email": "
[email protected]
", "url": "http://jasonni.github.io" }, "licenses": [ { "type": "MIT", "url": "http://opensource.org/licenses/mit-license.php" } ], "dependencies": { "jquery": ">=1.2.3" } }
Validate Manifest JQuery Plugin Publish - Validate Your Manifest File
Here
Publish a Version { "name": "rangeselector", "version": "1.0.2" …. }
$ git tag 1.0.2 $ git push origin --tags
Finish
航向未來, 夯哥說... 看的到經驗值啊 ! 鼓勵大家寫成 Plugin 方式,有 issue 就送 pull-request
到 Github
None