@nitro/exporter 8.1.0 → 8.1.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.
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitro/exporter",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"description": "An exporting package for nitro. Generate static packages with ease.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "merkle-open/generator-nitro",
|
|
7
7
|
"author": "The Nitro Team",
|
|
8
8
|
"engines": {
|
|
9
9
|
"node": ">=16.13.0 <21",
|
|
10
|
-
"npm": ">=8.1.0 <
|
|
10
|
+
"npm": ">=8.1.0 <11"
|
|
11
11
|
},
|
|
12
12
|
"main": "index.js",
|
|
13
13
|
"scripts": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"exporter"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@nitro/app": ">=8.1.
|
|
29
|
-
"@nitro/gulp": ">=8.1.
|
|
28
|
+
"@nitro/app": ">=8.1.1",
|
|
29
|
+
"@nitro/gulp": ">=8.1.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"array-unique": "0.3.2",
|
|
33
33
|
"del": "6.1.1",
|
|
34
34
|
"delete-empty": "3.0.0",
|
|
35
|
-
"glob": "
|
|
35
|
+
"glob": "10.3.10",
|
|
36
36
|
"gulp-filter": "7.0.0",
|
|
37
37
|
"gulp-html-minifier-terser": "7.1.0",
|
|
38
38
|
"gulp-vinyl-zip": "2.5.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@merkle-open/eslint-config": "3.0.0",
|
|
42
42
|
"@nitro/app": "*",
|
|
43
43
|
"eslint": "8.46.0",
|
|
44
|
-
"eslint-plugin-import": "2.
|
|
44
|
+
"eslint-plugin-import": "2.29.0"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
@@ -5,7 +5,7 @@ const fs = require('fs');
|
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const gulpZip = require('gulp-vinyl-zip').zip;
|
|
7
7
|
const htmlmin = require('gulp-html-minifier-terser');
|
|
8
|
-
const
|
|
8
|
+
const { globSync } = require('glob');
|
|
9
9
|
const unique = require('array-unique');
|
|
10
10
|
const deleteEmpty = require('delete-empty');
|
|
11
11
|
const utils = require('../lib/utils.js');
|
|
@@ -118,7 +118,7 @@ module.exports = function (gulp, config) {
|
|
|
118
118
|
replacements.forEach((replacement) => {
|
|
119
119
|
let files = [];
|
|
120
120
|
replacement.glob.forEach((g) => {
|
|
121
|
-
files = files.concat(
|
|
121
|
+
files = files.concat(globSync(g));
|
|
122
122
|
});
|
|
123
123
|
unique(files);
|
|
124
124
|
files.forEach((f) => {
|