diff --git a/lerna.json b/lerna.json index f1c10e75b..45160c3bd 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,5 @@ { "version": "1.0.2", - "granularPathspec": false, "packages": [ "packages/*", "packages/phoenix-ng/projects/*" diff --git a/package.json b/package.json index 8380c2957..dee8cc3f0 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "release:graduate": "lerna publish --git-remote upstream --create-release github --conventional-graduate", "release:major": "lerna publish major --git-remote upstream --create-release github", "release:minor": "lerna publish minor --git-remote upstream --create-release github", - "release:pre": "lerna publish prerelease --conventional-prerelease" + "release:pre": "lerna publish prerelease --conventional-prerelease", + "version": "git add ." }, "devDependencies": { "lerna": "^3.22.1" diff --git a/packages/phoenix-ng/projects/phoenix-ui-components/package.json b/packages/phoenix-ng/projects/phoenix-ui-components/package.json index 048bf2e79..e0ded828e 100644 --- a/packages/phoenix-ng/projects/phoenix-ui-components/package.json +++ b/packages/phoenix-ng/projects/phoenix-ui-components/package.json @@ -12,6 +12,9 @@ "files": [ "dist" ], + "scripts": { + "prepublishOnly": "ng build phoenix-ui-components --prod" + }, "peerDependencies": { "@angular/cdk": "^10.1.3", "@angular/common": "^10.0.14", @@ -26,23 +29,11 @@ "tslib": "^2.0.0" }, "main": "dist/bundles/phoenix-ui-components.umd.js", - "module_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js", "module": "dist/fesm2015/phoenix-ui-components.js", - "es2015_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js", "es2015": "dist/fesm2015/phoenix-ui-components.js", "esm2015": "dist/esm2015/phoenix-ui-components.js", - "fesm2015_ivy_ngcc": "__ivy_ngcc__/dist/fesm2015/phoenix-ui-components.js", "fesm2015": "dist/fesm2015/phoenix-ui-components.js", "typings": "dist/phoenix-ui-components.d.ts", "metadata": "dist/phoenix-ui-components.metadata.json", - "sideEffects": false, - "__processed_by_ivy_ngcc__": { - "es2015": "10.0.14", - "fesm2015": "10.0.14", - "module": "10.0.14", - "typings": "10.0.14" - }, - "scripts": { - "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by NGCC. This is not allowed.\\nPlease delete and rebuild the package, without compiling with NGCC, before attempting to publish.\\nNote that NGCC may have been run by importing this package into another project that is being built with Ivy enabled.\\n')\" && exit 1" - } + "sideEffects": false }