@harness-engineering/cli 1.0.0 → 1.0.1

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.
Files changed (66) hide show
  1. package/dist/bin/harness.js +1 -1
  2. package/dist/chunk-WE3FMIWI.js +2639 -0
  3. package/dist/index.js +1 -1
  4. package/dist/templates/advanced/agents/personas/.gitkeep +0 -0
  5. package/dist/templates/advanced/docs/changes/.gitkeep +0 -0
  6. package/dist/templates/advanced/docs/principles.md.hbs +14 -0
  7. package/dist/templates/advanced/docs/specs/.gitkeep +0 -0
  8. package/dist/templates/advanced/harness.config.json.hbs +30 -0
  9. package/dist/templates/advanced/package.json.hbs +21 -0
  10. package/dist/templates/advanced/template.json +7 -0
  11. package/dist/templates/base/AGENTS.md.hbs +18 -0
  12. package/dist/templates/base/docs/index.md.hbs +13 -0
  13. package/dist/templates/base/template.json +5 -0
  14. package/dist/templates/basic/harness.config.json.hbs +16 -0
  15. package/dist/templates/basic/package.json.hbs +15 -0
  16. package/dist/templates/basic/src/index.ts +1 -0
  17. package/dist/templates/basic/template.json +7 -0
  18. package/dist/templates/basic/tsconfig.json +13 -0
  19. package/dist/templates/intermediate/docs/changes/.gitkeep +0 -0
  20. package/dist/templates/intermediate/docs/principles.md.hbs +14 -0
  21. package/dist/templates/intermediate/docs/specs/.gitkeep +0 -0
  22. package/dist/templates/intermediate/eslint.config.mjs.hbs +12 -0
  23. package/dist/templates/intermediate/harness.config.json.hbs +22 -0
  24. package/dist/templates/intermediate/package.json.hbs +19 -0
  25. package/dist/templates/intermediate/src/domain/.gitkeep +0 -0
  26. package/dist/templates/intermediate/src/services/.gitkeep +0 -0
  27. package/dist/templates/intermediate/src/types/.gitkeep +0 -0
  28. package/dist/templates/intermediate/template.json +7 -0
  29. package/dist/templates/nextjs/next.config.mjs +3 -0
  30. package/dist/templates/nextjs/package.json.hbs +17 -0
  31. package/dist/templates/nextjs/src/app/layout.tsx +12 -0
  32. package/dist/templates/nextjs/src/app/page.tsx +7 -0
  33. package/dist/templates/nextjs/src/lib/.gitkeep +0 -0
  34. package/dist/templates/nextjs/template.json +6 -0
  35. package/dist/templates/templates/advanced/agents/personas/.gitkeep +0 -0
  36. package/dist/templates/templates/advanced/docs/changes/.gitkeep +0 -0
  37. package/dist/templates/templates/advanced/docs/principles.md.hbs +14 -0
  38. package/dist/templates/templates/advanced/docs/specs/.gitkeep +0 -0
  39. package/dist/templates/templates/advanced/harness.config.json.hbs +30 -0
  40. package/dist/templates/templates/advanced/package.json.hbs +21 -0
  41. package/dist/templates/templates/advanced/template.json +7 -0
  42. package/dist/templates/templates/base/AGENTS.md.hbs +18 -0
  43. package/dist/templates/templates/base/docs/index.md.hbs +13 -0
  44. package/dist/templates/templates/base/template.json +5 -0
  45. package/dist/templates/templates/basic/harness.config.json.hbs +16 -0
  46. package/dist/templates/templates/basic/package.json.hbs +15 -0
  47. package/dist/templates/templates/basic/src/index.ts +1 -0
  48. package/dist/templates/templates/basic/template.json +7 -0
  49. package/dist/templates/templates/basic/tsconfig.json +13 -0
  50. package/dist/templates/templates/intermediate/docs/changes/.gitkeep +0 -0
  51. package/dist/templates/templates/intermediate/docs/principles.md.hbs +14 -0
  52. package/dist/templates/templates/intermediate/docs/specs/.gitkeep +0 -0
  53. package/dist/templates/templates/intermediate/eslint.config.mjs.hbs +12 -0
  54. package/dist/templates/templates/intermediate/harness.config.json.hbs +22 -0
  55. package/dist/templates/templates/intermediate/package.json.hbs +19 -0
  56. package/dist/templates/templates/intermediate/src/domain/.gitkeep +0 -0
  57. package/dist/templates/templates/intermediate/src/services/.gitkeep +0 -0
  58. package/dist/templates/templates/intermediate/src/types/.gitkeep +0 -0
  59. package/dist/templates/templates/intermediate/template.json +7 -0
  60. package/dist/templates/templates/nextjs/next.config.mjs +3 -0
  61. package/dist/templates/templates/nextjs/package.json.hbs +17 -0
  62. package/dist/templates/templates/nextjs/src/app/layout.tsx +12 -0
  63. package/dist/templates/templates/nextjs/src/app/page.tsx +7 -0
  64. package/dist/templates/templates/nextjs/src/lib/.gitkeep +0 -0
  65. package/dist/templates/templates/nextjs/template.json +6 -0
  66. package/package.json +4 -4
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "{{projectName}}",
3
+ "scripts": {
4
+ "dev": "next dev",
5
+ "build": "next build",
6
+ "start": "next start"
7
+ },
8
+ "dependencies": {
9
+ "next": "^14.0.0",
10
+ "react": "^18.0.0",
11
+ "react-dom": "^18.0.0"
12
+ },
13
+ "devDependencies": {
14
+ "@types/react": "^18.0.0",
15
+ "@types/react-dom": "^18.0.0"
16
+ }
17
+ }
@@ -0,0 +1,12 @@
1
+ export const metadata = {
2
+ title: 'Harness Engineering App',
3
+ description: 'Built with Harness Engineering practices',
4
+ };
5
+
6
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
7
+ return (
8
+ <html lang="en">
9
+ <body>{children}</body>
10
+ </html>
11
+ );
12
+ }
@@ -0,0 +1,7 @@
1
+ export default function Home() {
2
+ return (
3
+ <main>
4
+ <h1>Welcome to your Harness Engineering project</h1>
5
+ </main>
6
+ );
7
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "name": "nextjs",
3
+ "description": "Next.js framework overlay",
4
+ "framework": "nextjs",
5
+ "version": 1
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harness-engineering/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI for Harness Engineering toolkit",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,8 +26,8 @@
26
26
  "handlebars": "^4.7.0",
27
27
  "yaml": "^2.3.0",
28
28
  "zod": "^3.22.0",
29
- "@harness-engineering/core": "0.5.0",
30
- "@harness-engineering/linter-gen": "0.1.0"
29
+ "@harness-engineering/linter-gen": "0.1.0",
30
+ "@harness-engineering/core": "0.5.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^22.0.0",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "homepage": "https://github.com/Intense-Visions/harness-engineering/tree/main/packages/cli#readme",
51
51
  "scripts": {
52
- "build": "tsup src/index.ts src/bin/harness.ts --format esm --dts --outDir dist",
52
+ "build": "tsup src/index.ts src/bin/harness.ts --format esm --dts --outDir dist && cp -r ../../templates dist/templates",
53
53
  "dev": "tsup src/index.ts src/bin/harness.ts --format esm --dts --watch",
54
54
  "lint": "eslint src",
55
55
  "typecheck": "tsc --noEmit",