@geosynk/vertigis-web-sdk 1.0.0
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/LICENSE +21 -0
- package/README.md +210 -0
- package/bin/vertigis-web-sdk.js +17 -0
- package/config/eslint.config.js +201 -0
- package/config/eslint.config.js.template +11 -0
- package/config/tsconfig.json +3 -0
- package/config/tsconfig.json.template +9 -0
- package/config/webpack.config.js +54 -0
- package/lib/index.ejs +133 -0
- package/package.json +72 -0
- package/scripts/build.js +48 -0
- package/scripts/create.js +113 -0
- package/scripts/start.js +41 -0
- package/scripts/upgrade.js +12 -0
- package/template/.prettierignore +1 -0
- package/template/.prettierrc +6 -0
- package/template/.vscode/extensions.json +3 -0
- package/template/README.md +51 -0
- package/template/app/app.json +1067 -0
- package/template/app/layout.xml +22 -0
- package/template/gitignore +2 -0
- package/template/package.json +27 -0
- package/template/src/components/PointsOfInterest/PointOfInterest.css +6 -0
- package/template/src/components/PointsOfInterest/PointOfInterest.tsx +50 -0
- package/template/src/components/PointsOfInterest/PointOfInterestModel.ts +13 -0
- package/template/src/components/PointsOfInterest/PointsOfInterest.css +4 -0
- package/template/src/components/PointsOfInterest/PointsOfInterest.tsx +44 -0
- package/template/src/components/PointsOfInterest/PointsOfInterestModel.ts +127 -0
- package/template/src/components/PointsOfInterest/index.ts +4 -0
- package/template/src/index.ts +26 -0
- package/template/webpack.config.js +5 -0
- package/template-custom/AGENTS.md +47 -0
- package/template-custom/app/app.json +1067 -0
- package/template-custom/app/layout.xml +22 -0
- package/template-custom/build.bat +11 -0
- package/template-custom/build.sh +15 -0
- package/template-custom/certs/generate-cert.bat +14 -0
- package/template-custom/certs/generate-cert.sh +14 -0
- package/template-custom/src/components/CustomWidget/CustomWidget.tsx +70 -0
- package/template-custom/src/components/CustomWidget/CustomWidgetModel.ts +15 -0
- package/template-custom/src/components/CustomWidget/components/CustomWidgetErrorBoundary.tsx +57 -0
- package/template-custom/src/components/CustomWidget/index.ts +3 -0
- package/template-custom/src/hooks/index.ts +1 -0
- package/template-custom/src/hooks/useIsDarkTheme.ts +56 -0
- package/template-custom/src/index.ts +20 -0
- package/template-custom/src/tokens/index.ts +24 -0
- package/template-custom/src/tokens/typography.ts +33 -0
- package/template-custom/src/tokens/ui.ts +60 -0
- package/template-custom/src/utils/index.ts +1 -0
- package/template-custom/src/utils/themeDetection.ts +56 -0
- package/template-custom/start.bat +17 -0
- package/template-custom/start.sh +23 -0
- package/template-custom/webpack.config.js +121 -0
- package/test/index.js +22 -0
package/test/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import path from "path";
|
|
5
|
+
import { fileURLToPath } from "url";
|
|
6
|
+
|
|
7
|
+
import { $ } from "execa";
|
|
8
|
+
|
|
9
|
+
// Will be set on child processes (via execa).
|
|
10
|
+
process.env.OPEN_BROWSER = "false";
|
|
11
|
+
process.env.SDK_LOCAL_DEV = "true";
|
|
12
|
+
process.env.ROOT_DIRECTORY = path.join(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
13
|
+
process.env.TEST_PROJECT_PATH = path.join(process.env.ROOT_DIRECTORY, "test-lib");
|
|
14
|
+
process.env.UPGRADE_PROJECTS_PATH = "node_modules/@vertigis/sdk-library/test/e2e/upgradeProjects";
|
|
15
|
+
process.env.SMOKE_TEST = "true";
|
|
16
|
+
process.env.SDK_PLATFORM = "web";
|
|
17
|
+
|
|
18
|
+
await $({
|
|
19
|
+
node: true,
|
|
20
|
+
stderr: "inherit",
|
|
21
|
+
stdout: "inherit",
|
|
22
|
+
})`node_modules/@vertigis/sdk-library/test/e2e/tests.js`;
|