@pixpilot/scaffoldfy-configs 0.48.3 → 0.48.4

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,12 @@
1
1
  # @pixpilot/scaffoldfy-configs
2
2
 
3
+ ## 0.48.4
4
+
5
+ ### Patch Changes
6
+
7
+ - pass registry token to release installs
8
+ - 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
9
+
3
10
  ## 0.48.3
4
11
 
5
12
  ### 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.4",
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,9 @@ 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: inherit
16
19
 
17
20
  release:
18
21
  name: Create Release and Publish
@@ -49,6 +52,11 @@ jobs:
49
52
 
50
53
  - name: Setup project
51
54
  uses: pixpilot/github-actions/setup-pnpm-project@v1
55
+ env:
56
+ # setup-node's .npmrc reads ${NODE_AUTH_TOKEN}; it is needed to install
57
+ # @pixpilot-private dependencies. npm-auth-token would not work here:
58
+ # it writes ~/.npmrc, which setup-node's NPM_CONFIG_USERCONFIG shadows.
59
+ NODE_AUTH_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
52
60
  with:
53
61
  registry-url: 'https://npm.pkg.github.com'
54
62
  # setup-node defaults the scope to the repository owner. Left to that
@@ -13,6 +13,9 @@ 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: inherit
16
19
 
17
20
  release:
18
21
  name: Create Release and Publish