aberlaas-init 2.22.3 → 2.24.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 > libdocs', () => {
20
- const testDirectory = tmpDirectory('aberlaas/init/libdocs');
19
+ describe('init/libdocs', () => {
20
+ const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
21
21
  beforeEach(async () => {
22
22
  mockHelperPaths(testDirectory);
23
23
 
@@ -143,7 +143,7 @@ describe('init > libdocs', () => {
143
143
  node: `>=${nodeVersion}`,
144
144
  },
145
145
 
146
- files: ['*.js'],
146
+ files: ['./*.js'],
147
147
  exports: { '.': './main.js' },
148
148
  // Some tools have trouble parsing the .exports field, so we keep the
149
149
  // .main field for backward compatibility
@@ -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 > module', () => {
8
- const testDirectory = tmpDirectory('aberlaas/init/module');
7
+ describe('init/module', () => {
8
+ const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
9
9
  beforeEach(async () => {
10
10
  mockHelperPaths(testDirectory);
11
11
 
@@ -64,7 +64,7 @@ describe('init > module', () => {
64
64
  [
65
65
  'should export the right files',
66
66
  {
67
- files: ['lib/*.js'],
67
+ files: ['./lib/*.js'],
68
68
  exports: { '.': './lib/main.js' },
69
69
  main: './lib/main.js',
70
70
  },
@@ -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 > monorepo', () => {
20
- const testDirectory = tmpDirectory('aberlaas/init/monorepo');
19
+ describe('init/monorepo', () => {
20
+ const testDirectory = tmpDirectory(`aberlaas/${describeName}`);
21
21
  beforeEach(async () => {
22
22
  mockHelperPaths(testDirectory);
23
23
 
@@ -143,7 +143,7 @@ describe('init > monorepo', () => {
143
143
  node: `>=${nodeVersion}`,
144
144
  },
145
145
 
146
- files: ['*.js'],
146
+ files: ['./*.js'],
147
147
  exports: { '.': './main.js' },
148
148
  // Some tools have trouble parsing the .exports field, so we keep the
149
149
  // .main field for backward compatibility
@@ -163,7 +163,7 @@ __ = {
163
163
  engines,
164
164
 
165
165
  // Exports
166
- files: ['*.js'],
166
+ files: ['./*.js'],
167
167
  exports: {
168
168
  '.': './main.js',
169
169
  },
@@ -54,7 +54,7 @@ __ = {
54
54
  };
55
55
  const packageManager = `yarn@${yarnVersion}`;
56
56
 
57
- const files = ['lib/*.js'];
57
+ const files = ['./lib/*.js'];
58
58
  const exports = {
59
59
  '.': './lib/main.js',
60
60
  };
@@ -168,7 +168,7 @@ __ = {
168
168
  engines,
169
169
 
170
170
  // Exports
171
- files: ['*.js'],
171
+ files: ['./*.js'],
172
172
  exports: {
173
173
  '.': './main.js',
174
174
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aberlaas-init",
3
- "version": "2.22.3",
3
+ "version": "2.24.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.22.3",
41
- "aberlaas-versions": "2.22.3",
42
- "firost": "5.5.1",
40
+ "aberlaas-helper": "2.24.0",
41
+ "aberlaas-versions": "2.24.0",
42
+ "firost": "5.6.1",
43
43
  "gilmore": "1.2.0",
44
44
  "golgoth": "3.1.0"
45
45
  },