Skip to content

Commit

Permalink
Merge pull request #20025 from storybookjs/tech/upgrade-yarn
Browse files Browse the repository at this point in the history
upgrade yarn
  • Loading branch information
ndelangen authored Nov 30, 2022
2 parents a7b54ca + 52f7825 commit 98262c5
Show file tree
Hide file tree
Showing 20 changed files with 485 additions and 1,245 deletions.
554 changes: 280 additions & 274 deletions .yarn/releases/yarn-3.2.4.cjs → .yarn/releases/yarn-3.3.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ installStatePath: ./.yarn/root-install-state.gz

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.4.cjs
yarnPath: .yarn/releases/yarn-3.3.0.cjs
783 changes: 0 additions & 783 deletions code/.yarn/releases/yarn-3.2.3.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion code/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ plugins:
unsafeHttpWhitelist:
- localhost

yarnPath: ../.yarn/releases/yarn-3.2.4.cjs
yarnPath: ../.yarn/releases/yarn-3.3.0.cjs
installStatePath: '../.yarn/code-install-state.gz'
3 changes: 3 additions & 0 deletions code/addons/interactions/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["testing-library__jest-dom"]
},
"include": ["src/**/*"]
}
3 changes: 2 additions & 1 deletion code/addons/links/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": true
"strict": true,
"types": ["testing-library__jest-dom"]
},
"include": ["src/**/*"]
}
3 changes: 2 additions & 1 deletion code/addons/storyshots/storyshots-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"declaration": true,
"jsx": "preserve",
"skipLibCheck": true,
"skipDefaultLibCheck": true
"skipDefaultLibCheck": true,
"types": ["jest", "testing-library__jest-dom"]
},
"include": ["src/**/*.ts"]
}
3 changes: 2 additions & 1 deletion code/lib/client-logger/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": true
"strict": true,
"types": ["node", "jest"]
},
"include": ["src/**/*"]
}
3 changes: 3 additions & 0 deletions code/lib/postinstall/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["node"]
},
"include": ["src/**/*"]
}
2 changes: 1 addition & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
"verdaccio": "^4.10.0",
"verdaccio-auth-memory": "^9.7.2"
},
"packageManager": "yarn@3.2.4",
"packageManager": "yarn@3.3.0",
"engines": {
"node": ">=10.13.0",
"yarn": ">=1.3.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`react component properties 8428-js-static-prop-types 1`] = `
"function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
"function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(arg) { var key = _toPrimitive(arg, \\"string\\"); return typeof key === \\"symbol\\" ? key : String(key); }
function _toPrimitive(input, hint) { if (typeof input !== \\"object\\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \\"default\\"); if (typeof res !== \\"object\\") return res; throw new TypeError(\\"@@toPrimitive must return a primitive value.\\"); } return (hint === \\"string\\" ? String : Number)(input); }
/* eslint-disable react/no-unused-prop-types */
/* eslint-disable react/require-default-props */
import React from 'react';
Expand Down
3 changes: 2 additions & 1 deletion code/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"isolatedModules": true,
"strictBindCallApply": true,
"lib": ["dom", "esnext"],
"noUnusedLocals": true
"noUnusedLocals": true,
"types": ["jest"]
},
"exclude": ["dist", "**/dist", "node_modules", "**/node_modules", "**/setup-jest.ts"],
"ts-node": {
Expand Down
1 change: 1 addition & 0 deletions code/ui/components/src/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
declare module 'global';
declare module 'markdown-to-jsx';
declare module '*.md';
declare module '*.mdx';
4 changes: 3 additions & 1 deletion code/ui/components/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {},
"compilerOptions": {
"types": ["react-syntax-highlighter", "jest"]
},
"include": ["src/**/*"]
}
4 changes: 3 additions & 1 deletion code/ui/manager/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {},
"compilerOptions": {
"types": ["testing-library__jest-dom"]
},
"include": ["src/**/*"]
}
Loading

0 comments on commit 98262c5

Please sign in to comment.