Skip to content

Commit

Permalink
Initial commit [boilerplate]
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 committed Aug 4, 2023
1 parent 1198924 commit 400ae87
Show file tree
Hide file tree
Showing 46 changed files with 754 additions and 435 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-custom`
extends: ["custom"],
extends: ['custom'],
settings: {
next: {
rootDir: ["apps/*/"],
rootDir: ['apps/*/'],
},
},
};
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
.pnp
Expand Down
5 changes: 5 additions & 0 deletions .idea/.gitignore

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

61 changes: 61 additions & 0 deletions .idea/codeStyles/Project.xml

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

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

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

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

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

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

15 changes: 15 additions & 0 deletions .idea/penumbra-web.iml

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

7 changes: 7 additions & 0 deletions .idea/prettier.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.next/
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"singleQuote": true,
"jsxSingleQuote": true,
"printWidth": 100,
"trailingComma": "all"
}
28 changes: 0 additions & 28 deletions apps/docs/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions apps/docs/app/layout.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions apps/docs/app/page.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions apps/docs/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions apps/web/.eslintrc.js

This file was deleted.

34 changes: 0 additions & 34 deletions apps/web/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions apps/web/app/layout.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/web/next-env.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions apps/web/next.config.js

This file was deleted.

8 changes: 0 additions & 8 deletions apps/web/tsconfig.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
root: true,
extends: ["custom"],
extends: ['custom'],
};
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions apps/webapp-goshawk/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react';

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang='en'>
<body>{children}</body>
</html>
);
}
4 changes: 2 additions & 2 deletions apps/web/app/page.tsx → apps/webapp-goshawk/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Button, Header } from "ui";
import { Button, Header } from 'ui';

export default function Page() {
return (
<>
<Header text="Web" />
<Header text='Web' />
<Button />
</>
);
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
reactStrictMode: true,
transpilePackages: ["ui"],
transpilePackages: ['ui'],
};
2 changes: 1 addition & 1 deletion apps/web/package.json → apps/webapp-goshawk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "web",
"name": "penumbra-webapp-goshawk",
"version": "1.0.0",
"private": true,
"scripts": {
Expand Down
File renamed without changes.
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"private": true,
"name": "penumbra-web",
"version": "1.0.0",
"packageManager": "pnpm@8.6.11",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"format": "prettier --write .",
"format-check": "prettier --check ."
},
"devDependencies": {
"@turbo/gen": "^1.9.7",
"eslint": "^7.32.0",
"@turbo/gen": "^1.10.12",
"eslint": "^8.46.0",
"eslint-config-custom": "workspace:*",
"prettier": "^2.5.1",
"turbo": "latest"
},
"packageManager": "pnpm@8.6.10",
"name": "my-turborepo"
"prettier": "^3.0.1",
"turbo": "^1.10.12"
}
}
8 changes: 3 additions & 5 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module.exports = {
extends: ["next", "turbo", "prettier"],
rules: {
"@next/next/no-html-link-for-pages": "off",
},
extends: ['prettier', 'next/core-web-vitals', 'eslint:recommended', 'next', 'turbo'],
rules: {},
parserOptions: {
babelOptions: {
presets: [require.resolve("next/babel")],
presets: [require.resolve('next/babel')],
},
},
};
Loading

0 comments on commit 400ae87

Please sign in to comment.