@trackunit/create-iris-app-workspace 0.0.3-alpha-ea50faef71.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/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
+
5
+ ## [0.0.3-alpha-ea50faef71.0](https://github.com/Trackunit/manager/compare/create-iris-app-workspace/0.0.2...create-iris-app-workspace/0.0.3-alpha-ea50faef71.0) (2023-08-14)
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ > **⚠️ Beta**
2
+ >
3
+ > This is a beta version and subject to change without notice.
4
+
5
+ # Trackunit Iris App SDK
6
+
7
+ The `create-iris-app-workspace` package is a cli tool extending `create-nx-workspace`.
8
+
9
+ Use this cli to create an Iris App workspace.
10
+
11
+ ## `> npx @trackunit/create-iris-app-workspace <workspace-name>`
12
+
13
+ Trackunit Iris App SDK are used by developers to integrate custom functionality into [the Trackunit Manager platform](https://www.trackunit.com/services/manager/).
14
+
15
+ For more info and a full guide on Iris App SDK Development, please visit our [Developer Hub](https://developers.trackunit.com/).
16
+ ## Getting started
17
+
18
+ Run through the easy getting started guide here: [Getting Started](https://developers.trackunit.com/docs/getting-started)
19
+ ## Trackunit
20
+ This package was developed by Trackunit ApS.
21
+ Trackunit is the leading SaaS-based IoT solution for the construction industry, offering an ecosystem of hardware, fleet management software & telematics.
22
+
23
+ ![The Trackunit logo](https://trackunit.com/wp-content/uploads/2022/03/top-logo.svg)
package/bin/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
package/bin/index.js ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ /* eslint-disable no-console */
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const tslib_1 = require("tslib");
6
+ const create_nx_workspace_1 = require("create-nx-workspace");
7
+ function main() {
8
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
9
+ const name = process.argv[2];
10
+ if (!name) {
11
+ throw new Error("Please provide a name for the workspace");
12
+ }
13
+ console.log(`Creating the workspace: ${name}`);
14
+ const { directory } = yield (0, create_nx_workspace_1.createWorkspace)(`@trackunit/iris-app@$latest`, {
15
+ name,
16
+ nxCloud: false,
17
+ packageManager: "npm",
18
+ });
19
+ console.log(`Successfully created the workspace: ${directory}.`);
20
+ });
21
+ }
22
+ main();
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/iris-app-sdk/create-iris-app-workspace/bin/index.ts"],"names":[],"mappings":";;AACA,+BAA+B;;;AAE/B,6DAAsD;AAEtD,SAAe,IAAI;;QACjB,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,CAAC,IAAI,EAAE;YACT,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;SAC5D;QAED,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,EAAE,CAAC,CAAC;QAE/C,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,qCAAe,EAAC,6BAA6B,EAAE;YACzE,IAAI;YACJ,OAAO,EAAE,KAAK;YACd,cAAc,EAAE,KAAK;SACtB,CAAC,CAAC;QAEH,OAAO,CAAC,GAAG,CAAC,uCAAuC,SAAS,GAAG,CAAC,CAAC;IACnE,CAAC;CAAA;AAED,IAAI,EAAE,CAAC","sourcesContent":["#!/usr/bin/env node\n/* eslint-disable no-console */\n\nimport { createWorkspace } from \"create-nx-workspace\";\n\nasync function main() {\n const name = process.argv[2];\n if (!name) {\n throw new Error(\"Please provide a name for the workspace\");\n }\n\n console.log(`Creating the workspace: ${name}`);\n\n const { directory } = await createWorkspace(`@trackunit/iris-app@$latest`, {\n name,\n nxCloud: false,\n packageManager: \"npm\",\n });\n\n console.log(`Successfully created the workspace: ${directory}.`);\n}\n\nmain();\n"]}
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@trackunit/create-iris-app-workspace",
3
+ "version": "0.0.3-alpha-ea50faef71.0",
4
+ "license": "SEE LICENSE IN LICENSE.txt",
5
+ "engines": {
6
+ "node": ">=18.x"
7
+ },
8
+ "type": "commonjs",
9
+ "bin": {
10
+ "create-iris-app-workspace": "./bin/index.js"
11
+ },
12
+ "dependencies": {
13
+ "create-nx-workspace": "16.5.0"
14
+ },
15
+ "main": "./bin/index.js",
16
+ "types": "./bin/index.d.ts"
17
+ }