Skip to content

Commit

Permalink
fix: convert to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Jul 25, 2023
1 parent e4a325e commit 9893153
Show file tree
Hide file tree
Showing 29 changed files with 13,242 additions and 91,803 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/buildPackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
with:
version: 8

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: https://registry.npmjs.org/
Expand All @@ -41,7 +45,7 @@ jobs:
- name: 'Install Dependencies'
run: npm i
run: pnpm i


- name: 'Build All Packages'
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": ["packages/*"],
"npmClient":"pnpm",
"version": "independent",
"command": {
"publish": {
Expand Down
28,160 changes: 0 additions & 28,160 deletions package-lock.json

This file was deleted.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"private": true,
"license": "MIT",
"scripts": {
"format": "npx prettier --write ."
"format": "npx prettier --write .",
"preinstall": "npx only-allow pnpm"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
Expand All @@ -23,9 +21,9 @@
"rimraf": "^3.0.2",
"semver": "7.5.2",
"ts-loader": "~9.4.2",
"ts-node": "^8",
"ts-node": "^9",
"tslint": "^5",
"typescript": "^4.0.2"
"typescript": "^5"
},
"dependencies": {
"neverthrow": "^4.2.1",
Expand Down
14 changes: 9 additions & 5 deletions packages/apexlink/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ module.exports = {
restoreMocks: true,
clearMocks: true,
resetMocks: true,
globals: {
'ts-jest': {
babelConfig: true,
}
},
transform: {
'^.+\\.[t]sx?$': [
'ts-jest',
{
tsconfig: 'tsconfig.json',
babelConfig: true,
},
]
},
transformIgnorePatterns: ['/node_modules/(?!@salesforce/source-deploy-retrieve)(.*)'],
};
Loading

0 comments on commit 9893153

Please sign in to comment.