pob 10.16.0 → 10.17.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/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
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
+ # [10.17.0](https://github.com/christophehurpeau/pob/compare/pob@10.16.0...pob@10.17.0) (2022-08-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update dependency prettier to v2.7.1 ([#1322](https://github.com/christophehurpeau/pob/issues/1322)) ([ba6b521](https://github.com/christophehurpeau/pob/commit/ba6b521ccada49f36eb013a02f5eea13613ed593))
12
+ * move pob/root in devdep of pob to avoid dep cycle ([ce9152a](https://github.com/christophehurpeau/pob/commit/ce9152a83106b330a090f1a4d1bce570ec47c90d))
13
+ * **pob:** better support windows in rollup config ([b8a266b](https://github.com/christophehurpeau/pob/commit/b8a266b0a0b5515fda1bce6be8ddf9158c66a408))
14
+ * update check-package-dependencies ([79a6e7f](https://github.com/christophehurpeau/pob/commit/79a6e7f32240efbaff7e3f3eb831f5d1a0fd8174))
15
+ * update check-packages template ([9e498db](https://github.com/christophehurpeau/pob/commit/9e498db17ffc0078f5a0e04c28a14ff5831bf8a9))
16
+
17
+
18
+ ### Features
19
+
20
+ * configure newLine in tsconfig.build.json for windows compat ([e5f9710](https://github.com/christophehurpeau/pob/commit/e5f97101e19c6184cc9a3c95ee8bf565df2900ac))
21
+ * **deps:** update @pob/eslint-config ([#1341](https://github.com/christophehurpeau/pob/issues/1341)) ([55dc6ea](https://github.com/christophehurpeau/pob/commit/55dc6ea6425c3baa977b6c4224ad71f7b5e69ba4))
22
+ * **deps:** update dependency eslint to v8.17.0 ([#1311](https://github.com/christophehurpeau/pob/issues/1311)) ([b050c31](https://github.com/christophehurpeau/pob/commit/b050c318ee4a7518e60cde4d07f6ceb9738e5123))
23
+ * **deps:** update dependency eslint to v8.18.0 ([#1324](https://github.com/christophehurpeau/pob/issues/1324)) ([eed6d70](https://github.com/christophehurpeau/pob/commit/eed6d700a7ef5861a99d568b00216a1d2fea4bf7))
24
+ * **deps:** update dependency eslint to v8.19.0 ([#1336](https://github.com/christophehurpeau/pob/issues/1336)) ([47fe9d6](https://github.com/christophehurpeau/pob/commit/47fe9d6180fb27dd6d1acb00dc412f8b6f7e19b4))
25
+ * **deps:** update dependency eslint to v8.20.0 ([#1349](https://github.com/christophehurpeau/pob/issues/1349)) ([de37cf8](https://github.com/christophehurpeau/pob/commit/de37cf8d7cc90ffcee040e4dac872bade940497b))
26
+ * **deps:** update dependency eslint to v8.21.0 ([#1361](https://github.com/christophehurpeau/pob/issues/1361)) ([04ff2df](https://github.com/christophehurpeau/pob/commit/04ff2dfb7074a31de75015bf22ffd3d0983b9f39))
27
+ * **deps:** update dependency prettier to v2.7.0 ([#1318](https://github.com/christophehurpeau/pob/issues/1318)) ([ee2d9f3](https://github.com/christophehurpeau/pob/commit/ee2d9f313d0be390dd68e83112998960f7517792))
28
+ * **deps:** update yeoman group ([#1358](https://github.com/christophehurpeau/pob/issues/1358)) ([fdc8bfb](https://github.com/christophehurpeau/pob/commit/fdc8bfb88c84312bf9597003f30cbd528359551e))
29
+ * **pob:** add missing stuff in npmignore ([1748198](https://github.com/christophehurpeau/pob/commit/1748198e70ebae2f9825ad5a4e02ade7e1973eb8))
30
+ * remove lerna-light in pob-monorepo-test-repository ([7e5c34c](https://github.com/christophehurpeau/pob/commit/7e5c34c3c865b70c4c9330d2f466231c80a329ac))
31
+ * remove standard-version ([9ced070](https://github.com/christophehurpeau/pob/commit/9ced070767e6b9ab04f61cd80496a76b6de1d594))
32
+
33
+
34
+
35
+
36
+
6
37
  # [10.16.0](https://github.com/christophehurpeau/pob/compare/pob@10.15.0...pob@10.16.0) (2022-05-31)
7
38
 
8
39
 
@@ -7,7 +7,9 @@ import run from 'pob-babel/plugin-run.cjs';
7
7
  const watch = process.env.ROLLUP_WATCH === 'true';
8
8
 
9
9
  export default createRollupConfig({
10
- cwd: new URL('.', import.meta.url).pathname,
10
+ cwd: new URL('.', import.meta.url).pathname.slice(
11
+ process.platform === 'win32' ? 1 : 0,
12
+ ),
11
13
  outDirectory: 'build',
12
14
  plugins: [
13
15
  <% if (config) { -%>
@@ -45,7 +45,6 @@ export default class CommonReleaseGenerator extends Generator {
45
45
  pkg.name === 'pob-dependencies' ? null : 'preversion',
46
46
  ]);
47
47
  } else {
48
- packageUtils.addDevDependencies(pkg, ['standard-version']);
49
48
  packageUtils.addScripts(pkg, {
50
49
  release:
51
50
  "repository-check-dirty && yarn preversion && standard-version -a -m 'chore(release): %s [skip ci]' && git push --follow-tags origin master && npm publish",
@@ -6,7 +6,8 @@
6
6
  "declaration": true,
7
7
  "declarationMap": true,
8
8
  "emitDeclarationOnly": true,
9
- "outDir": "dist"<% if(composite) { -%>,
9
+ "outDir": "dist",
10
+ "newLine": "lf"<% if(composite) { -%>,
10
11
  "composite": true,
11
12
  "tsBuildInfoFile": "dist/tsbuildinfo"
12
13
  <% } -%>
@@ -1,4 +1,7 @@
1
1
  <% if (!inLerna && ci) { -%>
2
+ /.husky
3
+ <% } -%>
4
+ <% if (!inLerna) { -%>
2
5
  /.github
3
6
  <% } -%>
4
7
  <% if (!inLerna && codeclimate) { -%>
@@ -10,9 +13,12 @@
10
13
  /samples
11
14
  /test
12
15
  /*.config.js
16
+ /*.config.cjs
17
+ /*.config.mjs
13
18
  <% if (babel) { -%>
14
19
  /tsconfig.json
15
20
  /tsconfig.build.json
21
+ /tsconfig.eslint.json
16
22
  /dist/tsbuildinfo
17
23
  <% if (typedoc) { -%>
18
24
  /tsconfig.doc.json
@@ -21,6 +27,7 @@ babel.config.json
21
27
  <% } -%>
22
28
  <% if (testing) { -%>
23
29
  __snapshots__
30
+ /coverage
24
31
  <% } -%>
25
32
  .yo-rc.json
26
33
  <% if (!inLerna) { -%>
@@ -1,5 +1,7 @@
1
1
  import { createCheckPackageWithWorkspaces } from 'check-package-dependencies';
2
2
 
3
- createCheckPackageWithWorkspaces().checkRecommended({
4
- isLibrary: () => true,
5
- });
3
+ await createCheckPackageWithWorkspaces()
4
+ .checkRecommended({
5
+ isLibrary: () => true,
6
+ })
7
+ .run();
@@ -140,7 +140,7 @@ export default class MonorepoLernaGenerator extends Generator {
140
140
 
141
141
  if (pkg.name === 'pob-monorepo') {
142
142
  pkg.devDependencies['@pob/lerna-light'] = 'workspace:*';
143
- } else {
143
+ } else if (pkg.name !== 'pob-monorepo-test-repository') {
144
144
  packageUtils.addDevDependencies(pkg, ['@pob/lerna-light']);
145
145
  }
146
146
 
@@ -8,6 +8,7 @@ import {
8
8
  pobEslintConfigTypescript,
9
9
  pobEslintConfigTypescriptReact,
10
10
  } from './dependenciesPackages.cjs';
11
+ import pobPkg from './packagejson.cjs';
11
12
 
12
13
  export { default as parseAuthor } from 'parse-author';
13
14
 
@@ -103,6 +104,12 @@ const getVersionFromDependencyName = (dependency) => {
103
104
  ) {
104
105
  return pobEslintConfigTypescript.dependencies[dependency];
105
106
  }
107
+
108
+ // prevents cycle that lerna doesnt like
109
+ if (dependency === '@pob/root') {
110
+ return pobPkg.devDependencies[dependency];
111
+ }
112
+
106
113
  return pobDependencies[dependency];
107
114
  };
108
115
 
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = require('../../package.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "10.16.0",
3
+ "version": "10.17.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -41,13 +41,13 @@
41
41
  "dependencies": {
42
42
  "@lerna/package-graph": "^5.0.0",
43
43
  "@lerna/project": "^5.0.0",
44
- "@pob/eslint-config": "49.1.0",
45
- "@pob/eslint-config-typescript": "49.3.0",
46
- "@pob/eslint-config-typescript-react": "49.3.1",
44
+ "@pob/eslint-config": "49.3.2",
45
+ "@pob/eslint-config-typescript": "49.3.3",
46
+ "@pob/eslint-config-typescript-react": "49.3.2",
47
47
  "@pob/sort-eslint-config": "^3.0.1",
48
48
  "@pob/sort-object": "^4.0.1",
49
49
  "@pob/sort-pkg": "^4.0.1",
50
- "eslint": "8.16.0",
50
+ "eslint": "8.21.0",
51
51
  "findup-sync": "^5.0.0",
52
52
  "git-remote-url": "^1.0.1",
53
53
  "github-username": "^6.0.0",
@@ -61,11 +61,14 @@
61
61
  "mem-fs-editor": "9.4.0",
62
62
  "minimist": "1.2.6",
63
63
  "parse-author": "2.0.0",
64
- "pob-dependencies": "6.26.0",
65
- "prettier": "2.6.2",
64
+ "pob-dependencies": "6.29.0",
65
+ "prettier": "2.7.1",
66
66
  "semver": "7.3.7",
67
- "yeoman-environment": "3.9.1",
68
- "yeoman-generator": "5.6.1"
67
+ "yeoman-environment": "3.10.0",
68
+ "yeoman-generator": "5.7.0"
69
69
  },
70
- "gitHead": "6e909141a6d1ee895cfc0dfa6686512cfd7ba409"
70
+ "devDependencies": {
71
+ "@pob/root": "6.21.0"
72
+ },
73
+ "gitHead": "0811da6a1ea580a7ec970cd15b678d450615f989"
71
74
  }