@popina/cli 5.0.2-20260413065909Z → 5.0.2-20260520160910Z

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @popina/cli
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Refreshed Knowledge onboarding and software tooling docs, including improved software cards with inline website links and copyable install commands.
8
+
9
+ Updated Popina CLI onboarding support by raising the required pnpm version and extending `popina list` with clearer docs metadata and background services.
10
+
11
+ - Aligned auth and environment tooling changes used by Knowledge and deployment scripts, added a new admin permission for Knowledge access control, and updated related CLI and admin translation support so the rollout works consistently across apps.
12
+
3
13
  ## 5.0.1
4
14
 
5
15
  ### Patch Changes
package/build/index.js CHANGED
@@ -279,8 +279,8 @@ async function loginGoogle() {
279
279
  }
280
280
 
281
281
  // src/utils/get-env-config.ts
282
- import path from "path";
283
282
  import fse2 from "fs-extra";
283
+ import path from "path";
284
284
  var removeDirectory = (dir) => {
285
285
  try {
286
286
  fse2.rmSync(dir, { recursive: true });
@@ -11461,7 +11461,7 @@ function date4(params) {
11461
11461
  config(en_default());
11462
11462
 
11463
11463
  // package.json
11464
- var version2 = "5.0.2-20260413065909Z";
11464
+ var version2 = "5.0.2-20260520160910Z";
11465
11465
 
11466
11466
  // src/utils/get-package-info.ts
11467
11467
  async function getPackageInfo() {
@@ -11477,8 +11477,8 @@ import * as p12 from "@clack/prompts";
11477
11477
  import { $ as $14 } from "zx/core";
11478
11478
 
11479
11479
  // src/utils/gh/login-to-github.ts
11480
- import { spawnSync } from "child_process";
11481
11480
  import * as p11 from "@clack/prompts";
11481
+ import { spawnSync } from "child_process";
11482
11482
  async function loginGH() {
11483
11483
  p11.log.info("Logging in with GitHub CLI using device authentication...");
11484
11484
  await p11.group(
@@ -12550,10 +12550,25 @@ var init = new Command12().name("init").alias("i").description(
12550
12550
  });
12551
12551
  s.stop(`\u{1F331} We added some data to your database! You're ready to go!`);
12552
12552
  }
12553
- const nextSteps = `cd ${init2.name}
12554
- ${init2.install ? "" : "pnpm\n"}
12555
- ${db.database ? "" : "pnpm db:start && pnpm db:migrate && db:seed\n"}${env2.fetch ? "" : "cp .env.example > .env # You need to manually add some env vars\n"}pnpm dev
12556
- `;
12553
+ const nextStepsLines = [`cd ${init2.name}`];
12554
+ if (!init2.install) {
12555
+ nextStepsLines.push("pnpm");
12556
+ }
12557
+ if (!db.database) {
12558
+ nextStepsLines.push("pnpm db:start && pnpm db:migrate && pnpm db:seed");
12559
+ }
12560
+ if (!env2.fetch) {
12561
+ nextStepsLines.push(
12562
+ "Run `popina env pull` to download local environment variables"
12563
+ );
12564
+ }
12565
+ nextStepsLines.push("popina list");
12566
+ nextStepsLines.push("popina dev");
12567
+ nextStepsLines.push("");
12568
+ nextStepsLines.push(
12569
+ "In popina dev, keep default selected services for a minimal setup."
12570
+ );
12571
+ const nextSteps = nextStepsLines.join("\n");
12557
12572
  p20.note(nextSteps, `Discover Popina \u{1F50D}`);
12558
12573
  p20.note(
12559
12574
  `Check out Linear : https://linear.app/pragmapos/team/WEB