Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Jan 31, 2024
1 parent 2ecc981 commit b746ac0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
{
"files": "*.json",
"files": "*.{json,cjs}",
"options": {
"trailingComma": "none"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/scripts/build.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async function main() {
plugins: [pnpPlugin()],
define: {
"process.env.CLI_NAME": JSON.stringify("fern-scripts"),
"process.env.CLI_VERSION": JSON.stringify(packageJson.version),
},
"process.env.CLI_VERSION": JSON.stringify(packageJson.version)
}
};

await build(options).catch(() => process.exit(1));
Expand All @@ -31,7 +31,7 @@ async function main() {
"cli.cjs",
`#!/usr/bin/env node
require("./bundle.cjs");`,
require("./bundle.cjs");`
);
await chmod("cli.cjs", "755");
}
8 changes: 4 additions & 4 deletions packages/ui/public-docs-bundle/.env-cmdrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ module.exports = {
NEXT_PUBLIC_POSTHOG_API_KEY: "",
NEXT_PUBLIC_ALGOLIA_APP_ID: "CQINPZSKS3",
NEXT_PUBLIC_ALGOLIA_API_KEY: "9515d5b15764da73b5cfad85772779fa",
NEXT_PUBLIC_ALGOLIA_SEARCH_INDEX: "search_index_dev",
NEXT_PUBLIC_ALGOLIA_SEARCH_INDEX: "search_index_dev"
},
"fern-prod": {
NEXT_PUBLIC_FDR_ORIGIN: "https://registry.buildwithfern.com",
NEXT_PUBLIC_POSTHOG_API_KEY: "phc_yQgAEdJJkVpI24NdSRID2mor1x1leRpDoC9yZ9mfXal",
NEXT_PUBLIC_ALGOLIA_APP_ID: process.env.ALGOLIA_APP_ID,
NEXT_PUBLIC_ALGOLIA_API_KEY: process.env.ALGOLIA_API_KEY,
NEXT_PUBLIC_ALGOLIA_SEARCH_INDEX: "search_index_prod",
NEXT_PUBLIC_ALGOLIA_SEARCH_INDEX: "search_index_prod"
},
"fern-preview": {
NEXT_PUBLIC_FDR_ORIGIN: "http://localhost:3000",
},
NEXT_PUBLIC_FDR_ORIGIN: "http://localhost:3000"
}
};

0 comments on commit b746ac0

Please sign in to comment.