Skip to content

Commit

Permalink
New dep and usage (OpenUserJS#1916)
Browse files Browse the repository at this point in the history
* See if we all can get the Authors to pay a little more attention with some movement. May add this outside of owner too.
* May be useful elsewhere as well.

Auto-merge
  • Loading branch information
Martii committed Dec 31, 2021
1 parent 7358f24 commit ed90651
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ These also may use [shields.io][shieldsHomepage] where applicable for more expli
Repository | Reference | Recent Version
--- | --- | ---
[ace-builds][ace-buildsGHUrl] [¹][aceGHUrl] | [Documentation][ace-buildsDOCUrl] [¹][aceDOCUrl] | [![NPM version][ace-buildsNPMVersionImage]][ace-buildsNPMUrl]
[animate.css][animate.cssGHUrl] | [Documentation][animate.cssDOCUrl] | [![NPM version][animate.cssNPMVersionImage]][animate.cssNPMUrl]
[ansi-colors][ansi-colorsGHUrl] | [Documentation][ansi-colorsDOCUrl] | [![NPM version][ansi-colorsNPMVersionImage]][ansi-colorsNPMUrl]
[async][asyncGHUrl] | [Documentation][asyncDOCUrl] | [![NPM version][asyncNPMVersionImage]][asyncNPMUrl]
[aws-sdk][aws-sdkGHUrl] | [Documentation][aws-sdkDOCUrl] | [![NPM version][aws-sdkNPMVersionImage]][aws-sdkNPMUrl]
Expand Down Expand Up @@ -128,6 +129,11 @@ Outdated dependencies list can be achieved with `$ npm outdated` from the termin
[aceGHUrl]: https://github.com/ajaxorg/ace "ace"
[aceDOCUrl]: https://ace.c9.io/#nav=api "ace"

[animate.cssGHUrl]: https://github.com/animate-css/animate.css
[animate.cssDOCUrl]: https://animate.style/
[animate.cssNPMUrl]: https://www.npmjs.com/package/animate.css
[animate.cssNPMVersionImage]: https://img.shields.io/npm/v/animate.css.svg?style=flat

[ansi-colorsGHUrl]: https://github.com/doowb/ansi-colors
[ansi-colorsDOCUrl]: https://github.com/doowb/ansi-colors/blob/master/README.md
[ansi-colorsNPMUrl]: https://www.npmjs.com/package/ansi-colors
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "app",
"dependencies": {
"ace-builds": "1.4.13",
"animate.css": "4.1.1",
"ansi-colors": "4.1.1",
"async": "3.2.2",
"@octokit/auth-oauth-app": "4.3.0",
Expand Down
4 changes: 4 additions & 0 deletions routesStatic.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = function (aApp) {

serveModule('/redist/npm/', 'ace-builds/src/', 7);

serveModule('/redist/npm/', 'animate.css/', {
'animate.css': { maxage: day * 1 }
});

serveModule('/redist/npm/', 'bootstrap/', {
'dist/js/bootstrap.js': { maxage: day * 1 }
});
Expand Down
2 changes: 1 addition & 1 deletion views/includes/scriptPageHeader.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h2 class="page-heading">
<ul class="nav navbar-nav">
<li class="{{#isScriptPage}}active{{/isScriptPage}}"><a href="{{{script.scriptPageUrl}}}">About</a></li>
<li class="{{#isScriptViewSourcePage}}active{{/isScriptViewSourcePage}}"><a href="{{{script.scriptViewSourcePageUrl}}}" class="{{^script.scriptViewSourcePageUrl}}disabled{{/script.scriptViewSourcePageUrl}}">Source Code</a></li>
<li class="{{#isScriptIssuesPage}}active{{/isScriptIssuesPage}}"><a href="{{{script.scriptIssuesPageUrl}}}" class="{{^script.scriptIssuesPageUrl}}disabled{{/script.scriptIssuesPageUrl}}">Issues <span class="badge">{{issueCount}}</span></a></li>
<li class="{{#isScriptIssuesPage}}active{{/isScriptIssuesPage}}"><a href="{{{script.scriptIssuesPageUrl}}}" class="{{^script.scriptIssuesPageUrl}}disabled{{/script.scriptIssuesPageUrl}}">Issues{{#issueCount}} <span class="badge{{#isOwner}} animate__animated animate__zoomInRight animate__slow{{/isOwner}}">{{issueCount}}</span>{{/issueCount}}</a></li>
</ul>
{{^script.isLib}}
<p class="navbar-text pull-right hidden-xs"><i class="fa fa-fw fa-signal"></i> <b>Installs:</b> {{script.installs}}</p>
Expand Down
1 change: 1 addition & 0 deletions views/pages/scriptIssueListPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>{{title}}</title>
{{> includes/head.html }}
<link rel="stylesheet" type="text/css" media="all" href="/css/scriptPage.css">
<link rel="stylesheet" type="text/css" media="all" href="/redist/npm/animate.css/animate.css">
</head>
<body>
{{> includes/header.html }}
Expand Down
1 change: 1 addition & 0 deletions views/pages/scriptIssuePage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{{> includes/head.html }}
<link rel="stylesheet" type="text/css" media="all" href="/redist/npm/bootstrap-markdown/css/bootstrap-markdown.min.css">
<link rel="stylesheet" type="text/css" media="all" href="/css/scriptPage.css">
<link rel="stylesheet" type="text/css" media="all" href="/redist/npm/animate.css/animate.css">
</head>
<body>
{{> includes/header.html }}
Expand Down
1 change: 1 addition & 0 deletions views/pages/scriptPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>{{title}}</title>
{{> includes/head.html }}
<link rel="stylesheet" type="text/css" media="all" href="/css/scriptPage.css">
<link rel="stylesheet" type="text/css" media="all" href="/redist/npm/animate.css/animate.css">
</head>
<body id="body">
{{> includes/header.html }}
Expand Down
1 change: 1 addition & 0 deletions views/pages/scriptViewSourcePage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
color: #666;
}
</style>
<link rel="stylesheet" type="text/css" media="all" href="/redist/npm/animate.css/animate.css">
</head>
<body>
{{> includes/header.html }}
Expand Down

0 comments on commit ed90651

Please sign in to comment.