create-agentic-pdlc 1.0.0 → 1.0.13
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/.github/workflows/npm-publish.yml +36 -0
- package/bin/cli.js +5 -5
- package/package.json +6 -2
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Publish to NPM
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
publish-npm:
|
|
9
|
+
name: Publish NPM Package
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
id-token: write # Required for NPM provenance tracking
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout Code
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Setup Node.js
|
|
20
|
+
uses: actions/setup-node@v4
|
|
21
|
+
with:
|
|
22
|
+
node-version: '24'
|
|
23
|
+
registry-url: 'https://registry.npmjs.org'
|
|
24
|
+
|
|
25
|
+
- name: Sync Version with GitHub Release Tag
|
|
26
|
+
run: |
|
|
27
|
+
# Strip 'v' from tag (e.g., v1.0.2 -> 1.0.2)
|
|
28
|
+
VERSION=${GITHUB_REF_NAME#v}
|
|
29
|
+
echo "Setting package version to $VERSION"
|
|
30
|
+
npm version $VERSION --no-git-tag-version
|
|
31
|
+
|
|
32
|
+
- name: Install Dependencies
|
|
33
|
+
run: npm install
|
|
34
|
+
|
|
35
|
+
- name: Publish to NPM Registry
|
|
36
|
+
run: npm publish --provenance
|
package/bin/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ function copyDirSync(src, dest) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
rl.question('Which AI Agent
|
|
42
|
+
rl.question('Which AI Agent will you use for the setup? (e.g. claude, cursor, copilot, or other): ', (answer) => {
|
|
43
43
|
const agent = answer.trim().toLowerCase();
|
|
44
44
|
|
|
45
45
|
console.log(`\n${yellow}Scaffolding Agentic PDLC into your project...${reset}`);
|
|
@@ -59,13 +59,13 @@ rl.question('Which AI Agent do you use to bootstrap? (claude / cursor): ', (answ
|
|
|
59
59
|
|
|
60
60
|
if (agent === 'claude') {
|
|
61
61
|
if (fs.existsSync(claudeSetupSrc)) {
|
|
62
|
-
const dest = path.join(targetDir, '.
|
|
62
|
+
const dest = path.join(targetDir, '.agentic-setup.md');
|
|
63
63
|
fs.copyFileSync(claudeSetupSrc, dest);
|
|
64
|
-
console.log(`✅ Setup agent profile written to .
|
|
64
|
+
console.log(`✅ Setup agent profile written to .agentic-setup.md`);
|
|
65
65
|
console.log(`\n${green}🎉 Done! To start the conversational setup:${reset}`);
|
|
66
66
|
console.log(`${cyan}\t1. Type 'claude'${reset}`);
|
|
67
|
-
console.log(`${cyan}\t2.
|
|
68
|
-
console.log(`\nNote:
|
|
67
|
+
console.log(`${cyan}\t2. Ask Claude to "read .agentic-setup.md to enter Setup Mode."${reset}`);
|
|
68
|
+
console.log(`\nNote: Once setup is completed, the agent will typically delete .agentic-setup.md to keep your root clean.\n`);
|
|
69
69
|
} else {
|
|
70
70
|
console.error(`❌ Could not find claude instruction file at ${claudeSetupSrc}`);
|
|
71
71
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-agentic-pdlc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Scaffold the Agentic PDLC framework effortlessly",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "https://github.com/rafaeltcosta86/agentic-pdlc.git"
|
|
24
|
+
"url": "git+https://github.com/rafaeltcosta86/agentic-pdlc.git"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public",
|
|
28
|
+
"registry": "https://registry.npmjs.org/"
|
|
25
29
|
}
|
|
26
30
|
}
|