@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.
- package/dist/bin/harness.js +1 -1
- package/dist/chunk-WE3FMIWI.js +2639 -0
- package/dist/index.js +1 -1
- package/dist/templates/advanced/agents/personas/.gitkeep +0 -0
- package/dist/templates/advanced/docs/changes/.gitkeep +0 -0
- package/dist/templates/advanced/docs/principles.md.hbs +14 -0
- package/dist/templates/advanced/docs/specs/.gitkeep +0 -0
- package/dist/templates/advanced/harness.config.json.hbs +30 -0
- package/dist/templates/advanced/package.json.hbs +21 -0
- package/dist/templates/advanced/template.json +7 -0
- package/dist/templates/base/AGENTS.md.hbs +18 -0
- package/dist/templates/base/docs/index.md.hbs +13 -0
- package/dist/templates/base/template.json +5 -0
- package/dist/templates/basic/harness.config.json.hbs +16 -0
- package/dist/templates/basic/package.json.hbs +15 -0
- package/dist/templates/basic/src/index.ts +1 -0
- package/dist/templates/basic/template.json +7 -0
- package/dist/templates/basic/tsconfig.json +13 -0
- package/dist/templates/intermediate/docs/changes/.gitkeep +0 -0
- package/dist/templates/intermediate/docs/principles.md.hbs +14 -0
- package/dist/templates/intermediate/docs/specs/.gitkeep +0 -0
- package/dist/templates/intermediate/eslint.config.mjs.hbs +12 -0
- package/dist/templates/intermediate/harness.config.json.hbs +22 -0
- package/dist/templates/intermediate/package.json.hbs +19 -0
- package/dist/templates/intermediate/src/domain/.gitkeep +0 -0
- package/dist/templates/intermediate/src/services/.gitkeep +0 -0
- package/dist/templates/intermediate/src/types/.gitkeep +0 -0
- package/dist/templates/intermediate/template.json +7 -0
- package/dist/templates/nextjs/next.config.mjs +3 -0
- package/dist/templates/nextjs/package.json.hbs +17 -0
- package/dist/templates/nextjs/src/app/layout.tsx +12 -0
- package/dist/templates/nextjs/src/app/page.tsx +7 -0
- package/dist/templates/nextjs/src/lib/.gitkeep +0 -0
- package/dist/templates/nextjs/template.json +6 -0
- package/dist/templates/templates/advanced/agents/personas/.gitkeep +0 -0
- package/dist/templates/templates/advanced/docs/changes/.gitkeep +0 -0
- package/dist/templates/templates/advanced/docs/principles.md.hbs +14 -0
- package/dist/templates/templates/advanced/docs/specs/.gitkeep +0 -0
- package/dist/templates/templates/advanced/harness.config.json.hbs +30 -0
- package/dist/templates/templates/advanced/package.json.hbs +21 -0
- package/dist/templates/templates/advanced/template.json +7 -0
- package/dist/templates/templates/base/AGENTS.md.hbs +18 -0
- package/dist/templates/templates/base/docs/index.md.hbs +13 -0
- package/dist/templates/templates/base/template.json +5 -0
- package/dist/templates/templates/basic/harness.config.json.hbs +16 -0
- package/dist/templates/templates/basic/package.json.hbs +15 -0
- package/dist/templates/templates/basic/src/index.ts +1 -0
- package/dist/templates/templates/basic/template.json +7 -0
- package/dist/templates/templates/basic/tsconfig.json +13 -0
- package/dist/templates/templates/intermediate/docs/changes/.gitkeep +0 -0
- package/dist/templates/templates/intermediate/docs/principles.md.hbs +14 -0
- package/dist/templates/templates/intermediate/docs/specs/.gitkeep +0 -0
- package/dist/templates/templates/intermediate/eslint.config.mjs.hbs +12 -0
- package/dist/templates/templates/intermediate/harness.config.json.hbs +22 -0
- package/dist/templates/templates/intermediate/package.json.hbs +19 -0
- package/dist/templates/templates/intermediate/src/domain/.gitkeep +0 -0
- package/dist/templates/templates/intermediate/src/services/.gitkeep +0 -0
- package/dist/templates/templates/intermediate/src/types/.gitkeep +0 -0
- package/dist/templates/templates/intermediate/template.json +7 -0
- package/dist/templates/templates/nextjs/next.config.mjs +3 -0
- package/dist/templates/templates/nextjs/package.json.hbs +17 -0
- package/dist/templates/templates/nextjs/src/app/layout.tsx +12 -0
- package/dist/templates/templates/nextjs/src/app/page.tsx +7 -0
- package/dist/templates/templates/nextjs/src/lib/.gitkeep +0 -0
- package/dist/templates/templates/nextjs/template.json +6 -0
- 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
|
+
}
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/cli",
|
|
3
|
-
"version": "1.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/
|
|
30
|
-
"@harness-engineering/
|
|
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",
|