-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rari): support rari as beta feature #12051
Conversation
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
@@ -69,7 +69,14 @@ export async function runMakePopularitiesFile({ | |||
pageviews.slice(0, maxUris).forEach(([uri, popularity]) => { | |||
popularities[uri] = parseFloat(popularity.toFixed(5)); | |||
}); | |||
fs.writeFileSync(outfile, JSON.stringify(popularities, null, 2)); | |||
fs.writeFileSync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fiji-flo this implements the updated format
@@ -14,36 +15,39 @@ | |||
"yari-tool": "tool/cli.js" | |||
}, | |||
"scripts": { | |||
"ai-help-macros": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node scripts/ai-help-macros.ts", | |||
"ai-help-macros": "cross-env NODE_OPTIONS=\"--no-warnings=ExperimentalWarning --loader ts-node/esm\" node scripts/ai-help-macros.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are windows fixes.
Summary
This adds initial support for rari and uses rari to deploy to testing.
Problem
We want to enable writers and contributors to seamlessly migrate.
Solution
Introduce
yarn start:rari
to preview the new system.This also:
How did you test this change?
Locally and on testing.