@cedarjs/babel-config 2.1.0 → 2.1.1-next.32
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.
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const config = {
|
|
3
|
+
bracketSpacing: true,
|
|
4
|
+
tabWidth: 2,
|
|
5
|
+
semi: false,
|
|
6
|
+
singleQuote: true,
|
|
7
|
+
plugins: [
|
|
8
|
+
"prettier-plugin-curly",
|
|
9
|
+
// I have this prettier config here because babel-plugin-tester v11 that
|
|
10
|
+
// we're currently using uses prettier v2, and prettier-plugin-sh requires
|
|
11
|
+
// prettier v3. By putting this prettier config here, babel-plugin-tester
|
|
12
|
+
// will use this, and run its output through prettier without loading the
|
|
13
|
+
// prettier-plugin-sh plugin, which it really doesn't need anyway since
|
|
14
|
+
// we're not asking it to format shell scripts or other shell files.
|
|
15
|
+
// 'prettier-plugin-sh',
|
|
16
|
+
"prettier-plugin-packagejson"
|
|
17
|
+
],
|
|
18
|
+
overrides: [
|
|
19
|
+
{
|
|
20
|
+
files: ["tsconfig.cjs.json"],
|
|
21
|
+
options: {
|
|
22
|
+
parser: "jsonc",
|
|
23
|
+
trailingComma: "none"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
};
|
|
28
|
+
module.exports = config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/babel-config",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1-next.32+7bd60e196",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@babel/register": "7.28.3",
|
|
36
36
|
"@babel/runtime-corejs3": "7.28.4",
|
|
37
37
|
"@babel/traverse": "7.28.5",
|
|
38
|
-
"@cedarjs/project-config": "2.1.
|
|
38
|
+
"@cedarjs/project-config": "2.1.1-next.32+7bd60e196",
|
|
39
39
|
"babel-plugin-auto-import": "1.1.0",
|
|
40
40
|
"babel-plugin-graphql-tag": "3.3.0",
|
|
41
41
|
"babel-plugin-module-resolver": "5.0.2",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"typescript": "5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@cedarjs/framework-tools": "2.1.
|
|
48
|
+
"@cedarjs/framework-tools": "2.1.1-next.32",
|
|
49
49
|
"@types/babel-plugin-tester": "9.0.10",
|
|
50
50
|
"@types/babel__core": "7.20.5",
|
|
51
51
|
"@types/babel__register": "7.17.3",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "7bd60e1967fbf721def15ea694b84c560991e563"
|
|
61
61
|
}
|