Skip to content

Commit

Permalink
install prettier and format codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 committed Jun 21, 2024
1 parent 796a02e commit 539881a
Show file tree
Hide file tree
Showing 36 changed files with 280 additions and 257 deletions.
6 changes: 3 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const nextConfig = withTM({
config.resolve.alias = {
...config.resolve.alias,
vscode: require.resolve(
"@codingame/monaco-languageclient/lib/vscode-compatibility"
"@codingame/monaco-languageclient/lib/vscode-compatibility",
),
};

Expand All @@ -23,15 +23,15 @@ const nextConfig = withTM({
config.plugins.push(
new webpack.NormalModuleReplacementPlugin(/^node:/, (resource) => {
resource.request = resource.request.replace(/^node:/, "");
})
}),
);

if (!options.isServer) {
config.plugins.push(
new MonacoWebpackPlugin({
languages: ["typescript"],
filename: "static/[name].worker.js",
})
}),
);
}
return config;
Expand Down
24 changes: 23 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"@types/uuid": "^9.0.1",
"eslint-config-prettier": "^9.1.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"next-transpile-modules": "^10.0.0"
"next-transpile-modules": "^10.0.0",
"prettier": "^3.3.2"
}
}
Loading

0 comments on commit 539881a

Please sign in to comment.