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.

Files changed (63) hide show
  1. package/.vscode/settings.json +7 -0
  2. package/README.md +15 -0
  3. package/apps/docs/.eslintrc.js +9 -0
  4. package/apps/docs/README.md +11 -0
  5. package/apps/docs/app/des.db +1 -0
  6. package/apps/docs/app/favicon.ico +0 -0
  7. package/apps/docs/app/fonts/GeistMonoVF.woff +0 -0
  8. package/apps/docs/app/fonts/GeistVF.woff +0 -0
  9. package/apps/docs/app/globals.css +39 -0
  10. package/apps/docs/app/layout.tsx +31 -0
  11. package/apps/docs/app/page.module.css +188 -0
  12. package/apps/docs/app/page.tsx +36 -0
  13. package/apps/docs/app/theta.js +6 -0
  14. package/apps/docs/next.config.mjs +4 -0
  15. package/apps/docs/package.json +28 -0
  16. package/apps/docs/public/file-text.svg +3 -0
  17. package/apps/docs/public/globe.svg +10 -0
  18. package/apps/docs/public/next.svg +1 -0
  19. package/apps/docs/public/vercel.svg +10 -0
  20. package/apps/docs/public/window.svg +3 -0
  21. package/apps/docs/tsconfig.json +19 -0
  22. package/apps/web/.eslintrc.js +9 -0
  23. package/apps/web/README.md +11 -0
  24. package/apps/web/app/favicon.ico +0 -0
  25. package/apps/web/app/fonts/GeistMonoVF.woff +0 -0
  26. package/apps/web/app/fonts/GeistVF.woff +0 -0
  27. package/apps/web/app/globals.css +39 -0
  28. package/apps/web/app/layout.tsx +31 -0
  29. package/apps/web/app/page.module.css +188 -0
  30. package/apps/web/app/page.tsx +36 -0
  31. package/apps/web/next.config.mjs +4 -0
  32. package/apps/web/package.json +23 -0
  33. package/apps/web/public/chain.png +0 -0
  34. package/apps/web/public/favicon.ico +0 -0
  35. package/apps/web/public/file-text.svg +3 -0
  36. package/apps/web/public/globe.svg +10 -0
  37. package/apps/web/public/next.svg +1 -0
  38. package/apps/web/public/vercel.svg +10 -0
  39. package/apps/web/public/window.svg +3 -0
  40. package/apps/web/tsconfig.json +18 -0
  41. package/chain.jpg +0 -0
  42. package/index.js +1 -0
  43. package/package.json +27 -0
  44. package/packages/eslint-config/README.md +3 -0
  45. package/packages/eslint-config/library.js +34 -0
  46. package/packages/eslint-config/next.js +35 -0
  47. package/packages/eslint-config/package.json +19 -0
  48. package/packages/eslint-config/react-internal.js +39 -0
  49. package/packages/typescript-config/base.json +20 -0
  50. package/packages/typescript-config/nextjs.json +13 -0
  51. package/packages/typescript-config/package.json +9 -0
  52. package/packages/typescript-config/react-library.json +8 -0
  53. package/packages/ui/.eslintrc.js +10 -0
  54. package/packages/ui/package.json +28 -0
  55. package/packages/ui/src/button.tsx +20 -0
  56. package/packages/ui/src/card.tsx +25 -0
  57. package/packages/ui/src/code.tsx +9 -0
  58. package/packages/ui/tsconfig.json +8 -0
  59. package/packages/ui/tsconfig.lint.json +8 -0
  60. package/packages/ui/turbo/generators/config.ts +30 -0
  61. package/packages/ui/turbo/generators/templates/component.hbs +8 -0
  62. package/pnpm-workspace.yaml +3 -0
  63. 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
+ }
@@ -0,0 +1,8 @@
1
+ export const {{ pascalCase name }} = ({ children }: { children: React.ReactNode }) => {
2
+ return (
3
+ <div>
4
+ <h1>{{ pascalCase name }} Component</h1>
5
+ {children}
6
+ </div>
7
+ );
8
+ };
@@ -0,0 +1,3 @@
1
+ packages:
2
+ - "apps/*"
3
+ - "packages/*"
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
+ }