@onivoro/onix 0.0.3 → 0.0.4

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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # onix
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Building
6
+
7
+ Run `nx build onix` to build the library.
8
+
9
+ ## Running unit tests
10
+
11
+ Run `nx test onix` to execute the unit tests via [Jest](https://jestjs.io).
package/package.json CHANGED
@@ -1,10 +1,38 @@
1
1
  {
2
- "name": "@onivoro/onix",
3
- "version": "0.0.3",
4
- "executors": "./executors.json",
5
- "dependencies": {
6
- "@nx/devkit": "17.0.2"
7
- },
8
- "main": "./src/index.js",
9
- "type": "commonjs"
10
- }
2
+ "name": "@onivoro/onix",
3
+ "version": "0.0.4",
4
+ "executors": "./executors.json",
5
+ "repository": {
6
+ "url": "git+https://github.com/onivoro/onix.git"
7
+ },
8
+ "main": "dist/cjs/index.js",
9
+ "types": "dist/types/index.d.ts",
10
+ "files": [
11
+ "dist/*"
12
+ ],
13
+ "scripts": {
14
+ "onx": "onx",
15
+ "build": "onx Build",
16
+ "deploy": "onx Publish",
17
+ "test": "onx Test",
18
+ "update": "onx Update"
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/types/index.d.ts",
23
+ "require": "./dist/cjs/index.js",
24
+ "import": "./dist/esm/index.js",
25
+ "default": "./dist/esm/lib.js"
26
+ }
27
+ },
28
+ "dependencies": {
29
+ "@nx/devkit": "20.0.6"
30
+ },
31
+ "devDependencies": {
32
+ "@onivoro/cli": "^22.0.8"
33
+ },
34
+ "engines": {
35
+ "node": "22.10.0",
36
+ "npm": "10.9.0"
37
+ }
38
+ }
package/executors.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "executors": {
3
- "echo": {
4
- "implementation": "./src/executors/echo/executor",
5
- "schema": "./src/executors/echo/schema.json",
6
- "description": "echo executor"
7
- }
8
- }
9
- }
@@ -1,4 +0,0 @@
1
- import { EchoExecutorSchema } from './schema';
2
- export default function runExecutor(options: EchoExecutorSchema): Promise<{
3
- success: boolean;
4
- }>;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- async function runExecutor(options) {
4
- console.log('Executor ran for Echo', options);
5
- return {
6
- success: true,
7
- };
8
- }
9
- exports.default = runExecutor;
10
- //# sourceMappingURL=executor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../libs/onix/src/executors/echo/executor.ts"],"names":[],"mappings":";;AAEe,KAAK,UAAU,WAAW,CAAC,OAA2B;IACnE,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC9C,OAAO;QACL,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC;AALD,8BAKC"}
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "version": 2,
4
- "title": "Echo executor",
5
- "description": "",
6
- "type": "object",
7
- "properties": {},
8
- "required": []
9
- }
package/src/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/onix';
package/src/index.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./lib/onix"), exports);
5
- //# sourceMappingURL=index.js.map
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/onix/src/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
package/src/lib/onix.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function onix(): string;
package/src/lib/onix.js DELETED
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.onix = void 0;
4
- function onix() {
5
- return 'onix';
6
- }
7
- exports.onix = onix;
8
- //# sourceMappingURL=onix.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"onix.js","sourceRoot":"","sources":["../../../../../libs/onix/src/lib/onix.ts"],"names":[],"mappings":";;;AAAA,SAAgB,IAAI;IAClB,OAAO,MAAM,CAAC;AAChB,CAAC;AAFD,oBAEC"}