@popina/cli 5.0.3-20260601080925Z → 5.0.4-20260618170040Z
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 +9 -0
- package/build/index.js +7 -7
- package/build/index.js.map +1 -1
- package/package.json +3 -6
- package/turbo/generators/plopGenerator/icon.ts +5 -5
- package/turbo/generators/templates/api/api-controller.hbs +2 -2
- package/turbo/generators/templates/api/api-schema.hbs +2 -2
- package/eslint.config.mjs +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @popina/cli
|
|
2
2
|
|
|
3
|
+
## 5.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Upgrade PNPM version from v10 to v11 ([#3871](https://github.com/popina/pragma-web/pull/3871))
|
|
8
|
+
- Activate noUncheckedIndexAccess typescript rule in the whole project ([#3860](https://github.com/popina/pragma-web/pull/3860))
|
|
9
|
+
- Add explicit vitest import on test files that imported it via "@testing-library/jest" ([#3825](https://github.com/popina/pragma-web/pull/3825))
|
|
10
|
+
- Improve next steps message at the end of the `popina init` command ([#3858](https://github.com/popina/pragma-web/pull/3858))
|
|
11
|
+
|
|
3
12
|
## 5.0.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/build/index.js
CHANGED
|
@@ -264,7 +264,7 @@ async function fetchEnv(email3) {
|
|
|
264
264
|
// src/utils/gcloud/login-to-google.ts
|
|
265
265
|
import * as p10 from "@clack/prompts";
|
|
266
266
|
import { $ as $13 } from "zx/core";
|
|
267
|
-
var emailRegex = /[\w
|
|
267
|
+
var emailRegex = /[\w-.]+@([\w-]+\.)+[\w-]{2,4}/;
|
|
268
268
|
async function loginGoogle() {
|
|
269
269
|
return await $13`gcloud auth login`.then((res) => {
|
|
270
270
|
p10.log.step(`You are now logged in to Google Cloud Platform.`);
|
|
@@ -11461,7 +11461,7 @@ function date4(params) {
|
|
|
11461
11461
|
config(en_default());
|
|
11462
11462
|
|
|
11463
11463
|
// package.json
|
|
11464
|
-
var version2 = "5.0.
|
|
11464
|
+
var version2 = "5.0.4-20260618170040Z";
|
|
11465
11465
|
|
|
11466
11466
|
// src/utils/get-package-info.ts
|
|
11467
11467
|
async function getPackageInfo() {
|
|
@@ -12057,7 +12057,7 @@ var dev = new Command2().name("dev").description(
|
|
|
12057
12057
|
const command = buildCommand(selectedPackages, logOrder);
|
|
12058
12058
|
try {
|
|
12059
12059
|
await clipboardy.write(command);
|
|
12060
|
-
} catch
|
|
12060
|
+
} catch {
|
|
12061
12061
|
}
|
|
12062
12062
|
p15.log.message(
|
|
12063
12063
|
`
|
|
@@ -12172,7 +12172,7 @@ async function getAppEnvList(app) {
|
|
|
12172
12172
|
const packageJsonPath = `./apps/${app}/package.json`;
|
|
12173
12173
|
const packagesLvl0 = getPragmaDependencies(packageJsonPath);
|
|
12174
12174
|
const packageList = Array.from(
|
|
12175
|
-
|
|
12175
|
+
new Set(explorePackagesDependencies(packagesLvl0))
|
|
12176
12176
|
).sort();
|
|
12177
12177
|
p16.log.info(`List of pragma dependencies:
|
|
12178
12178
|
${packageList.join(" \n")}`);
|
|
@@ -12353,7 +12353,7 @@ import { $ as $19 } from "zx/core";
|
|
|
12353
12353
|
var api = new Command7().name("api").description("Generate a new API endpoint / module").action(async () => {
|
|
12354
12354
|
$19.spawn(
|
|
12355
12355
|
// Run the generator then parse the output (untracked files and schema registers) with git status
|
|
12356
|
-
`pnpx turbo gen api && git status --porcelain | awk '/(\\?\\?|M .*schemas.ts|M .*index.ts)/ {print $2}' | xargs pnpm
|
|
12356
|
+
`pnpx turbo gen api && git status --porcelain | awk '/(\\?\\?|M .*schemas.ts|M .*index.ts)/ {print $2}' | xargs pnpm oxfmt -c oxfmt.config.mts`,
|
|
12357
12357
|
{
|
|
12358
12358
|
stdio: "inherit",
|
|
12359
12359
|
shell: true
|
|
@@ -12371,7 +12371,7 @@ import { $ as $20 } from "zx/core";
|
|
|
12371
12371
|
var component = new Command8().name("component").description("Generate a new UI component").action(async () => {
|
|
12372
12372
|
$20.spawn(
|
|
12373
12373
|
// Run the generator then parse the output (untracked files and schema registers) with git status
|
|
12374
|
-
`pnpx turbo gen ui component && git status --porcelain | awk '{print $2}' | xargs pnpm
|
|
12374
|
+
`pnpx turbo gen ui component && git status --porcelain | awk '{print $2}' | xargs pnpm oxfmt -c oxfmt.config.mts`,
|
|
12375
12375
|
{
|
|
12376
12376
|
stdio: "inherit",
|
|
12377
12377
|
shell: true
|
|
@@ -12385,7 +12385,7 @@ import { $ as $21 } from "zx/core";
|
|
|
12385
12385
|
var icon = new Command9().name("icon").description("Generate a new UI icon").action(async () => {
|
|
12386
12386
|
$21.spawn(
|
|
12387
12387
|
// Run the generator then parse the output (untracked files and schema registers) with git status
|
|
12388
|
-
`pnpx turbo gen ui icon && git status --porcelain | awk '{print $2}' | xargs pnpm
|
|
12388
|
+
`pnpx turbo gen ui icon && git status --porcelain | awk '{print $2}' | xargs pnpm oxfmt -c oxfmt.config.mts`,
|
|
12389
12389
|
{
|
|
12390
12390
|
stdio: "inherit",
|
|
12391
12391
|
shell: true
|