feat: finally migrated from yarn to *pnpm*

This commit is contained in:
Nishchit14
2022-12-16 22:32:05 +05:30
parent 64426d1772
commit a60142a882
11 changed files with 881 additions and 2767 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
public-hoist-pattern[]=*storybook*

View File

@@ -1,3 +0,0 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.2.3.cjs

View File

@@ -90,7 +90,6 @@
"ignore-loader": "^0.1.2",
"jest-css-modules": "^2.1.0",
"jest-css-modules-transform": "^4.4.2",
"lerna": "^5.4.3",
"lint-staged": "^12.3.7",
"node-polyfill-webpack-plugin": "^2.0.0",
"postcss-loader": "^6.2.1",
@@ -130,6 +129,10 @@
"ramda": "^0.28.0",
"react-file-drop": "^3.1.5"
},
"engines": {
"node": ">=16",
"pnpm": ">=7"
},
"bugs": {
"url": "https://github.com/firecamp.io/firecamp/issues"
},

View File

@@ -41,6 +41,7 @@
},
"dependencies": {
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/url": "^0.0.17",
"codemirror": "^5.63.0",
"codemirror-graphql": "^1.0.2",

View File

@@ -57,12 +57,15 @@
"@types/react-dom": "^17.0.13"
},
"dependencies": {
"@firecamp/agent-manager": "workspace:*",
"@firecamp/cloud-apis": "^0.1.5",
"@firecamp/cookie-manager": "^0.0.0",
"@firecamp/graphql": "workspace:*",
"@firecamp/rest": "workspace:*",
"@firecamp/socket.io": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/websocket": "workspace:*",
"@firecamp/url": "^0.0.17",
"@sentry/browser": "7.17.2",
"@sentry/tracing": "7.24.2",

View File

@@ -42,7 +42,9 @@
},
"dependencies": {
"@firecamp/curl-to-firecamp": "^0.0.10",
"@firecamp/rest-executor": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/url": "^0.0.17",
"@hapi/joi": "^17.1.1",
"aws4": "^1.11.0",

View File

@@ -40,7 +40,9 @@
"node": ">=10"
},
"dependencies": {
"@firecamp/socket.io-executor": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/url": "^0.0.17",
"classnames": "^2.1.3",
"deep-equal": "^1.1.0",

View File

@@ -41,7 +41,9 @@
},
"dependencies": {
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/url": "^0.0.17",
"@firecamp/ws-executor": "workspace:*",
"classnames": "^2.1.3",
"deep-equal": "^1.1.0",
"lodash": "^4.17.21",

View File

@@ -9,7 +9,7 @@ module.exports = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-jest'
'@storybook/addon-jest',
],
framework: '@storybook/react',
core: {
@@ -43,7 +43,7 @@ module.exports = {
test: /\.txt$/,
use: ['raw-loader'],
include: path.resolve(__dirname, '../'),
})
});
// config.resolve.alias = {
// ...config.resolve.alias,
@@ -57,6 +57,12 @@ module.exports = {
vscode: 'commonjs vscode', // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
};
// Alternately, for an alias:
config.resolve.alias = {
...config.resolve.alias,
'@components': path.resolve(__dirname, '..', 'src', 'components'),
};
return config;
},
};

View File

@@ -60,6 +60,7 @@
"@types/deep-equal": "^1.0.1",
"@types/markdown-it": "^12.2.3",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.2",
"@types/react-table": "^7.7.10",
"babel-jest": "^29.1.2",
"babel-loader": "^9.1.0",
@@ -83,13 +84,13 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@firecamp/rest-executor": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "workspace:*",
"@monaco-editor/react": "4.4.5",
"@radix-ui/react-toast": "^1.0.0",
"@szhsin/react-menu": "^2.3.2",
"@tanstack/react-table": "^8.6.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"autoprefixer": "^10",
"classnames": "^2.3.1",
"deep-equal": "^2.0.5",

3608
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff