Skip to content

Commit

Permalink
Merge pull request #26 from pingpad-io/dev
Browse files Browse the repository at this point in the history
v0.7 release!
  • Loading branch information
kualta authored May 31, 2024
2 parents c3ce234 + dc7b034 commit b0d28f8
Show file tree
Hide file tree
Showing 129 changed files with 25,041 additions and 2,264 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"customizations": {
"vscode": {
"extensions": [
"biomejs.biome"
]
}
}
}
4 changes: 1 addition & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
### Copy this file into .env to use it with your dev environment

# Not leaking because domain masking it configured, localhost is always allowed
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=fdc92fe1f35a8088a31231e3c801c4c6

NEXT_PUBLIC_SITE_URL="https://pingpad.io"
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=fdc92fe1f35a8088a31231e3c801c4c6
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ yarn-error.log*
.vercel

# typescript
*.tsbuildinfo

.vscode/
*.tsbuildinfo
2 changes: 2 additions & 0 deletions .idx/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

gc/
32 changes: 32 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{pkgs}: {
channel = "stable-23.11";
packages = with pkgs; [
bun
];
idx.extensions = [
"vscodevim.vim"
"biomejs.biome"
];
idx.workspace.onStart = {
bun-install = "bun install";
cp-env = "cp .env.example .env";
};
idx.previews = {
previews = [
{
command = [
"bun"
"run"
"dev"
"--"
"--port"
"$PORT"
"--hostname"
"0.0.0.0"
];
id = "web";
manager = "web";
}
];
};
}
76 changes: 76 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
// git
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git.openRepositoryInParentFolders": "never",
// vim
"vim.leader": "<space>",
"vim.easymotion": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"k"
],
"after": [
"<Esc>"
]
}
],
"vim.normalModeKeyBindings": [
{
"before": [
"u"
],
"after": [],
"commands": [
{
"command": "undo",
"args": []
}
]
},
{
"before": [
"<C-r>"
],
"after": [],
"commands": [
{
"command": "redo",
"args": []
}
]
}
],
"vim.handleKeys": {
"<C-d>": true,
"<C-n>": false,
"<C-p>": false
},
// execute vim in a separate process, increses responsiveness
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"editor.defaultFormatter": "biomejs.biome",
"javascript.inlayHints.parameterNames.enabled": "all",
"typescript.inlayHints.parameterNames.enabled": "all",
"typescript.updateImportsOnFileMove.enabled": "always",
"window.menuBarVisibility": "hidden",
"editor.lineNumbers": "relative",
"editor.minimap.enabled": false,
"editor.inlineSuggest.enabled": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"quickfix.biome": "always",
"source.organizeImports.biome": "always"
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
}
3 changes: 0 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"noUnusedVariables": "warn",
"useExhaustiveDependencies": "off"
},
"nursery": {
"noUnusedImports": "warn"
},
"suspicious": {
"noExplicitAny": "off"
},
Expand Down
Binary file removed bun.lockb
Binary file not shown.
20 changes: 9 additions & 11 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@ const bundleAnalyzer = withBundleAnalyzer({
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
transpilePackages: ['@lens-protocol', 'lucide-react'],

typescript: {
ignoreBuildErrors: true,
},
images: {
remotePatterns: [
{
hostname: "*.googleusercontent.com",
},
{
hostname: "avatars.githubusercontent.com",
protocol: "https",
hostname: "**",
},
],
},
transpilePackages: ['@lens-protocol'],

typescript: {
ignoreBuildErrors: true,
},

};

export default bundleAnalyzer(config);
// export default bundleAnalyzer(config);
export default config;
Loading

0 comments on commit b0d28f8

Please sign in to comment.