diff --git a/libs/profile/client/package.json b/libs/profile/client/package.json index b0b290dfe74..93ed58cc369 100644 --- a/libs/profile/client/package.json +++ b/libs/profile/client/package.json @@ -1,8 +1,4 @@ { "name": "@fxa/profile/client", - "version": "0.0.1", - "dependencies": {}, - "type": "commonjs", - "main": "./index.cjs", - "private": true + "version": "0.0.1" } diff --git a/libs/profile/client/project.json b/libs/profile/client/project.json index d2f189825bf..bd7c0843a7f 100644 --- a/libs/profile/client/project.json +++ b/libs/profile/client/project.json @@ -6,14 +6,21 @@ "tags": [], "targets": { "build": { - "executor": "@nx/esbuild:esbuild", + "dependsOn": ["build-ts"], + "executor": "nx:run-commands", + "options": { + "command": "echo Build complete" + } + }, + "build-ts": { + "executor": "@nx/js:tsc", "outputs": ["{options.outputPath}"], "options": { "outputPath": "dist/libs/profile/client", "main": "libs/profile/client/src/index.ts", "tsConfig": "libs/profile/client/tsconfig.lib.json", "assets": ["libs/profile/client/*.md"], - "declaration": true + "generatePackageJson": true } }, "test-unit": {