@w5s/mrm-preset 1.0.4 → 1.1.1

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.
@@ -1,6 +1,6 @@
1
1
  [1] : exited with code 0
2
2
  [tsc]
3
- [tsc] > @w5s/mrm-preset@1.0.3 build:tsc
3
+ [tsc] > @w5s/mrm-preset@1.1.0 build:tsc
4
4
  [tsc] > tsc --noEmit --skipLibCheck
5
5
  [tsc]
6
6
  [tsc] npm run build:tsc exited with code 0
@@ -1,6 +1,6 @@
1
1
  [1] : exited with code 0
2
2
  [src]
3
- [src] > @w5s/mrm-preset@1.0.3 lint:src
3
+ [src] > @w5s/mrm-preset@1.1.0 lint:src
4
4
  [src] > eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
  [src]
6
6
  [src] npm run lint:src exited with code 0
@@ -1,6 +1,6 @@
1
1
  [1] : exited with code 0
2
2
  [script]
3
- [script] > @w5s/mrm-preset@1.0.3 test:script
3
+ [script] > @w5s/mrm-preset@1.1.0 test:script
4
4
  [script] > mkdir _tester; cd _tester; mrm bootstrap --dir ..; mrm configure --dir ..
5
5
  [script]
6
6
  [script] mkdir: _tester: File exists
@@ -19,6 +19,30 @@
19
19
  [script] Update .vscode/extensions.json
20
20
  [script] Running editorconfig...
21
21
  [script] Running eslint...
22
+ [script] Installing @w5s/eslint-config...
23
+ [script] npm ERR! code ERESOLVE
24
+ [script] npm ERR! ERESOLVE unable to resolve dependency tree
25
+ [script] npm ERR!
26
+ [script] npm ERR! While resolving: _tester@1.0.0-alpha.0
27
+ [script] npm ERR! Found: prettier@3.0.0
28
+ [script] npm ERR! node_modules/prettier
29
+ [script] npm ERR! dev prettier@"^3.0.0" from the root project
30
+ [script] npm ERR!
31
+ [script] npm ERR! Could not resolve dependency:
32
+ npm ERR! peer prettier@"2.x" from @w5s/eslint-config@1.1.1
33
+ [script] npm ERR! node_modules/@w5s/eslint-config
34
+ [script] npm ERR! dev @w5s/eslint-config@"1.1.1" from the root project
35
+ [script] npm ERR!
36
+ [script] npm ERR! Fix the upstream dependency conflict, or retry
37
+ [script] npm ERR! this command with --force or --legacy-peer-deps
38
+ [script] npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
39
+ [script] npm ERR!
40
+ [script] npm ERR!
41
+ [script] npm ERR! For a full report see:
42
+ [script] npm ERR! /Users/julienpolo/Library/Caches/npm/_logs/2023-07-12T19_18_18_503Z-eresolve-report.txt
43
+ [script]
44
+ [script] npm ERR! A complete log of this run can be found in:
45
+ npm ERR! /Users/julienpolo/Library/Caches/npm/_logs/2023-07-12T19_18_18_503Z-debug-0.log
22
46
  [script] Running cspell...
23
47
  [script] Update .cspell.json
24
48
  [script] Running vitest...
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
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
+ ## [1.1.1](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.1.0...@w5s/mrm-preset@1.1.1) (2023-07-12)
7
+
8
+ **Note:** Version bump only for package @w5s/mrm-preset
9
+
10
+
11
+
12
+
13
+
14
+ # [1.1.0](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.4...@w5s/mrm-preset@1.1.0) (2023-07-04)
15
+
16
+ ### ✨ Features
17
+
18
+ - Change lib/ to dist/ for output dir ([40b59b5](https://github.com/w5s/project-config/commit/40b59b5))
19
+
20
+ ### 🐛 Bug Fixes
21
+
22
+ - Support lerna v7 ([f465e08](https://github.com/w5s/project-config/commit/f465e08))
23
+
6
24
  ## [1.0.4](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.3...@w5s/mrm-preset@1.0.4) (2023-05-31)
7
25
 
8
26
  **Note:** Version bump only for package @w5s/mrm-preset
package/core/jest.js CHANGED
@@ -14,7 +14,7 @@ function jest({ state }) {
14
14
  const hasWorkspaces = pkg.hasWorkspaces(packageFileDefault);
15
15
 
16
16
  pkg.withPackageJson((packageFile) => {
17
- const ignorePatterns = ['/node_modules/', '/docs/', '/lib/', '/build/', '/.cache/', '/public/'];
17
+ const ignorePatterns = ['/node_modules/', '/docs/', '/lib/', '/dist/', '/build/', '/.cache/', '/public/'];
18
18
 
19
19
  pkg.value(packageFile, {
20
20
  path: 'jest',
package/eslint/index.js CHANGED
@@ -144,7 +144,7 @@ function createESLint({ eslintPreset: eslintPresetDefault = 'eslint:recommended'
144
144
  ts: 'typescript',
145
145
  yaml: 'yaml',
146
146
  yml: 'yaml',
147
- }[ext] || ext)
147
+ })[ext] || ext
148
148
  )
149
149
  )
150
150
  ),
package/githooks/index.js CHANGED
@@ -44,7 +44,11 @@ function task() {
44
44
  path: 'CODEOWNERS',
45
45
  state: gitSupported ? 'file' : 'absent',
46
46
  update: (content) =>
47
- content.length === 0 ? template('', path.join(__dirname, 'templates', 'CODEOWNERS')).apply().get() : undefined,
47
+ content.length === 0
48
+ ? template('', path.join(__dirname, 'templates', 'CODEOWNERS'))
49
+ .apply()
50
+ .get()
51
+ : undefined,
48
52
  });
49
53
  }
50
54
 
package/lang/index.js CHANGED
@@ -33,7 +33,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
33
33
  const tsConfig = json('tsconfig.json');
34
34
 
35
35
  // Should be run first
36
- gitIgnore('Typescript', ['lib/', '*.tsbuildinfo', 'typings/']);
36
+ gitIgnore('Typescript', ['lib/', 'dist/', '*.tsbuildinfo', 'typings/']);
37
37
 
38
38
  // const excludeList = ['**/*.test.*', '**/*.spec.*', '**/__tests__/**'];
39
39
  if (hasWorkspaces) {
@@ -62,7 +62,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
62
62
  pkg.script(projectPackageFile, {
63
63
  name: 'clean:tsc',
64
64
  state: hasTypecript ? 'present' : 'absent',
65
- update: () => 'rm -rf lib',
65
+ update: () => 'rm -rf dist',
66
66
  });
67
67
  if (hasTypecript && projectPackageFile.get('name') !== '@w5s/ts-config') {
68
68
  projectTsConfig
@@ -78,7 +78,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
78
78
  extends: './tsconfig.json',
79
79
  compilerOptions: {
80
80
  noEmit: false,
81
- outDir: 'lib',
81
+ outDir: 'dist',
82
82
  },
83
83
  include: ['src'],
84
84
  })
@@ -98,7 +98,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
98
98
  tsConfig
99
99
  .merge({
100
100
  compilerOptions: {
101
- outDir: './lib',
101
+ outDir: './dist',
102
102
  rootDir: './src',
103
103
  },
104
104
  extends: `./${tsConfigSettingsName}`,
@@ -155,7 +155,7 @@ function createLang({ language: languageDefault = 'typescript', tsConfig: tsConf
155
155
  // exclude: [
156
156
  // '**/build/**/*',
157
157
  // '**/example/**/*',
158
- // '**/lib/**/*',
158
+ // '**/dist/**/*',
159
159
  // '**/node_modules/**',
160
160
  // '**/__tests__/*.(ts|tsx)',
161
161
  // '**/*.(spec|test).(ts|tsx)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/mrm-preset",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "description": "Mrm configuration presets",
5
5
  "keywords": [
6
6
  "mrm",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/debug": "4.1.8",
46
- "mrm": "4.1.14",
46
+ "mrm": "4.1.17",
47
47
  "mrm-preset-default": "4.1.11"
48
48
  },
49
49
  "engines": {
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "7e5cf7f6b4725b79da890724f6377c2893e6daf4"
55
+ "gitHead": "80e6661d57dd6ed7a832f7e34fe3eab7adcddb88"
56
56
  }
package/project/index.js CHANGED
@@ -239,7 +239,6 @@ function task() {
239
239
  },
240
240
  },
241
241
  npmClient: packageManager,
242
- useWorkspaces: rootUseWorkspace,
243
242
  changelogPreset: '@w5s/conventional-changelog',
244
243
  });
245
244
  lernaConfig.save();
@@ -1,6 +0,0 @@
1
- [1] : exited with code 0
2
- [src]
3
- [src] > @w5s/mrm-preset@1.0.3 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