Skip to content

Commit

Permalink
feat: initiated plane space (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurusainath authored Aug 8, 2023
1 parent b6744dc commit 9df0ba6
Show file tree
Hide file tree
Showing 16 changed files with 184 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/space/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_VERCEL_ENV=local
39 changes: 39 additions & 0 deletions apps/space/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# env
.env
2 changes: 2 additions & 0 deletions apps/space/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.next
.vercel
7 changes: 7 additions & 0 deletions apps/space/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"trailingComma": "es5"
}
10 changes: 10 additions & 0 deletions apps/space/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<br /><br />

<p align="center">
<a href="https://plane.so">
<img src="https://plane-marketing.s3.ap-south-1.amazonaws.com/plane-readme/plane_logo_.webp" alt="Plane Logo" width="70">
</a>
</p>

<h3 align="center"><b>Plane Space</b></h3>
<p align="center"><b>Open-source, self-hosted project planning tool</b></p>
9 changes: 9 additions & 0 deletions apps/space/app/[workspace_project_slug]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";

const WorkspaceProjectPage = () => (
<div className="relative w-screen h-screen flex justify-center items-center text-5xl">
Plane Workspace project Space
</div>
);

export default WorkspaceProjectPage;
12 changes: 12 additions & 0 deletions apps/space/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// root styles
import "styles/globals.css";

const RootLayout = ({ children }: { children: React.ReactNode }) => (
<html lang="en">
<body className="antialiased w-100">
<main>{children}</main>
</body>
</html>
);

export default RootLayout;
7 changes: 7 additions & 0 deletions apps/space/app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react";

const HomePage = () => (
<div className="relative w-screen h-screen flex justify-center items-center text-5xl">Plane Space</div>
);

export default HomePage;
1 change: 1 addition & 0 deletions apps/space/lib/mobx-store/root.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const init = {};
9 changes: 9 additions & 0 deletions apps/space/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
experimental: {
appDir: true,
},
};

module.exports = nextConfig;
35 changes: 35 additions & 0 deletions apps/space/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "plane-space",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@headlessui/react": "^1.7.13",
"@types/node": "18.14.1",
"@types/nprogress": "^0.2.0",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"axios": "^1.3.4",
"eslint": "8.34.0",
"eslint-config-next": "13.2.1",
"js-cookie": "^3.0.1",
"next": "^13.4.13",
"nprogress": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "4.9.5",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/js-cookie": "^3.0.3",
"@types/uuid": "^9.0.1",
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"tailwindcss": "^3.2.7"
}
}
6 changes: 6 additions & 0 deletions apps/space/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
1 change: 1 addition & 0 deletions apps/space/store/root.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const init = {};
6 changes: 6 additions & 0 deletions apps/space/styles/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
16 changes: 16 additions & 0 deletions apps/space/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/** @type {import('tailwindcss').Config} */

module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.tsx",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {},
},
},
plugins: [],
};
23 changes: 23 additions & 0 deletions apps/space/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {},
"plugins": [{ "name": "next" }]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "server.js", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 9df0ba6

Please sign in to comment.