@pixzle/node 0.0.14 → 0.0.15

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- const package_json_1 = require("./../package.json");
4
+ const package_json_1 = require("package.json");
5
5
  exports.VERSION = package_json_1.version;
6
6
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAA,oDAA4C;AAE/B,QAAA,OAAO,GAAG,sBAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAA,+CAAuC;AAE1B,QAAA,OAAO,GAAG,sBAAO,CAAC"}
@@ -1,3 +1,3 @@
1
- import { version } from "./../package.json";
1
+ import { version } from "package.json";
2
2
  export const VERSION = version;
3
3
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@pixzle/node",
3
+ "version": "0.0.14",
4
+ "description": "Node.js implementation of image fragmentation and restoration",
5
+ "type": "module",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "types": "dist/esm/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/esm/index.d.ts",
13
+ "default": "./dist/esm/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/cjs/index.d.ts",
17
+ "default": "./dist/cjs/index.js"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "build": "pnpm run build:esm && pnpm run build:cjs",
26
+ "build:esm": "tsc -p tsconfig.build.json --outDir dist/esm --module ES2022 --moduleResolution bundler && cp package.json dist/esm/",
27
+ "build:cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module CommonJS --moduleResolution node && cp package.json dist/cjs/ && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
28
+ "build:check": "tsc -p tsconfig.build.json --noEmit",
29
+ "test": "vitest"
30
+ },
31
+ "keywords": [],
32
+ "author": "tuki0918",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/tuki0918/pixzle.git",
36
+ "directory": "packages/node"
37
+ },
38
+ "license": "MIT",
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "dependencies": {
43
+ "@pixzle/core": "workspace:*",
44
+ "@tuki0918/seeded-shuffle": "^1.0.0",
45
+ "jimp": "^1.6.0"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^22.10.2",
49
+ "@types/pngjs": "^6.0.5",
50
+ "typescript": "^5.7.2",
51
+ "vitest": "^3.1.4"
52
+ }
53
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@pixzle/node",
3
+ "version": "0.0.14",
4
+ "description": "Node.js implementation of image fragmentation and restoration",
5
+ "type": "module",
6
+ "main": "dist/cjs/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "types": "dist/esm/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/esm/index.d.ts",
13
+ "default": "./dist/esm/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/cjs/index.d.ts",
17
+ "default": "./dist/cjs/index.js"
18
+ }
19
+ }
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "scripts": {
25
+ "build": "pnpm run build:copy && pnpm run build:esm && pnpm run build:cjs",
26
+ "build:copy": "cp package.json dist/",
27
+ "build:esm": "tsc -p tsconfig.build.json --outDir dist/esm --module ESNext --moduleResolution bundler",
28
+ "build:cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module CommonJS --moduleResolution node && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
29
+ "build:check": "tsc -p tsconfig.build.json --noEmit",
30
+ "test": "vitest"
31
+ },
32
+ "keywords": [],
33
+ "author": "tuki0918",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/tuki0918/pixzle.git",
37
+ "directory": "packages/node"
38
+ },
39
+ "license": "MIT",
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "dependencies": {
44
+ "@pixzle/core": "workspace:*",
45
+ "@tuki0918/seeded-shuffle": "^1.0.0",
46
+ "jimp": "^1.6.0"
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^22.10.2",
50
+ "@types/pngjs": "^6.0.5",
51
+ "typescript": "^5.7.2",
52
+ "vitest": "^3.1.4"
53
+ }
54
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixzle/node",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Node.js implementation of image fragmentation and restoration",
5
5
  "type": "module",
6
6
  "main": "dist/cjs/index.js",
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@tuki0918/seeded-shuffle": "^1.0.0",
37
37
  "jimp": "^1.6.0",
38
- "@pixzle/core": "0.0.14"
38
+ "@pixzle/core": "0.0.15"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^22.10.2",