identifier-js 0.1.1 → 0.1.2

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.
@@ -45,11 +45,21 @@ jobs:
45
45
  path: workspace-data
46
46
  sparse-checkout: tests/github.com/SorinGFS/identifier-js
47
47
 
48
- # Reproduce the ordinary workspace layout consumed by the package test script.
49
- - name: Materialize public tests
48
+ # Check out the extension-owned runtime helper required by materialized dispatchers.
49
+ - name: Check out workspace runtime
50
+ uses: actions/checkout@v7
51
+ with:
52
+ repository: SorinGFS/gh-workspace-data
53
+ ref: v0.4.0
54
+ path: workspace-runtime
55
+ sparse-checkout: src/version-layers.js
56
+ sparse-checkout-cone-mode: false
57
+
58
+ # Reproduce the ordinary workspace layout generated by gh-workspace-data.
59
+ - name: Materialize public tests and runtime
50
60
  run: >-
51
- node -e "require('node:fs').cpSync('workspace-data/tests/github.com/SorinGFS/identifier-js', '#/public/tests', { recursive: true })"
61
+ node -e "const fs = require('node:fs'); fs.cpSync('workspace-data/tests/github.com/SorinGFS/identifier-js', '#/public/tests', { recursive: true }); fs.copyFileSync('workspace-runtime/src/version-layers.js', '#/version-layers.js')"
52
62
 
53
- # Execute the materialized Vitest suite and propagate any failed result.
63
+ # Execute the materialized Node.js suite and propagate any failed result.
54
64
  - name: Run tests
55
65
  run: npm test
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identifier-js",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A RFC3986 / RFC3987 compliant fast parser/validator/resolver/composer for NodeJS and browser.",
5
5
  "keywords": [
6
6
  "IRI",