@adonisjs/cache 1.0.0-1 → 1.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.
@@ -1 +1 @@
1
- {"commands":[{"commandName":"cache:clear","description":"Clear the application cache","help":"","namespace":"cache","aliases":[],"flags":[{"name":"store","flagName":"store","required":false,"type":"string","description":"Define a custom cache store to clear","alias":"s"}],"args":[],"options":{"startApp":true},"filePath":"cache_clear.js","absoluteFilePath":"/home/julienr/code/adonis/cache/build/commands/cache_clear.js"}],"version":1}
1
+ {"commands":[{"commandName":"cache:clear","description":"Clear the application cache","help":"","namespace":"cache","aliases":[],"flags":[{"name":"store","flagName":"store","required":false,"type":"string","description":"Define a custom cache store to clear","alias":"s"}],"args":[],"options":{"startApp":true},"filePath":"cache_clear.js","absoluteFilePath":"/Users/romainlanz/workspace/adonis/cache/build/commands/cache_clear.js"}],"version":1}
@@ -6,5 +6,6 @@
6
6
  * For the full copyright and license information, please view the LICENSE
7
7
  * file that was distributed with this source code.
8
8
  */
9
- import { getDirname } from '@poppinss/utils';
10
- export const stubsRoot = getDirname(import.meta.url);
9
+ import { dirname } from 'node:path';
10
+ import { fileURLToPath } from 'node:url';
11
+ export const stubsRoot = dirname(fileURLToPath(import.meta.url));
package/package.json CHANGED
@@ -1,23 +1,17 @@
1
1
  {
2
2
  "name": "@adonisjs/cache",
3
3
  "description": "Official caching module for AdonisJS framework",
4
- "version": "1.0.0-1",
4
+ "version": "1.0.0-3",
5
5
  "engines": {
6
6
  "node": ">=18.16.0"
7
7
  },
8
8
  "main": "build/index.js",
9
9
  "type": "module",
10
10
  "files": [
11
- "build/configure.js",
12
- "build/configure.d.ts",
13
- "build/index.js",
14
- "build/index.d.ts",
15
- "build/factories",
16
- "build/providers",
17
- "build/services",
18
- "build/commands",
19
- "build/src",
20
- "build/stubs"
11
+ "build",
12
+ "!build/bin",
13
+ "!build/tests",
14
+ "!build/test_helpers"
21
15
  ],
22
16
  "exports": {
23
17
  ".": "./build/index.js",
@@ -45,47 +39,43 @@
45
39
  "prepublishOnly": "npm run build"
46
40
  },
47
41
  "devDependencies": {
48
- "@adonisjs/assembler": "^7.0.0-1",
49
- "@adonisjs/core": "^6.1.5-38",
50
- "@adonisjs/eslint-config": "^1.1.8",
51
- "@adonisjs/lucid": "19.0.0-8",
52
- "@adonisjs/prettier-config": "^1.2.1",
53
- "@adonisjs/redis": "8.0.0-14",
54
- "@adonisjs/tsconfig": "^1.2.1",
42
+ "@adonisjs/assembler": "^7.2.3",
43
+ "@adonisjs/core": "^6.3.1",
44
+ "@adonisjs/eslint-config": "^1.3.0",
45
+ "@adonisjs/lucid": "20.5.1",
46
+ "@adonisjs/prettier-config": "^1.3.0",
47
+ "@adonisjs/redis": "8.0.1",
48
+ "@adonisjs/tsconfig": "^1.3.0",
55
49
  "@japa/assert": "2.1.0",
56
50
  "@japa/expect-type": "^2.0.1",
57
- "@japa/file-system": "^2.1.1",
51
+ "@japa/file-system": "^2.2.0",
58
52
  "@japa/runner": "^3.1.1",
59
53
  "@japa/snapshot": "^2.0.4",
60
- "@swc/core": "^1.3.101",
61
- "@types/node": "^20.10.6",
62
- "better-sqlite3": "^9.2.2",
63
- "c8": "^8.0.1",
54
+ "@swc/core": "^1.4.11",
55
+ "@types/node": "^20.11.30",
56
+ "better-sqlite3": "^9.4.3",
57
+ "c8": "^9.1.0",
64
58
  "copyfiles": "^2.4.1",
65
59
  "del-cli": "^5.1.0",
66
- "eslint": "^8.56.0",
60
+ "eslint": "^8.57.0",
67
61
  "ioredis": "^5.3.2",
68
62
  "luxon": "^3.4.4",
69
- "np": "^9.2.0",
70
- "p-event": "^6.0.0",
71
- "prettier": "^3.1.1",
63
+ "np": "^10.0.2",
64
+ "p-event": "^6.0.1",
65
+ "prettier": "^3.2.5",
72
66
  "ts-node": "^10.9.2",
73
- "typescript": "~5.2.2"
67
+ "typescript": "~5.4.3"
74
68
  },
75
69
  "dependencies": {
76
- "@poppinss/utils": "^6.7.0",
77
- "bentocache": "1.0.0-beta.6"
70
+ "bentocache": "1.0.0-beta.7"
78
71
  },
79
72
  "peerDependencies": {
80
- "@adonisjs/assembler": "^7.0.0-1",
81
- "@adonisjs/core": "^6.1.5-38",
82
- "@adonisjs/lucid": "19.0.0-8",
83
- "@adonisjs/redis": "8.0.0-14"
73
+ "@adonisjs/assembler": "^7.0.0",
74
+ "@adonisjs/core": "^6.2.0",
75
+ "@adonisjs/lucid": "^20.0.0",
76
+ "@adonisjs/redis": "^8.0.0"
84
77
  },
85
78
  "peerDependenciesMeta": {
86
- "@adonisjs/assembler": {
87
- "optional": true
88
- },
89
79
  "@adonisjs/redis": {
90
80
  "optional": true
91
81
  },