sails-hook-shipwright 0.3.7 → 0.4.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/index.js +6 -18
- package/package.json +3 -3
- package/sails-hook-shipwright-0.3.8.tgz +0 -0
package/index.js
CHANGED
|
@@ -81,25 +81,13 @@ module.exports = function defineShipwrightHook(sails) {
|
|
|
81
81
|
},
|
|
82
82
|
copy: [
|
|
83
83
|
{
|
|
84
|
-
from: path.resolve(appPath, 'assets'
|
|
85
|
-
to: path.resolve(appPath, '.tmp', 'public', 'images'),
|
|
86
|
-
noErrorOnMissing: true
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
from: path.resolve(appPath, 'assets', 'fonts'),
|
|
90
|
-
to: path.resolve(appPath, '.tmp', 'public', 'fonts'),
|
|
91
|
-
noErrorOnMissing: true
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
from: path.resolve(appPath, 'assets', 'dependencies'),
|
|
95
|
-
to: path.resolve(appPath, '.tmp', 'public', 'dependencies'),
|
|
96
|
-
noErrorOnMissing: true
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
context: path.resolve(appPath, 'assets'),
|
|
100
|
-
from: '**/*.html',
|
|
84
|
+
from: path.resolve(appPath, 'assets'),
|
|
101
85
|
to: path.resolve(appPath, '.tmp', 'public'),
|
|
102
|
-
noErrorOnMissing: true
|
|
86
|
+
noErrorOnMissing: true,
|
|
87
|
+
globOptions: {
|
|
88
|
+
// Exclude files that Rsbuild processes
|
|
89
|
+
ignore: ['**/js/**', '**/css/**']
|
|
90
|
+
}
|
|
103
91
|
}
|
|
104
92
|
]
|
|
105
93
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sails-hook-shipwright",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "The modern asset pipeline for Sails",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"hookName": "shipwright"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@rsbuild/core": "^1.5.
|
|
33
|
+
"@rsbuild/core": "^1.5.6"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@commitlint/cli": "^19.8.1",
|
|
37
37
|
"@commitlint/config-conventional": "^19.8.1",
|
|
38
38
|
"husky": "^9.1.7",
|
|
39
|
-
"lint-staged": "^16.1.
|
|
39
|
+
"lint-staged": "^16.1.6",
|
|
40
40
|
"prettier": "^3.6.2"
|
|
41
41
|
},
|
|
42
42
|
"lint-staged": {
|
|
Binary file
|