Skip to content

Commit 081484a

Browse files
committed
fix(workspace): add publish config to correct package.json, commit msg
1 parent 11efb7d commit 081484a

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
"pre-commit": "pretty-quick --staged"
3131
}
3232
},
33-
"publishConfig": {
34-
"access": "public"
35-
},
3633
"private": false,
3734
"dependencies": {
3835
"@angular/animations": "~8.0.0",

projects/elements/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"peerDependencies": {
55
"@angular/common": ">6.0.0",
66
"@angular/core": ">6.0.0"
7+
},
8+
"publishConfig": {
9+
"access": "public"
710
}
811
}

sync-versions.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
const fs = require('fs');
22
const version = require('./package.json').version;
33

4-
const LOG_PREFIX = 'Sync versions -';
54
const INNER_PACKAGE_JSON_PATH = './projects/elements/package.json';
65

76
const innerPackageJson = require(INNER_PACKAGE_JSON_PATH);
87

9-
console.log(LOG_PREFIX, 'found version: ', version);
10-
118
innerPackageJson.version = version;
129

1310
fs.writeFileSync(INNER_PACKAGE_JSON_PATH, JSON.stringify(innerPackageJson, null, 2));
14-
15-
console.log(LOG_PREFIX, 'success');
16-
17-

0 commit comments

Comments
 (0)