@parel/steering-immediate 0.0.7 → 0.0.9
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/dist/index.d.ts +2 -2
- package/dist/index.js +15 -0
- package/package.json +4 -3
- package/parel.plugin.json +10 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import { definePlugin, LifecycleEvent } from "@parel/plugin-sdk";
|
|
3
|
+
|
|
4
|
+
// parel.plugin.json
|
|
5
|
+
var parel_plugin_default = {
|
|
6
|
+
name: "@parel/steering-immediate",
|
|
7
|
+
version: "0.0.8",
|
|
8
|
+
execution: {
|
|
9
|
+
snapshot: {
|
|
10
|
+
store: "reset",
|
|
11
|
+
sideEffects: "reference"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// src/index.ts
|
|
3
17
|
var index_default = definePlugin({
|
|
4
18
|
name: "@parel/steering-immediate",
|
|
19
|
+
execution: parel_plugin_default.execution,
|
|
5
20
|
async setup(ctx) {
|
|
6
21
|
ctx.hook(LifecycleEvent.ContextBuild, async (hookCtx) => {
|
|
7
22
|
const steers = hookCtx.inputs.drain("steer");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parel/steering-immediate",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "PAREL plugin for immediate steering and interruption inputs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,16 +21,17 @@
|
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
|
+
"parel.plugin.json",
|
|
24
25
|
"LICENSE",
|
|
25
26
|
"README.md"
|
|
26
27
|
],
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@parel/plugin-sdk": "0.
|
|
29
|
+
"@parel/plugin-sdk": "0.3.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"tsup": "^8.0.0",
|
|
32
33
|
"typescript": "^5.8.0",
|
|
33
|
-
"vitest": "^
|
|
34
|
+
"vitest": "^4.1.8"
|
|
34
35
|
},
|
|
35
36
|
"publishConfig": {
|
|
36
37
|
"access": "public"
|