@xaypay/tui 0.0.54 → 0.0.56

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.
@@ -1,4 +1,7 @@
1
1
  module.exports = {
2
+ core: {
3
+ builder: 'webpack5',
4
+ },
2
5
  "stories": [
3
6
  "../src/**/*.stories.mdx",
4
7
  "../src/**/*.stories.@(js|jsx|ts|tsx)"
@@ -7,6 +10,7 @@ module.exports = {
7
10
  "@storybook/addon-links",
8
11
  "@storybook/addon-essentials",
9
12
  "@storybook/addon-interactions",
13
+ "@storybook/preset-create-react-app",
10
14
  {
11
15
  name: '@storybook/preset-scss',
12
16
  options: {
@@ -18,27 +22,30 @@ module.exports = {
18
22
  }
19
23
  ],
20
24
  "framework": "@storybook/react",
21
- webpackFinal: async (config, { configType }) => {
22
- // get index of css rule
23
- const ruleCssIndex = config.module.rules.findIndex(
24
- (rule) => rule.test.toString() === "/\\.css$/"
25
- );
25
+ // webpackFinal: async (config, { configType }) => {
26
26
 
27
- // map over the 'use' array of the css rule and set the 'module' option to true
28
- config.module.rules[ruleCssIndex].use.map((item) => {
29
- if (item.loader && (item.loader.includes("/css-loader/") || item.loader.includes("\\css-loader\\"))) {
30
- item.options.modules = {
31
- mode: "local",
32
- localIdentName:
33
- configType === "PRODUCTION"
34
- ? "[local]__[hash:base64:5]"
35
- : "[name]__[local]__[hash:base64:5]",
36
- };
37
- }
27
+ // console.log(config.module.rules);
28
+ // console.log(configType);
29
+ // // get index of css rule
30
+ // const ruleCssIndex = config.module.rules.findIndex(
31
+ // (rule) => rule.test.toString() === "/\\.css$/"
32
+ // );
38
33
 
39
- return item;
40
- });
34
+ // // map over the 'use' array of the css rule and set the 'module' option to true
35
+ // config.module.rules[ruleCssIndex].use.map((item) => {
36
+ // if (item.loader && (item.loader.includes("/css-loader/") || item.loader.includes("\\css-loader\\"))) {
37
+ // item.options.modules = {
38
+ // mode: "local",
39
+ // localIdentName:
40
+ // configType === "PRODUCTION"
41
+ // ? "[local]__[hash:base64:5]"
42
+ // : "[name]__[local]__[hash:base64:5]",
43
+ // };
44
+ // }
41
45
 
42
- return config;
43
- },
46
+ // return item;
47
+ // });
48
+
49
+ // return config;
50
+ // },
44
51
  }
package/cli-command.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ console.log('Hello, world! This is your-cli-command.');