@webpieces/dev-config 0.2.28 → 0.2.29
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/package.json +2 -2
- package/src/index.d.ts +10 -9
- package/src/index.js +10 -9
- package/src/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/dev-config",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"description": "Development configuration, scripts, and patterns for WebPieces projects",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"executors": "./executors.json",
|
|
15
15
|
"generators": "./generators.json",
|
|
16
16
|
"exports": {
|
|
17
|
-
".": "./index.js",
|
|
17
|
+
".": "./src/index.js",
|
|
18
18
|
"./package.json": "./package.json",
|
|
19
19
|
"./eslint": "./config/eslint/base.mjs",
|
|
20
20
|
"./eslint-plugin": "./eslint-plugin/index.js",
|
package/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Development configuration, scripts, and patterns for WebPieces projects.
|
|
5
5
|
*
|
|
6
6
|
* This package provides:
|
|
7
|
+
* - Nx inference plugin for architecture validation and circular dependency checking
|
|
7
8
|
* - Executable scripts (via bin commands: wp-start, wp-stop, etc.)
|
|
8
9
|
* - Shareable ESLint configuration
|
|
9
10
|
* - Jest preset
|
|
@@ -12,15 +13,6 @@
|
|
|
12
13
|
*
|
|
13
14
|
* @packageDocumentation
|
|
14
15
|
*/
|
|
15
|
-
/**
|
|
16
|
-
* This is primarily a configuration and scripts package.
|
|
17
|
-
* The actual exports are defined in package.json:
|
|
18
|
-
*
|
|
19
|
-
* - bin: Executable scripts (wp-start, wp-stop, etc.)
|
|
20
|
-
* - exports: Configuration files (eslint, jest, tsconfig)
|
|
21
|
-
*
|
|
22
|
-
* See README.md for usage instructions.
|
|
23
|
-
*/
|
|
24
16
|
export declare const version = "0.0.0-dev";
|
|
25
17
|
export declare const packageName = "@webpieces/dev-config";
|
|
26
18
|
/**
|
|
@@ -31,3 +23,12 @@ export declare function isWebpiecesWorkspace(): boolean;
|
|
|
31
23
|
* Get project root directory
|
|
32
24
|
*/
|
|
33
25
|
export declare function getProjectRoot(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Default export for Nx plugin system
|
|
28
|
+
* This is what Nx loads when the package is registered as a plugin in nx.json
|
|
29
|
+
*/
|
|
30
|
+
declare const _default: {
|
|
31
|
+
name: string;
|
|
32
|
+
createNodesV2: import("@nx/devkit").CreateNodesV2<import("../plugin").ArchitecturePluginOptions>;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Development configuration, scripts, and patterns for WebPieces projects.
|
|
6
6
|
*
|
|
7
7
|
* This package provides:
|
|
8
|
+
* - Nx inference plugin for architecture validation and circular dependency checking
|
|
8
9
|
* - Executable scripts (via bin commands: wp-start, wp-stop, etc.)
|
|
9
10
|
* - Shareable ESLint configuration
|
|
10
11
|
* - Jest preset
|
|
@@ -17,15 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
18
|
exports.packageName = exports.version = void 0;
|
|
18
19
|
exports.isWebpiecesWorkspace = isWebpiecesWorkspace;
|
|
19
20
|
exports.getProjectRoot = getProjectRoot;
|
|
20
|
-
|
|
21
|
-
* This is primarily a configuration and scripts package.
|
|
22
|
-
* The actual exports are defined in package.json:
|
|
23
|
-
*
|
|
24
|
-
* - bin: Executable scripts (wp-start, wp-stop, etc.)
|
|
25
|
-
* - exports: Configuration files (eslint, jest, tsconfig)
|
|
26
|
-
*
|
|
27
|
-
* See README.md for usage instructions.
|
|
28
|
-
*/
|
|
21
|
+
const plugin_1 = require("../plugin");
|
|
29
22
|
exports.version = '0.0.0-dev';
|
|
30
23
|
exports.packageName = '@webpieces/dev-config';
|
|
31
24
|
/**
|
|
@@ -41,4 +34,12 @@ function getProjectRoot() {
|
|
|
41
34
|
// This is a simple helper, actual path detection is in bash scripts
|
|
42
35
|
return process.cwd();
|
|
43
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Default export for Nx plugin system
|
|
39
|
+
* This is what Nx loads when the package is registered as a plugin in nx.json
|
|
40
|
+
*/
|
|
41
|
+
exports.default = {
|
|
42
|
+
name: '@webpieces/dev-config',
|
|
43
|
+
createNodesV2: plugin_1.createNodesV2,
|
|
44
|
+
};
|
|
44
45
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/tooling/dev-config/src/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/tooling/dev-config/src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAUH,oDAEC;AAKD,wCAGC;AAlBD,sCAA0C;AAE7B,QAAA,OAAO,GAAG,WAAW,CAAC;AACtB,QAAA,WAAW,GAAG,uBAAuB,CAAC;AAEnD;;GAEG;AACH,SAAgB,oBAAoB;IAChC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAClD,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc;IAC1B,oEAAoE;IACpE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;AACzB,CAAC;AAED;;;GAGG;AACH,kBAAe;IACX,IAAI,EAAE,uBAAuB;IAC7B,aAAa,EAAb,sBAAa;CAChB,CAAC","sourcesContent":["/**\n * @webpieces/dev-config\n *\n * Development configuration, scripts, and patterns for WebPieces projects.\n *\n * This package provides:\n * - Nx inference plugin for architecture validation and circular dependency checking\n * - Executable scripts (via bin commands: wp-start, wp-stop, etc.)\n * - Shareable ESLint configuration\n * - Jest preset\n * - Base TypeScript configuration\n * - Claude Code pattern documentation\n *\n * @packageDocumentation\n */\n\nimport { createNodesV2 } from '../plugin';\n\nexport const version = '0.0.0-dev';\nexport const packageName = '@webpieces/dev-config';\n\n/**\n * Check if running in webpieces-ts workspace\n */\nexport function isWebpiecesWorkspace(): boolean {\n return process.cwd().includes('webpieces-ts');\n}\n\n/**\n * Get project root directory\n */\nexport function getProjectRoot(): string {\n // This is a simple helper, actual path detection is in bash scripts\n return process.cwd();\n}\n\n/**\n * Default export for Nx plugin system\n * This is what Nx loads when the package is registered as a plugin in nx.json\n */\nexport default {\n name: '@webpieces/dev-config',\n createNodesV2,\n};\n"]}
|