Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5ecc0e3
chore: use internal npm mirror registry in ADO pipeline
Jun 17, 2026
1cb8d99
chore: use checked-in npmrc files in release pipeline
Jun 17, 2026
c3cd9a2
fix: use valid .npmrc paths for npmAuthenticate task
Jun 17, 2026
3a8230a
just install
pavelglac Jun 17, 2026
f1f9c99
yarn config set
pavelglac Jun 17, 2026
7e1e24d
update yarn
pavelglac Jun 17, 2026
691f88d
fix
pavelglac Jun 17, 2026
b5982df
just install 2
pavelglac Jun 17, 2026
1f9bc11
enable corepack
pavelglac Jun 17, 2026
28a27fe
try
pavelglac Jun 17, 2026
7be175a
try 2
pavelglac Jun 17, 2026
e57fe9e
idk
pavelglac Jun 17, 2026
687c0f7
idk 3
pavelglac Jun 18, 2026
8ace9a3
idk 3
pavelglac Jun 18, 2026
ebd513e
idk 3
pavelglac Jun 18, 2026
2c5e21a
idk 3
pavelglac Jun 18, 2026
44d7159
ai
pavelglac Jun 18, 2026
537c9e2
ai 3
pavelglac Jun 18, 2026
8740c70
ai 3
pavelglac Jun 18, 2026
aedf0bc
use correct registry
pavelglac Jun 18, 2026
1d8817d
x
pavelglac Jun 18, 2026
20816f1
x
pavelglac Jun 18, 2026
3ec296e
Merge branch 'pavelglac/ado-pipeline-npm-mirror-registry' of https://…
pavelglac Jun 18, 2026
678142d
x
pavelglac Jun 18, 2026
03dc551
idk
pavelglac Jun 18, 2026
16e958d
a
pavelglac Jun 18, 2026
015645e
yarn
pavelglac Jun 18, 2026
c46a441
disable corepack
pavelglac Jun 18, 2026
b962048
test 2
pavelglac Jun 19, 2026
ce26e31
x
pavelglac Jun 19, 2026
2e00989
remove patch
pavelglac Jun 19, 2026
99d8030
x
pavelglac Jun 19, 2026
de34def
a
pavelglac Jun 19, 2026
7a338c7
fixies
pavelglac Jun 19, 2026
f155dc2
q
pavelglac Jun 19, 2026
6fc4fc9
bump
pavelglac Jun 19, 2026
41f2e8a
revert changes
pavelglac Jun 19, 2026
5f042e0
i
pavelglac Jun 19, 2026
111927d
do not release to the npm
pavelglac Jun 19, 2026
393ff80
x2
pavelglac Jun 19, 2026
aa194ee
x3
pavelglac Jun 19, 2026
9720770
git 2
pavelglac Jun 19, 2026
81542ff
x3
pavelglac Jun 19, 2026
b032a17
e
pavelglac Jun 19, 2026
b4d6e5f
o
pavelglac Jun 21, 2026
ae35e6c
r
pavelglac Jun 22, 2026
bc313a2
q
pavelglac Jun 22, 2026
6c62852
block network
pavelglac Jun 22, 2026
cdb3e21
e
pavelglac Jun 22, 2026
b5aef59
release to the ado
pavelglac Jun 22, 2026
4f4d7e8
remove comments
pavelglac Jun 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions .azure-devops/graphitation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ variables:
value: ade7d667-42f5-485a-91a9-f1dc6482a9b0
- name: adoNpmFeedBaseUrl
value: https://pkgs.dev.azure.com/DomoreexpGithub/_packaging/GraphQL/npm/registry/
- name: adoMirrorNpmFeedBaseUrl
value: https://pkgs.dev.azure.com/DomoreexpGithub/Github_Pipelines/_packaging/github-npm-mirror/npm/registry/

resources:
repositories:
Expand All @@ -22,6 +24,8 @@ extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates

parameters:
# settings:
# networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool:
name: Azure-Pipelines-1ESPT-ExDShared
Expand All @@ -46,16 +50,37 @@ extends:
steps:
- checkout: self
persistCredentials: true # fix for beachball: https://github.com/microsoft/beachball/issues/674
fetchDepth: 2
- script: yarn
- script: |
cat <<'EOF' > "$(Agent.TempDirectory)/npm-mirror.npmrc"
always-auth=true
registry=$(adoMirrorNpmFeedBaseUrl)
EOF
displayName: Create temporary .npmrc for mirror feed
- task: npmAuthenticate@0
inputs:
workingFile: "$(Agent.TempDirectory)/npm-mirror.npmrc"
- script: |
TOKEN=$(grep '_authToken' "$(Agent.TempDirectory)/npm-mirror.npmrc" | head -1 | cut -d'=' -f2)
echo "##vso[task.setvariable variable=NPM_TOKEN;issecret=true]$TOKEN"
displayName: Extract token from .npmrc
- script: |
yarn config set npmAlwaysAuth true
yarn config set npmRegistryServer $(adoMirrorNpmFeedBaseUrl)
displayName: Configure yarn for ADO npm feed
- script: yarn install
displayName: yarn
env:
YARN_NPM_AUTH_TOKEN: $(NPM_TOKEN)
NPM_CONFIG_USERCONFIG: $(Agent.TempDirectory)/npm-mirror.npmrc
- script: |
yarn ci
displayName: build and test [test]
env:
NPM_CONFIG_USERCONFIG: $(Agent.TempDirectory)/npm-mirror.npmrc
- script: |
git config user.email "gql-svc@microsoft.com"
git config user.name "Graphitation Service Account"
git fetch --depth=2
git fetch origin main
displayName: Configure git for release
- script: |
releaseBranch="origin/${BUILD_SOURCEBRANCH#refs/heads/}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/forest-run-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Clone caches
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn install --immutable
- run: yarn ci
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ examples/apollo-watch-fragments/public/bundle.js

examples/supermassive-todomvc/**/*.d.ts*
relay-preload-hooks.ts

# Yarn Berry install state cache
.yarn/install-state.gz
944 changes: 944 additions & 0 deletions .yarn/releases/yarn-4.17.0.cjs

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
approvedGitRepositories:
- "**"

enableScripts: true

nodeLinker: node-modules

npmMinimalAgeGate: 0

yarnPath: .yarn/releases/yarn-4.17.0.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/apollo-forest-run",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/apollo-mock-client",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/apollo-react-relay-duct-tape-compiler",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/apollo-react-relay-duct-tape",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/cli",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/embedded-document-artefact-loader",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-near-operation-file-preset-with-resolver-metadata",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-resolvers-models",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-supermassive-schema-extraction-plugin",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-supermassive-typed-document-node-plugin",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-typescript-operations",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-codegen-typescript-typemap-plugin",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-eslint-rules",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-js-operation-payload-generator",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/graphql-js-tag",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/rempl-apollo-devtools",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/supermassive",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/supermassive-extractors",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/ts-codegen",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/ts-transform-graphql-js-tag",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "yarn upgrade",
"packageName": "@graphitation/webpack-loader",
"email": "pavelglac@gmail.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion examples/supermassive-todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"yargs-parser": ">=13.1.2"
},
"devDependencies": {
"@graphitation/webpack-loader": "^1.1.25",
"@graphql-codegen/cli": "^2.2.2",
"@graphql-codegen/import-types-preset": "^2.1.7",
"@graphql-codegen/typescript": "^2.3.0",
Expand All @@ -58,7 +59,6 @@
"@types/uuid": "^8.3.1",
"graphql-let": "^0.18.5",
"prettier": "^2.8.7",
"@graphitation/webpack-loader": "^1.1.25",
"typescript": "^5.5.3",
"webpack-dev-server": "^4.13.3"
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "monorepo-template",
"private": true,
"packageManager": "yarn@4.17.0",
"workspaces": {
"packages": [
"examples/*",
Expand Down Expand Up @@ -50,4 +51,4 @@
"immutable": "~3.8.3",
"lodash": "^4.18.1"
}
}
}
1 change: 1 addition & 0 deletions packages/apollo-forest-run-benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"devDependencies": {
"@types/node": "*",
"monorepo-scripts": "*",
"typescript": "^5.5.3"
},
"dependencies": {
Expand Down
7 changes: 3 additions & 4 deletions packages/apollo-forest-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"just": "monorepo-scripts"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@apollo/client": ">= 3.3.0 < 3.7.0",
"@types/jest": "^26.0.22",
"graphql": "^15.0.0",
"lodash": "^4.17.21",
"monorepo-scripts": "*",
Expand All @@ -45,9 +45,8 @@
"README.md",
"CHANGELOG.md"
],
"dependencies": {},
"peerDependencies": {
"graphql": "^15.0.0 || ^16.0.0 || ^17.0.0",
"@apollo/client": ">= 3.6.0 < 3.7.0"
"@apollo/client": ">= 3.6.0 < 3.7.0",
"graphql": "^15.0.0 || ^16.0.0 || ^17.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/apollo-mock-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"devDependencies": {
"@apollo/client": ">= 3.3.0 < 3.7.0",
"@graphitation/graphql-js-tag": "^0.11.0",
"@graphitation/graphql-js-operation-payload-generator": "^0.13.1",
"@graphitation/graphql-js-tag": "^0.11.0",
"@types/invariant": "^2.2.34",
"@types/jest": "^26.0.22",
"@types/react": "^18.2.29",
Expand Down
6 changes: 3 additions & 3 deletions packages/apollo-react-relay-duct-tape-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
"@types/dedent": "^0.7.0",
"@types/jest": "^26.0.22",
"@types/relay-compiler": "^8.0.0",
"@types/yargs": "^17.0.13",
"dedent": "^0.7.0",
"graphql": "^15.0.0",
"monorepo-scripts": "*",
"relay-test-utils": "^12.0.0",
"relay-test-utils-internal": "^12.0.0",
"ts-node": "^10.4.0",
"typescript": "^5.5.3",
"@types/yargs": "^17.0.13"
"typescript": "^5.5.3"
},
"peerDependencies": {
"graphql": "^15.0.0",
"@graphitation/supermassive": "^3.17.0",
"graphql": "^15.0.0",
"typescript": "^5.5.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-react-relay-duct-tape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"devDependencies": {
"@apollo/client": ">= 3.3.0 < 3.7.0",
"@graphitation/apollo-mock-client": "^0.13.0",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.9.7",
"@graphitation/graphql-js-operation-payload-generator": "^0.13.1",
"@graphitation/graphql-js-tag": "^0.11.0",
"@types/jest": "^26.0.22",
Expand All @@ -30,7 +31,6 @@
"graphql": "^15.0.0",
"monorepo-scripts": "*",
"react": "^18.2.0",
"@graphitation/apollo-react-relay-duct-tape-compiler": "^1.9.7",
"ts-expect": "^1.3.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"devDependencies": {
"@types/jest": "^26.0.22",
"typescript": "^5.5.3",
"monorepo-scripts": "*"
"monorepo-scripts": "*",
"typescript": "^5.5.3"
},
"dependencies": {
"@graphitation/supermassive-extractors": "^2.3.0",
Expand Down
Loading
Loading