Skip to content

Commit

Permalink
fix yarn dlx (#978)
Browse files Browse the repository at this point in the history
* fix yarn dlx

* 1.1.2
  • Loading branch information
mbostock authored Mar 4, 2024
1 parent 3aa45e5 commit b07b78f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Or with Yarn:

You should see something like this:

<pre data-copy="none"><b class="green">Observable Framework</b> v1.1.1
<pre data-copy="none"><b class="green">Observable Framework</b> v1.1.2
↳ <u><a href="http://127.0.0.1:3000/" style="color: inherit;">http://127.0.0.1:3000/</a></u></pre>

<div class="tip">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "1.1.1",
"version": "1.1.2",
"type": "module",
"publishConfig": {
"access": "public"
Expand Down
1 change: 1 addition & 0 deletions src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export async function create(options = {}, effects: CreateEffects = defaultEffec
if (packageManager) {
s.message(`Installing dependencies via ${packageManager}`);
await effects.sleep(1000);
if (packageManager === "yarn") await writeFile(join(rootPath, "yarn.lock"), "");
await promisify(exec)(installCommand, {cwd: rootPath});
}
if (initializeGit) {
Expand Down

0 comments on commit b07b78f

Please sign in to comment.