-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: #116 #117 update ts-definition pipeline, scripts #226
chore: #116 #117 update ts-definition pipeline, scripts #226
Conversation
package.json
Outdated
@@ -7,6 +7,8 @@ | |||
"scripts": { | |||
"build": "lerna run build:prod --parallel", | |||
"fetch-config": "yarn config-manager getSecret reapit-marketplace-app-config", | |||
"fetch-definition": "node './scripts/foundations-ts-definitions/fetch-definition.js'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one should be add to foundations-ts-definitions
package.json instead of let it in root package.json for specific case
package.json
Outdated
@@ -7,6 +7,8 @@ | |||
"scripts": { | |||
"build": "lerna run build:prod --parallel", | |||
"fetch-config": "yarn config-manager getSecret reapit-marketplace-app-config", | |||
"fetch-definition": "node './scripts/foundations-ts-definitions/fetch-definition.js'", | |||
"handle-cron-job": "node './scripts/foundations-ts-definitions/handle-cronjob.js'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically looks good, agree with @tanphamhaiduong 's comments, happy to merge if these are addressed.
@@ -0,0 +1 @@ | |||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think this is necessary as the npmrc is at the package root
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npmrc is required because even using yarn workspace command to execute the release script, the cwd still resides in the packages/foundation. Yarn/NPM only read npmrc to its closest workspace directory (the nearest folder containing package.json). Having tested this against release:npm script, this could lead to possible bugs of other NPM packages release production flow (elements, cognito... etc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have also informed our team about this. Testing release production flow of NPM package is currently being conducted.
de46145
to
b8c0071
Compare
b8c0071
to
da6d135
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if @tanphamhaiduong is happy
Fixes #116 #117