From 0141d42d1038a6daf8d05da02b1ed4b8b2d56aa6 Mon Sep 17 00:00:00 2001 From: Trym Lund Flogard Date: Wed, 2 Jun 2021 16:04:02 +0200 Subject: [PATCH] rename; build to lib --- package.json | 2 +- src/{index.ts => nextcloud-artifacts.ts} | 0 tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{index.ts => nextcloud-artifacts.ts} (100%) diff --git a/package.json b/package.json index 249b58f..86575f6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nextcloud-artifacts-action", "version": "1.0.0", "description": "", - "main": "index.js", + "main": "lib/nextcloud-artifacts.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "npx tsc && npx @vercel/ncc build" diff --git a/src/index.ts b/src/nextcloud-artifacts.ts similarity index 100% rename from src/index.ts rename to src/nextcloud-artifacts.ts diff --git a/tsconfig.json b/tsconfig.json index e7ea242..59ce661 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "skipLibCheck": true, /* Skip type checking of declaration files. */ "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */ "rootDir": "src", - "outDir": "dist", + "outDir": "lib", "sourceMap": true, "lib": ["es6"] }