From 17bb996edc975ac85e2f5d57063ea6614ba74321 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 4 Jan 2021 19:06:14 +0100 Subject: [PATCH] Rename samples to follow sample naming convention Updates intellij, sacn-receiver and twitch-pubsub to follow the sample naming convention that was documented in https://github.com/codeoverflow-org/nodecg-io-docs/pull/41. They had "sample" or "integration" in them but it is in the sample directory so that is already clear. --- samples/{intellij-integration => intellij}/extension/index.ts | 0 samples/{intellij-integration => intellij}/package.json | 2 +- samples/{intellij-integration => intellij}/tsconfig.json | 0 .../{sacn-receiver-sample => sacn-receiver}/extension/index.ts | 0 samples/{sacn-receiver-sample => sacn-receiver}/package.json | 2 +- samples/{pubsubsample => sacn-receiver}/tsconfig.json | 0 samples/{pubsubsample => twitch-pubsub}/extension/index.ts | 0 samples/{pubsubsample => twitch-pubsub}/package.json | 2 +- samples/{sacn-receiver-sample => twitch-pubsub}/tsconfig.json | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename samples/{intellij-integration => intellij}/extension/index.ts (100%) rename samples/{intellij-integration => intellij}/package.json (93%) rename samples/{intellij-integration => intellij}/tsconfig.json (100%) rename samples/{sacn-receiver-sample => sacn-receiver}/extension/index.ts (100%) rename samples/{sacn-receiver-sample => sacn-receiver}/package.json (95%) rename samples/{pubsubsample => sacn-receiver}/tsconfig.json (100%) rename samples/{pubsubsample => twitch-pubsub}/extension/index.ts (100%) rename samples/{pubsubsample => twitch-pubsub}/package.json (94%) rename samples/{sacn-receiver-sample => twitch-pubsub}/tsconfig.json (100%) diff --git a/samples/intellij-integration/extension/index.ts b/samples/intellij/extension/index.ts similarity index 100% rename from samples/intellij-integration/extension/index.ts rename to samples/intellij/extension/index.ts diff --git a/samples/intellij-integration/package.json b/samples/intellij/package.json similarity index 93% rename from samples/intellij-integration/package.json rename to samples/intellij/package.json index 3ef3b0c58..d2ced424a 100644 --- a/samples/intellij-integration/package.json +++ b/samples/intellij/package.json @@ -1,5 +1,5 @@ { - "name": "intellij-integration", + "name": "intellij", "version": "0.1.0", "private": true, "nodecg": { diff --git a/samples/intellij-integration/tsconfig.json b/samples/intellij/tsconfig.json similarity index 100% rename from samples/intellij-integration/tsconfig.json rename to samples/intellij/tsconfig.json diff --git a/samples/sacn-receiver-sample/extension/index.ts b/samples/sacn-receiver/extension/index.ts similarity index 100% rename from samples/sacn-receiver-sample/extension/index.ts rename to samples/sacn-receiver/extension/index.ts diff --git a/samples/sacn-receiver-sample/package.json b/samples/sacn-receiver/package.json similarity index 95% rename from samples/sacn-receiver-sample/package.json rename to samples/sacn-receiver/package.json index 38f99cacf..4a9eb01d5 100644 --- a/samples/sacn-receiver-sample/package.json +++ b/samples/sacn-receiver/package.json @@ -1,5 +1,5 @@ { - "name": "sacn-receiver-sample", + "name": "sacn-receiver", "version": "0.1.0", "description": "Example nodecg-io-sacn-receiver Bundle. Receives data via sACN", "private": true, diff --git a/samples/pubsubsample/tsconfig.json b/samples/sacn-receiver/tsconfig.json similarity index 100% rename from samples/pubsubsample/tsconfig.json rename to samples/sacn-receiver/tsconfig.json diff --git a/samples/pubsubsample/extension/index.ts b/samples/twitch-pubsub/extension/index.ts similarity index 100% rename from samples/pubsubsample/extension/index.ts rename to samples/twitch-pubsub/extension/index.ts diff --git a/samples/pubsubsample/package.json b/samples/twitch-pubsub/package.json similarity index 94% rename from samples/pubsubsample/package.json rename to samples/twitch-pubsub/package.json index 9bf25e6d4..17f47fc5c 100644 --- a/samples/pubsubsample/package.json +++ b/samples/twitch-pubsub/package.json @@ -1,5 +1,5 @@ { - "name": "pubsubsample", + "name": "twitch-pubsub", "version": "0.1.0", "private": true, "nodecg": { diff --git a/samples/sacn-receiver-sample/tsconfig.json b/samples/twitch-pubsub/tsconfig.json similarity index 100% rename from samples/sacn-receiver-sample/tsconfig.json rename to samples/twitch-pubsub/tsconfig.json