@adonisjs/ally 5.0.0-2 → 5.0.0-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.
@@ -33,4 +33,15 @@ export async function configure(command) {
33
33
  result[`${provider.toUpperCase()}_CLIENT_SECRET`] = '';
34
34
  return result;
35
35
  }, {}));
36
+ /**
37
+ * Define env variables validation for the selected providers
38
+ */
39
+ await command.defineEnvValidations({
40
+ variables: providers.reduce((result, provider) => {
41
+ result[`${provider.toUpperCase()}_CLIENT_ID`] = 'Env.schema.string()';
42
+ result[`${provider.toUpperCase()}_CLIENT_SECRET`] = 'Env.schema.string()';
43
+ return result;
44
+ }, {}),
45
+ leadingComment: 'Variables for configuring ally package',
46
+ });
36
47
  }
@@ -1,3 +1,3 @@
1
- /// <reference types="@types/node" resolution-mode="require"/>
1
+ /// <reference types="node" resolution-mode="require"/>
2
2
  declare const _default: import("util").DebugLogger;
3
3
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/ally",
3
- "version": "5.0.0-2",
3
+ "version": "5.0.0-3",
4
4
  "description": "Social authentication provider for AdonisJS",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
@@ -47,28 +47,29 @@
47
47
  "author": "adonisjs,virk",
48
48
  "license": "MIT",
49
49
  "devDependencies": {
50
- "@adonisjs/core": "^6.1.5-15",
50
+ "@adonisjs/assembler": "^6.1.3-18",
51
+ "@adonisjs/core": "^6.1.5-18",
51
52
  "@adonisjs/eslint-config": "^1.1.8",
52
53
  "@adonisjs/prettier-config": "^1.1.8",
53
54
  "@adonisjs/tsconfig": "^1.1.8",
54
- "@commitlint/cli": "^17.6.7",
55
- "@commitlint/config-conventional": "^17.6.7",
55
+ "@commitlint/cli": "^17.7.1",
56
+ "@commitlint/config-conventional": "^17.7.0",
56
57
  "@japa/assert": "^2.0.0-1",
57
58
  "@japa/expect-type": "^2.0.0-0",
58
59
  "@japa/file-system": "^2.0.0-1",
59
60
  "@japa/runner": "^3.0.0-6",
60
- "@swc/core": "^1.3.74",
61
- "@types/node": "^20.4.6",
61
+ "@swc/core": "^1.3.78",
62
+ "@types/node": "^20.5.1",
62
63
  "c8": "^8.0.1",
63
64
  "copyfiles": "^2.4.1",
64
65
  "del-cli": "^5.0.0",
65
66
  "dotenv": "^16.3.1",
66
- "eslint": "^8.46.0",
67
+ "eslint": "^8.47.0",
67
68
  "github-label-sync": "^2.3.1",
68
69
  "husky": "^8.0.3",
69
- "nock": "^13.3.2",
70
+ "nock": "^13.3.3",
70
71
  "np": "^8.0.4",
71
- "prettier": "^3.0.0",
72
+ "prettier": "^3.0.2",
72
73
  "ts-node": "^10.9.1",
73
74
  "typescript": "^5.1.6"
74
75
  },
@@ -77,7 +78,7 @@
77
78
  "@poppinss/utils": "^6.5.0-3"
78
79
  },
79
80
  "peerDependencies": {
80
- "@adonisjs/core": "^6.1.5-15"
81
+ "@adonisjs/core": "^6.1.5-18"
81
82
  },
82
83
  "repository": {
83
84
  "type": "git",