@balena/pinejs 19.7.2 → 19.7.3-build-tests-cf6351dac10a89633624a5ebf3b1aad29f0ab8ec-1

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,3 +1,15 @@
1
+ - commits:
2
+ - subject: "Tests: run against compiled source rather than transpiling on the fly"
3
+ hash: cf6351dac10a89633624a5ebf3b1aad29f0ab8ec
4
+ body: ""
5
+ footer:
6
+ Change-type: patch
7
+ change-type: patch
8
+ author: Pagan Gazzard
9
+ nested: []
10
+ version: 19.7.3
11
+ title: ""
12
+ date: 2025-01-03T18:36:42.708Z
1
13
  - commits:
2
14
  - subject: Update dependencies
3
15
  hash: a909ee054f395de407ec4e1275fd0f5b7514fe29
@@ -9,7 +21,7 @@
9
21
  nested: []
10
22
  version: 19.7.2
11
23
  title: ""
12
- date: 2025-01-02T16:35:55.788Z
24
+ date: 2025-01-02T16:47:36.699Z
13
25
  - commits:
14
26
  - subject: Use/export explicit functions for loading SBVR files
15
27
  hash: c47a755613fec8293547c7cfb34cc9e707a7c703
@@ -2058,6 +2070,7 @@
2058
2070
 
2059
2071
 
2060
2072
 
2073
+
2061
2074
 
2062
2075
 
2063
2076
  As balena-lint
@@ -2100,6 +2113,7 @@
2100
2113
 
2101
2114
 
2102
2115
 
2116
+
2103
2117
 
2104
2118
 
2105
2119
  As engine and npm is
@@ -2157,6 +2171,7 @@
2157
2171
 
2158
2172
 
2159
2173
 
2174
+
2160
2175
 
2161
2176
 
2162
2177
  Ensure that the
@@ -2277,6 +2292,7 @@
2277
2292
 
2278
2293
 
2279
2294
 
2295
+
2280
2296
 
2281
2297
 
2282
2298
  This also deprecates
@@ -2325,6 +2341,7 @@
2325
2341
 
2326
2342
 
2327
2343
 
2344
+
2328
2345
 
2329
2346
 
2330
2347
  It can in fact be a
@@ -2374,6 +2391,7 @@
2374
2391
 
2375
2392
 
2376
2393
 
2394
+
2377
2395
 
2378
2396
 
2379
2397
  We know what type
@@ -2428,6 +2446,7 @@
2428
2446
 
2429
2447
 
2430
2448
 
2449
+
2431
2450
 
2432
2451
 
2433
2452
  Update
@@ -2593,6 +2612,7 @@
2593
2612
 
2594
2613
 
2595
2614
 
2615
+
2596
2616
 
2597
2617
 
2598
2618
  This also deprecates
package/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ # v19.7.3
8
+ ## (2025-01-03)
9
+
10
+ * Tests: run against compiled source rather than transpiling on the fly [Pagan Gazzard]
11
+
7
12
  # v19.7.2
8
13
  ## (2025-01-02)
9
14
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 19.7.2
1
+ 19.7.3
@@ -1,6 +1,6 @@
1
+ import type { User as PineUser } from './sbvr-utils';
1
2
  declare global {
2
3
  namespace Express {
3
- type PineUser = import('./sbvr-utils').User;
4
4
  interface User extends PineUser {
5
5
  }
6
6
  interface Request {
@@ -9,4 +9,3 @@ declare global {
9
9
  }
10
10
  }
11
11
  }
12
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "19.7.2",
3
+ "version": "19.7.3-build-tests-cf6351dac10a89633624a5ebf3b1aad29f0ab8ec-1",
4
4
  "main": "out/server-glue/module",
5
5
  "type": "commonjs",
6
6
  "repository": "git@github.com:balena-io/pinejs.git",
@@ -19,10 +19,9 @@
19
19
  "webpack-server": "grunt server",
20
20
  "webpack-build": "npm run webpack-browser && npm run webpack-module && npm run webpack-server",
21
21
  "lint": "balena-lint -t tsconfig.dev.json -e js -e ts src build typings Gruntfile.ts && npx tsc --project tsconfig.dev.json --noEmit",
22
- "test": "npm run lint && npm run build && npm run webpack-build && npm run test:compose && npm run test:generated-types",
23
- "test:compose": "trap 'docker compose -f docker-compose.npm-test.yml down ; echo Stopped ; exit 0' INT; docker compose -f docker-compose.npm-test.yml up -d && sleep 2 && DATABASE_URL=postgres://docker:docker@localhost:5431/postgres PINEJS_WEBRESOURCE_MAXFILESIZE=1000000000 S3_ENDPOINT=http://localhost:43680 S3_ACCESS_KEY=USERNAME S3_SECRET_KEY=PASSWORD S3_STORAGE_ADAPTER_BUCKET=balena-pine-web-resources S3_REGION=us-east-1 PINEJS_QUEUE_CONCURRENCY=1 TZ=UTC npm run mocha",
22
+ "test": "npm run build && npm run lint && npm run webpack-build && npm run test:compose && npm run test:generated-types",
23
+ "test:compose": "trap 'docker compose -f docker-compose.npm-test.yml down ; echo Stopped ; exit 0' INT; docker compose -f docker-compose.npm-test.yml up -d && sleep 2 && DATABASE_URL=postgres://docker:docker@localhost:5431/postgres PINEJS_WEBRESOURCE_MAXFILESIZE=1000000000 S3_ENDPOINT=http://localhost:43680 S3_ACCESS_KEY=USERNAME S3_SECRET_KEY=PASSWORD S3_STORAGE_ADAPTER_BUCKET=balena-pine-web-resources S3_REGION=us-east-1 PINEJS_QUEUE_CONCURRENCY=1 TZ=UTC npx mocha",
24
24
  "test:generated-types": "npm run generate-types && git diff --exit-code ./src/sbvr-api/user.ts ./src/migrator/migrations.ts ./src/sbvr-api/dev.ts",
25
- "mocha": "TS_NODE_FILES=true mocha",
26
25
  "lint-fix": "balena-lint -t tsconfig.dev.json -e js -e ts --fix src test build typings Gruntfile.ts",
27
26
  "generate-types": "node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/user.sbvr ./src/sbvr-api/user.ts && node ./bin/sbvr-compiler.js generate-types ./src/migrator/migrations.sbvr ./src/migrator/migrations.ts && node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/dev.sbvr ./src/sbvr-api/dev.ts && node ./bin/sbvr-compiler.js generate-types ./src/tasks/tasks.sbvr ./src/tasks/tasks.ts && balena-lint -t tsconfig.dev.json --fix ./src/sbvr-api/user.ts ./src/migrator/migrations.ts ./src/sbvr-api/dev.ts"
28
27
  },
@@ -147,6 +146,6 @@
147
146
  "recursive": true
148
147
  },
149
148
  "versionist": {
150
- "publishedAt": "2025-01-02T16:35:56.859Z"
149
+ "publishedAt": "2025-01-03T18:36:43.660Z"
151
150
  }
152
151
  }
@@ -1,10 +1,9 @@
1
1
  // Augment express.js with pinejs-specific attributes via declaration merging.
2
+ import type { User as PineUser } from './sbvr-utils';
2
3
 
3
4
  declare global {
4
5
  // eslint-disable-next-line @typescript-eslint/no-namespace
5
6
  namespace Express {
6
- type PineUser = import('./sbvr-utils').User;
7
-
8
7
  // Augment Express.User to include the props of our PineUser.
9
8
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
10
9
  interface User extends PineUser {}