We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d60d3 commit 93364a9Copy full SHA for 93364a9
src/index.ts
@@ -67,7 +67,7 @@ import * as tabs from './tabs'
67
import * as utils from './utils'
68
import * as login from './login/login'
69
import * as widgets from './widgets/index'
70
-import versionInfo from './versionInfo'
+import { versionInfo } from './versionInfo'
71
import { initHeader } from './header'
72
import { initFooter } from './footer'
73
import * as createTypes from './create/types'
timestamp.sh
@@ -1,5 +1,5 @@
1
# Timestamp a git/npm project in node JS
2
-echo "export default {"
+echo "export const versionInfo = {"
3
date -u '+buildTime: "%Y-%m-%dT%H:%M:%SZ",'
4
git log | grep commit | head -1 | sed -e 's/ /: "/' | sed -e 's/$/",/'
5
echo npmInfo:
0 commit comments