Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
chore: update yarn=4.0.0-rc.2 typescript=4.6.3 (#2741)
Browse files Browse the repository at this point in the history
* chore: update yarn=4.0.0-rc.2 typescript=4.6.3

* fix(webmonetization-wext): alias Document['visibilityState']

* feat(ci): run yarn dlx @yarnpkg/sdks vscode

* chore: log the node version

* fix: set jest maxWorkers=1 to workaround nodejs/node#41134

* fix: properly pass args after --

* fix: run yarn dedupe

* fix: better method of configuring 1 jest worker

* fix: jest validates config, must be number or string

* feat: use node 18 and 16 LTS

* feat: use cimg/*

* feat: use specific version

* feat: remove maxWorkers workaround
  • Loading branch information
sublimator authored Apr 25, 2022
1 parent b288a76 commit b3a5e59
Show file tree
Hide file tree
Showing 31 changed files with 50,526 additions and 52,165 deletions.
27 changes: 15 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
enum: ["https://coil.com", "https://staging.coil.com"]

commands:
gcloud-get-creds:
gcloud-get-creds:
description: 'Get deploy credentials to Google Cloud'
steps:
- run:
Expand All @@ -30,15 +30,15 @@ references:
node-version:
type: string
docker:
- image: circleci/node:<< parameters.node-version >>-buster-browsers
- image: cimg/node:<< parameters.node-version >>-browsers
node-version-matrix: &node-version-matrix
matrix:
parameters:
node-version: [ "14", "16" ]
node-version: [ "16.14.2", "18.0.0" ]
just-one-node-version-matrix: &just-latest-lts-node-version
matrix:
parameters:
node-version: [ "16" ]
node-version: [ "16.14.2" ]

jobs:
# Run Linting
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

build-extension-e2e-coil:
docker:
- image: circleci/node:16-buster-browsers
- image: cimg/node:16.14.2-browsers
steps:
- gcloud-get-creds
- checkout
Expand All @@ -113,10 +113,10 @@ jobs:
mkdir /tmp/coil-chrome-ext-e2e-staging
tar -cvzf /tmp/coil-chrome-ext-e2e-staging/chromeext.tar dist
gsutil cp /tmp/coil-chrome-ext-e2e-staging/chromeext.tar gs://web-monetization-projects/extension/latest.tar
publish-packages:
docker:
- image: circleci/node:14-buster-browsers
- image: cimg/node:14-browsers
steps:
- checkout
- *restore_cache
Expand Down Expand Up @@ -241,12 +241,15 @@ jobs:
node-version:
type: string
docker:
- image: circleci/node:<< parameters.node-version >>-buster-browsers
- image: cimg/node:<< parameters.node-version >>-browsers
resource_class: large
steps:
- run:
name: echo TESTING_ENV_VAR $TESTING_ENV_VAR should be masked
command: echo TESTING_ENV_VAR $TESTING_ENV_VAR
command: |
echo TESTING_ENV_VAR $TESTING_ENV_VAR
# check the node version
node --version
- checkout
- *restore_cache
- *yarn_install
Expand Down Expand Up @@ -274,7 +277,7 @@ jobs:
node-version:
type: string
docker:
- image: circleci/node:<< parameters.node-version >>-buster-browsers
- image: cimg/node:<< parameters.node-version >>-browsers
resource_class: xlarge
steps:
- checkout
Expand Down Expand Up @@ -373,7 +376,7 @@ workflows:
matrix:
parameters:
# TODO: DRY it up
node-version: [ "14", "16" ]
node-version: [ "16.14.2", "18.0.0" ]
command: [ "test:coverage", "test:e2e:coverage" ]
- jest-lerna-all:
context: web-monetization-tests
Expand All @@ -383,7 +386,7 @@ workflows:
ignore: /pull\/[0-9]+/
matrix:
parameters:
node-version: [ "14", "16" ]
node-version: [ "16.14.2", "18.0.0" ]
command: [ "test:coverage", "test:e2e:coverage" ]
- coil-extension-puppeteer:
context: web-monetization-tests
Expand Down
84,564 changes: 41,453 additions & 43,111 deletions .pnp.cjs

Large diffs are not rendered by default.

46 changes: 34 additions & 12 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

768 changes: 0 additions & 768 deletions .yarn/releases/yarn-3.1.1.cjs

This file was deleted.

779 changes: 779 additions & 0 deletions .yarn/releases/yarn-4.0.0-rc.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarn/sdks/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "4.5.5-sdk",
"version": "4.6.3-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}
3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ plugins:
- ./commands/yarn/tsconfig-paths-plugin.js
- ./commands/yarn/check-node-version.js

yarnPath: .yarn/releases/yarn-3.1.1.cjs
yarnPath: .yarn/releases/yarn-4.0.0-rc.2.cjs

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand All @@ -97,5 +97,5 @@
"engines": {
"node": ">= 14.0.0"
},
"packageManager": "yarn@3.1.1"
"packageManager": "yarn@4.0.0-rc.2"
}
2 changes: 1 addition & 1 deletion packages/coil-anonymous-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"web-ext": "6.8.0",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-monorepo-upkeep/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-oauth-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-polyfill-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-privacypass-sjcl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-puppeteer-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-webpack-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/coil-wm-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/dier-makr-annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/dier-makr-inversify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/interledger-minute-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"web-ext": "6.8.0",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/stacktracejs-stacktrace-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/webexts-build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/webmonetization-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/webmonetization-polyfill-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/webmonetization-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"tsconfig-paths": "3.14.1",
"typescript": "4.5.5",
"typescript": "^4.6.3",
"webpack": "5.72.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.2",
Expand Down
Loading

1 comment on commit b3a5e59

@vercel
Copy link

@vercel vercel bot commented on b3a5e59 Apr 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.