@gooddata/create-pluggable-module 11.57.0-alpha.0 → 11.57.0-alpha.2
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/dist/templates/harness/package.json +5 -4
- package/dist/templates/harness/vite.config.ts +1 -2
- package/dist/templates/module/package.json +5 -4
- package/dist/templates/module/src/App.test.tsx +2 -2
- package/dist/templates/module/src/index.ts +1 -1
- package/dist/templates/module/vite.config.ts +1 -2
- package/dist/templates/module/vitest.config.ts +0 -1
- package/esm/index.js +1 -1
- package/package.json +8 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-app-template-name-harness",
|
|
3
|
-
"version": "11.57.0-alpha.
|
|
3
|
+
"version": "11.57.0-alpha.2",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Standalone harness for gdc-app-template-name module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -60,10 +60,11 @@
|
|
|
60
60
|
"jiti": "2.6.1",
|
|
61
61
|
"npm-run-all": "4.1.5",
|
|
62
62
|
"oxfmt": "0.66.0",
|
|
63
|
-
"oxlint": "1.
|
|
64
|
-
"oxlint-
|
|
63
|
+
"oxlint": "1.66.0",
|
|
64
|
+
"oxlint-plugin-eslint": "1.82.0",
|
|
65
|
+
"oxlint-tsgolint": "0.18.1",
|
|
65
66
|
"rolldown": "1.0.3",
|
|
66
|
-
"sass": "1.
|
|
67
|
+
"sass": "1.104.0",
|
|
67
68
|
"typescript": "7.0.2",
|
|
68
69
|
"vite": "8.0.16"
|
|
69
70
|
}
|
|
@@ -25,12 +25,11 @@ try {
|
|
|
25
25
|
};
|
|
26
26
|
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
27
27
|
} catch (e) {
|
|
28
|
-
//
|
|
28
|
+
// oxlint-disable-next-line eslint-js/no-console
|
|
29
29
|
console.info(`No certificates found in ${certDir}, skipping HTTPS configuration`);
|
|
30
30
|
httpsConfig = undefined;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// eslint-disable-next-line no-restricted-exports
|
|
34
33
|
export default defineConfig(({ mode }): UserConfig => {
|
|
35
34
|
const env = loadEnv(mode, process.cwd(), "");
|
|
36
35
|
const isProduction = mode === "production";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-app-template-name-module",
|
|
3
|
-
"version": "11.57.0-alpha.
|
|
3
|
+
"version": "11.57.0-alpha.2",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "{applicationTemplateTitle} pluggable application module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -76,12 +76,13 @@
|
|
|
76
76
|
"jiti": "2.6.1",
|
|
77
77
|
"npm-run-all": "4.1.5",
|
|
78
78
|
"oxfmt": "0.66.0",
|
|
79
|
-
"oxlint": "1.
|
|
80
|
-
"oxlint-
|
|
79
|
+
"oxlint": "1.66.0",
|
|
80
|
+
"oxlint-plugin-eslint": "1.82.0",
|
|
81
|
+
"oxlint-tsgolint": "0.18.1",
|
|
81
82
|
"react": "19.1.1",
|
|
82
83
|
"react-dom": "19.1.1",
|
|
83
84
|
"rolldown": "1.0.3",
|
|
84
|
-
"sass": "1.
|
|
85
|
+
"sass": "1.104.0",
|
|
85
86
|
"typescript": "7.0.2",
|
|
86
87
|
"vite": "8.0.16",
|
|
87
88
|
"vitest": "4.1.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
|
|
3
|
-
import { version as reactVersion } from "react";
|
|
3
|
+
import { type ReactElement, version as reactVersion } from "react";
|
|
4
4
|
|
|
5
5
|
import { cleanup, render, screen } from "@testing-library/react";
|
|
6
6
|
import { IntlProvider } from "react-intl";
|
|
@@ -31,7 +31,7 @@ function createMockCtx(): IClientPlatformContext {
|
|
|
31
31
|
} as IClientPlatformContext;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
function renderWithProviders(ui:
|
|
34
|
+
function renderWithProviders(ui: ReactElement) {
|
|
35
35
|
const ctx = createMockCtx();
|
|
36
36
|
return render(
|
|
37
37
|
<PlatformContextProvider value={ctx}>
|
|
@@ -60,12 +60,11 @@ try {
|
|
|
60
60
|
};
|
|
61
61
|
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
62
62
|
} catch (e) {
|
|
63
|
-
//
|
|
63
|
+
// oxlint-disable-next-line eslint-js/no-console
|
|
64
64
|
console.info(`No certificates found in ${certDir}, skipping HTTPS configuration`);
|
|
65
65
|
httpsConfig = undefined;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
// eslint-disable-next-line no-restricted-exports
|
|
69
68
|
export default defineConfig(({ mode, command }): UserConfig => {
|
|
70
69
|
const env = loadEnv(mode, process.cwd(), "");
|
|
71
70
|
const port = parseInt(env["PORT"] || "{modulePort}");
|
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// (C) 2026 GoodData Corporation
|
|
3
|
-
|
|
3
|
+
// oxlint-disable no-barrel-files/no-barrel-files -- this file IS the package's curated public surface
|
|
4
4
|
import { realpathSync } from "fs";
|
|
5
5
|
import { fileURLToPath } from "url";
|
|
6
6
|
import { runProfile, runProfileWithAnswers } from "./engine/runProfile.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/create-pluggable-module",
|
|
3
|
-
"version": "11.57.0-alpha.
|
|
3
|
+
"version": "11.57.0-alpha.2",
|
|
4
4
|
"description": "Scaffolder for GoodData pluggable applications. Invoked via `npm init @gooddata/pluggable-module`.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -41,16 +41,17 @@
|
|
|
41
41
|
"eslint-plugin-sonarjs": "3.0.6",
|
|
42
42
|
"npm-run-all": "4.1.5",
|
|
43
43
|
"oxfmt": "0.66.0",
|
|
44
|
-
"oxlint": "1.
|
|
45
|
-
"oxlint-
|
|
44
|
+
"oxlint": "1.66.0",
|
|
45
|
+
"oxlint-plugin-eslint": "1.82.0",
|
|
46
|
+
"oxlint-tsgolint": "0.18.1",
|
|
46
47
|
"tslib": "2.8.1",
|
|
47
48
|
"typescript": "7.0.2",
|
|
48
49
|
"vite": "8.0.16",
|
|
49
50
|
"vitest": "4.1.8",
|
|
50
|
-
"@gooddata/
|
|
51
|
-
"@gooddata/
|
|
52
|
-
"gdc-app-template-name-module": "11.57.0-alpha.
|
|
53
|
-
"gdc-app-template-name-harness": "11.57.0-alpha.
|
|
51
|
+
"@gooddata/oxlint-config": "11.57.0-alpha.2",
|
|
52
|
+
"@gooddata/eslint-config": "11.57.0-alpha.2",
|
|
53
|
+
"gdc-app-template-name-module": "11.57.0-alpha.2",
|
|
54
|
+
"gdc-app-template-name-harness": "11.57.0-alpha.2"
|
|
54
55
|
},
|
|
55
56
|
"engines": {
|
|
56
57
|
"node": ">=24.12.0"
|