create-olmo-front 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// npm create olmo-front@latest my-site
|
|
7
7
|
//
|
|
8
8
|
// Flags:
|
|
9
|
-
// --ref <branch|tag> template ref to fetch (default:
|
|
9
|
+
// --ref <branch|tag> template ref to fetch (default: the pinned DEFAULT_REF tag)
|
|
10
10
|
// --no-install skip `npm install`
|
|
11
11
|
// --no-git skip `git init` + first commit
|
|
12
12
|
// -h, --help show help
|
|
@@ -20,7 +20,7 @@ import pc from 'picocolors';
|
|
|
20
20
|
|
|
21
21
|
// The template lives in a PUBLIC GitLab repo, so giget can fetch it with no auth.
|
|
22
22
|
const TEMPLATE = 'gitlab:olmocms/olmo-front-template';
|
|
23
|
-
const DEFAULT_REF = 'v0.1.
|
|
23
|
+
const DEFAULT_REF = 'v0.1.3';
|
|
24
24
|
|
|
25
25
|
function parseArgs(argv) {
|
|
26
26
|
const opts = { dir: undefined, ref: DEFAULT_REF, install: true, git: true, help: false };
|