aberlaas 2.4.0 → 2.5.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/helper.js +0 -9
- package/package.json +12 -12
- package/templates/_yarnrc.yml +7 -1
package/helper.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
2
|
import _ from 'golgoth/lodash.js';
|
|
3
|
-
import run from 'firost/run.js';
|
|
4
3
|
import glob from 'firost/glob.js';
|
|
5
4
|
import exists from 'firost/exists.js';
|
|
6
5
|
import findUp from 'find-up';
|
|
@@ -151,14 +150,6 @@ export default {
|
|
|
151
150
|
}
|
|
152
151
|
return false;
|
|
153
152
|
},
|
|
154
|
-
/**
|
|
155
|
-
* Run a specific script through yarn run
|
|
156
|
-
* @param {string} scriptName Name of the script to run
|
|
157
|
-
* @returns {object} Result of the run, including .sterr and .stdout
|
|
158
|
-
**/
|
|
159
|
-
async yarnRun(scriptName) {
|
|
160
|
-
return await run(`yarn run ${scriptName}`, { cwd: this.hostRoot() });
|
|
161
|
-
},
|
|
162
153
|
/**
|
|
163
154
|
* Dynamically import a file
|
|
164
155
|
* This is a wrapper around the default import, but bypasses the cache
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "aberlaas",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Scaffold your JavaScript projects with tests, lint and release scripts",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.5.0",
|
|
6
6
|
"repository": "pixelastic/aberlaas",
|
|
7
7
|
"homepage": "https://projects.pixelastic.com/aberlaas/",
|
|
8
8
|
"author": "Tim Carry (@pixelastic)",
|
|
@@ -37,28 +37,28 @@
|
|
|
37
37
|
"@octokit/rest": "18.12.0",
|
|
38
38
|
"ci-info": "3.9.0",
|
|
39
39
|
"dedent": "1.5.1",
|
|
40
|
-
"eslint": "8.
|
|
41
|
-
"eslint-config-prettier": "9.
|
|
42
|
-
"eslint-plugin-import": "2.29.
|
|
43
|
-
"eslint-plugin-jsdoc": "46.
|
|
44
|
-
"eslint-plugin-n": "16.
|
|
45
|
-
"eslint-plugin-prettier": "5.
|
|
46
|
-
"eslint-plugin-vitest": "0.3.
|
|
40
|
+
"eslint": "8.57.0",
|
|
41
|
+
"eslint-config-prettier": "9.1.0",
|
|
42
|
+
"eslint-plugin-import": "2.29.1",
|
|
43
|
+
"eslint-plugin-jsdoc": "46.10.1",
|
|
44
|
+
"eslint-plugin-n": "16.6.2",
|
|
45
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
46
|
+
"eslint-plugin-vitest": "0.3.22",
|
|
47
47
|
"eslint-plugin-vitest-globals": "1.4.0",
|
|
48
48
|
"find-up": "5.0.0",
|
|
49
49
|
"firost": "3.1.0",
|
|
50
50
|
"front-matter": "4.0.2",
|
|
51
|
-
"gilmore": "0.
|
|
51
|
+
"gilmore": "0.2.0",
|
|
52
52
|
"golgoth": "2.1.0",
|
|
53
53
|
"jest-extended": "4.0.2",
|
|
54
54
|
"lint-staged": "11.2.6",
|
|
55
55
|
"minimist": "1.2.8",
|
|
56
56
|
"np": "7.7.0",
|
|
57
57
|
"parse-github-repo-url": "1.4.1",
|
|
58
|
-
"prettier": "3.
|
|
58
|
+
"prettier": "3.2.5",
|
|
59
59
|
"std-mocks": "1.0.1",
|
|
60
60
|
"stylelint": "13.13.1",
|
|
61
|
-
"vitest": "1.
|
|
61
|
+
"vitest": "1.3.1",
|
|
62
62
|
"yaml-lint": "1.7.0"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"lint:fix": "ABERLAAS_CWD=$INIT_CWD yarn g:lint:fix",
|
|
78
78
|
"postinstall": "./scripts/postinstall"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "d8c221450f847e80e4b86783b9291f3e02239a45"
|
|
81
81
|
}
|
package/templates/_yarnrc.yml
CHANGED
|
@@ -4,6 +4,12 @@ defaultSemverRangePrefix: ''
|
|
|
4
4
|
|
|
5
5
|
enableGlobalCache: true
|
|
6
6
|
|
|
7
|
+
# Keep old-school saving of dependencies in node_modules
|
|
8
|
+
# This makes debugging imported modules so much easier
|
|
9
|
+
nodeLinker: node-modules
|
|
10
|
+
|
|
11
|
+
# Use hardlinks to a global cache
|
|
7
12
|
nmMode: hardlinks-local
|
|
8
13
|
|
|
9
|
-
|
|
14
|
+
# Make sure each workspace has its own local node_modules
|
|
15
|
+
nmHoistingLimits: workspaces
|