@gooddata/create-pluggable-module 11.54.0-alpha.4 → 11.54.0-alpha.5

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.
Files changed (39) hide show
  1. package/dist/templates/harness/package.json +1 -1
  2. package/dist/templates/module/package.json +1 -1
  3. package/esm/engine/anchors.test.d.ts.map +1 -0
  4. package/esm/engine/{__tests__/anchors.test.js → anchors.test.js} +1 -1
  5. package/esm/engine/copyTemplate.test.d.ts.map +1 -0
  6. package/esm/engine/{__tests__/copyTemplate.test.js → copyTemplate.test.js} +1 -1
  7. package/esm/engine/derived.test.d.ts.map +1 -0
  8. package/esm/engine/{__tests__/derived.test.js → derived.test.js} +1 -1
  9. package/esm/engine/jsonAnchors.test.d.ts.map +1 -0
  10. package/esm/engine/{__tests__/jsonAnchors.test.js → jsonAnchors.test.js} +1 -1
  11. package/esm/engine/repoDetection.test.d.ts.map +1 -0
  12. package/esm/engine/{__tests__/repoDetection.test.js → repoDetection.test.js} +1 -1
  13. package/esm/engine/scrubPackageJsonVersions.d.ts.map +1 -0
  14. package/esm/engine/scrubPackageJsonVersions.test.d.ts.map +1 -0
  15. package/esm/engine/snapshot.test.d.ts.map +1 -0
  16. package/esm/engine/{__tests__/snapshot.test.js → snapshot.test.js} +3 -3
  17. package/esm/profiles/client.test.d.ts.map +1 -0
  18. package/esm/profiles/{__tests__/client.test.js → client.test.js} +1 -1
  19. package/package.json +5 -5
  20. package/esm/engine/__tests__/anchors.test.d.ts.map +0 -1
  21. package/esm/engine/__tests__/copyTemplate.test.d.ts.map +0 -1
  22. package/esm/engine/__tests__/derived.test.d.ts.map +0 -1
  23. package/esm/engine/__tests__/jsonAnchors.test.d.ts.map +0 -1
  24. package/esm/engine/__tests__/repoDetection.test.d.ts.map +0 -1
  25. package/esm/engine/__tests__/scrubPackageJsonVersions.d.ts.map +0 -1
  26. package/esm/engine/__tests__/scrubPackageJsonVersions.test.d.ts.map +0 -1
  27. package/esm/engine/__tests__/snapshot.test.d.ts.map +0 -1
  28. package/esm/profiles/__tests__/client.test.d.ts.map +0 -1
  29. /package/esm/engine/{__tests__/anchors.test.d.ts → anchors.test.d.ts} +0 -0
  30. /package/esm/engine/{__tests__/copyTemplate.test.d.ts → copyTemplate.test.d.ts} +0 -0
  31. /package/esm/engine/{__tests__/derived.test.d.ts → derived.test.d.ts} +0 -0
  32. /package/esm/engine/{__tests__/jsonAnchors.test.d.ts → jsonAnchors.test.d.ts} +0 -0
  33. /package/esm/engine/{__tests__/repoDetection.test.d.ts → repoDetection.test.d.ts} +0 -0
  34. /package/esm/engine/{__tests__/scrubPackageJsonVersions.d.ts → scrubPackageJsonVersions.d.ts} +0 -0
  35. /package/esm/engine/{__tests__/scrubPackageJsonVersions.js → scrubPackageJsonVersions.js} +0 -0
  36. /package/esm/engine/{__tests__/scrubPackageJsonVersions.test.d.ts → scrubPackageJsonVersions.test.d.ts} +0 -0
  37. /package/esm/engine/{__tests__/scrubPackageJsonVersions.test.js → scrubPackageJsonVersions.test.js} +0 -0
  38. /package/esm/engine/{__tests__/snapshot.test.d.ts → snapshot.test.d.ts} +0 -0
  39. /package/esm/profiles/{__tests__/client.test.d.ts → client.test.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdc-app-template-name-harness",
3
- "version": "11.54.0-alpha.4",
3
+ "version": "11.54.0-alpha.5",
4
4
  "private": true,
5
5
  "description": "Standalone harness for gdc-app-template-name module",
6
6
  "license": "UNLICENSED",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdc-app-template-name-module",
3
- "version": "11.54.0-alpha.4",
3
+ "version": "11.54.0-alpha.5",
4
4
  "private": true,
5
5
  "description": "{applicationTemplateTitle} pluggable application module",
6
6
  "license": "UNLICENSED",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchors.test.d.ts","sourceRoot":"","sources":["../../src/engine/anchors.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { describe, expect, it } from "vitest";
3
- import { findAnchorLineIdx, fullAnchor, insertBeforeAnchor } from "../anchors.js";
3
+ import { findAnchorLineIdx, fullAnchor, insertBeforeAnchor } from "./anchors.js";
4
4
  describe("fullAnchor", () => {
5
5
  it("returns the bare keyword when no suffix is given", () => {
6
6
  expect(fullAnchor()).toBe("PLUGGABLE_APP_SCAFFOLD_ANCHOR");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copyTemplate.test.d.ts","sourceRoot":"","sources":["../../src/engine/copyTemplate.test.ts"],"names":[],"mappings":""}
@@ -3,7 +3,7 @@ import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "fs"
3
3
  import { tmpdir } from "os";
4
4
  import { join } from "path";
5
5
  import { afterEach, beforeEach, describe, expect, it } from "vitest";
6
- import { copyTemplate } from "../copyTemplate.js";
6
+ import { copyTemplate } from "./copyTemplate.js";
7
7
  describe("copyTemplate", () => {
8
8
  let src;
9
9
  let dest;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"derived.test.d.ts","sourceRoot":"","sources":["../../src/engine/derived.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { describe, expect, it } from "vitest";
3
- import { computeFederationName, computeRemoteUrlEnvVar, computeRoute } from "../derived.js";
3
+ import { computeFederationName, computeRemoteUrlEnvVar, computeRoute } from "./derived.js";
4
4
  describe("computeRoute", () => {
5
5
  it("strips the gdc- prefix and prepends a slash", () => {
6
6
  expect(computeRoute("gdc-foo")).toBe("/foo");
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonAnchors.test.d.ts","sourceRoot":"","sources":["../../src/engine/jsonAnchors.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { describe, expect, it } from "vitest";
3
- import { ensureTrailingCommaBeforeAnchor } from "../jsonAnchors.js";
3
+ import { ensureTrailingCommaBeforeAnchor } from "./jsonAnchors.js";
4
4
  describe("ensureTrailingCommaBeforeAnchor", () => {
5
5
  it("adds a comma to a code line that lacks one", () => {
6
6
  const input = `[
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repoDetection.test.d.ts","sourceRoot":"","sources":["../../src/engine/repoDetection.test.ts"],"names":[],"mappings":""}
@@ -3,7 +3,7 @@ import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "fs";
3
3
  import { tmpdir } from "os";
4
4
  import { join } from "path";
5
5
  import { afterEach, beforeEach, describe, expect, it } from "vitest";
6
- import { detectRepo, findUp } from "../repoDetection.js";
6
+ import { detectRepo, findUp } from "./repoDetection.js";
7
7
  describe("findUp", () => {
8
8
  let root;
9
9
  beforeEach(() => {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrubPackageJsonVersions.d.ts","sourceRoot":"","sources":["../../src/engine/scrubPackageJsonVersions.ts"],"names":[],"mappings":"AAmBA,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAiBhE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrubPackageJsonVersions.test.d.ts","sourceRoot":"","sources":["../../src/engine/scrubPackageJsonVersions.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snapshot.test.d.ts","sourceRoot":"","sources":["../../src/engine/snapshot.test.ts"],"names":[],"mappings":""}
@@ -4,9 +4,9 @@ import { createRequire } from "module";
4
4
  import { tmpdir } from "os";
5
5
  import { dirname, join, relative } from "path";
6
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
7
- import { clientProfile } from "../../profiles/client.js";
8
- import { BINARY_EXTENSIONS } from "../copyTemplate.js";
9
- import { runProfileWithAnswers } from "../runProfile.js";
7
+ import { clientProfile } from "../profiles/client.js";
8
+ import { BINARY_EXTENSIONS } from "./copyTemplate.js";
9
+ import { runProfileWithAnswers } from "./runProfile.js";
10
10
  import { scrubPackageJsonVersions } from "./scrubPackageJsonVersions.js";
11
11
  // Resolve workspace template paths via pnpm's symlinks. The template packages
12
12
  // are devDependencies of @gooddata/create-pluggable-module — pnpm symlinks
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.test.d.ts","sourceRoot":"","sources":["../../src/profiles/client.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  // (C) 2026 GoodData Corporation
2
2
  import { describe, expect, it } from "vitest";
3
- import { clientProfile } from "../client.js";
3
+ import { clientProfile } from "./client.js";
4
4
  function mockCtx(overrides = {}) {
5
5
  return {
6
6
  answers: { appName: "gdc-mock", title: "Mock", scope: "workspace", maintainer: "team@gooddata.com" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/create-pluggable-module",
3
- "version": "11.54.0-alpha.4",
3
+ "version": "11.54.0-alpha.5",
4
4
  "description": "Scaffolder for GoodData pluggable applications. Invoked via `npm init @gooddata/pluggable-module`.",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -50,10 +50,10 @@
50
50
  "typescript": "5.9.3",
51
51
  "vite": "8.0.16",
52
52
  "vitest": "4.1.8",
53
- "@gooddata/eslint-config": "11.54.0-alpha.4",
54
- "gdc-app-template-name-module": "11.54.0-alpha.4",
55
- "gdc-app-template-name-harness": "11.54.0-alpha.4",
56
- "@gooddata/oxlint-config": "11.54.0-alpha.4"
53
+ "@gooddata/oxlint-config": "11.54.0-alpha.5",
54
+ "@gooddata/eslint-config": "11.54.0-alpha.5",
55
+ "gdc-app-template-name-module": "11.54.0-alpha.5",
56
+ "gdc-app-template-name-harness": "11.54.0-alpha.5"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=24.12.0"
@@ -1 +0,0 @@
1
- {"version":3,"file":"anchors.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/anchors.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"copyTemplate.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/copyTemplate.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"derived.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/derived.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonAnchors.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/jsonAnchors.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"repoDetection.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/repoDetection.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scrubPackageJsonVersions.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/scrubPackageJsonVersions.ts"],"names":[],"mappings":"AAmBA,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAiBhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scrubPackageJsonVersions.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/scrubPackageJsonVersions.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"snapshot.test.d.ts","sourceRoot":"","sources":["../../../src/engine/__tests__/snapshot.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.test.d.ts","sourceRoot":"","sources":["../../../src/profiles/__tests__/client.test.ts"],"names":[],"mappings":""}