@w5s/mrm-preset 2.3.3 → 2.3.4

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.
@@ -3,4 +3,40 @@
3
3
  [tsc] > @w5s/mrm-preset@2.3.2 build:tsc
4
4
  [tsc] > tsc --noEmit --skipLibCheck
5
5
  [tsc]
6
- [tsc] npm run build:tsc exited with code 0
6
+ [tsc] core/git.js:2:31 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@w5s/dev")' call instead.
7
+ [tsc] To convert this file to an ECMAScript module, change its file extension to '.mjs', or add the field `"type": "module"` to '/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/package.json'.
8
+ [tsc]
9
+ [tsc] 2 const { blockSync } = require('@w5s/dev');
10
+ [tsc]    ~~~~~~~~~~
11
+ [tsc]
12
+ [tsc] core/githooks.js:4:31 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@w5s/dev")' call instead.
13
+ [tsc] To convert this file to an ECMAScript module, change its file extension to '.mjs', or add the field `"type": "module"` to '/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/package.json'.
14
+ [tsc]
15
+ [tsc] 4 const { blockSync } = require('@w5s/dev');
16
+ [tsc]    ~~~~~~~~~~
17
+ [tsc]
18
+ [tsc] editorconfig/index.js:2:31 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@w5s/dev")' call instead.
19
+ [tsc] To convert this file to an ECMAScript module, change its file extension to '.mjs', or add the field `"type": "module"` to '/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/package.json'.
20
+ [tsc]
21
+ [tsc] 2 const { blockSync } = require('@w5s/dev');
22
+ [tsc]    ~~~~~~~~~~
23
+ [tsc]
24
+ [tsc] githooks/index.js:3:30 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@w5s/dev")' call instead.
25
+ [tsc] To convert this file to an ECMAScript module, change its file extension to '.mjs', or add the field `"type": "module"` to '/Users/julienpolo/Code/w5s/project-config/packages/mrm-preset/package.json'.
26
+ [tsc]
27
+ [tsc] 3 const { fileSync } = require('@w5s/dev');
28
+ [tsc]    ~~~~~~~~~~
29
+ [tsc]
30
+ [tsc]
31
+ [tsc] Found 4 errors in 4 files.
32
+ [tsc]
33
+ [tsc] Errors Files
34
+ [tsc] 1 core/git.js:2
35
+ [tsc] 1 core/githooks.js:4
36
+ [tsc] 1 editorconfig/index.js:2
37
+ [tsc] 1 githooks/index.js:3
38
+ [tsc] npm ERR! Lifecycle script `build:tsc` failed with error:
39
+ [tsc] npm ERR! Error: command failed
40
+ npm ERR! in workspace: @w5s/mrm-preset@2.3.2
41
+ [tsc] npm ERR! at location: /Users/julienpolo/Code/w5s/project-config/packages/mrm-preset
42
+ [tsc] npm run build:tsc exited with code 1
@@ -0,0 +1,6 @@
1
+ [1] : exited with code 0
2
+ [src]
3
+ [src] > @w5s/mrm-preset@2.3.0 format:src
4
+ [src] > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
+ [src]
6
+ [src] npm run format:src exited with code 0
@@ -1,6 +0,0 @@
1
- [1] : exited with code 0
2
- [src]
3
- [src] > @w5s/mrm-preset@2.3.2 lint:src
4
- [src] > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
- [src]
6
- [src] npm run lint:src exited with code 0
@@ -1 +0,0 @@
1
- CSpell: Files checked: 52, Issues found: 0 in 0 files
@@ -1,29 +0,0 @@
1
- [1] : exited with code 0
2
- [script]
3
- [script] > @w5s/mrm-preset@2.3.2 test:script
4
- [script] > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
- [script]
6
- [script] mkdir: _tester: File exists
7
- [script] Running bootstrap...
8
- [script] Running alias configure...
9
- [script] Running gitignore...
10
- [script] Running project...
11
- [script] Update turbo.json
12
- [script] Running contributing...
13
- [script] Running licenses...
14
- [script] Running asdf...
15
- [script] Running release...
16
- [script] Running ci...
17
- [script] Running lang...
18
- [script] Update tsconfig.json
19
- [script] Running commitlint...
20
- [script] Update .vscode/extensions.json
21
- [script] Running editorconfig...
22
- [script] Running eslint...
23
- [script] Running cspell...
24
- [script] Update .cspell.json
25
- [script] Running vitest...
26
- [script] Running renovate...
27
- [script] Running githooks...
28
- [script] Running post-configure...
29
- [script] npm run test:script exited with code 0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.3.4](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.3.3...@w5s/mrm-preset@2.3.4) (2023-12-27)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
6
10
  ## [2.3.3](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@2.3.2...@w5s/mrm-preset@2.3.3) (2023-12-15)
7
11
 
8
12
  **Note:** Version bump only for package @w5s/mrm-preset
package/core/vitest.js CHANGED
@@ -55,7 +55,7 @@ function vitest({ state }) {
55
55
  update,
56
56
  state: packageState,
57
57
  });
58
- const viteConfig = file(`${projectDir}/vite.config.ts`);
58
+ const viteConfig = file(`${projectDir}/vite.config.mts`);
59
59
  if (packageState === 'absent') {
60
60
  viteConfig.delete();
61
61
  } else if (!viteConfig.exists()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -24,7 +24,7 @@
24
24
  "postpack": "npx clean-package restore"
25
25
  },
26
26
  "dependencies": {
27
- "@w5s/dev": "^2.0.6",
27
+ "@w5s/dev": "^2.0.7",
28
28
  "debug": "^4.3.3",
29
29
  "glob": "^10.0.0",
30
30
  "mrm-core": "^7.0.0",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "eafe8f4243aff7708647c9fccd4b6b86a4af2d16"
40
+ "gitHead": "b76a6f49a4214c1d9d8aa8467d2a1ce3505b5367"
41
41
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -37,7 +37,7 @@
37
37
  "test:script": "mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir .."
38
38
  },
39
39
  "dependencies": {
40
- "@w5s/dev": "^2.0.6",
40
+ "@w5s/dev": "^2.0.7",
41
41
  "debug": "^4.3.3",
42
42
  "glob": "^10.0.0",
43
43
  "mrm-core": "^7.0.0",
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "eafe8f4243aff7708647c9fccd4b6b86a4af2d16"
59
+ "gitHead": "b76a6f49a4214c1d9d8aa8467d2a1ce3505b5367"
60
60
  }