Skip to content

Commit

Permalink
add small readme, fix fs import
Browse files Browse the repository at this point in the history
  • Loading branch information
aruniverse committed Feb 7, 2022
1 parent 8996b4a commit 9f7e37a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions create-cospace/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# CoSpace

To get started, open a new shell and run:

```sh
$ npx create-cospace@latest
```
4 changes: 2 additions & 2 deletions create-cospace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ const init = async () => {
);
process.exit(1);
} else {
await fse.mkdir(cospaceDir);
await fs.mkdir(cospaceDir);
}
}

console.log(`\nCreating cospace in ${cospaceDir}...`);

await fse.copy(path.join(__dirname, "../template"), cospaceDir);
await fs.copy(path.join(__dirname, "../template"), cospaceDir);

process.chdir(cospaceDir);

Expand Down
2 changes: 1 addition & 1 deletion create-cospace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-cospace",
"version": "0.1.0",
"version": "0.1.1",
"description": "Setup a `CoSpace` to link multiple (mono)repos together!",
"author": "https://github.com/aruniverse",
"repository": {
Expand Down

0 comments on commit 9f7e37a

Please sign in to comment.