@proletariat/cli 0.3.6 → 0.3.7

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.
@@ -37,7 +37,7 @@ export default class Init extends Command {
37
37
  char: 'r',
38
38
  }),
39
39
  pmo: Flags.boolean({
40
- description: 'Include PMO (Project Management Office)',
40
+ description: 'Include PMO (Project Management Org)',
41
41
  default: true,
42
42
  allowNo: true,
43
43
  }),
@@ -10,7 +10,7 @@ import { styles } from '../../lib/styles.js';
10
10
  import { isGHInstalled, isGHAuthenticated, getGHUsername, isGHTokenInEnv } from '../../lib/pr/index.js';
11
11
  import { shouldOutputJson, outputPromptAsJson, createMetadata, buildPromptConfig, } from '../../lib/prompt-json.js';
12
12
  export default class PMOInit extends Command {
13
- static description = 'Initialize PMO (Project Management Office) in current directory or HQ';
13
+ static description = 'Initialize PMO (Project Management Org) in current directory or HQ';
14
14
  static examples = [
15
15
  '<%= config.bin %> <%= command.id %>',
16
16
  '<%= config.bin %> <%= command.id %> --location repo:proletariat --template founder',
@@ -121,25 +121,13 @@ RUN mkdir -p /home/node/.npm-global/bin /home/node/.npm-global/lib \\
121
121
  ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
122
122
  ENV PATH=/home/node/.npm-global/bin:\$PATH
123
123
 
124
- # Install pnpm
125
- RUN npm install -g pnpm
126
-
127
- # Install Claude Code as node user so files are owned correctly
124
+ # Install pnpm and Claude Code as node user so files are owned correctly
128
125
  USER node
129
- RUN npm install -g @anthropic-ai/claude-code
126
+ RUN npm install -g pnpm && npm install -g @anthropic-ai/claude-code
130
127
  USER root
131
128
 
132
- # Install prlt CLI from GitHub Packages
133
- # Requires GITHUB_TOKEN build arg with read:packages scope
134
- ARG GITHUB_TOKEN
135
- RUN if [ -n "\${GITHUB_TOKEN}" ]; then \\
136
- echo "//npm.pkg.github.com/:_authToken=\${GITHUB_TOKEN}" >> /home/node/.npmrc && \\
137
- echo "@chrismcdermut:registry=https://npm.pkg.github.com" >> /home/node/.npmrc && \\
138
- npm install -g @chrismcdermut/prlt && \\
139
- rm /home/node/.npmrc; \\
140
- else \\
141
- echo "GITHUB_TOKEN not provided, prlt will be mounted from host"; \\
142
- fi
129
+ # Install prlt CLI from npm
130
+ RUN npm install -g @proletariat/cli
143
131
 
144
132
  # Copy and set up scripts
145
133
  COPY init-firewall.sh /usr/local/bin/init-firewall.sh
@@ -404,7 +404,7 @@ export async function createPMO(options) {
404
404
  fs.writeFileSync(boardFilePath, boardContent);
405
405
  console.log(chalk.green(` ✓ ${boardFileName} created`));
406
406
  // Create README for PMO
407
- const readmeContent = `# PMO (Project Management Office)
407
+ const readmeContent = `# PMO (Project Management Org)
408
408
 
409
409
  ## Template: ${boardTemplate}
410
410