Skip to content

Commit

Permalink
Rename to latest-versions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Nov 28, 2024
1 parent d8b926a commit 831f772
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as Preset from "@docusaurus/preset-classic";
import type { Config } from "@docusaurus/types";
import { themes as prismThemes } from "prism-react-renderer";
import remarkTokenReplacer from "./src/plugins/replace-tokens";
import globalVariables from "./src/plugins/global-variables";
import latestVersions from "./src/plugins/latest-versions";

const config: Config = {
title: "OpenRewrite Docs",
Expand Down Expand Up @@ -38,7 +38,7 @@ const config: Config = {
[
remarkTokenReplacer,
{
replacements: globalVariables,
replacements: latestVersions,
},
],
],
Expand Down
13 changes: 0 additions & 13 deletions src/plugins/global-variables.js

This file was deleted.

58 changes: 58 additions & 0 deletions src/plugins/latest-versions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
const latestVersions = {
"{{VERSION_REWRITE_RECIPE_BOM}}": "2.23.1",
"{{VERSION_REWRITE_GRADLE_PLUGIN}}": "6.28.1",
"{{VERSION_REWRITE_MAVEN_PLUGIN}}": "5.46.1",
"{{VERSION_REWRITE_CORE}}": "8.41.1",
"{{VERSION_REWRITE_GRADLE}}": "8.41.1",
"{{VERSION_REWRITE_GROOVY}}": "8.41.1",
"{{VERSION_REWRITE_HCL}}": "8.41.1",
"{{VERSION_REWRITE_JAVA}}": "8.41.1",
"{{VERSION_REWRITE_JSON}}": "8.41.1",
"{{VERSION_REWRITE_MAVEN}}": "8.41.1",
"{{VERSION_REWRITE_PROPERTIES}}": "8.41.1",
"{{VERSION_REWRITE_PROTOBUF}}": "8.41.1",
"{{VERSION_REWRITE_XML}}": "8.41.1",
"{{VERSION_REWRITE_YAML}}": "8.41.1",
"{{VERSION_REWRITE_KOTLIN}}": "1.23.1",
"{{VERSION_REWRITE_TEMPLATING}}": "1.19.1",
"{{VERSION_REWRITE_ANALYSIS}}": "2.13.1",
"{{VERSION_REWRITE_AI_SEARCH}}": "0.20.1",
"{{VERSION_REWRITE_ANDROID}}": "0.4.1",
"{{VERSION_REWRITE_ALL}}": "1.8.1",
"{{VERSION_REWRITE_APACHE}}": "1.9.1",
"{{VERSION_REWRITE_CIRCLECI}}": "2.9.1",
"{{VERSION_REWRITE_CODEMODS}}": "0.4.4",
"{{VERSION_REWRITE_CODEMODS_NG}}": "0.5.3",
"{{VERSION_REWRITE_CONCOURSE}}": "2.9.1",
"{{VERSION_REWRITE_CUCUMBER_JVM}}": "1.7.1",
"{{VERSION_REWRITE_DOCKER}}": "1.3.1",
"{{VERSION_REWRITE_DOTNET}}": "0.5.1",
"{{VERSION_REWRITE_FEATURE_FLAGS}}": "0.11.1",
"{{VERSION_REWRITE_GITHUB_ACTIONS}}": "2.10.1",
"{{VERSION_REWRITE_GITLAB}}": "0.3.1",
"{{VERSION_REWRITE_HIBERNATE}}": "1.13.1",
"{{VERSION_REWRITE_JACKSON}}": "0.10.1",
"{{VERSION_REWRITE_JAVA_DEPENDENCIES}}": "1.24.1",
"{{VERSION_REWRITE_JAVA_SECURITY}}": "2.16.1",
"{{VERSION_REWRITE_JENKINS}}": "0.18.1",
"{{VERSION_REWRITE_KUBERNETES}}": "2.11.1",
"{{VERSION_REWRITE_LIBERTY}}": "1.10.1",
"{{VERSION_REWRITE_LOGGING_FRAMEWORKS}}": "2.17.1",
"{{VERSION_REWRITE_MICROMETER}}": "0.11.1",
"{{VERSION_REWRITE_MICRONAUT}}": "2.13.1",
"{{VERSION_REWRITE_MIGRATE_JAVA}}": "2.30.1",
"{{VERSION_REWRITE_NODEJS}}": "0.13.2",
"{{VERSION_REWRITE_OKHTTP}}": "0.6.1",
"{{VERSION_REWRITE_OPENAPI}}": "0.10.1",
"{{VERSION_REWRITE_QUARKUS}}": "2.11.1",
"{{VERSION_REWRITE_REACTIVE_STREAMS}}": "0.6.1",
"{{VERSION_REWRITE_RECOMMENDATIONS}}": "1.14.1",
"{{VERSION_REWRITE_SPRING}}": "5.24.1",
"{{VERSION_REWRITE_SQL}}": "1.12.1",
"{{VERSION_REWRITE_STATIC_ANALYSIS}}": "1.21.1",
"{{VERSION_REWRITE_STRUTS}}": "0.8.1",
"{{VERSION_REWRITE_TERRAFORM}}": "2.6.1",
"{{VERSION_REWRITE_TESTING_FRAMEWORKS}}": "2.23.1",
"{{VERSION_REWRITE_THIRD_PARTY}}": "0.12.1",
};
export default latestVersions;

0 comments on commit 831f772

Please sign in to comment.