pob 10.19.0 → 10.20.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,31 @@
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.20.0](https://github.com/christophehurpeau/pob/compare/pob@10.19.0...pob@10.20.0) (2022-10-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update dependency eslint to v8.23.1 ([#1395](https://github.com/christophehurpeau/pob/issues/1395)) ([3a80c50](https://github.com/christophehurpeau/pob/commit/3a80c501ee492bf248304529488e71feb8154ff4))
12
+ * **deps:** update dependency semver to v7.3.8 ([#1417](https://github.com/christophehurpeau/pob/issues/1417)) ([b9d4913](https://github.com/christophehurpeau/pob/commit/b9d4913b70e930d02a59c5ae753688fd08954f12))
13
+ * **deps:** update dependency yeoman-environment to v3.11.1 ([#1405](https://github.com/christophehurpeau/pob/issues/1405)) ([bea37d3](https://github.com/christophehurpeau/pob/commit/bea37d39d2707b4eff73b1bc99b3750d35c35e23))
14
+ * disable husky when commiting release ([8239cea](https://github.com/christophehurpeau/pob/commit/8239cea55adf2b624fe6f957ac8511245d3d9710))
15
+ * typedoc ci fix cache tsc ([5954146](https://github.com/christophehurpeau/pob/commit/5954146ab24942f792ca6deb11f00da58daa1605))
16
+ * use fileURLToPath ([94e5c56](https://github.com/christophehurpeau/pob/commit/94e5c56d91689205a938cb9c35d4a34eb03d3893))
17
+
18
+
19
+ ### Features
20
+
21
+ * better prettier config ([329d560](https://github.com/christophehurpeau/pob/commit/329d560594cade521e35a6f3237888db49f67b87))
22
+ * **deps:** update @pob/eslint-config to v49.4.0 ([#1390](https://github.com/christophehurpeau/pob/issues/1390)) ([a7db8f0](https://github.com/christophehurpeau/pob/commit/a7db8f09a0bee265458ce0f0fa2518fd46adcfbb))
23
+ * **deps:** update dependency eslint to v8.24.0 ([#1403](https://github.com/christophehurpeau/pob/issues/1403)) ([1c0d9e4](https://github.com/christophehurpeau/pob/commit/1c0d9e495292610235b9c6fbcb726f5e4cea586f))
24
+ * **deps:** update dependency yeoman-environment to v3.11.0 ([#1404](https://github.com/christophehurpeau/pob/issues/1404)) ([4f78cd4](https://github.com/christophehurpeau/pob/commit/4f78cd4f829aa88252e7f7617e5bfcf866c4842b))
25
+ * **deps:** update dependency yeoman-environment to v3.12.0 ([#1416](https://github.com/christophehurpeau/pob/issues/1416)) ([8256499](https://github.com/christophehurpeau/pob/commit/8256499ce99b7e6b2cb954a12580c6718cef9d10))
26
+
27
+
28
+
29
+
30
+
6
31
  # [10.19.0](https://github.com/christophehurpeau/pob/compare/pob@10.18.0...pob@10.19.0) (2022-09-04)
7
32
 
8
33
 
@@ -1,15 +1,15 @@
1
1
  <% if (config) { -%>
2
2
  import config from 'alp-rollup-plugin-config';
3
3
  <% } -%>
4
+ import { dirname } from 'path';
5
+ import { fileURLToPath } from 'url';
4
6
  import createRollupConfig from 'pob-babel/createRollupConfig.js';
5
7
  import run from 'pob-babel/plugin-run.cjs';
6
8
 
7
9
  const watch = process.env.ROLLUP_WATCH === 'true';
8
10
 
9
11
  export default createRollupConfig({
10
- cwd: new URL('.', import.meta.url).pathname.slice(
11
- process.platform === 'win32' ? 1 : 0,
12
- ),
12
+ cwd: dirname(fileURLToPath(import.meta.url)),
13
13
  outDirectory: 'build',
14
14
  plugins: [
15
15
  <% if (config) { -%>
@@ -1,7 +1,7 @@
1
+ import { dirname } from 'path';
2
+ import { fileURLToPath } from 'url';
1
3
  import createRollupConfig from 'pob-babel/createRollupConfig.js';
2
4
 
3
5
  export default createRollupConfig({
4
- cwd: new URL('.', import.meta.url).pathname.slice(
5
- process.platform === 'win32' ? 1 : 0,
6
- ),
6
+ cwd: dirname(fileURLToPath(import.meta.url)),
7
7
  });
@@ -125,12 +125,7 @@ export default class CommonLintGenerator extends Generator {
125
125
 
126
126
  delete pkg.standard;
127
127
 
128
- pkg.prettier = {
129
- trailingComma: 'all',
130
- singleQuote: true,
131
- // https://github.com/airbnb/javascript/pull/1863
132
- arrowParens: 'always',
133
- };
128
+ pkg.prettier = '@pob/root/prettier-config';
134
129
 
135
130
  if (!inLerna || inLerna.root || this.options.monorepo) {
136
131
  const rootIgnorePatterns = new Set(
@@ -18,6 +18,9 @@ jobs:
18
18
  run: yarn install --immutable --immutable-cache
19
19
 
20
20
  <% if (typedoc) { -%>
21
+ - name: Run tsc for tsc cache
22
+ run: yarn tsc
23
+
21
24
  - name: Generate Typedoc
22
25
  run: yarn typedoc --tsconfig tsconfig.doc.json
23
26
  <% } -%>
@@ -44,6 +44,7 @@ jobs:
44
44
  run: |
45
45
  yarn lerna version --yes --push --exact --conventional-commits --conventional-graduate --create-release=github -m 'chore: release [skip ci]'
46
46
  env:
47
+ HUSKY: 0
47
48
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
48
49
  YARN_ENABLE_IMMUTABLE_INSTALLS: false
49
50
  <% if (publish) { -%>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "10.19.0",
3
+ "version": "10.20.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -32,22 +32,18 @@
32
32
  "lint": "yarn run lint:eslint",
33
33
  "lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/pob"
34
34
  },
35
- "prettier": {
36
- "trailingComma": "all",
37
- "singleQuote": true,
38
- "arrowParens": "always"
39
- },
35
+ "prettier": "@pob/root/prettier-config",
40
36
  "pob": {},
41
37
  "dependencies": {
42
38
  "@lerna/package-graph": "^5.0.0",
43
39
  "@lerna/project": "^5.0.0",
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
- "@pob/sort-eslint-config": "^3.0.1",
48
- "@pob/sort-object": "^4.0.1",
49
- "@pob/sort-pkg": "^4.0.1",
50
- "eslint": "8.23.0",
40
+ "@pob/eslint-config": "49.4.0",
41
+ "@pob/eslint-config-typescript": "49.4.0",
42
+ "@pob/eslint-config-typescript-react": "49.4.0",
43
+ "@pob/sort-eslint-config": "3.1.0",
44
+ "@pob/sort-object": "4.1.0",
45
+ "@pob/sort-pkg": "4.1.0",
46
+ "eslint": "8.24.0",
51
47
  "findup-sync": "^5.0.0",
52
48
  "git-remote-url": "^1.0.1",
53
49
  "github-username": "^6.0.0",
@@ -61,14 +57,14 @@
61
57
  "mem-fs-editor": "9.5.0",
62
58
  "minimist": "1.2.6",
63
59
  "parse-author": "2.0.0",
64
- "pob-dependencies": "6.31.0",
60
+ "pob-dependencies": "6.32.0",
65
61
  "prettier": "2.7.1",
66
- "semver": "7.3.7",
67
- "yeoman-environment": "3.10.0",
62
+ "semver": "7.3.8",
63
+ "yeoman-environment": "3.12.0",
68
64
  "yeoman-generator": "5.7.0"
69
65
  },
70
66
  "devDependencies": {
71
- "@pob/root": "6.22.0"
67
+ "@pob/root": "6.23.0"
72
68
  },
73
- "gitHead": "40e2ebfeccd06b9124056bca8bf8f94fefa2fdd1"
69
+ "gitHead": "eeba016a9877a33eac8fde9ef79c49957308c394"
74
70
  }