diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 503df41..234718b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,8 +29,8 @@ jobs: - name: Archive production artifacts 🚀 uses: actions/upload-artifact@v4 with: - name: lib - path: lib + name: dist + path: dist/ release: name: semantic-release needs: [build] @@ -47,7 +47,8 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - name: lib + name: dist + path: dist/ - name: Publish package 📦 run: | npm ci diff --git a/package.json b/package.json index df0d187..5298c30 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "@extendscript/csinterface", "version": "1.0.0", "description": "TypeScript version of Adobe CSInterface", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "echo \"Error: no test specified\" && exit 0" @@ -41,6 +41,6 @@ "typescript": "^5.4.5" }, "files": [ - "lib/**/*" + "dist/**/*" ] } diff --git a/tsconfig.json b/tsconfig.json index 75848c4..a499f26 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "es5", "module": "commonjs", - "outDir": "lib", + "outDir": "dist", "removeComments": false, "preserveConstEnums": true, "types": ["./CEPEngine_extensions", "./window", "@types/node"],