@dword-design/base 9.1.3 → 9.1.4
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.js +9 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import pipelineOperator from '@babel/plugin-proposal-pipeline-operator';
|
|
1
2
|
import endent from "@dword-design/functions/dist/endent.js";
|
|
2
3
|
import identity from "@dword-design/functions/dist/identity.js";
|
|
3
4
|
import deepmerge from 'deepmerge';
|
|
@@ -37,7 +38,14 @@ class Base {
|
|
|
37
38
|
constructor(config) {
|
|
38
39
|
const jitiInstance = jiti(process.cwd(), {
|
|
39
40
|
esmResolve: true,
|
|
40
|
-
interopDefault: true
|
|
41
|
+
interopDefault: true,
|
|
42
|
+
transformOptions: {
|
|
43
|
+
babel: {
|
|
44
|
+
plugins: [[pipelineOperator, {
|
|
45
|
+
proposal: 'fsharp'
|
|
46
|
+
}]]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
41
49
|
});
|
|
42
50
|
if (config === undefined) {
|
|
43
51
|
config = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.4",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"test": "rimraf dist && babel --config-file @dword-design/babel-config --copy-files --no-copy-ignored --out-dir dist --ignore \"**/*.spec.js\" src && node dist/cli.js test"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@babel/plugin-proposal-pipeline-operator": "^7.18.9",
|
|
28
29
|
"@commitlint/cli": "^13.0.0",
|
|
29
30
|
"@commitlint/config-conventional": "^13.0.0",
|
|
30
31
|
"@dword-design/babel-config": "^2.0.0",
|