Skip to content

Commit

Permalink
mv not working updated command
Browse files Browse the repository at this point in the history
  • Loading branch information
aexol committed Jul 26, 2024
1 parent 4a9d4e4 commit 72fd926
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions adapters/apollo-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adapters/apollo-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-apollo-server",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion adapters/graphql-yoga/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-graphql-yoga",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion adapters/stucco/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-stucco",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion examples/beerpub-apollo-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beerpub-apollo-server",
"version": "0.4.0",
"version": "0.4.1",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/beerpub-yoga-federated/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beerpub-yoga-federated",
"version": "0.5.0",
"version": "0.5.1",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/beerpub-yoga/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beerpub-yoga",
"version": "0.5.0",
"version": "0.5.1",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions modularium/cli/add/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ const runCommands = async (source: string, destination: string) => {
if (!checkout) return { error: "can't checkout repository" };
let move;
if (system.platform === 'win32') {
move = runCommand(`cd .. && move ${TEMP_REPO_NAME}/${source} ${destination} && del ${TEMP_REPO_NAME}`);
} else move = runCommand(`cd .. && mv ${TEMP_REPO_NAME}/${source} ${destination} && rm -rf ${TEMP_REPO_NAME}`);
move = runCommand(`move ${TEMP_REPO_NAME}/${source} ${destination} && del ${TEMP_REPO_NAME}`);
} else move = runCommand(`mv ${TEMP_REPO_NAME}/${source} ${destination} && rm -rf ${TEMP_REPO_NAME}`);
if (!move) return { error: "can't move repository" };
// deps should be installed from docs. Later one we can install deps here somehow
return { success: true };
Expand Down
2 changes: 1 addition & 1 deletion modularium/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/modularium",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion modularium/root/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/modularium-playground",
"version": "0.4.0",
"version": "0.4.1",
"description": "Axolotl modularium",
"main": "lib/index.js",
"type": "module",
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-config",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-core",
"version": "0.4.0",
"version": "0.4.1",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand Down

0 comments on commit 72fd926

Please sign in to comment.