aberlaas-init 2.22.3 → 2.23.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/helper.js
CHANGED
|
@@ -217,7 +217,6 @@ export const __ = {
|
|
|
217
217
|
|
|
218
218
|
// Named exports of public methods, but wrapped in dynamic method so we can
|
|
219
219
|
// still mock the inner methods in tests
|
|
220
|
-
//
|
|
221
220
|
export const addConfigFiles = wrap(__, 'addConfigFiles');
|
|
222
221
|
export const addDefaultScripts = wrap(__, 'addDefaultScripts');
|
|
223
222
|
export const addDocsScripts = wrap(__, 'addDocsScripts');
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
import { __ as initHelper } from '../../helper.js';
|
|
17
17
|
import { __, run } from '../libdocs.js';
|
|
18
18
|
|
|
19
|
-
describe('init
|
|
20
|
-
const testDirectory = tmpDirectory(
|
|
19
|
+
describe('init/libdocs', () => {
|
|
20
|
+
const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
|
|
21
21
|
beforeEach(async () => {
|
|
22
22
|
mockHelperPaths(testDirectory);
|
|
23
23
|
|
|
@@ -174,8 +174,7 @@ describe('init > libdocs', () => {
|
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
176
|
|
|
177
|
-
describe('run', () => {
|
|
178
|
-
vi.setConfig({ testTimeout: 10_000 });
|
|
177
|
+
describe.slow('run', () => {
|
|
179
178
|
it('should build a libdocs structure', async () => {
|
|
180
179
|
await run();
|
|
181
180
|
|
|
@@ -4,8 +4,8 @@ import { nodeVersion, yarnVersion } from 'aberlaas-versions';
|
|
|
4
4
|
import { __ as initHelper } from '../../helper.js';
|
|
5
5
|
import { __, run } from '../module.js';
|
|
6
6
|
|
|
7
|
-
describe('init
|
|
8
|
-
const testDirectory = tmpDirectory(
|
|
7
|
+
describe('init/module', () => {
|
|
8
|
+
const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
|
|
9
9
|
beforeEach(async () => {
|
|
10
10
|
mockHelperPaths(testDirectory);
|
|
11
11
|
|
|
@@ -16,8 +16,8 @@ import {
|
|
|
16
16
|
import { __ as initHelper } from '../../helper.js';
|
|
17
17
|
import { __, run } from '../monorepo.js';
|
|
18
18
|
|
|
19
|
-
describe('init
|
|
20
|
-
const testDirectory = tmpDirectory(
|
|
19
|
+
describe('init/monorepo', () => {
|
|
20
|
+
const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
|
|
21
21
|
beforeEach(async () => {
|
|
22
22
|
mockHelperPaths(testDirectory);
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aberlaas-init",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.23.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "aberlaas init command: Setup the repository with all needed config",
|
|
6
6
|
"author": "Tim Carry <tim@pixelastic.com>",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"main": "./lib/main.js",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"aberlaas-helper": "2.
|
|
41
|
-
"aberlaas-versions": "2.
|
|
42
|
-
"firost": "5.5.
|
|
40
|
+
"aberlaas-helper": "2.23.0",
|
|
41
|
+
"aberlaas-versions": "2.23.0",
|
|
42
|
+
"firost": "5.5.2",
|
|
43
43
|
"gilmore": "1.2.0",
|
|
44
44
|
"golgoth": "3.1.0"
|
|
45
45
|
},
|