diff --git a/action.yml b/action.yml index bf369aa..d06857d 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: default: 'false' runs: using: 'node20' - main: 'lib/index.js' + main: 'dist/index.js' branding: icon: 'package' color: 'yellow' diff --git a/lib/index.js b/dist/index.js similarity index 100% rename from lib/index.js rename to dist/index.js diff --git a/package.json b/package.json index 4708e28..848a39f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "actions-hugo", "version": "3.0.0", "description": "GitHub Actions for Hugo", - "main": "lib/index.js", + "main": "dist/index.js", "engines": { "node": ">=20.10.0", "npm": ">=10.2.3" @@ -12,7 +12,7 @@ "lint": "eslint ./{src,__tests__}/**/*.ts", "lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts", "test": "jest --coverage --verbose", - "build": "ncc build ./src/index.ts -o lib", + "build": "ncc build ./src/index.ts -o dist", "tsc": "tsc", "format": "prettier --write '**/*.ts'", "format:check": "prettier --check '**/*.ts'", diff --git a/tsconfig.json b/tsconfig.json index 3ffb87a..fd49803 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "module": "commonjs", "target": "ES2019", "sourceMap": true, - "outDir": "./lib", + "outDir": "./dist", "rootDir": "./src", "removeComments": true, "strict": true,