Skip to content

Commit f04cb9d

Browse files
authored
Ajout section learning track pour documenter comment mettre à jour les assets javascript (#4306)
* Update learning_track.md * Update learning_track.md
1 parent 2ade6bd commit f04cb9d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

learning_track.md

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ This guide tracks useful steps to learn how to maintain and modify this system.
9292
* Verify the linking status with `clever applications`
9393
* Log with the app alias: `clever ssh --alias transport-prochainement`
9494

95+
### Learn how to upgrade the javascript assets
96+
97+
* `cd apps/transport/client`
98+
* `yarn outdated` shows the outdated packages (see [here](https://github.com/etalab/transport-site/pull/4287) for a sample)
99+
* Use `yarn upgrade abc [def]` ([doc](https://classic.yarnpkg.com/lang/en/docs/cli/upgrade/)) to upgrade one or more packages
100+
* Look into [package.json](https://github.com/etalab/transport-site/blob/master/apps/transport/client/package.json) to see how to specify versions
101+
* Most javascript-enabled features are not tested specifically - use `prochainement` or a local rendering to verify if nothing is broken
102+
95103
### Learn about the GTFS and GTFS-RT specifications
96104

97105
* @thbar bought https://gumroad.com/l/gtfsbundle (available to the team on demand)

0 commit comments

Comments
 (0)