@platformatic/generators 1.49.1 → 1.51.8
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 +0 -2
- package/lib/base-generator.d.ts +0 -2
- package/lib/base-generator.js +0 -2
- package/package.json +2 -2
- package/test/base-generator.test.js +0 -8
package/README.md
CHANGED
|
@@ -21,8 +21,6 @@ The `setConfig({...})` function should be called to set the config generator. `B
|
|
|
21
21
|
- `initGitRepository`: Inits the git repository
|
|
22
22
|
- `dependencies`: A key value object to add dependencies in `package.json` file
|
|
23
23
|
- `devDependencies`: A key value object to add dev-dependencies in `package.json` file
|
|
24
|
-
- `staticWorkspaceGitHubActions`: Creates the GitHub action to deploy in a static workspace in Platformatic Cloud
|
|
25
|
-
- `dynamicWorkspaceGitHubActions`: Creates the GitHub action to deploy in a dynamic workspace in Platformatic Cloud
|
|
26
24
|
- `env`: A key/value object that will be automatically appended to the generated `.env` file
|
|
27
25
|
## Usage
|
|
28
26
|
|
package/lib/base-generator.d.ts
CHANGED
|
@@ -38,8 +38,6 @@ export namespace BaseGenerator {
|
|
|
38
38
|
devDependencies?: Dependency
|
|
39
39
|
typescript?: boolean
|
|
40
40
|
initGitRepository?: boolean
|
|
41
|
-
staticWorkspaceGitHubActions?: boolean
|
|
42
|
-
dynamicWorkspaceGitHubActions?: boolean
|
|
43
41
|
env?: KeyValue,
|
|
44
42
|
isRuntimeContext?: boolean,
|
|
45
43
|
serviceName?: string,
|
package/lib/base-generator.js
CHANGED
|
@@ -55,8 +55,6 @@ class BaseGenerator extends FileGenerator {
|
|
|
55
55
|
initGitRepository: false,
|
|
56
56
|
dependencies: {},
|
|
57
57
|
devDependencies: {},
|
|
58
|
-
staticWorkspaceGitHubActions: false,
|
|
59
|
-
dynamicWorkspaceGitHubActions: false,
|
|
60
58
|
isRuntimeContext: false,
|
|
61
59
|
serviceName: '',
|
|
62
60
|
envPrefix: '',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/generators",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.8",
|
|
4
4
|
"description": "Main classes and utils for generators.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/inquirer": "^9.0.7",
|
|
19
|
-
"borp": "^0.
|
|
19
|
+
"borp": "^0.16.0",
|
|
20
20
|
"c8": "^10.0.0",
|
|
21
21
|
"snazzy": "^9.0.0",
|
|
22
22
|
"standard": "^17.1.0",
|
|
@@ -92,8 +92,6 @@ test('setConfig', async (t) => {
|
|
|
92
92
|
plugin: false,
|
|
93
93
|
typescript: false,
|
|
94
94
|
initGitRepository: false,
|
|
95
|
-
staticWorkspaceGitHubActions: false,
|
|
96
|
-
dynamicWorkspaceGitHubActions: false,
|
|
97
95
|
env: {},
|
|
98
96
|
defaultEnv: {},
|
|
99
97
|
dependencies: {},
|
|
@@ -121,8 +119,6 @@ test('setConfig', async (t) => {
|
|
|
121
119
|
plugin: false,
|
|
122
120
|
typescript: false,
|
|
123
121
|
initGitRepository: false,
|
|
124
|
-
staticWorkspaceGitHubActions: false,
|
|
125
|
-
dynamicWorkspaceGitHubActions: false,
|
|
126
122
|
env: {},
|
|
127
123
|
defaultEnv: {},
|
|
128
124
|
dependencies: {},
|
|
@@ -142,8 +138,6 @@ test('setConfig', async (t) => {
|
|
|
142
138
|
plugin: false,
|
|
143
139
|
typescript: false,
|
|
144
140
|
initGitRepository: false,
|
|
145
|
-
staticWorkspaceGitHubActions: false,
|
|
146
|
-
dynamicWorkspaceGitHubActions: false,
|
|
147
141
|
env: {},
|
|
148
142
|
defaultEnv: {},
|
|
149
143
|
dependencies: {},
|
|
@@ -171,8 +165,6 @@ test('setConfig', async (t) => {
|
|
|
171
165
|
plugin: false,
|
|
172
166
|
typescript: false,
|
|
173
167
|
initGitRepository: false,
|
|
174
|
-
staticWorkspaceGitHubActions: false,
|
|
175
|
-
dynamicWorkspaceGitHubActions: false,
|
|
176
168
|
env: {},
|
|
177
169
|
defaultEnv: {},
|
|
178
170
|
dependencies: {},
|