bysquare 2.3.0 → 2.4.0

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,20 +1,16 @@
1
1
  {
2
2
  "name": "bysquare",
3
3
  "description": "It's a national standard for payment QR codes adopted by Slovak Banking Association (SBA)",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "license": "Apache-2.0",
6
6
  "funding": "https://github.com/sponsors/xseman",
7
7
  "homepage": "https://github.com/xseman/bysquare#readme",
8
8
  "author": "Filip Seman <filip.seman@pm.me>",
9
9
  "keywords": [
10
10
  "pay by square",
11
- "by square",
11
+ "qr string",
12
12
  "paybysquare",
13
- "bysquare",
14
- "payments",
15
- "qr-string",
16
- "generate",
17
- "parse"
13
+ "bysquare"
18
14
  ],
19
15
  "repository": {
20
16
  "type": "git",
@@ -22,17 +18,14 @@
22
18
  },
23
19
  "scripts": {
24
20
  "prebuild": "rm -rf ./lib || :",
25
- "build": "tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json",
26
- "typecheck": "tsc --noEmit",
27
- "postbuild": "bash -c 'chmod +x ./lib/{cjs,mjs}/cli.js' && cp package.json ./lib/mjs/ && jq '.type=\"commonjs\"' package.json > lib/cjs/package.json",
21
+ "build": ".scripts/build.sh",
22
+ "postbuild": ".scripts/postbuild.sh",
28
23
  "test": "xv --loader=tsx ./src",
29
- "test:watch": "find ./src/*.ts | entr xv --loader=tsx ./src",
24
+ "test:watch": "xv --loader=tsx --watch ./src",
25
+ "typecheck": "tsc --noEmit",
30
26
  "cli:local": "npm run build && npm link bysquare",
31
- "version": "git flow release start v$npm_package_version",
32
- "prepare": "",
33
- "prepublishOnly": "npm run build",
34
27
  "preversion": "git checkout develop",
35
- "postversion": ""
28
+ "postversion": "npm run build && git flow release start v${npm_package_version}"
36
29
  },
37
30
  "dependencies": {
38
31
  "crc-32": "~1.2.0",
@@ -43,7 +36,7 @@
43
36
  "devDependencies": {
44
37
  "@types/lodash.deburr": "~4.1.0",
45
38
  "@types/node": ">=16.14",
46
- "dprint": "~0.35.0",
39
+ "dprint": "~0.36.0",
47
40
  "tsx": "~3.12.0",
48
41
  "typescript": "~5.0.0",
49
42
  "xv": "~2.1.0"
@@ -1,20 +1,16 @@
1
1
  {
2
2
  "name": "bysquare",
3
3
  "description": "It's a national standard for payment QR codes adopted by Slovak Banking Association (SBA)",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "license": "Apache-2.0",
6
6
  "funding": "https://github.com/sponsors/xseman",
7
7
  "homepage": "https://github.com/xseman/bysquare#readme",
8
8
  "author": "Filip Seman <filip.seman@pm.me>",
9
9
  "keywords": [
10
10
  "pay by square",
11
- "by square",
11
+ "qr string",
12
12
  "paybysquare",
13
- "bysquare",
14
- "payments",
15
- "qr-string",
16
- "generate",
17
- "parse"
13
+ "bysquare"
18
14
  ],
19
15
  "repository": {
20
16
  "type": "git",
@@ -22,17 +18,14 @@
22
18
  },
23
19
  "scripts": {
24
20
  "prebuild": "rm -rf ./lib || :",
25
- "build": "tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json",
26
- "typecheck": "tsc --noEmit",
27
- "postbuild": "bash -c 'chmod +x ./lib/{cjs,mjs}/cli.js' && cp package.json ./lib/mjs/ && jq '.type=\"commonjs\"' package.json > lib/cjs/package.json",
21
+ "build": ".scripts/build.sh",
22
+ "postbuild": ".scripts/postbuild.sh",
28
23
  "test": "xv --loader=tsx ./src",
29
- "test:watch": "find ./src/*.ts | entr xv --loader=tsx ./src",
24
+ "test:watch": "xv --loader=tsx --watch ./src",
25
+ "typecheck": "tsc --noEmit",
30
26
  "cli:local": "npm run build && npm link bysquare",
31
- "version": "git flow release start v$npm_package_version",
32
- "prepare": "",
33
- "prepublishOnly": "npm run build",
34
27
  "preversion": "git checkout develop",
35
- "postversion": ""
28
+ "postversion": "npm run build && git flow release start v${npm_package_version}"
36
29
  },
37
30
  "dependencies": {
38
31
  "crc-32": "~1.2.0",
@@ -43,7 +36,7 @@
43
36
  "devDependencies": {
44
37
  "@types/lodash.deburr": "~4.1.0",
45
38
  "@types/node": ">=16.14",
46
- "dprint": "~0.35.0",
39
+ "dprint": "~0.36.0",
47
40
  "tsx": "~3.12.0",
48
41
  "typescript": "~5.0.0",
49
42
  "xv": "~2.1.0"
package/package.json CHANGED
@@ -1,20 +1,16 @@
1
1
  {
2
2
  "name": "bysquare",
3
3
  "description": "It's a national standard for payment QR codes adopted by Slovak Banking Association (SBA)",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "license": "Apache-2.0",
6
6
  "funding": "https://github.com/sponsors/xseman",
7
7
  "homepage": "https://github.com/xseman/bysquare#readme",
8
8
  "author": "Filip Seman <filip.seman@pm.me>",
9
9
  "keywords": [
10
10
  "pay by square",
11
- "by square",
11
+ "qr string",
12
12
  "paybysquare",
13
- "bysquare",
14
- "payments",
15
- "qr-string",
16
- "generate",
17
- "parse"
13
+ "bysquare"
18
14
  ],
19
15
  "repository": {
20
16
  "type": "git",
@@ -22,17 +18,14 @@
22
18
  },
23
19
  "scripts": {
24
20
  "prebuild": "rm -rf ./lib || :",
25
- "build": "tsc --project ./tsconfig.json && tsc --project ./tsconfig.cjs.json",
26
- "typecheck": "tsc --noEmit",
27
- "postbuild": "bash -c 'chmod +x ./lib/{cjs,mjs}/cli.js' && cp package.json ./lib/mjs/ && jq '.type=\"commonjs\"' package.json > lib/cjs/package.json",
21
+ "build": ".scripts/build.sh",
22
+ "postbuild": ".scripts/postbuild.sh",
28
23
  "test": "xv --loader=tsx ./src",
29
- "test:watch": "find ./src/*.ts | entr xv --loader=tsx ./src",
24
+ "test:watch": "xv --loader=tsx --watch ./src",
25
+ "typecheck": "tsc --noEmit",
30
26
  "cli:local": "npm run build && npm link bysquare",
31
- "version": "git flow release start v$npm_package_version",
32
- "prepare": "",
33
- "prepublishOnly": "npm run build",
34
27
  "preversion": "git checkout develop",
35
- "postversion": ""
28
+ "postversion": "npm run build && git flow release start v${npm_package_version}"
36
29
  },
37
30
  "dependencies": {
38
31
  "crc-32": "~1.2.0",
@@ -43,7 +36,7 @@
43
36
  "devDependencies": {
44
37
  "@types/lodash.deburr": "~4.1.0",
45
38
  "@types/node": ">=16.14",
46
- "dprint": "~0.35.0",
39
+ "dprint": "~0.36.0",
47
40
  "tsx": "~3.12.0",
48
41
  "typescript": "~5.0.0",
49
42
  "xv": "~2.1.0"