@rsbuild/plugin-styled-components 1.2.2-beta.0 → 1.3.0
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.cjs +12 -10
- package/package.json +24 -23
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const __rslib_import_meta_url__ = /*#__PURE__*/ function() {
|
|
|
4
4
|
}();
|
|
5
5
|
var __webpack_require__ = {};
|
|
6
6
|
(()=>{
|
|
7
|
-
__webpack_require__.d =
|
|
7
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
8
8
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: definition[key]
|
|
@@ -12,12 +12,10 @@ var __webpack_require__ = {};
|
|
|
12
12
|
};
|
|
13
13
|
})();
|
|
14
14
|
(()=>{
|
|
15
|
-
__webpack_require__.o =
|
|
16
|
-
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
17
|
-
};
|
|
15
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
18
16
|
})();
|
|
19
17
|
(()=>{
|
|
20
|
-
__webpack_require__.r =
|
|
18
|
+
__webpack_require__.r = (exports1)=>{
|
|
21
19
|
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
22
20
|
value: 'Module'
|
|
23
21
|
});
|
|
@@ -29,8 +27,8 @@ var __webpack_require__ = {};
|
|
|
29
27
|
var __webpack_exports__ = {};
|
|
30
28
|
__webpack_require__.r(__webpack_exports__);
|
|
31
29
|
__webpack_require__.d(__webpack_exports__, {
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
pluginStyledComponents: ()=>pluginStyledComponents,
|
|
31
|
+
PLUGIN_STYLED_COMPONENTS_NAME: ()=>PLUGIN_STYLED_COMPONENTS_NAME
|
|
34
32
|
});
|
|
35
33
|
const external_node_module_namespaceObject = require("node:module");
|
|
36
34
|
const external_reduce_configs_namespaceObject = require("reduce-configs");
|
|
@@ -88,8 +86,12 @@ const pluginStyledComponents = (pluginOptions = {})=>({
|
|
|
88
86
|
});
|
|
89
87
|
}
|
|
90
88
|
});
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
exports.PLUGIN_STYLED_COMPONENTS_NAME = __webpack_exports__.PLUGIN_STYLED_COMPONENTS_NAME;
|
|
90
|
+
exports.pluginStyledComponents = __webpack_exports__.pluginStyledComponents;
|
|
91
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
92
|
+
"PLUGIN_STYLED_COMPONENTS_NAME",
|
|
93
|
+
"pluginStyledComponents"
|
|
94
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
95
|
+
Object.defineProperty(exports, '__esModule', {
|
|
94
96
|
value: true
|
|
95
97
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-styled-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"repository": "https://github.com/rspack-contrib/rsbuild-plugin-styled-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,9 +14,16 @@
|
|
|
14
14
|
"main": "./dist/index.js",
|
|
15
15
|
"module": "./dist/index.mjs",
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
|
-
"files": [
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"files": ["dist"],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "rslib build",
|
|
20
|
+
"dev": "rslib build --watch",
|
|
21
|
+
"lint": "biome check .",
|
|
22
|
+
"lint:write": "biome check . --write",
|
|
23
|
+
"prepare": "simple-git-hooks && npm run build",
|
|
24
|
+
"test": "playwright test",
|
|
25
|
+
"bump": "npx bumpp"
|
|
26
|
+
},
|
|
20
27
|
"simple-git-hooks": {
|
|
21
28
|
"pre-commit": "npx nano-staged"
|
|
22
29
|
},
|
|
@@ -26,20 +33,20 @@
|
|
|
26
33
|
]
|
|
27
34
|
},
|
|
28
35
|
"dependencies": {
|
|
29
|
-
"@swc/plugin-styled-components": "
|
|
36
|
+
"@swc/plugin-styled-components": "^7.1.0",
|
|
30
37
|
"reduce-configs": "^1.1.0"
|
|
31
38
|
},
|
|
32
39
|
"devDependencies": {
|
|
33
40
|
"@biomejs/biome": "^1.9.4",
|
|
34
|
-
"@playwright/test": "^1.
|
|
35
|
-
"@rsbuild/core": "^1.
|
|
36
|
-
"@rslib/core": "^0.
|
|
37
|
-
"@types/node": "^22.13.
|
|
41
|
+
"@playwright/test": "^1.51.1",
|
|
42
|
+
"@rsbuild/core": "^1.3.1",
|
|
43
|
+
"@rslib/core": "^0.6.1",
|
|
44
|
+
"@types/node": "^22.13.14",
|
|
38
45
|
"nano-staged": "^0.8.0",
|
|
39
|
-
"playwright": "^1.
|
|
40
|
-
"simple-git-hooks": "^2.
|
|
41
|
-
"styled-components": "^6.1.
|
|
42
|
-
"typescript": "^5.
|
|
46
|
+
"playwright": "^1.51.1",
|
|
47
|
+
"simple-git-hooks": "^2.12.1",
|
|
48
|
+
"styled-components": "^6.1.16",
|
|
49
|
+
"typescript": "^5.8.2"
|
|
43
50
|
},
|
|
44
51
|
"peerDependencies": {
|
|
45
52
|
"@rsbuild/core": "^1.2.0"
|
|
@@ -49,16 +56,10 @@
|
|
|
49
56
|
"optional": true
|
|
50
57
|
}
|
|
51
58
|
},
|
|
59
|
+
"packageManager": "pnpm@10.7.0",
|
|
52
60
|
"publishConfig": {
|
|
53
61
|
"access": "public",
|
|
54
|
-
"registry": "https://registry.npmjs.org/"
|
|
55
|
-
|
|
56
|
-
"scripts": {
|
|
57
|
-
"build": "rslib build",
|
|
58
|
-
"dev": "rslib build --watch",
|
|
59
|
-
"lint": "biome check .",
|
|
60
|
-
"lint:write": "biome check . --write",
|
|
61
|
-
"test": "playwright test",
|
|
62
|
-
"bump": "npx bumpp"
|
|
62
|
+
"registry": "https://registry.npmjs.org/",
|
|
63
|
+
"provenance": true
|
|
63
64
|
}
|
|
64
|
-
}
|
|
65
|
+
}
|