@pixpilot/scaffoldfy-configs 0.48.3 → 0.48.5

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
@@ -1,5 +1,18 @@
1
1
  # @pixpilot/scaffoldfy-configs
2
2
 
3
+ ## 0.48.5
4
+
5
+ ### Patch Changes
6
+
7
+ - specify secrets for CI to avoid 401 errors
8
+
9
+ ## 0.48.4
10
+
11
+ ### Patch Changes
12
+
13
+ - pass registry token to release installs
14
+ - 3fc21c9: fix(pixpilot-changesets-release): pass secrets to the reusable CI workflow and the registry token to the GitHub Packages release install, so `@pixpilot-private` dependencies no longer fail with a 401
15
+
3
16
  ## 0.48.3
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/scaffoldfy-configs",
3
3
  "type": "module",
4
- "version": "0.48.3",
4
+ "version": "0.48.5",
5
5
  "author": "PixPilot <m.doaie@hotmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -29,11 +29,11 @@
29
29
  "devDependencies": {
30
30
  "@types/node": "^22.18.11",
31
31
  "eslint": "^9.38.0",
32
+ "@internal/prettier-config": "0.0.1",
32
33
  "@internal/tsdown-config": "0.1.0",
33
- "@internal/vitest-config": "0.1.0",
34
- "@pixpilot/scaffoldfy": "0.58.0",
35
34
  "@internal/eslint-config": "0.3.0",
36
- "@internal/prettier-config": "0.0.1"
35
+ "@internal/vitest-config": "0.1.0",
36
+ "@pixpilot/scaffoldfy": "0.58.0"
37
37
  },
38
38
  "prettier": "@internal/prettier-config",
39
39
  "publishConfig": {
@@ -13,6 +13,10 @@ jobs:
13
13
  ci:
14
14
  name: Run CI Checks
15
15
  uses: ./.github/workflows/ci.yml
16
+ # Called workflows get no secrets unless passed; without this the CI
17
+ # install runs with an empty PIXPILOT_PRIVATE_REGISTRY_TOKEN and 401s.
18
+ secrets:
19
+ PIXPILOT_PRIVATE_REGISTRY_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
16
20
 
17
21
  release:
18
22
  name: Create Release and Publish
@@ -49,6 +53,11 @@ jobs:
49
53
 
50
54
  - name: Setup project
51
55
  uses: pixpilot/github-actions/setup-pnpm-project@v1
56
+ env:
57
+ # setup-node's .npmrc reads ${NODE_AUTH_TOKEN}; it is needed to install
58
+ # @pixpilot-private dependencies. npm-auth-token would not work here:
59
+ # it writes ~/.npmrc, which setup-node's NPM_CONFIG_USERCONFIG shadows.
60
+ NODE_AUTH_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
52
61
  with:
53
62
  registry-url: 'https://npm.pkg.github.com'
54
63
  # setup-node defaults the scope to the repository owner. Left to that
@@ -13,6 +13,10 @@ jobs:
13
13
  ci:
14
14
  name: Run CI Checks
15
15
  uses: ./.github/workflows/ci.yml
16
+ # Called workflows get no secrets unless passed; without this a CI that
17
+ # installs private packages runs with an empty registry token and 401s.
18
+ secrets:
19
+ PIXPILOT_PRIVATE_REGISTRY_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
16
20
 
17
21
  release:
18
22
  name: Create Release and Publish