@uniformdev/cli 20.3.1 → 20.4.1-alpha.5
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/dist/index.mjs +9 -5
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -8455,7 +8455,7 @@ import { PostHog } from "posthog-node";
|
|
|
8455
8455
|
// package.json
|
|
8456
8456
|
var package_default = {
|
|
8457
8457
|
name: "@uniformdev/cli",
|
|
8458
|
-
version: "20.
|
|
8458
|
+
version: "20.4.0",
|
|
8459
8459
|
description: "Uniform command line interface tool",
|
|
8460
8460
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
8461
8461
|
main: "./cli.js",
|
|
@@ -8855,7 +8855,8 @@ async function cloneStarter({
|
|
|
8855
8855
|
spin,
|
|
8856
8856
|
githubPath,
|
|
8857
8857
|
targetDir,
|
|
8858
|
-
dotEnvFile
|
|
8858
|
+
dotEnvFile,
|
|
8859
|
+
githubBranch
|
|
8859
8860
|
}) {
|
|
8860
8861
|
const done = await spin("Fetching starter code...");
|
|
8861
8862
|
const cloneDir = path.join(os.tmpdir(), `uniform-new-${crypto2.randomBytes(20).toString("hex")}`);
|
|
@@ -8867,7 +8868,8 @@ async function cloneStarter({
|
|
|
8867
8868
|
url: `https://github.com/${user}/${repo}`,
|
|
8868
8869
|
dir: cloneDir,
|
|
8869
8870
|
singleBranch: true,
|
|
8870
|
-
depth: 1
|
|
8871
|
+
depth: 1,
|
|
8872
|
+
ref: githubBranch
|
|
8871
8873
|
});
|
|
8872
8874
|
} catch (err) {
|
|
8873
8875
|
throw new Error(`Failed to fetch starter code: ${err.message}`);
|
|
@@ -9168,7 +9170,8 @@ async function newHandler({
|
|
|
9168
9170
|
csk: {
|
|
9169
9171
|
name: "Component Starter Kit (Recommended)",
|
|
9170
9172
|
value: {
|
|
9171
|
-
githubUri: "uniformdev/
|
|
9173
|
+
githubUri: "uniformdev/component-starter-kit-next-approuter",
|
|
9174
|
+
githubBranch: "release/6.0.0",
|
|
9172
9175
|
serverUrl: "http://localhost:3000",
|
|
9173
9176
|
previewPath: "/api/preview?secret=hello-world",
|
|
9174
9177
|
installEnv: [["UNIFORM_PREVIEW_SECRET", "hello-world"]]
|
|
@@ -9197,7 +9200,7 @@ async function newHandler({
|
|
|
9197
9200
|
}
|
|
9198
9201
|
};
|
|
9199
9202
|
const {
|
|
9200
|
-
starter: { githubUri, serverUrl, previewPath, installEnv }
|
|
9203
|
+
starter: { githubUri, serverUrl, previewPath, installEnv, githubBranch }
|
|
9201
9204
|
} = await inquirer4.prompt([
|
|
9202
9205
|
{
|
|
9203
9206
|
type: "list",
|
|
@@ -9238,6 +9241,7 @@ async function newHandler({
|
|
|
9238
9241
|
const cloneStartTimestamp = Date.now();
|
|
9239
9242
|
const { runNpmInstall } = await cloneStarter({
|
|
9240
9243
|
githubPath: githubUri,
|
|
9244
|
+
githubBranch,
|
|
9241
9245
|
spin,
|
|
9242
9246
|
targetDir,
|
|
9243
9247
|
dotEnvFile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.4.1-alpha.5+68ba41e621",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@thi.ng/mime": "^2.2.23",
|
|
30
|
-
"@uniformdev/assets": "20.
|
|
31
|
-
"@uniformdev/canvas": "20.
|
|
32
|
-
"@uniformdev/context": "20.
|
|
33
|
-
"@uniformdev/files": "20.
|
|
34
|
-
"@uniformdev/project-map": "20.
|
|
35
|
-
"@uniformdev/redirect": "20.
|
|
36
|
-
"@uniformdev/richtext": "20.
|
|
30
|
+
"@uniformdev/assets": "20.4.1-alpha.5+68ba41e621",
|
|
31
|
+
"@uniformdev/canvas": "20.4.1-alpha.5+68ba41e621",
|
|
32
|
+
"@uniformdev/context": "20.4.1-alpha.5+68ba41e621",
|
|
33
|
+
"@uniformdev/files": "20.4.1-alpha.5+68ba41e621",
|
|
34
|
+
"@uniformdev/project-map": "20.4.1-alpha.5+68ba41e621",
|
|
35
|
+
"@uniformdev/redirect": "20.4.1-alpha.5+68ba41e621",
|
|
36
|
+
"@uniformdev/richtext": "20.4.1-alpha.5+68ba41e621",
|
|
37
37
|
"call-bind": "^1.0.2",
|
|
38
38
|
"colorette": "2.0.20",
|
|
39
39
|
"cosmiconfig": "9.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "68ba41e6212e685f3ebc70e2a49583c80a0326a8"
|
|
83
83
|
}
|