Skip to content

Commit

Permalink
Switch to yarn from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWoolerton committed Mar 21, 2023
1 parent e5c5730 commit aa5780f
Show file tree
Hide file tree
Showing 9 changed files with 24,242 additions and 41,651 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ build/Release
# Dependency directories
node_modules/
jspm_packages/
.yarn/

# TypeScript v1 declaration files
typings/
Expand Down
6 changes: 3 additions & 3 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
// '@storybook/addon-links',
// '@storybook/addon-essentials',
// '@storybook/addon-interactions',
'@storybook/preset-create-react-app',
'@storybook/preset-scss',
],
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
27,887 changes: 0 additions & 27,887 deletions package-lock.json

This file was deleted.

14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,12 @@
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@mdx-js/react": "^1.6.22",
"@storybook/builder-webpack4": "^6.5.16",
"@storybook/manager-webpack4": "^6.5.16",
"@storybook/node-logger": "^6.5.16",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "0.0.13",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"autoprefixer": "^10.4.8",
"babel-plugin-inline-react-svg": "^1.1.1",
Expand All @@ -116,7 +111,8 @@
"postcss": "^8.4.16",
"prettier": "^2.0.5",
"react-hooks-testing-library": "^0.6.0",
"react-test-renderer": "^16.13.1"
"react-test-renderer": "^16.13.1",
"sass-loader": "^13.2.1"
},
"engines": {
"npm": ">=6.14.17",
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/forms/forms.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { FormTextField } from './';
import { FormTextField } from '.';

const component = FormTextField;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { Provider } from 'react-redux';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import Component from './';
import Component from '.';
import configureStore from '../../../../redux/setup/storeSetup';

const component = Component;
Expand Down
37,980 changes: 24,230 additions & 13,750 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit aa5780f

Please sign in to comment.