Skip to content

Commit dfe43a6

Browse files
Omar Qureshiclaude
andcommitted
chore: self-publishing scaffolding (fork compiler, GitHub Packages)
Everything needed to build and publish this branch while aws/jsii-compiler#2663 is unreleased — kept out of the upstream-facing ruby-language-bindings branch: - root resolutions pin: jsii -> patch:@omarqureshi/jsii (fork compiler with the targets.ruby schema) + the findPackageJsonUp patch - jsii-rosetta patch skipping the (not yet released) ruby translator - .yarnrc.yml: @omarqureshi scope on npm.pkg.github.com, age gate off - CI: NODE_AUTH_TOKEN + packages: read for GitHub Packages installs - align-version.sh: ignore the fork pin's >=0.0.0-0 range syntax - root typescript >=6.0.x + jsii-pacmak devDep; jsii-calc workspace devDeps for pacmak --recurse This branch is what omarqureshi/blog consumes. Rebase it onto ruby-language-bindings whenever that moves; this commit is the only delta. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 111e3b4 commit dfe43a6

24 files changed

Lines changed: 264 additions & 104 deletions

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
env:
1010
DOTNET_NOLOGO: true
1111
NODE_OPTIONS: --max-old-space-size=4096
12+
# .yarnrc.yml reads this to authenticate against npm.pkg.github.com for the
13+
# @omarqureshi scope (GitHub Packages requires auth even for public
14+
# packages). Jobs that run `yarn install` also need `packages: read`.
15+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1216
# This workflows currently has the following jobs:
1317
# - build : Builds the source tree as-is
1418
# - test : Runs all unit tests against the build result
@@ -19,6 +23,7 @@ jobs:
1923
name: Build
2024
permissions:
2125
contents: read
26+
packages: read
2227
runs-on: ubuntu-latest
2328
steps:
2429
# Check out the code
@@ -107,6 +112,7 @@ jobs:
107112
name: Create Release Package
108113
permissions:
109114
contents: read
115+
packages: read
110116
runs-on: ubuntu-latest
111117
steps:
112118
# Check out the code
@@ -192,6 +198,7 @@ jobs:
192198
test:
193199
permissions:
194200
contents: none
201+
packages: read
195202
name: Test (${{ matrix.title }})
196203
needs: build
197204
strategy:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Helps with using npm package-locally, while in a yarn workflow (avoids coupling scripts to yarn).
22
# This is needed because yarn goes out of it's way to ensure it controls what `node` binary is used (for good!)
33
scripts-prepend-node-path=auto
4+
@omarqureshi:registry=https://npm.pkg.github.com

0 commit comments

Comments
 (0)