@rharkor/caching-for-turbo 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -97494,7 +97494,7 @@ function _parseVault (options) {
97494
97494
  }
97495
97495
 
97496
97496
  function _warn (message) {
97497
- console.log(`[dotenv@${version}][WARN] ${message}`)
97497
+ console.error(`[dotenv@${version}][WARN] ${message}`)
97498
97498
  }
97499
97499
 
97500
97500
  function _debug (message) {
@@ -97593,7 +97593,7 @@ function _resolveHome (envPath) {
97593
97593
 
97594
97594
  function _configVault (options) {
97595
97595
  const debug = Boolean(options && options.debug)
97596
- const quiet = options && 'quiet' in options ? options.quiet : true
97596
+ const quiet = Boolean(options && options.quiet)
97597
97597
 
97598
97598
  if (debug || !quiet) {
97599
97599
  _log('Loading env from encrypted .env.vault')
@@ -97615,7 +97615,7 @@ function configDotenv (options) {
97615
97615
  const dotenvPath = path.resolve(process.cwd(), '.env')
97616
97616
  let encoding = 'utf8'
97617
97617
  const debug = Boolean(options && options.debug)
97618
- const quiet = options && 'quiet' in options ? options.quiet : true
97618
+ const quiet = Boolean(options && options.quiet)
97619
97619
 
97620
97620
  if (options && options.encoding) {
97621
97621
  encoding = options.encoding
@@ -97677,7 +97677,7 @@ function configDotenv (options) {
97677
97677
  }
97678
97678
  }
97679
97679
 
97680
- _log(`injecting env (${keysCount}) from ${shortPaths.join(',')}`)
97680
+ _log(`injecting env (${keysCount}) from ${shortPaths.join(',')} – 🔐 encrypt with dotenvx: https://dotenvx.com`)
97681
97681
  }
97682
97682
 
97683
97683
  if (lastError) {
@@ -201002,7 +201002,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"$schema":"http://json-schema.org/dra
201002
201002
  /***/ 80056:
201003
201003
  /***/ ((module) => {
201004
201004
 
201005
- module.exports = /*#__PURE__*/JSON.parse('{"name":"dotenv","version":"16.6.1","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}');
201005
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"dotenv","version":"17.0.0","description":"Loads environment variables from .env file","main":"lib/main.js","types":"lib/main.d.ts","exports":{".":{"types":"./lib/main.d.ts","require":"./lib/main.js","default":"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},"scripts":{"dts-check":"tsc --project tests/types/tsconfig.json","lint":"standard","pretest":"npm run lint && npm run dts-check","test":"tap run --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov","prerelease":"npm test","release":"standard-version"},"repository":{"type":"git","url":"git://github.com/motdotla/dotenv.git"},"homepage":"https://github.com/motdotla/dotenv#readme","funding":"https://dotenvx.com","keywords":["dotenv","env",".env","environment","variables","config","settings"],"readmeFilename":"README.md","license":"BSD-2-Clause","devDependencies":{"@types/node":"^18.11.3","decache":"^4.6.2","sinon":"^14.0.1","standard":"^17.0.0","standard-version":"^9.5.0","tap":"^19.2.0","typescript":"^4.8.4"},"engines":{"node":">=12"},"browser":{"fs":false}}');
201006
201006
 
201007
201007
  /***/ }),
201008
201008
 
@@ -202237,7 +202237,7 @@ const ping = async () => {
202237
202237
  // EXTERNAL MODULE: external "fs/promises"
202238
202238
  var promises_ = __nccwpck_require__(91943);
202239
202239
  ;// CONCATENATED MODULE: ./package.json
202240
- const package_namespaceObject = {"rE":"2.0.0"};
202240
+ const package_namespaceObject = {"rE":"2.1.2"};
202241
202241
  ;// CONCATENATED MODULE: ./src/cli.ts
202242
202242
 
202243
202243
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rharkor/caching-for-turbo",
3
3
  "description": "Sets up Turborepo Remote Caching to work with GitHub Actions built-in cache",
4
- "version": "2.1.2",
4
+ "version": "2.1.3",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/rharkor/caching-for-turbo",
7
7
  "repository": {
@@ -27,7 +27,67 @@
27
27
  "engines": {
28
28
  "node": ">=20"
29
29
  },
30
+ "scripts": {
31
+ "bundle": "npm run format:write && npm run package",
32
+ "coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
33
+ "format:write": "prettier --write .",
34
+ "format:check": "prettier --check .",
35
+ "lint": "eslint .",
36
+ "package": "ncc build src/index.ts -o dist/setup --source-map --license licenses.txt && ncc build src/post.ts -o dist/post --source-map --license licenses.txt && ncc build src/cli.ts -o dist/cli --source-map --license licenses.txt",
37
+ "package:watch": "npm run package -- --watch",
38
+ "all": "npm run format:write && npm run lint && npm run coverage && npm run package",
39
+ "test-build": "npm run -s package",
40
+ "test": "turbo run test-build",
41
+ "dev-run": "tsx ./src/dev-run.ts",
42
+ "cleanup": "tsx ./src/dev/cleanup.ts",
43
+ "start": "node dist/cli/index.js"
44
+ },
30
45
  "license": "MIT",
46
+ "dependencies": {
47
+ "@actions/cache": "^4.0.0",
48
+ "@actions/core": "^1.10.1",
49
+ "@aws-sdk/client-s3": "^3.0.0",
50
+ "@aws-sdk/lib-storage": "^3.0.0",
51
+ "@rharkor/logger": "^1.3.1",
52
+ "fastify": "^5.0.0",
53
+ "filesize-parser": "^1.5.1",
54
+ "parse-duration": "^2.1.4",
55
+ "stream-to-promise": "^3.0.0",
56
+ "wait-on": "^8.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@eslint/js": "^9.24.0",
60
+ "@jest/globals": "^30.0.0",
61
+ "@types/node": "^22.0.0",
62
+ "@types/stream-to-promise": "^2.2.4",
63
+ "@types/wait-on": "^5.3.4",
64
+ "@typescript-eslint/eslint-plugin": "^8.29.1",
65
+ "@typescript-eslint/parser": "^8.29.1",
66
+ "@vercel/ncc": "^0.38.1",
67
+ "dotenv": "^17.0.0",
68
+ "eslint": "^9.24.0",
69
+ "eslint-plugin-github": "^6.0.0",
70
+ "eslint-plugin-jest": "^29.0.0",
71
+ "eslint-plugin-jsonc": "^2.16.0",
72
+ "eslint-plugin-prettier": "^5.1.3",
73
+ "globals": "^16.0.0",
74
+ "make-coverage-badge": "^1.2.0",
75
+ "prettier": "^3.3.2",
76
+ "prettier-eslint": "^16.3.0",
77
+ "ts-jest": "^29.1.4",
78
+ "tsx": "^4.15.4",
79
+ "turbo": "^2.0.3",
80
+ "typescript": "^5.4.5",
81
+ "typescript-eslint": "^8.29.1",
82
+ "@semantic-release/changelog": "^6.0.3",
83
+ "@semantic-release/commit-analyzer": "^13.0.0",
84
+ "@semantic-release/git": "^10.0.1",
85
+ "@semantic-release/github": "^11.0.0",
86
+ "@semantic-release/npm": "^12.0.0",
87
+ "@semantic-release/release-notes-generator": "^14.0.0",
88
+ "conventional-changelog-conventionalcommits": "^9.0.0",
89
+ "semantic-release": "^24.0.0"
90
+ },
31
91
  "packageManager": "npm@11.4.2",
32
92
  "publishConfig": {
33
93
  "access": "public"