-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): Create pull request cli to format the config files by npx …
…prettier. BM-810 (#2898) ### Why? When we make changes to config file in the basemaps-config repo, we need to format it before commit. Current way of using prettier is broken because we need to install @linzjs/style into the cli docker container. A better solution is just run prettier in the config directory before commit the changes. #### Issue Link: [BM-810](https://toitutewhenua.atlassian.net/browse/BM-810) ### Description of Changes: - Remove all the prettier stuff from cli - Run npx prettier in the chirld process in config repo. #### Author Checklist: - [ ] Tests updated - [ ] Docs updated - [ ] Issue linked in PR title [BM-810]: https://toitutewhenua.atlassian.net/browse/BM-810?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
1 parent
e70280a
commit 061b605
Showing
5 changed files
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ RUN npm install [email protected] | |
# Install the landing assets | ||
COPY ./basemaps-landing*.tgz /app/ | ||
COPY ./basemaps-cogify*.tgz /app/ | ||
COPY ./.prettierrc.js /app/node_modules/@linzjs/style/.prettierrc.js | ||
|
||
RUN npm install ./basemaps-landing*.tgz ./basemaps-cogify*.tgz | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters