@orgajs/rollup 1.0.1 → 1.1.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.
- package/dist/index.d.ts +2 -2
- package/index.js +0 -1
- package/package.json +9 -8
package/dist/index.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ export type RollupPluginOptions = {
|
|
|
21
21
|
/**
|
|
22
22
|
* List of picomatch patterns to include
|
|
23
23
|
*/
|
|
24
|
-
include?: FilterPattern;
|
|
24
|
+
include?: import("@rollup/pluginutils").FilterPattern | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* List of picomatch patterns to exclude
|
|
27
27
|
*/
|
|
28
|
-
exclude?: FilterPattern;
|
|
28
|
+
exclude?: import("@rollup/pluginutils").FilterPattern | undefined;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* Configuration.
|
package/index.js
CHANGED
|
@@ -49,7 +49,6 @@ export default function (options) {
|
|
|
49
49
|
const compiled = await processor.process(file)
|
|
50
50
|
const code = String(compiled.value)
|
|
51
51
|
/** @type {SourceDescription} */
|
|
52
|
-
// @ts-expect-error: a) `undefined` is fine, b) `sourceRoot: undefined` is fine too.
|
|
53
52
|
const result = { code, map: compiled.map }
|
|
54
53
|
return result
|
|
55
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orgajs/rollup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Rollup plugin for Orga",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -18,24 +18,25 @@
|
|
|
18
18
|
"directory": "packages/rollup"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@types/node": "^20.
|
|
22
|
-
"@types/react": "^18.2.
|
|
23
|
-
"@types/react-dom": "^18.2.
|
|
21
|
+
"@types/node": "^20.5.7",
|
|
22
|
+
"@types/react": "^18.2.21",
|
|
23
|
+
"@types/react-dom": "^18.2.7",
|
|
24
24
|
"react": "^18.2.0",
|
|
25
25
|
"react-dom": "^18.2.0",
|
|
26
|
-
"rollup": "^3.
|
|
26
|
+
"rollup": "^3.28.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"rollup": ">=2"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@rollup/pluginutils": "^5.0.
|
|
32
|
+
"@rollup/pluginutils": "^5.0.4",
|
|
33
33
|
"source-map": "^0.7.4",
|
|
34
34
|
"vfile": "^5.3.7",
|
|
35
|
-
"@orgajs/orgx": "^2.0
|
|
35
|
+
"@orgajs/orgx": "^2.2.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"
|
|
38
|
+
"clean": "tsc --build --clean",
|
|
39
|
+
"build": "tsc --build",
|
|
39
40
|
"test": "node --test test.js"
|
|
40
41
|
}
|
|
41
42
|
}
|