feat: moving to pnpm

This commit is contained in:
Nishchit
2022-12-16 12:31:29 +00:00
committed by GitHub
parent 061978c659
commit 64426d1772
16 changed files with 25563 additions and 855 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,17 +2,16 @@
"name": "firecamp",
"version": "2.6.1",
"private": true,
"packageManager": "yarn@3.2.3",
"description": "Universal API testing and collaboration platform",
"main": "packages/firecamp-desktop-app/dist/services/Main",
"homepage": "./dev",
"scripts": {
"build:monorepo": "lerna run build --scope=@firecamp/rest-executor --scope=@firecamp/ws-executor --scope=@firecamp/socket.io-executor",
"build:workspace": "pnpm --filter=@firecamp/rest-executor --filter=@firecamp/ws-executor --filter=@firecamp/spcket-io-executor build",
"start": "npx webpack serve --config ./webpack.dev.js",
"dev": "APP_VERSION=$npm_package_version AppFormat=webapp && node scripts/build && yarn build:monorepo && yarn start",
"dev": "APP_VERSION=$npm_package_version AppFormat=webapp && node scripts/build && pnpm build:workspace && pnpm start",
"electron": "npx electron .",
"release:web-app": "AppFormat=webapp && node scripts/release production",
"release:web-app:staging": "AppFormat=webapp && yarn build:monorepo && node scripts/release staging",
"release:web-app:staging": "AppFormat=webapp && pnpm build:monorepo && node scripts/release staging",
"release:prod:mac-dmg": "AppFormat=dmg && node scripts/release production p",
"release:prod:linux-appImage": "AppFormat=appImage && node scripts/release production",
"release:prod:linux-snap": "AppFormat=snap scripts/release production p",
@@ -26,11 +25,12 @@
"_test": "cross-env NODE_ENV=test mocha -r ./test/setup-app test/app",
"test": "jest",
"prettify": "prettier --write \"packages/firecamp-platform/src/**/*.(ts|tsx)\" \"packages/firecamp-rest/src/**/*.(ts|tsx)\" \"packages/firecamp-graphql/src/**/*.(ts|tsx)\"",
"precommit": "lint-staged"
"precommit": "lint-staged",
"preinstall": "npx only-allow pnpm"
},
"lint-staged": {
"**/*.ts": [
"yarn prettify",
"pnpm prettify",
"git add ."
]
},
@@ -130,10 +130,6 @@
"ramda": "^0.28.0",
"react-file-drop": "^3.1.5"
},
"workspaces": [
"packages/*",
"./"
],
"bugs": {
"url": "https://github.com/firecamp.io/firecamp/issues"
},

View File

@@ -40,7 +40,7 @@
"node": ">=10"
},
"dependencies": {
"@firecamp/rest-executor": "^1.0.3",
"@firecamp/rest-executor": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/utils": "^0.0.11"
},
@@ -81,11 +81,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -78,11 +78,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -88,11 +88,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -72,11 +72,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -59,10 +59,10 @@
"dependencies": {
"@firecamp/cloud-apis": "^0.1.5",
"@firecamp/cookie-manager": "^0.0.0",
"@firecamp/graphql": "^0.0.0",
"@firecamp/rest": "^0.0.0",
"@firecamp/graphql": "workspace:*",
"@firecamp/rest": "workspace:*",
"@firecamp/types": "^0.1.2",
"@firecamp/ui-kit": "0.0.1",
"@firecamp/ui-kit": "workspace:*",
"@firecamp/url": "^0.0.17",
"@sentry/browser": "7.17.2",
"@sentry/tracing": "7.24.2",
@@ -100,11 +100,6 @@
"xmljson": "^0.2.0",
"zustand": "3.7.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -43,6 +43,7 @@
"@firecamp/types": "^0.1.2",
"@firecamp/url": "^0.0.17",
"@hapi/joi": "^17.1.1",
"ajv": "^8.11.2",
"axios": "0.27.2",
"browser-or-node": "^2.0.0",
"chai": "^4.3.6",
@@ -50,6 +51,7 @@
"form-data": "^4.0.0",
"mocha": "^10.1.0",
"nanoid": "3.3.4",
"qs": "^6.11.0",
"shadowrealm-api": "^0.8.2",
"tv4": "^1.3.0",
"vm2": "^3.9.11"
@@ -93,11 +95,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -115,11 +115,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -81,11 +81,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -90,11 +90,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -90,11 +90,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -45,10 +45,12 @@
"@firecamp/types": "^0.1.2",
"comment-json": "^4.1.1",
"mitt": "^3.0.0",
"nanoid": "3.3.4",
"ws": "8.0.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chrome": "^0.0.204",
"@types/jest": "27.5.0",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.35.1",
@@ -82,11 +84,6 @@
"LICENSE",
"README.md"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"singleQuote": true
},

View File

@@ -59,7 +59,7 @@
"@types/codemirror": "^5.60.5",
"@types/deep-equal": "^1.0.1",
"@types/markdown-it": "^12.2.3",
"@types/react": "^17.0.14",
"@types/react": "^17.0.2",
"@types/react-table": "^7.7.10",
"babel-jest": "^29.1.2",
"babel-loader": "^9.1.0",
@@ -88,6 +88,8 @@
"@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",
@@ -113,8 +115,8 @@
"vscode": "^1.1.37"
},
"peerDependencies": {
"react": "17.0.2",
"react-dom": "17.0.2"
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"babel": {
"presets": [

25539
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

5
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,5 @@
packages:
# include packages in subfolders (e.g. apps/ and packages/)
- 'packages/**'
# if required, exclude some directories
- '!**/test/**'