@platformatic/generators 2.67.1 → 2.69.0
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/lib/import-generator.js +6 -1
- package/package.json +3 -3
package/lib/import-generator.js
CHANGED
|
@@ -203,7 +203,12 @@ class ImportGenerator extends BaseGenerator {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
async #copy (root) {
|
|
206
|
-
const files = await glob('**/*', {
|
|
206
|
+
const files = await glob('**/*', {
|
|
207
|
+
cwd: root,
|
|
208
|
+
dot: true,
|
|
209
|
+
ignore: ['node_modules/**', 'package-lock.json', 'pnpm-lock.yaml', 'yarn.lock'],
|
|
210
|
+
withFileTypes: true
|
|
211
|
+
})
|
|
207
212
|
|
|
208
213
|
for (const file of files) {
|
|
209
214
|
if (file.isDirectory()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/generators",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.69.0",
|
|
4
4
|
"description": "Main classes and utils for generators.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"glob": "^11.0.2",
|
|
15
15
|
"pino": "^9.0.0",
|
|
16
16
|
"undici": "^7.0.0",
|
|
17
|
-
"@platformatic/
|
|
18
|
-
"@platformatic/
|
|
17
|
+
"@platformatic/config": "2.69.0",
|
|
18
|
+
"@platformatic/utils": "2.69.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/inquirer": "^9.0.7",
|