Skip to content

Commit

Permalink
chore: use pnpm workspace protocol
Browse files Browse the repository at this point in the history
* chore: fix peer dependencies

* chore: update dependencies

* chore: use pnpm workspace protocol

* chore: update dependencies

* chore: use pnpm to publish
  • Loading branch information
chihab authored Oct 13, 2024
1 parent b2192d3 commit b2a3e8d
Show file tree
Hide file tree
Showing 23 changed files with 5,278 additions and 7,402 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 7.27.1
version: 7.27.1
- name: Prepare Packages
run: |
pnpm i
Expand All @@ -25,8 +25,8 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
publish: npx changeset publish
publish: pnpm publish -r
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 6 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @dotenv-run/docs

## 0.1.5

### Patch Changes

- chore: use pnpm workspace protocol for dependencies

## 0.1.4

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@dotenv-run/docs",
"private": true,
"type": "module",
"version": "0.1.4",
"version": "0.1.5",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand All @@ -11,8 +11,8 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.15.2",
"astro": "^4.1.0",
"sharp": "^0.33.1"
"@astrojs/starlight": "^0.15.4",
"astro": "^4.15.11",
"sharp": "^0.33.5"
}
}
2 changes: 1 addition & 1 deletion examples/.verdaccio/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# path to a directory with all packages
storage: ../tmp/local-registry/storage
storage: /tmp/local-registry/storage

# a list of other known repositories we can talk to
uplinks:
Expand Down
60 changes: 30 additions & 30 deletions examples/apps/ng-app-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,42 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^18.0.0",
"@angular/common": "^18.0.0",
"@angular/localize": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/platform-server": "^18.0.0",
"@angular/router": "^18.0.0",
"@angular/ssr": "^18.0.0",
"express": "^4.18.2",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.2"
"@angular/animations": "^18.2.7",
"@angular/common": "^18.2.7",
"@angular/compiler": "^18.2.7",
"@angular/core": "^18.2.7",
"@angular/forms": "^18.2.7",
"@angular/localize": "^18.2.7",
"@angular/platform-browser": "^18.2.7",
"@angular/platform-browser-dynamic": "^18.2.7",
"@angular/platform-server": "^18.2.7",
"@angular/router": "^18.2.7",
"@angular/ssr": "^18.2.7",
"express": "^4.21.0",
"rxjs": "~7.8.1",
"tslib": "^2.7.0",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.0",
"@angular/cli": "^18.0.0",
"@angular/compiler-cli": "^18.0.0",
"@dotenv-run/core": "*",
"@dotenv-run/jest-angular": "*",
"@angular-devkit/build-angular": "^18.2.7",
"@angular/cli": "^18.2.7",
"@angular/compiler-cli": "^18.2.7",
"@dotenv-run/core": "workspace:^1.3.6",
"@dotenv-run/jest-angular": "workspace:^0.1.1",
"@jest/transform": "^29.7.0",
"@ngx-env/builder": "../../../packages/angular",
"@types/express": "^4.17.17",
"@types/jasmine": "~5.1.0",
"@types/node": "^18.18.0",
"esbuild": "0.21.3",
"jasmine-core": "~5.1.0",
"@ngx-env/builder": "^18.0.1",
"@types/express": "^4.17.21",
"@types/jasmine": "~5.1.4",
"@types/node": "^18.19.54",
"esbuild": "0.23.0",
"jasmine-core": "~5.1.2",
"jest": "^29.7.0",
"karma": "~6.4.0",
"karma": "~6.4.4",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"ts-jest": "^29.1.2",
"typescript": "^5.4.0"
"ts-jest": "^29.2.5",
"typescript": "~5.4.5"
}
}
28 changes: 14 additions & 14 deletions examples/apps/ng-app-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
"static": "npx serve dist/ng-app-webpack/browser"
},
"dependencies": {
"@angular/common": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/common": "^18.2.7",
"@angular/compiler": "^18.2.7",
"@angular/core": "^18.2.7",
"@angular/platform-browser": "^18.2.7",
"@angular/platform-browser-dynamic": "^18.2.7",
"rxjs": "~7.6.0",
"tslib": "^2.4.0",
"zone.js": "~0.14.0"
"tslib": "^2.7.0",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^17.0.0",
"@angular-devkit/build-angular": "^18.0.0",
"@angular/cli": "^18.0.0",
"@angular/compiler-cli": "^18.0.0",
"@types/node": "^18.0.0",
"@angular-builders/custom-webpack": "^18.0.0",
"@angular-devkit/build-angular": "^18.2.7",
"@angular/cli": "^18.2.7",
"@angular/compiler-cli": "^18.2.7",
"@dotenv-run/webpack": "workspace:^1.4.1",
"@types/node": "^18.19.54",
"cross-env": "^7.0.3",
"@dotenv-run/webpack": "^1.3.4",
"typescript": "~5.4"
"typescript": "~5.4.5"
}
}
28 changes: 14 additions & 14 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"e2e:all": "nx run-many --target=e2e --all --parallel"
},
"devDependencies": {
"@dotenv-run/cli": "^1.3.5",
"@dotenv-run/load": "^1.3.4",
"@dotenv-run/rollup": "^1.3.4",
"@dotenv-run/webpack": "^1.4.0",
"@nx/js": "^18.2.1",
"@playwright/test": "^1.44.1",
"@types/node": "^20.12.12",
"nx": "^16.5.5",
"playwright": "^1.44.1",
"rollup": "^3.0.0",
"serve": "^14.2.1",
"verdaccio": "^5.0.4",
"webpack": "5.91.0",
"webpack-cli": "^5.0.0"
"@dotenv-run/cli": "workspace:^1.3.6",
"@dotenv-run/load": "workspace:^1.3.6",
"@dotenv-run/rollup": "workspace:^1.3.6",
"@dotenv-run/webpack": "workspace:^1.4.1",
"@nx/js": "^18.3.5",
"@playwright/test": "^1.47.2",
"@types/node": "^20.16.10",
"nx": "^16.10.0",
"playwright": "^1.47.2",
"rollup": "^3.29.5",
"serve": "^14.2.3",
"verdaccio": "^5.32.2",
"webpack": "5.94.0",
"webpack-cli": "^5.1.4"
},
"nx": {
"includedScripts": []
Expand Down
16 changes: 5 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@
},
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.27.3",
"@changesets/cli": "^2.27.9",
"concurrently": "^8.2.2",
"husky": "^8.0.0",
"turbo": "^1.12.4",
"typescript": "^5.4.0",
"husky": "^8.0.3",
"turbo": "^1.13.4",
"typescript": "~5.4.5",
"vitest": "^0.33.0"
},
"workspaces": {
"packages": [
"examples",
"packages/*",
"docs"
]
}
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0"
}
36 changes: 19 additions & 17 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngx-env/builder",
"version": "18.0.1",
"version": "18.0.2",
"description": "Easily inject environment variables into your Angular applications",
"author": "chihab <[email protected]>",
"homepage": "https://github.com/chihab/ngx-env/tree/main/packages/angular",
Expand Down Expand Up @@ -30,27 +30,29 @@
"copy-dist": "ts-node tools/schema-dist.ts"
},
"dependencies": {
"@dotenv-run/esbuild": "^1.4.0",
"@dotenv-run/webpack": "^1.4.0",
"glob": "^10.3.10"
"@dotenv-run/esbuild": "workspace:^1.4.2",
"@dotenv-run/webpack": "workspace:^1.4.1",
"glob": "^10.4.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "^18.0.0",
"@angular-devkit/schematics": "^18.0.0",
"@angular-devkit/schematics-cli": "^18.0.0",
"@angular-devkit/architect": "^0.1800.0",
"@angular-devkit/core": "^18.0.0",
"@angular/compiler": "^18.0.0",
"@dotenv-run/core": "^1.3.4",
"@angular-devkit/architect": "^0.1802.7",
"@angular-devkit/build-angular": "^18.2.7",
"@angular-devkit/core": "^18.2.7",
"@angular-devkit/schematics": "^18.2.7",
"@angular/animations": "^18.2.7",
"@angular/common": "^18.2.7",
"@angular/platform-browser": "^18.2.7",
"@dotenv-run/core": "workspace:^1.3.6",
"cpy": "^8.1.2",
"karma": "^6.4.2",
"ts-node": "^10.8.0",
"typescript": "^5.4.0",
"rxjs": "^7.0.0",
"webpack": "5.91.0"
"karma": "^6.4.4",
"rxjs": "^7.8.1",
"ts-node": "^10.9.2",
"typescript": "~5.4.5",
"webpack": "5.94.0",
"zone.js": "~0.14.10"
},
"peerDpendencies": {
"rxjs": "^7.0.0",
"webpack": "5.91.0"
"webpack": "5.94.0"
}
}
8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @dotenv-run/cli

## 1.3.6

### Patch Changes

- chore: use pnpm workspace protocol for dependencies
- Updated dependencies
- @dotenv-run/core@1.3.6

## 1.3.5

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dotenv-run/cli",
"version": "1.3.5",
"version": "1.3.6",
"description": "cli to load environment variables with monorepo support",
"homepage": "https://github.com/chihab/dotenv-run",
"type": "module",
Expand All @@ -25,13 +25,13 @@
"author": "Chihab Otmani <[email protected]>",
"license": "ISC",
"dependencies": {
"@dotenv-run/core": "^1.3.4",
"chalk": "^4.1.0",
"@dotenv-run/core": "workspace:^1.3.6",
"chalk": "^4.1.2",
"cross-spawn": "^7.0.3",
"minimist": "^1.2.8"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/minimist": "^1.2.2"
"@types/cross-spawn": "^6.0.6",
"@types/minimist": "^1.2.5"
}
}
}
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @dotenv-run/core

## 1.3.6

### Patch Changes

- chore: use pnpm workspace protocol for dependencies

## 1.3.4

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dotenv-run/core",
"version": "1.3.5",
"version": "1.3.6",
"description": "core library to load environment variables with monorepo support",
"homepage": "https://github.com/chihab/dotenv-run",
"main": "dist/cjs/index.js",
Expand All @@ -26,12 +26,12 @@
"author": "Chihab Otmani <[email protected]>",
"license": "ISC",
"dependencies": {
"dotenv": "^16.1.4",
"chalk": "^4.1.2",
"dotenv": "^16.4.5",
"dotenv-expand": "^10.0.0",
"find-up": "^5.0.0",
"chalk": "^4.1.0"
"find-up": "^5.0.0"
},
"devDependencies": {
"@types/node": "^16.0.0"
"@types/node": "^16.18.112"
}
}
8 changes: 8 additions & 0 deletions packages/esbuild/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @dotenv-run/esbuild

## 1.4.2

### Patch Changes

- chore: use pnpm workspace protocol for dependencies
- Updated dependencies
- @dotenv-run/core@1.3.6

## 1.4.0

### Minor Changes
Expand Down
Loading

0 comments on commit b2a3e8d

Please sign in to comment.