overleaf-cep/services/web/scripts/plan-prices
Kristina 4eee7cd6ef [web] rm annual-prices-monthly-rates split test (#26727)
* [web] rm annual-prices-monthly-rates split test

- rm monthly rates treatment
- rm unused translations
- rm unused supporting functions
- rm unused styles

GitOrigin-RevId: 5901853245cd9b01ee9e4774154d29ae8f5fcae5
2025-07-03 08:06:13 +00:00
..
.gitignore Merge pull request #14070 from overleaf/ii-remove-xlsx-package 2023-07-31 08:04:07 +00:00
additional-license-add-on-legacy-prices.json Merge pull request #23366 from overleaf/ii-flexible-licensing-add-seats-for-all-legacy-plans 2025-02-05 09:05:32 +00:00
package-lock.json Update to lockfile-version 3 (#23839) 2025-02-26 09:05:11 +00:00
package.json Merge pull request #14070 from overleaf/ii-remove-xlsx-package 2023-07-31 08:04:07 +00:00
plans.mjs [web] rm annual-prices-monthly-rates split test (#26727) 2025-07-03 08:06:13 +00:00
README.md [web] add annual-prices-monthly-rates experiment (#22956) 2025-01-24 09:05:17 +00:00

A nodejs tool for reading plans prices from csv files and creating JSON objects.

Run npm install in order to install the dependencies.

The scripts will put the output results into the output folder.

Create localized and group plan pricing

Command node plans.mjs -f fileName -o outputdir - generates two json files:

  • localizedPlanPricing.json for /services/web/config/settings.overrides.saas.js
  • groups.json for /services/web/app/templates/plans/groups.json

The input file can be in .csv or .json format

  • .csv csv format
  • .json json format from the recurly_prices.mjs --download script output