Skip to content

Commit

Permalink
build(): fix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Nov 7, 2020
1 parent 9eb21f5 commit f2adb66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"version": "1.0.2",
"granularPathspec": false,
"packages": [
"packages/*",
"packages/phoenix-ng/projects/*"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
17 changes: 4 additions & 13 deletions packages/phoenix-ng/projects/phoenix-ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
}

0 comments on commit f2adb66

Please sign in to comment.