@conformetry/nx 0.0.1

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.
@@ -0,0 +1,28 @@
1
+ import { a as e, b as t, c as n, f as r, h as i, l as a, m as o, o as s, p as c, r as l, s as u, u as d, y as f } from "../plugin-context.utilities-CuP36-vK.js";
2
+ import { n as p, t as m } from "../bootstrap.utilities-EhWhm5J3.js";
3
+ import h from "node:path";
4
+ //#region packages/ic-suite/conformetry/conformetry-nx/src/index.ts
5
+ var g = {
6
+ createNodes: [n, async (e, t, n) => {
7
+ let r = await (await l()).inferTargets({
8
+ options: t,
9
+ projectConfigurationFiles: e,
10
+ workspaceRoot: n.workspaceRoot
11
+ });
12
+ return e.map((e) => {
13
+ let t = h.dirname(e), n = r.get(t);
14
+ return [e, n === void 0 ? {} : { projects: { [t]: { targets: n } } }];
15
+ }).filter(([, e]) => Object.keys(e).length > 0);
16
+ }],
17
+ name: "@conformetry/nx"
18
+ };
19
+ async function _(e) {
20
+ return await (await l()).runGenerator({
21
+ generatorName: e.generatorName,
22
+ options: e.options ?? {},
23
+ tree: e.tree,
24
+ workspaceRoot: e.tree.root
25
+ });
26
+ }
27
+ //#endregion
28
+ export { o as AdapterModule, i as AdapterService, r as InstancesModule, c as InstancesService, e as MainModule, a as OptionsModule, d as OptionsService, s as PluginModule, u as PluginService, f as ScopeModule, t as ScopeService, m as bootstrapPlugin, g as default, l as resolvePluginService, p as runBootstrapCli, _ as runConformetryGenerator };
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import { n as e } from "../bootstrap.utilities-EhWhm5J3.js";
3
+ //#region packages/ic-suite/conformetry/conformetry-nx/src/main.ts
4
+ e(process.cwd());
5
+ //#endregion
package/executors.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "../../../../node_modules/nx/schemas/executors.json",
3
+ "executors": {
4
+ "validate": {
5
+ "description": "Validate a project's conformetry instances against their templates.",
6
+ "implementation": "./src/executors/validate/executor",
7
+ "schema": "./src/executors/validate/schema.json"
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "../../../../node_modules/@nx/devkit/src/generators/generators-schema.json",
3
+ "generators": {
4
+ "sync": {
5
+ "description": "Regenerate the workspace's conformetry generator plugin from the conformetry configuration.",
6
+ "factory": "./src/generators/sync/generator",
7
+ "schema": "./src/generators/sync/schema.json"
8
+ }
9
+ }
10
+ }
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "author": "Jimmy Paolini",
3
+ "bin": {
4
+ "conformetry-nx-bootstrap-generators": "./dist/src/main.js"
5
+ },
6
+ "bugs": {
7
+ "url": "https://github.com/Organizzolini/codebase/issues"
8
+ },
9
+ "dependencies": {
10
+ "@conformetry/configuration": "0.0.1",
11
+ "@conformetry/generation": "0.0.1",
12
+ "@conformetry/output": "0.0.1",
13
+ "@conformetry/validation": "0.0.1",
14
+ "@nestjs/common": "^11.1.21 || ^12.0.1",
15
+ "@nestjs/core": "^11.1.21 || ^12.0.1",
16
+ "@nx/devkit": "^23.0.0",
17
+ "pino": "^10.3.1",
18
+ "pino-pretty": "^13.1.3",
19
+ "reflect-metadata": "^0.2.2"
20
+ },
21
+ "description": "Nx plugin providing dynamic generator scaffolding and conformance verification targets for Conformetry",
22
+ "devDependencies": {
23
+ "@codebase/logger": "0.0.1",
24
+ "@golevelup/ts-vitest": "^4.0.0",
25
+ "@nestjs/testing": "^12.0.1",
26
+ "@nx/eslint-plugin": "^23.0.0",
27
+ "@swc/helpers": "^0.5.21",
28
+ "@types/node": "^26.5.1",
29
+ "@vitest/coverage-v8": "^5.0.0",
30
+ "typescript": "^6.0.3",
31
+ "vitest": "^5.0.0"
32
+ },
33
+ "executors": "./executors.json",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/src/index.d.ts",
37
+ "default": "./dist/src/index.js"
38
+ },
39
+ "./executors.json": "./executors.json",
40
+ "./generators.json": "./generators.json",
41
+ "./package.json": "./package.json",
42
+ "./src/executors/*": "./dist/src/executors/*.js",
43
+ "./src/generators/*": "./dist/src/generators/*.js"
44
+ },
45
+ "files": [
46
+ "dist",
47
+ "executors.json",
48
+ "generators.json",
49
+ "LICENSE",
50
+ "README.md"
51
+ ],
52
+ "generators": "./generators.json",
53
+ "homepage": "https://github.com/Organizzolini/codebase/tree/main/packages/ic-suite/conformetry/conformetry-nx#readme",
54
+ "keywords": [
55
+ "conformance",
56
+ "conformetry",
57
+ "generators",
58
+ "nx",
59
+ "nx-plugin",
60
+ "scaffolding"
61
+ ],
62
+ "license": "MIT",
63
+ "main": "./dist/src/index.js",
64
+ "name": "@conformetry/nx",
65
+ "nx": {
66
+ "executors": "./executors.json",
67
+ "generators": "./generators.json"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public",
71
+ "registry": "https://registry.npmjs.org"
72
+ },
73
+ "repository": {
74
+ "directory": "packages/ic-suite/conformetry/conformetry-nx",
75
+ "type": "git",
76
+ "url": "git+https://github.com/Organizzolini/codebase.git"
77
+ },
78
+ "type": "module",
79
+ "typeCoverage": {
80
+ "atLeast": 100,
81
+ "strict": true
82
+ },
83
+ "types": "./dist/src/index.d.ts",
84
+ "version": "0.0.1"
85
+ }