-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
deb1529
commit 982955e
Showing
1 changed file
with
292 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,292 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Project Details</title> | ||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<!-- Bootstrap Icons --> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="/css/styles.css"> | ||
<!-- Custom Styles --> | ||
<style> | ||
body { | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
background-color: #f4f4f9; | ||
color: #343a40; | ||
padding-top: 56px; | ||
} | ||
a{ | ||
text-decoration: none; | ||
} | ||
.site-main, .sidebar{ | ||
background: #fff; | ||
|
||
} | ||
.sidebar{ | ||
margin-right: 12px; | ||
padding: 12px; | ||
} | ||
|
||
.package-image { | ||
max-width: 120px; | ||
max-height: 120px; | ||
object-fit: contain; | ||
} | ||
.stat-row { | ||
display: flex; | ||
justify-content: space-between; | ||
margin: 1rem 0; | ||
gap: 1rem; | ||
} | ||
.stat-box { | ||
text-align: center; | ||
flex: 1; | ||
border: 1px solid #ddd; | ||
border-radius: 8px; | ||
padding: 0.5rem; | ||
font-size: 0.9rem; | ||
} | ||
.stat-box i { | ||
font-size: 1.4rem; | ||
margin-bottom: 0.25rem; | ||
display: block; | ||
} | ||
.breadcrumbs { | ||
margin-bottom: 1.5rem; | ||
background: #fff; | ||
padding: 0.5rem 1rem; | ||
border-radius: 5px; | ||
} | ||
.metadata-item { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 0.5rem; | ||
} | ||
.metadata-item i { | ||
font-size: 1.2rem; | ||
margin-right: 0.5rem; | ||
color: #6c757d; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- Navbar --> | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"> | ||
<div class="container"> | ||
<a class="navbar-brand" href="#"> | ||
<i class="bi bi-box-seam me-2"></i>CodehimBlog | ||
</a> | ||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbarNav"> | ||
<ul class="navbar-nav ms-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#"><i class="bi bi-house-door me-1"></i>Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#"><i class="bi bi-box me-1"></i>Projects</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#"><i class="bi bi-book me-1"></i>Docs</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="#"><i class="bi bi-envelope me-1"></i>Contact</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<!-- Breadcrumbs --> | ||
<div class="container mt-4 breadcrumbs"> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb mb-0"> | ||
<li class="breadcrumb-item"><a href="#">Home</a></li> | ||
<li class="breadcrumb-item"><a href="#">Projects</a></li> | ||
<li class="breadcrumb-item active" aria-current="page">registry</li> | ||
</ol> | ||
</nav> | ||
</div> | ||
|
||
<!-- Main Content --> | ||
<div class="container mt-4"> | ||
<div class="row"> | ||
<!-- Sidebar --> | ||
<aside class="col-md-4"> | ||
<div class="sidebar"> | ||
<div class="sidebar-item"> | ||
<h5>Owner</h5> | ||
<div class="d-flex align-items-center"> | ||
<img src="https://avatars.githubusercontent.com/u/3802108?v=4" alt="Owner Avatar" class="rounded-circle me-2" style="width: 40px; height: 40px;"> | ||
<a href="https://github.com/jspm" target="_blank" id="ownerName">jspm</a> | ||
</div> | ||
</div> | ||
<div class="sidebar-item"> | ||
<h5>Metadata</h5> | ||
<div class="metadata-item"> | ||
<i class="bi bi-calendar"></i> | ||
<strong>Created At:</strong> <span id="createdAt">July 31, 2013</span> | ||
</div> | ||
<div class="metadata-item"> | ||
<i class="bi bi-pencil-square"></i> | ||
<strong>Last Updated:</strong> <span id="updatedAt">November 19, 2024</span> | ||
</div> | ||
<div class="metadata-item"> | ||
<i class="bi bi-code-slash"></i> | ||
<strong>Language:</strong> <span id="language">JavaScript</span> | ||
</div> | ||
<div class="metadata-item"> | ||
<i class="bi bi-box-arrow-in-down"></i> | ||
<strong>Size:</strong> <span id="repoSize">1.35 MB</span> | ||
</div> | ||
</div> | ||
</div> | ||
</aside> | ||
|
||
<!-- Main Details --> | ||
<main class="col-md-8 site-main"> | ||
<!-- Project Name & Description --> | ||
<h1 id="packageName">registry</h1> | ||
<p id="packageDescription" class="text-muted">The jspm registry and package.json override service</p> | ||
|
||
<!-- Statistics --> | ||
<div class="stat-row"> | ||
<div class="stat-box"> | ||
<i class="bi bi-star-fill text-warning"></i> | ||
<span id="stargazersCount">230</span> | ||
<p>Stars</p> | ||
</div> | ||
<div class="stat-box"> | ||
<i class="bi bi-arrow-repeat text-secondary"></i> | ||
<span id="forksCount">255</span> | ||
<p>Forks</p> | ||
</div> | ||
<div class="stat-box"> | ||
<i class="bi bi-exclamation-circle text-danger"></i> | ||
<span id="openIssuesCount">97</span> | ||
<p>Open Issues</p> | ||
</div> | ||
</div> | ||
|
||
<!-- Action Buttons --> | ||
<div class="mb-4"> | ||
<a href="https://jspm.io" target="_blank" class="btn btn-success me-2" id="homepageBtn"> | ||
<i class="bi bi-house-door me-2"></i>Visit Homepage | ||
</a> | ||
<a href="/archive/refs/heads/main.zip" class="btn btn-primary me-2" id="downloadBtn"> | ||
<i class="bi bi-cloud-download me-2"></i>Download ZIP | ||
</a> | ||
<a href="" target="_blank" class="btn btn-outline-secondary" id="githubBtn"> | ||
<i class="bi bi-github me-2"></i>Fork on GitHub | ||
</a> | ||
</div> | ||
|
||
<!-- Tabs --> | ||
<ul class="nav nav-tabs" id="infoTabs" role="tablist"> | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link active" id="installation-tab" data-bs-toggle="tab" data-bs-target="#installation" type="button" role="tab" aria-controls="installation" aria-selected="true"> | ||
<i class="bi bi-file-earmark-text"></i> Readme | ||
</button> | ||
</li> | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link" id="dependencies-tab" data-bs-toggle="tab" data-bs-target="#dependencies" type="button" role="tab" aria-controls="dependencies" aria-selected="false"> | ||
<i class="bi bi-diagram-2-fill me-2"></i> Dependencies | ||
</button> | ||
</li> | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link" id="changelog-tab" data-bs-toggle="tab" data-bs-target="#changelog" type="button" role="tab" aria-controls="changelog" aria-selected="false"> | ||
<i class="bi bi-journal-text me-2"></i> Changelog | ||
</button> | ||
</li> | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link" id="contributors-tab" data-bs-toggle="tab" data-bs-target="#contributors" type="button" role="tab" aria-controls="contributors" aria-selected="false"> | ||
<i class="bi bi-people me-2"></i> Contributors | ||
</button> | ||
</li> | ||
</ul> | ||
|
||
<div class="tab-content mt-3" id="infoTabsContent"> | ||
<div class="tab-pane fade show active" id="installation" role="tabpanel" aria-labelledby="installation-tab"> | ||
<h2 id="jspmregistry">jspm Registry</h2> | ||
<p>The raw registry file can be viewed at https://github.com/jspm/registry/blob/master/registry.json.</p> | ||
<p>Pull requests welcome for <code>registry.json</code> and the <code>package_overrides</code> folder.</p> | ||
<p>All registry entries are managed here through GitHub, moderated by the registry maintainers.</p> | ||
<h2 id="registry">Registry</h2> | ||
<p>The currently supported endpoints are:</p> | ||
<ul> | ||
<li>Github</li> | ||
<li>npm</li> | ||
</ul> | ||
<p>The registry provides a simple mapping in the file <a href="https://github.com/jspm/registry/blob/master/registry.json"><code>registry.json</code></a>, which maps a shortname (<code>bootstrap</code>) to a canonical endpoint name (<code>github:twbs/bootstrap</code>). It is simply a convenience for installing through jspm.</p> | ||
<h2 id="packagejsonoverrides">Package.json Overrides</h2> | ||
<p>The registry also provides a service for overriding the <code>package.json</code> of existing repos.</p> | ||
<p>This is useful for enabling jspm functionality in the <code>package.json</code> when direct access to the underlying repo is not possible.</p> | ||
<p>jspm uses the <code>package.json</code> for modular package configuration, including:</p> | ||
<ul> | ||
<li>Setting the main entry point (<code>main</code>)</li> | ||
<li>Shim config for globals (<code>shim</code>)</li> | ||
<li>Map configuration (<code>map</code>)</li> | ||
<li>Module format (<code>format</code>)</li> | ||
</ul> | ||
<p>In this way, the right package options can make any package play well with jspm, without needing any manual configuration at all.</p> | ||
<blockquote> | ||
<p>Submitting a pull request to the original repo should be done at the same time as this is designed as a temporary service only and not a long term solution to the configuration problem.</p> | ||
</blockquote> | ||
<p>Read more about <a href="https://github.com/jspm/registry/wiki/Configuring-Packages-for-jspm">configuring packages for jspm</a> in the wiki.</p> | ||
<p>Examples of jspm package.json files for common packages can be found in the <a href="https://github.com/jspm/registry/tree/master/package-overrides">package overrides</a> section of the registry.</p> | ||
<h3 id="testingpackageoverrides">Testing Package Overrides</h3> | ||
<p>Package overrides may take some testing to get exactly the right configuration.</p> | ||
<p>See the <a href="https://github.com/jspm/registry/wiki/Configuring-Packages-for-jspm#testing-configuration">testing guide within Configuration Packages for jspm</a>.</p> | ||
<h3 id="submittingapackageoverride">Submitting a Package Override</h3> | ||
<p>To submit a new package override:</p> | ||
<ul> | ||
<li>Fork this repo, then create the file <code>package-overrides/[endpoint name]/[repo name]@x.y.z.json</code>.</li> | ||
<li>Provide the correct configuration according to the configuration guide above.</li> | ||
<li>Submit a pull request.</li> | ||
<li>If the configuration is correct, this will be accepted and that will instantly enable the functionality on the endpoint.</li> | ||
</ul> | ||
<blockquote> | ||
<p>The overrides will apply for all versions semver compatible with the override version, with the highest version override taking precedence.</p> | ||
</blockquote> | ||
<h3 id="registrymaintainers">Registry Maintainers</h3> | ||
<p>Anyone is welcome to assist with reviewing override changes. Overrides are reviewed based on checking syntax, backwards-compatibility and best-practises. The registry maintainers are selected based on their ability to implement | ||
these guidelines. The goal is for this to be a diverse group across timezones to provide prompt reviews for overrides.</p> | ||
</div> | ||
<div class="tab-pane fade" id="dependencies" role="tabpanel" aria-labelledby="dependencies-tab"> | ||
<h5>Dependencies</h5> | ||
<ul id="dependenciesList"> | ||
<li>colors (^1.0.3)</li><li>commander (^2.7.1)</li><li>glob (^5.0.3)</li><li>jspm-github (^0.13.0)</li><li>jspm-npm (^0.26.0)</li><li>mout (^0.11.0)</li><li>q (^1.2.0)</li> | ||
</ul> | ||
</div> | ||
<div class="tab-pane fade" id="changelog" role="tabpanel" aria-labelledby="changelog-tab"> | ||
<h5>Changelog</h5> | ||
<ul id="changelogList"> | ||
<p>No changelog available.</p> | ||
</ul> | ||
</div> | ||
<div class="tab-pane fade" id="contributors" role="tabpanel" aria-labelledby="contributors-tab"> | ||
<h5>Contributors</h5> | ||
<ul id="contributorsList"> | ||
<li>guybedford (1183 contributions)</li><li>Jarreddebeer (96 contributions)</li><li>smajl (63 contributions)</li><li>Aaike (62 contributions)</li><li>aluanhaddad (39 contributions)</li><li>theefer (30 contributions)</li><li>djindjic (26 contributions)</li><li>lookfirst (26 contributions)</li><li>capaj (22 contributions)</li><li>MeirionHughes (16 contributions)</li><li>tauren (14 contributions)</li><li>bgoscinski (14 contributions)</li><li>2fd (13 contributions)</li><li>computmaxer (12 contributions)</li><li>subesokun (12 contributions)</li><li>jdanyow (11 contributions)</li><li>trusktr (11 contributions)</li><li>nicklasb (11 contributions)</li><li>nicolashemonic (10 contributions)</li><li>douglasduteil (10 contributions)</li><li>rajvirtual (9 contributions)</li><li>EisenbergEffect (9 contributions)</li><li>delebash (9 contributions)</li><li>Munter (8 contributions)</li><li>robwormald (8 contributions)</li><li>ThomasBurleson (8 contributions)</li><li>salfield (8 contributions)</li><li>davinkevin (7 contributions)</li><li>carlosagsmendes (7 contributions)</li><li>32graham (7 contributions)</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
</div> | ||
|
||
<!-- Footer --> | ||
<footer class="bg-dark text-white text-center py-3"> | ||
<div class="container"> | ||
<p class="mb-0">© 2024 Package Hub Pro - Powered by Bootstrap</p> | ||
</div> | ||
</footer> | ||
|
||
<!-- Bootstrap Bundle JS --> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script> | ||
</body> | ||
</html> |