@lousy-agents/cli 1.0.2 → 1.0.6
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/package.json +9 -7
- package/ui/copilot-with-react/.devcontainer/devcontainer.json +90 -0
- package/ui/copilot-with-react/.editorconfig +16 -0
- package/ui/copilot-with-react/.github/ISSUE_TEMPLATE/feature-to-spec.yml +54 -0
- package/ui/copilot-with-react/.github/copilot-instructions.md +281 -0
- package/ui/copilot-with-react/.github/instructions/pipeline.instructions.md +46 -0
- package/ui/copilot-with-react/.github/instructions/software-architecture.instructions.md +401 -0
- package/ui/copilot-with-react/.github/instructions/spec.instructions.md +411 -0
- package/ui/copilot-with-react/.github/instructions/test.instructions.md +119 -0
- package/ui/copilot-with-react/.github/specs/README.md +84 -0
- package/ui/copilot-with-react/.github/workflows/assign-copilot.yml +59 -0
- package/ui/copilot-with-react/.github/workflows/copilot-setup-steps.yml +37 -0
- package/ui/copilot-with-react/.nvmrc +1 -0
- package/ui/copilot-with-react/.vscode/extensions.json +15 -0
- package/ui/copilot-with-react/.vscode/launch.json +19 -0
- package/ui/copilot-with-react/.yamllint +18 -0
- package/ui/copilot-with-react/biome.json +31 -0
- package/ui/copilot-with-react/next.config.ts +16 -0
- package/ui/copilot-with-react/package.json +41 -0
- package/ui/copilot-with-react/tsconfig.json +28 -0
- package/ui/copilot-with-react/vitest.config.ts +17 -0
- package/ui/copilot-with-react/vitest.setup.ts +2 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: "Copilot Setup Steps"
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
push:
|
|
6
|
+
paths:
|
|
7
|
+
- .github/workflows/copilot-setup-steps.yml
|
|
8
|
+
pull_request:
|
|
9
|
+
paths:
|
|
10
|
+
- .github/workflows/copilot-setup-steps.yml
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
copilot-setup-steps:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
permissions:
|
|
16
|
+
id-token: write
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Checkout code
|
|
21
|
+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
22
|
+
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
|
25
|
+
with:
|
|
26
|
+
node-version-file: ".nvmrc"
|
|
27
|
+
|
|
28
|
+
- name: Setup Actionlint
|
|
29
|
+
run: |
|
|
30
|
+
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) 1.7.9
|
|
31
|
+
sudo mv actionlint /usr/local/bin/
|
|
32
|
+
|
|
33
|
+
- name: Setup Yamllint
|
|
34
|
+
run: pip install yamllint
|
|
35
|
+
|
|
36
|
+
- name: Install dependencies
|
|
37
|
+
run: npm ci
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v24.12.0
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recommendations": [
|
|
3
|
+
"biomejs.biome",
|
|
4
|
+
"dbaeumer.vscode-eslint",
|
|
5
|
+
"editorconfig.editorconfig",
|
|
6
|
+
"vitest.explorer",
|
|
7
|
+
"ms-vscode-remote.remote-containers",
|
|
8
|
+
"GitHub.codespaces",
|
|
9
|
+
"ms-vscode.makefile-tools",
|
|
10
|
+
"GitHub.Copilot",
|
|
11
|
+
"GitHub.Copilot-Chat",
|
|
12
|
+
"GitHub.github-vscode-theme",
|
|
13
|
+
"redhat.vscode-yaml"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.0",
|
|
3
|
+
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"name": "Start App Locally",
|
|
6
|
+
"type": "node",
|
|
7
|
+
"request": "launch",
|
|
8
|
+
"runtimeExecutable": "npm",
|
|
9
|
+
"runtimeArgs": ["run", "dev"],
|
|
10
|
+
"console": "integratedTerminal",
|
|
11
|
+
"cwd": "${workspaceFolder}",
|
|
12
|
+
"serverReadyAction": {
|
|
13
|
+
"pattern": "- Local:\\s+http://localhost:([0-9]+)",
|
|
14
|
+
"uriFormat": "http://localhost:%s",
|
|
15
|
+
"action": "openExternally"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
extends: default
|
|
2
|
+
|
|
3
|
+
ignore: |
|
|
4
|
+
node_modules/
|
|
5
|
+
.next/
|
|
6
|
+
|
|
7
|
+
rules:
|
|
8
|
+
indentation:
|
|
9
|
+
spaces: 2
|
|
10
|
+
indent-sequences: true
|
|
11
|
+
line-length:
|
|
12
|
+
max: 120
|
|
13
|
+
level: warning
|
|
14
|
+
|
|
15
|
+
document-start: disable
|
|
16
|
+
truthy: disable
|
|
17
|
+
comments:
|
|
18
|
+
min-spaces-from-content: 1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": false,
|
|
3
|
+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
|
|
4
|
+
"vcs": {
|
|
5
|
+
"enabled": true,
|
|
6
|
+
"clientKind": "git",
|
|
7
|
+
"useIgnoreFile": true
|
|
8
|
+
},
|
|
9
|
+
"files": {
|
|
10
|
+
"ignoreUnknown": false
|
|
11
|
+
},
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"indentStyle": "space",
|
|
15
|
+
"indentWidth": 4
|
|
16
|
+
},
|
|
17
|
+
"linter": {
|
|
18
|
+
"enabled": true,
|
|
19
|
+
"rules": {
|
|
20
|
+
"recommended": true,
|
|
21
|
+
"style": {
|
|
22
|
+
"useConsistentCurlyBraces": "error"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"javascript": {
|
|
27
|
+
"formatter": {
|
|
28
|
+
"quoteStyle": "double"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { NextConfig } from "next";
|
|
2
|
+
|
|
3
|
+
const nextConfig: NextConfig = {
|
|
4
|
+
/* config options here */
|
|
5
|
+
reactStrictMode: true,
|
|
6
|
+
webpack: (config) => {
|
|
7
|
+
config.externals.push({
|
|
8
|
+
vitest: "vitest",
|
|
9
|
+
vite: "vite",
|
|
10
|
+
"node:module": "node:module",
|
|
11
|
+
});
|
|
12
|
+
return config;
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default nextConfig;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= it.projectName %>",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "next dev -H 0.0.0.0",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"test": "vitest run",
|
|
10
|
+
"lint": "biome check .",
|
|
11
|
+
"lint:fix": "biome check --write .",
|
|
12
|
+
"lint:workflows": "actionlint",
|
|
13
|
+
"lint:yaml": "yamllint ."
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@emotion/server": "^11.11.0",
|
|
17
|
+
"@mui/material": "^7.3.6",
|
|
18
|
+
"@mui/material-nextjs": "^7.3.6",
|
|
19
|
+
"next": "15.5.9",
|
|
20
|
+
"react": "19.1.0",
|
|
21
|
+
"react-dom": "19.1.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@biomejs/biome": "2.3.8",
|
|
25
|
+
"@eslint/eslintrc": "^3",
|
|
26
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
27
|
+
"@testing-library/react": "16.3.0",
|
|
28
|
+
"@types/node": "^20",
|
|
29
|
+
"@types/react": "^19",
|
|
30
|
+
"@types/react-dom": "^19",
|
|
31
|
+
"@vitejs/plugin-react": "5.1.2",
|
|
32
|
+
"@vitest/ui": "4.0.15",
|
|
33
|
+
"eslint": "^9",
|
|
34
|
+
"eslint-config-next": "15.5.9",
|
|
35
|
+
"happy-dom": "^20.0.11",
|
|
36
|
+
"jsdom": "27.3.0",
|
|
37
|
+
"typescript": "^5",
|
|
38
|
+
"vitest": "4.0.15",
|
|
39
|
+
"whatwg-fetch": "3.6.20"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"module": "esnext",
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"jsx": "preserve",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"paths": {
|
|
17
|
+
"@/*": ["./src/*"]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
|
21
|
+
"exclude": [
|
|
22
|
+
"node_modules",
|
|
23
|
+
"**/*.test.ts",
|
|
24
|
+
"**/*.test.tsx",
|
|
25
|
+
"**/*.spec.ts",
|
|
26
|
+
"**/*.spec.tsx"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import react from "@vitejs/plugin-react";
|
|
3
|
+
import { defineConfig } from "vitest/config";
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [react()],
|
|
7
|
+
test: {
|
|
8
|
+
environment: "happy-dom",
|
|
9
|
+
globals: true,
|
|
10
|
+
setupFiles: ["./vitest.setup.ts"],
|
|
11
|
+
},
|
|
12
|
+
resolve: {
|
|
13
|
+
alias: {
|
|
14
|
+
"@": path.resolve(__dirname, "./src"),
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
});
|