manager-thedate 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of manager-thedate might be problematic. Click here for more details.
- package/.vscode/settings.json +7 -0
- package/README.md +15 -0
- package/apps/docs/.eslintrc.js +9 -0
- package/apps/docs/README.md +11 -0
- package/apps/docs/app/des.db +1 -0
- package/apps/docs/app/favicon.ico +0 -0
- package/apps/docs/app/fonts/GeistMonoVF.woff +0 -0
- package/apps/docs/app/fonts/GeistVF.woff +0 -0
- package/apps/docs/app/globals.css +39 -0
- package/apps/docs/app/layout.tsx +31 -0
- package/apps/docs/app/page.module.css +188 -0
- package/apps/docs/app/page.tsx +36 -0
- package/apps/docs/app/theta.js +6 -0
- package/apps/docs/next.config.mjs +4 -0
- package/apps/docs/package.json +28 -0
- package/apps/docs/public/file-text.svg +3 -0
- package/apps/docs/public/globe.svg +10 -0
- package/apps/docs/public/next.svg +1 -0
- package/apps/docs/public/vercel.svg +10 -0
- package/apps/docs/public/window.svg +3 -0
- package/apps/docs/tsconfig.json +19 -0
- package/apps/web/.eslintrc.js +9 -0
- package/apps/web/README.md +11 -0
- package/apps/web/app/favicon.ico +0 -0
- package/apps/web/app/fonts/GeistMonoVF.woff +0 -0
- package/apps/web/app/fonts/GeistVF.woff +0 -0
- package/apps/web/app/globals.css +39 -0
- package/apps/web/app/layout.tsx +31 -0
- package/apps/web/app/page.module.css +188 -0
- package/apps/web/app/page.tsx +36 -0
- package/apps/web/next.config.mjs +4 -0
- package/apps/web/package.json +23 -0
- package/apps/web/public/chain.png +0 -0
- package/apps/web/public/favicon.ico +0 -0
- package/apps/web/public/file-text.svg +3 -0
- package/apps/web/public/globe.svg +10 -0
- package/apps/web/public/next.svg +1 -0
- package/apps/web/public/vercel.svg +10 -0
- package/apps/web/public/window.svg +3 -0
- package/apps/web/tsconfig.json +18 -0
- package/chain.jpg +0 -0
- package/index.js +1 -0
- package/package.json +27 -0
- package/packages/eslint-config/README.md +3 -0
- package/packages/eslint-config/library.js +34 -0
- package/packages/eslint-config/next.js +35 -0
- package/packages/eslint-config/package.json +19 -0
- package/packages/eslint-config/react-internal.js +39 -0
- package/packages/typescript-config/base.json +20 -0
- package/packages/typescript-config/nextjs.json +13 -0
- package/packages/typescript-config/package.json +9 -0
- package/packages/typescript-config/react-library.json +8 -0
- package/packages/ui/.eslintrc.js +10 -0
- package/packages/ui/package.json +28 -0
- package/packages/ui/src/button.tsx +20 -0
- package/packages/ui/src/card.tsx +25 -0
- package/packages/ui/src/code.tsx +9 -0
- package/packages/ui/tsconfig.json +8 -0
- package/packages/ui/tsconfig.lint.json +8 -0
- package/packages/ui/turbo/generators/config.ts +30 -0
- package/packages/ui/turbo/generators/templates/component.hbs +8 -0
- package/pnpm-workspace.yaml +3 -0
- package/turbo.json +18 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PlopTypes } from "@turbo/gen";
|
|
2
|
+
|
|
3
|
+
// Learn more about Turborepo Generators at https://turbo.build/repo/docs/core-concepts/monorepos/code-generation
|
|
4
|
+
|
|
5
|
+
export default function generator(plop: PlopTypes.NodePlopAPI): void {
|
|
6
|
+
// A simple generator to add a new React component to the internal UI library
|
|
7
|
+
plop.setGenerator("react-component", {
|
|
8
|
+
description: "Adds a new react component",
|
|
9
|
+
prompts: [
|
|
10
|
+
{
|
|
11
|
+
type: "input",
|
|
12
|
+
name: "name",
|
|
13
|
+
message: "What is the name of the component?",
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
actions: [
|
|
17
|
+
{
|
|
18
|
+
type: "add",
|
|
19
|
+
path: "src/{{kebabCase name}}.tsx",
|
|
20
|
+
templateFile: "templates/component.hbs",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: "append",
|
|
24
|
+
path: "package.json",
|
|
25
|
+
pattern: /"exports": {(?<insertion>)/g,
|
|
26
|
+
template: ' "./{{kebabCase name}}": "./src/{{kebabCase name}}.tsx",',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
});
|
|
30
|
+
}
|
package/turbo.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://turbo.build/schema.json",
|
|
3
|
+
"ui": "tui",
|
|
4
|
+
"tasks": {
|
|
5
|
+
"build": {
|
|
6
|
+
"dependsOn": ["^build"],
|
|
7
|
+
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
8
|
+
"outputs": [".next/**", "!.next/cache/**"]
|
|
9
|
+
},
|
|
10
|
+
"lint": {
|
|
11
|
+
"dependsOn": ["^lint"]
|
|
12
|
+
},
|
|
13
|
+
"dev": {
|
|
14
|
+
"cache": false,
|
|
15
|
+
"persistent": true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|