@w5s/mrm-preset 1.0.4 → 1.1.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.
@@ -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.0.4 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 format:src
3
+ [src] > @w5s/mrm-preset@1.0.4 format:src
4
4
  [src] > eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml
5
5
  [src]
6
- [src] npm run format:src exited with code 0
6
+ [src] npm run format:src exited with code SIGINT
@@ -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.0.4 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.0.4 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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
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.0](https://github.com/w5s/project-config/compare/@w5s/mrm-preset@1.0.4...@w5s/mrm-preset@1.1.0) (2023-07-04)
7
+
8
+ ### ✨ Features
9
+
10
+ - Change lib/ to dist/ for output dir ([40b59b5](https://github.com/w5s/project-config/commit/40b59b5))
11
+
12
+ ### 🐛 Bug Fixes
13
+
14
+ - Support lerna v7 ([f465e08](https://github.com/w5s/project-config/commit/f465e08))
15
+
6
16
  ## [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
17
 
8
18
  **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/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.0",
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": "d1f8476f515b7be923ace0dba9ef86571f08747b"
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();