@storm-software/projen 0.7.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/LICENSE +201 -0
- package/README.md +363 -0
- package/dist/chunk-23KFTIT2.mjs +0 -0
- package/dist/chunk-3GQAWCBQ.js +13 -0
- package/dist/chunk-AI3PN64I.mjs +4687 -0
- package/dist/chunk-EKYBRRTL.js +4686 -0
- package/dist/chunk-N2YKXZ5R.js +1 -0
- package/dist/chunk-XUV4U54K.mjs +21 -0
- package/dist/generators.d.mts +3 -0
- package/dist/generators.d.ts +3 -0
- package/dist/generators.js +8 -0
- package/dist/generators.mjs +8 -0
- package/dist/index-DUOawapu.d.mts +1232 -0
- package/dist/index-DUOawapu.d.ts +1232 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +8 -0
- package/dist/index.mjs +8 -0
- package/dist/src/generators/init/files/src/index.ts.template +1 -0
- package/dist/src/generators/init/generator.d.mts +3 -0
- package/dist/src/generators/init/generator.d.ts +3 -0
- package/dist/src/generators/init/generator.js +9 -0
- package/dist/src/generators/init/generator.mjs +9 -0
- package/dist/src/generators/init/schema.d.ts +38 -0
- package/dist/src/generators/init/schema.json +38 -0
- package/dist/tsup.config.d.mts +5 -0
- package/dist/tsup.config.d.ts +5 -0
- package/dist/tsup.config.js +31 -0
- package/dist/tsup.config.mjs +31 -0
- package/docs/api/generators/init/schema.md +35 -0
- package/generators.json +9 -0
- package/package.json +141 -0
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const variable = "<%= name %>";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkEKYBRRTLjs = require('../../../chunk-EKYBRRTL.js');
|
|
5
|
+
require('../../../chunk-3GQAWCBQ.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = _chunkEKYBRRTLjs.generator_default; exports.initGeneratorFn = _chunkEKYBRRTLjs.initGeneratorFn;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
// Generated by @storm-software/untyped
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
|
|
5
|
+
export interface InitGeneratorSchema {
|
|
6
|
+
/**
|
|
7
|
+
* Base Generator
|
|
8
|
+
*
|
|
9
|
+
* A type definition for the base Generator schema
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
default?: {
|
|
13
|
+
/**
|
|
14
|
+
* Directory
|
|
15
|
+
*
|
|
16
|
+
* The directory to create the library in
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
directory?: string,
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Directory
|
|
24
|
+
*
|
|
25
|
+
* The directory to initialize the workspace in
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
directory?: string,
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Skip Format
|
|
32
|
+
*
|
|
33
|
+
* Skip formatting the generated files
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
skipFormat?: boolean,
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"title": "Init Generator",
|
|
4
|
+
"description": "A type definition for the Projen init generator schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"default": {
|
|
7
|
+
"id": "#default",
|
|
8
|
+
"title": "Base Generator",
|
|
9
|
+
"description": "A type definition for the base Generator schema",
|
|
10
|
+
"properties": {
|
|
11
|
+
"directory": {
|
|
12
|
+
"title": "Directory",
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The directory to create the library in",
|
|
15
|
+
"id": "#default/directory"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"type": "object",
|
|
19
|
+
"default": {}
|
|
20
|
+
},
|
|
21
|
+
"directory": {
|
|
22
|
+
"title": "Directory",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The directory to initialize the workspace in",
|
|
25
|
+
"id": "#directory"
|
|
26
|
+
},
|
|
27
|
+
"skipFormat": {
|
|
28
|
+
"title": "Skip Format",
|
|
29
|
+
"type": "boolean",
|
|
30
|
+
"description": "Skip formatting the generated files",
|
|
31
|
+
"id": "#skipFormat"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"type": "object",
|
|
35
|
+
"default": {
|
|
36
|
+
"default": {}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3GQAWCBQ.js');
|
|
2
|
+
|
|
3
|
+
// tsup.config.ts
|
|
4
|
+
var _tsup = require('tsup');
|
|
5
|
+
var tsup_config_default = _tsup.defineConfig.call(void 0, [
|
|
6
|
+
{
|
|
7
|
+
name: "projen",
|
|
8
|
+
target: "node22",
|
|
9
|
+
entryPoints: [
|
|
10
|
+
"./*.ts",
|
|
11
|
+
"./src/base/*.ts",
|
|
12
|
+
"./src/executors/*/executor.ts",
|
|
13
|
+
"./src/generators/*/generator.ts"
|
|
14
|
+
],
|
|
15
|
+
outDir: "dist",
|
|
16
|
+
format: [
|
|
17
|
+
"cjs",
|
|
18
|
+
"esm"
|
|
19
|
+
],
|
|
20
|
+
platform: "node",
|
|
21
|
+
splitting: true,
|
|
22
|
+
clean: true,
|
|
23
|
+
dts: true,
|
|
24
|
+
sourcemap: false,
|
|
25
|
+
shims: true,
|
|
26
|
+
tsconfig: "./tsconfig.json"
|
|
27
|
+
}
|
|
28
|
+
]);
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.default = tsup_config_default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./chunk-XUV4U54K.mjs";
|
|
2
|
+
|
|
3
|
+
// tsup.config.ts
|
|
4
|
+
import { defineConfig } from "tsup";
|
|
5
|
+
var tsup_config_default = defineConfig([
|
|
6
|
+
{
|
|
7
|
+
name: "projen",
|
|
8
|
+
target: "node22",
|
|
9
|
+
entryPoints: [
|
|
10
|
+
"./*.ts",
|
|
11
|
+
"./src/base/*.ts",
|
|
12
|
+
"./src/executors/*/executor.ts",
|
|
13
|
+
"./src/generators/*/generator.ts"
|
|
14
|
+
],
|
|
15
|
+
outDir: "dist",
|
|
16
|
+
format: [
|
|
17
|
+
"cjs",
|
|
18
|
+
"esm"
|
|
19
|
+
],
|
|
20
|
+
platform: "node",
|
|
21
|
+
splitting: true,
|
|
22
|
+
clean: true,
|
|
23
|
+
dts: true,
|
|
24
|
+
sourcemap: false,
|
|
25
|
+
shims: true,
|
|
26
|
+
tsconfig: "./tsconfig.json"
|
|
27
|
+
}
|
|
28
|
+
]);
|
|
29
|
+
export {
|
|
30
|
+
tsup_config_default as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Init Generator
|
|
6
|
+
|
|
7
|
+
## `default`
|
|
8
|
+
|
|
9
|
+
### `directory`
|
|
10
|
+
- **Type**: `string`
|
|
11
|
+
|
|
12
|
+
> Directory
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
The directory to create the library in
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## `directory`
|
|
19
|
+
- **Type**: `string`
|
|
20
|
+
|
|
21
|
+
> Directory
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
The directory to initialize the workspace in
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
## `skipFormat`
|
|
28
|
+
- **Type**: `boolean`
|
|
29
|
+
|
|
30
|
+
> Skip Format
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
Skip formatting the generated files
|
|
34
|
+
|
|
35
|
+
|
package/generators.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@storm-software/projen",
|
|
3
|
+
"version": "0.7.4",
|
|
4
|
+
"type": "commonjs",
|
|
5
|
+
"description": "Tools for managing Projen configuration automation within a Nx workspace.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "github",
|
|
8
|
+
"url": "https://github.com/storm-software/storm-ops",
|
|
9
|
+
"directory": "packages/projen"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://stormsoftware.com",
|
|
12
|
+
"bugs": "https://github.com/storm-software/storm-ops/issues",
|
|
13
|
+
"author": {
|
|
14
|
+
"name": "Storm Software",
|
|
15
|
+
"email": "contact@stormsoftware.com",
|
|
16
|
+
"url": "https://stormsoftware.com"
|
|
17
|
+
},
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"private": false,
|
|
20
|
+
"main": "dist/index.js",
|
|
21
|
+
"module": "dist/index.mjs",
|
|
22
|
+
"exports": {
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./docs/*": "./docs/*",
|
|
25
|
+
"./migrations.json": "./migrations.json",
|
|
26
|
+
"./executors.json": "./executors.json",
|
|
27
|
+
"./executors/*/schema.json": "./dist/src/executors/*/schema.json",
|
|
28
|
+
"./generators.json": "./generators.json",
|
|
29
|
+
"./generators/*/schema.json": "./dist/src/generators/*/schema.json",
|
|
30
|
+
".": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"default": "./dist/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
36
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
37
|
+
},
|
|
38
|
+
"./index": {
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/index.d.mts",
|
|
41
|
+
"default": "./dist/index.mjs"
|
|
42
|
+
},
|
|
43
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
44
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
45
|
+
},
|
|
46
|
+
"./executors": {
|
|
47
|
+
"import": {
|
|
48
|
+
"types": "./dist/executors.d.mts",
|
|
49
|
+
"default": "./dist/executors.mjs"
|
|
50
|
+
},
|
|
51
|
+
"require": {
|
|
52
|
+
"types": "./dist/executors.d.ts",
|
|
53
|
+
"default": "./dist/executors.js"
|
|
54
|
+
},
|
|
55
|
+
"default": {
|
|
56
|
+
"types": "./dist/executors.d.ts",
|
|
57
|
+
"default": "./dist/executors.js"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"./generators": {
|
|
61
|
+
"import": {
|
|
62
|
+
"types": "./dist/generators.d.mts",
|
|
63
|
+
"default": "./dist/generators.mjs"
|
|
64
|
+
},
|
|
65
|
+
"require": {
|
|
66
|
+
"types": "./dist/generators.d.ts",
|
|
67
|
+
"default": "./dist/generators.js"
|
|
68
|
+
},
|
|
69
|
+
"default": {
|
|
70
|
+
"types": "./dist/generators.d.ts",
|
|
71
|
+
"default": "./dist/generators.js"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"./base": {
|
|
75
|
+
"import": {
|
|
76
|
+
"types": "./dist/src/base/index.d.mts",
|
|
77
|
+
"default": "./dist/src/base/index.mjs"
|
|
78
|
+
},
|
|
79
|
+
"require": {
|
|
80
|
+
"types": "./dist/src/base/index.d.ts",
|
|
81
|
+
"default": "./dist/src/base/index.js"
|
|
82
|
+
},
|
|
83
|
+
"default": {
|
|
84
|
+
"types": "./dist/src/base/index.d.ts",
|
|
85
|
+
"default": "./dist/src/base/index.js"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"./base/*": {
|
|
89
|
+
"import": {
|
|
90
|
+
"types": "./dist/src/base/*.d.mts",
|
|
91
|
+
"default": "./dist/src/base/*.mjs"
|
|
92
|
+
},
|
|
93
|
+
"require": {
|
|
94
|
+
"types": "./dist/src/base/*.d.ts",
|
|
95
|
+
"default": "./dist/src/base/*.js"
|
|
96
|
+
},
|
|
97
|
+
"default": {
|
|
98
|
+
"types": "./dist/src/base/*.d.ts",
|
|
99
|
+
"default": "./dist/src/base/*.js"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"./executors/*/executor.js": "./dist/src/executors/*/executor.js",
|
|
103
|
+
"./generators/*/generators.js": "./dist/src/generators/*/generator.js"
|
|
104
|
+
},
|
|
105
|
+
"typings": "dist/index.d.ts",
|
|
106
|
+
"keywords": [
|
|
107
|
+
"iac",
|
|
108
|
+
"infrastructure",
|
|
109
|
+
"monorepo",
|
|
110
|
+
"projen",
|
|
111
|
+
"storm",
|
|
112
|
+
"storm-ops",
|
|
113
|
+
"storm-stack",
|
|
114
|
+
"sullivanpj"
|
|
115
|
+
],
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"@nx/devkit": "^20.3.1",
|
|
118
|
+
"nx": "^20.3.1",
|
|
119
|
+
"projen": "^0.91.6"
|
|
120
|
+
},
|
|
121
|
+
"peerDependenciesMeta": {
|
|
122
|
+
"@nx/devkit": { "optional": false },
|
|
123
|
+
"nx": { "optional": false },
|
|
124
|
+
"projen": { "optional": false }
|
|
125
|
+
},
|
|
126
|
+
"dependencies": {
|
|
127
|
+
"@nx/devkit": "^20.3.1",
|
|
128
|
+
"projen": "^0.91.6",
|
|
129
|
+
"tslib": "^2.6.3"
|
|
130
|
+
},
|
|
131
|
+
"devDependencies": {
|
|
132
|
+
"@nx/devkit": "^20.3.1",
|
|
133
|
+
"@types/node": "^22.10.2",
|
|
134
|
+
"nx": "^20.3.1",
|
|
135
|
+
"tsup": "8.3.5",
|
|
136
|
+
"untyped": "^1.5.2"
|
|
137
|
+
},
|
|
138
|
+
"publishConfig": { "access": "public" },
|
|
139
|
+
"executors": "./executors.json",
|
|
140
|
+
"generators": "./generators.json"
|
|
141
|
+
}
|