mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
Migrates the Overleaf monorepo package manager from npm (v11) to Yarn 4 (v4.9.1) using node-modules linker mode. GitOrigin-RevId: 50d32ab01955c15e29679eff9e9e9cfb897fab2d
18 lines
634 B
Markdown
18 lines
634 B
Markdown
A nodejs tool for reading plans prices from csv files and creating JSON objects.
|
|
|
|
Run `yarn 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
|