Skip to content

Design tokens README usage instructions lead to "Missing script" errors #2086

@brian-smith-tcril

Description

@brian-smith-tcril

When following the instructions here https://github.com/openedx/paragon/tree/alpha#usage, the last 2 commands lead to "Missing script" errors

npm run build-scss-to-css-map # creats scss-to-css-core.json and scss-to-css-components.json 
npm run replace-variables -- --path ../src # this will replace all scss variables in the project with the new css variables based on the "scss-to-css-core.json" and "scss-to-css-components.json" files

I have a PR out for the first one #2085, but the second one seems to be ambiguous, as there are 2 replace-variables-* scripts in the package.json

replace-variables-usage-with-css
replace-variables-definition-with-css

I'd love to get some clarification on what these steps should be, and what (if any) scripts should be added to the package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions