@tasenor/common-plugins 1.14.4 → 1.14.6
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/.turbo/turbo-build.log +4 -5
- package/.turbo/turbo-ci.log +2 -2
- package/dist/AlisaImport/backend/AlisaHandler.js +2 -1
- package/dist/AlisaImport/backend/AlisaHandler.js.map +1 -1
- package/dist/AlisaImport/backend/index.js +1 -1
- package/package.json +5 -5
- package/src/AlisaImport/backend/AlisaHandler.ts +2 -1
- package/src/AlisaImport/backend/index.ts +1 -1
- package/.turbo/turbo-audit.log +0 -24
- package/.turbo/turbo-fix.log +0 -18
- package/.turbo/turbo-lint.log +0 -5
- package/.turbo/turbo-nightly.log +0 -13
- package/.turbo/turbo-nightly3.log +0 -12
- package/.turbo/turbo-show-version.log +0 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
|
|
2
|
+
> @tasenor/common-plugins@1.14.5 build /home/ci/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
3
|
+
> rm -fr dist && tsc
|
|
4
|
+
|
package/.turbo/turbo-ci.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @tasenor/common-plugins@1.14.
|
|
2
|
+
> @tasenor/common-plugins@1.14.5 ci /home/ci/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
3
3
|
> pnpm run lint
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @tasenor/common-plugins@1.14.
|
|
6
|
+
> @tasenor/common-plugins@1.14.5 lint /home/ci/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
7
7
|
> eslint 'src/**/*.{ts,tsx}' 'data/**/*.mjs'
|
|
8
8
|
|
|
@@ -44,7 +44,8 @@ export class AlisaHandler extends TransactionImportHandler {
|
|
|
44
44
|
return true;
|
|
45
45
|
}
|
|
46
46
|
segmentId(line) {
|
|
47
|
-
|
|
47
|
+
// Note: pure number is bad as segment ID. See ActionEngine.ts
|
|
48
|
+
return line && line.columns ? 'tx' + line.columns.TransactionNumber : NO_SEGMENT;
|
|
48
49
|
}
|
|
49
50
|
time(line) {
|
|
50
51
|
const time = line.columns.BookingDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlisaHandler.js","sourceRoot":"","sources":["../../../src/AlisaImport/backend/AlisaHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,UAAU,EAA2B,MAAM,iBAAiB,CAAA;AACpF,OAAO,EAAe,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,wBAAwB;IAExD;QACE,KAAK,CAAC,aAAa,CAAC,CAAA;QACpB,IAAI,CAAC,aAAa,GAAG;YACnB,MAAM,EAAE,KAAK;YACb,aAAa,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC;YACvC,cAAc,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;YACnC,SAAS,EAAE,SAAS;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,cAAc,EAAE;gBACd,yBAAyB,EAAE,SAAS;gBACpC,gBAAgB,EAAE,MAAM;gBACxB,yBAAyB,EAAE,eAAe;aAC3C;YACD,GAAG,EAAE;gBACH,gBAAgB,EAAE,CAAC;gBACnB,oBAAoB,EAAE,IAAI;gBAC1B,eAAe,EAAE,GAAG;gBACpB,SAAS,EAAE,IAAI;aAChB;SACF,CAAA;IACH,CAAC;IAED,IAAI,IAAI;QACN,OAAO,SAA0B,CAAA;IACnC,CAAC;IAED,SAAS,CAAC,IAAiB;QACzB,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAA;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,aAAa,CAAC,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,CAAA;QACrD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;QAEtE,OAAO,IAAI,CAAA;IACb,CAAC;IAED,SAAS,CAAC,IAAkB;QAC1B,8DAA8D;QAC9D,OAAO,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,UAAU,CAAA;IAClF,CAAC;IAED,IAAI,CAAC,IAAkB;QACrB,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,CAAA;QACrC,MAAM,EAAE,GAAG,IAAI,IAAI,8BAA8B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC5D,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC;YACtB,OAAO,KAAK,CAAC,OAAO,CAAC,0BAA0B,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAA;QACjF,CAAC;QACD,MAAM,IAAI,KAAK,CAAC,4CAA4C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACtF,CAAC;CAEF"}
|
|
@@ -5,7 +5,7 @@ class AlisaImportPlugin extends ImportPlugin {
|
|
|
5
5
|
super(new AlisaHandler());
|
|
6
6
|
this.code = 'AlisaImport';
|
|
7
7
|
this.title = 'Import for Alisa';
|
|
8
|
-
this.version = '1.0.
|
|
8
|
+
this.version = '1.0.1';
|
|
9
9
|
this.icon = '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M5 6.99h3V14h2V6.99h3L9 3zM14 10v7.01h-3L15 21l4-3.99h-3V10z"/></svg>';
|
|
10
10
|
this.releaseDate = '2025-02-09';
|
|
11
11
|
this.use = 'backend';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tasenor/common-plugins",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.6",
|
|
4
4
|
"description": "Shared common plugins of Tasenor project",
|
|
5
5
|
"repository": "git@github.com:dataplugoy/tasenor-bookkeeper.git",
|
|
6
6
|
"author": "Tommi Ronkainen <tommi.ronkainen@gmail.com>",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"dayjs": "1.10.8",
|
|
14
14
|
"sprintf-js": "^1.1.2",
|
|
15
15
|
"tsx": "^4.7.0",
|
|
16
|
-
"@tasenor/common": "1.14.
|
|
17
|
-
"@tasenor/common-node": "1.14.
|
|
18
|
-
"@tasenor/common-ui": "1.14.
|
|
16
|
+
"@tasenor/common": "1.14.6",
|
|
17
|
+
"@tasenor/common-node": "1.14.6",
|
|
18
|
+
"@tasenor/common-ui": "1.14.6"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@mui/icons-material": "^5.14.1",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-i18next": "^14.0.5",
|
|
32
32
|
"react-router-dom": "^6.14.1",
|
|
33
33
|
"typescript": "^5.1.6",
|
|
34
|
-
"@tasenor/config": "1.14.
|
|
34
|
+
"@tasenor/config": "1.14.6",
|
|
35
35
|
"eslint-config-tasenor": "0.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
@@ -52,7 +52,8 @@ export class AlisaHandler extends TransactionImportHandler {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
segmentId(line: TextFileLine): SegmentId | typeof NO_SEGMENT {
|
|
55
|
-
|
|
55
|
+
// Note: pure number is bad as segment ID. See ActionEngine.ts
|
|
56
|
+
return line && line.columns ? 'tx' + line.columns.TransactionNumber : NO_SEGMENT
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
time(line: TextFileLine): Date | undefined {
|
|
@@ -9,7 +9,7 @@ class AlisaImportPlugin extends ImportPlugin {
|
|
|
9
9
|
|
|
10
10
|
this.code = 'AlisaImport' as PluginCode
|
|
11
11
|
this.title = 'Import for Alisa'
|
|
12
|
-
this.version = '1.0.
|
|
12
|
+
this.version = '1.0.1' as Version
|
|
13
13
|
this.icon = '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M5 6.99h3V14h2V6.99h3L9 3zM14 10v7.01h-3L15 21l4-3.99h-3V10z"/></svg>'
|
|
14
14
|
this.releaseDate = '2025-02-09'
|
|
15
15
|
this.use = 'backend'
|
package/.turbo/turbo-audit.log
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @tasenor/common-plugins@1.11.10 audit /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
4
|
-
> pnpm audit --fix --ignore-registry-errors && pnpm install && pnpm audit --ignore-registry-errors
|
|
5
|
-
|
|
6
|
-
1 overrides were added to package.json to fix vulnerabilities.
|
|
7
|
-
Run "pnpm install" to apply the fixes.
|
|
8
|
-
|
|
9
|
-
The added overrides:
|
|
10
|
-
{
|
|
11
|
-
"ip@=2.0.0": ">=2.0.1"
|
|
12
|
-
}
|
|
13
|
-
../../apps/bookkeeper | [43m[30m WARN [39m[49m The field "pnpm" was found in /home/wigy/project/tasenor-qa/tasenor-bookkeeper/apps/bookkeeper/package.json. This will not take effect. You should configure "pnpm" at the root of the workspace instead.
|
|
14
|
-
../../apps/bookkeeper-api | [43m[30m WARN [39m[49m The field "pnpm" was found in /home/wigy/project/tasenor-qa/tasenor-bookkeeper/apps/bookkeeper-api/package.json. This will not take effect. You should configure "pnpm" at the root of the workspace instead.
|
|
15
|
-
../../apps/cli | [43m[30m WARN [39m[49m The field "pnpm" was found in /home/wigy/project/tasenor-qa/tasenor-bookkeeper/apps/cli/package.json. This will not take effect. You should configure "pnpm" at the root of the workspace instead.
|
|
16
|
-
../../apps/docs | [43m[30m WARN [39m[49m The field "pnpm" was found in /home/wigy/project/tasenor-qa/tasenor-bookkeeper/apps/docs/package.json. This will not take effect. You should configure "pnpm" at the root of the workspace instead.
|
|
17
|
-
../../databases/bookkeeper | [43m[30m WARN [39m[49m The field "pnpm" was found in /home/wigy/project/tasenor-qa/tasenor-bookkeeper/databases/bookkeeper/package.json. This will not take effect. You should configure "pnpm" at the root of the workspace instead.
|
|
18
|
-
[43m[30m WARN [39m[49m 1 other warnings
|
|
19
|
-
[1A[43m[30m WARN [39m[49m 2 other warnings
|
|
20
|
-
[1A[43m[30m WARN [39m[49m 3 other warnings
|
|
21
|
-
[1A[43m[30m WARN [39m[49m 4 other warnings
|
|
22
|
-
[1A[43m[30m WARN [39m[49m 5 other warnings
|
|
23
|
-
[1A[43m[30m WARN [39m[49m 6 other warnings
|
|
24
|
-
Scope: all 14 workspace projects
|
package/.turbo/turbo-fix.log
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @tasenor/common-plugins@1.14.3 fix /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
4
|
-
> eslint --fix 'src/**/*.{ts,tsx}' 'data/**/*.mjs'
|
|
5
|
-
|
|
6
|
-
=============
|
|
7
|
-
|
|
8
|
-
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
|
|
9
|
-
|
|
10
|
-
You may find that it works just fine, or you may not.
|
|
11
|
-
|
|
12
|
-
SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.6.0
|
|
13
|
-
|
|
14
|
-
YOUR TYPESCRIPT VERSION: 5.7.3
|
|
15
|
-
|
|
16
|
-
Please only submit bug reports when using the officially supported version.
|
|
17
|
-
|
|
18
|
-
=============
|
package/.turbo/turbo-lint.log
DELETED
package/.turbo/turbo-nightly.log
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @tasenor/common-plugins@1.14.2 nightly /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
4
|
-
> pnpm run ci
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> @tasenor/common-plugins@1.14.2 ci /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
8
|
-
> pnpm run lint
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
> @tasenor/common-plugins@1.14.2 lint /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
12
|
-
> eslint 'src/**/*.{ts,tsx}' 'data/**/*.mjs'
|
|
13
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
> @tasenor/common-plugins@1.13.20 nightly3 /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
4
|
-
> pnpm run data
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> @tasenor/common-plugins@1.13.20 data /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins
|
|
8
|
-
> data/bin/build_all
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Running /home/wigy/project/tasenor-qa/tasenor-bookkeeper/packages/tasenor-common-plugins/data/FinnishBalanceSheetReportLite.mjs
|
|
12
|
-
|