@raisenow/tamaro-cli 1.1.9 → 1.2.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.
Files changed (86) hide show
  1. package/.history/.eslintignore_20220609190420 +4 -0
  2. package/.history/.eslintignore_20230911190227 +6 -0
  3. package/.history/.eslintignore_20230911211247 +7 -0
  4. package/.history/.eslintignore_20230911211250 +7 -0
  5. package/.history/.eslintrc_20230911201601.js +49 -0
  6. package/.history/.eslintrc_20230911201643.js +49 -0
  7. package/.history/.eslintrc_20230911201735.js +49 -0
  8. package/.history/.eslintrc_20230911201913.js +64 -0
  9. package/.history/.eslintrc_20230911202002.js +62 -0
  10. package/.history/.eslintrc_20230911202138.js +133 -0
  11. package/.history/.eslintrc_20230911202140.js +133 -0
  12. package/.history/.eslintrc_20230911202145.js +133 -0
  13. package/.history/.eslintrc_20230911202147.js +133 -0
  14. package/.history/.eslintrc_20230911202406.js +133 -0
  15. package/.history/.eslintrc_20230911202447.js +133 -0
  16. package/.history/.eslintrc_20230911202453.js +133 -0
  17. package/.history/.eslintrc_20230911202511.js +133 -0
  18. package/.history/.eslintrc_20230911202527.js +133 -0
  19. package/.history/.eslintrc_20230911202639.js +125 -0
  20. package/.history/.eslintrc_20230911202721.js +149 -0
  21. package/.history/.eslintrc_20230911202746.js +149 -0
  22. package/.history/.eslintrc_20240423125702.cjs +148 -0
  23. package/.history/.gitignore_20220609190420 +14 -0
  24. package/.history/.gitignore_20230911185959 +4 -0
  25. package/.history/.gitignore_20230911190006 +4 -0
  26. package/.history/.gitignore_20230911190007 +4 -0
  27. package/.history/.nmprc_20241004144025 +0 -0
  28. package/.history/.nmprc_20241004144041 +1 -0
  29. package/.history/.npmrc_20241004144040 +1 -0
  30. package/.history/.npmrc_20241004144152 +1 -0
  31. package/.history/.npmrc_20241004145639 +2 -0
  32. package/.history/.npmrc_20241004145649 +1 -0
  33. package/.history/.nvmrc_20241125012803 +1 -0
  34. package/.history/.nvmrc_20241125022800 +1 -0
  35. package/.history/.nvmrc_20241125022806 +1 -0
  36. package/.history/.prettierignore_20220609190420 +5 -0
  37. package/.history/.prettierignore_20230911190242 +7 -0
  38. package/.history/.prettierignore_20230911190245 +7 -0
  39. package/.history/.prettierignore_20230911211301 +8 -0
  40. package/.history/CHANGELOG_20250624052910.md +20 -0
  41. package/.history/CHANGELOG_20250624055058.md +23 -0
  42. package/.history/CHANGELOG_20250624055107.md +23 -0
  43. package/.history/CHANGELOG_20250624055138.md +23 -0
  44. package/.history/CHANGELOG_20250624055156.md +23 -0
  45. package/.history/CHANGELOG_20250624055200.md +23 -0
  46. package/.history/CHANGELOG_20250624055203.md +23 -0
  47. package/.history/CHANGELOG_20250625142852.md +25 -0
  48. package/.history/CHANGELOG_20250625142901.md +22 -0
  49. package/.history/CHANGELOG_20250625142902.md +22 -0
  50. package/.history/README_20230911145033.md +245 -0
  51. package/.history/README_20230911151749.md +245 -0
  52. package/.history/README_20230911151844.md +245 -0
  53. package/.history/README_20230911153040.md +245 -0
  54. package/.history/README_20230911202959.md +245 -0
  55. package/.history/cli_20241005014539 +3 -0
  56. package/.history/cli_20241005014542 +3 -0
  57. package/.history/cli_20241005014848 +3 -0
  58. package/.history/dist/chunk-FICM3HUI_20230912183408.js +302 -0
  59. package/.history/dist/chunk-FICM3HUI_20230912201610.js +302 -0
  60. package/.history/package_20241107122123.json +106 -0
  61. package/.history/package_20241107122219.json +106 -0
  62. package/.history/package_20241107124611.json +106 -0
  63. package/.history/package_20241107125521.json +106 -0
  64. package/.history/package_20241107125538.json +106 -0
  65. package/.history/package_20241125013228.json +106 -0
  66. package/.history/package_20241125013249.json +106 -0
  67. package/.history/package_20241125014402.json +105 -0
  68. package/.history/package_20241125103106.json +105 -0
  69. package/.history/tsconfig_20241005001442.json +34 -0
  70. package/.history/tsconfig_20241005001500.json +34 -0
  71. package/.history/tsconfig_20241005001540.json +34 -0
  72. package/.history/tsconfig_20241005014429.json +42 -0
  73. package/.history/tsconfig_20241005014436.json +42 -0
  74. package/.history/tsconfig_20241005014439.json +38 -0
  75. package/.history/tsconfig_20241005014455.json +38 -0
  76. package/.history/tsconfig_20241005014521.json +38 -0
  77. package/.idea/codeStyles/Project.xml +131 -0
  78. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  79. package/.idea/misc.xml +17 -0
  80. package/.idea/prettier.xml +1 -1
  81. package/dist/cli.js +3 -1
  82. package/dist/webpack.config.js +43 -12
  83. package/package.json +3 -1
  84. package/.idea/runConfigurations/build_watch.xml +0 -13
  85. package/.idea/runConfigurations/lint_fix.xml +0 -13
  86. package/.idea/runConfigurations/tscheck.xml +0 -12
@@ -0,0 +1,34 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "target": "esnext",
5
+ "module": "esnext",
6
+ "allowJs": true,
7
+ "jsx": "react",
8
+ "noEmit": true,
9
+ "isolatedModules": true,
10
+ "strict": true,
11
+ "noFallthroughCasesInSwitch": true,
12
+ "moduleResolution": "node",
13
+ "baseUrl": ".",
14
+ "paths": {
15
+ "commands/*": ["src/commands/*"],
16
+ "lib/*": ["src/lib/*"]
17
+ },
18
+ "allowSyntheticDefaultImports": true,
19
+ "esModuleInterop": true,
20
+ "skipLibCheck": true,
21
+ "forceConsistentCasingInFileNames": true,
22
+ "resolveJsonModule": true,
23
+ },
24
+ "include": [
25
+ "**/*",
26
+ ".eslintrc.cjs",
27
+ ],
28
+ "exclude": [
29
+ ".history/**/*",
30
+ ".idea/**/*",
31
+ "dist/**/*",
32
+ "node_modules/**/*",
33
+ ]
34
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "target": "esnext",
5
+ "module": "esnext",
6
+ "allowJs": true,
7
+ "jsx": "react",
8
+ "noEmit": true,
9
+ "isolatedModules": true,
10
+ "strict": true,
11
+ "noFallthroughCasesInSwitch": true,
12
+ "moduleResolution": "node",
13
+ "baseUrl": ".",
14
+ "paths": {
15
+ "commands/*": ["src/commands/*"],
16
+ "lib/*": ["src/lib/*"]
17
+ },
18
+ "allowSyntheticDefaultImports": true,
19
+ "esModuleInterop": true,
20
+ "skipLibCheck": true,
21
+ "forceConsistentCasingInFileNames": true,
22
+ "resolveJsonModule": true,
23
+ },
24
+ "include": [
25
+ "**/*",
26
+ ".eslintrc.cjs",
27
+ ],
28
+ "exclude": [
29
+ ".history/**/*",
30
+ ".idea/**/*",
31
+ "dist/**/*",
32
+ "node_modules/**/*",
33
+ ]
34
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "moduleDetection": "force",
5
+ "resolveJsonModule": true,
6
+ "allowJs": true,
7
+ "esModuleInterop": true,
8
+ "isolatedModules": true,
9
+
10
+ "noEmit": true,
11
+ "strict": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "skipLibCheck": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+
17
+ "target": "ESNext",
18
+ "module": "ESNext",
19
+ "moduleResolution": "node",
20
+ "jsx": "react",
21
+
22
+ "baseUrl": ".",
23
+ "paths": {
24
+ "commands/*": ["src/commands/*"],
25
+ "lib/*": ["src/lib/*"]
26
+ },
27
+
28
+
29
+
30
+
31
+ },
32
+ "include": [
33
+ "**/*",
34
+ ".eslintrc.cjs",
35
+ ],
36
+ "exclude": [
37
+ ".history/**/*",
38
+ ".idea/**/*",
39
+ "dist/**/*",
40
+ "node_modules/**/*",
41
+ ]
42
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "moduleDetection": "force",
5
+ "resolveJsonModule": true,
6
+ "allowJs": true,
7
+ "esModuleInterop": true,
8
+ "isolatedModules": true,
9
+
10
+ "noEmit": true,
11
+ "strict": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "skipLibCheck": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+
17
+ "target": "ESNext",
18
+ "module": "ESNext",
19
+ "moduleResolution": "node",
20
+ "jsx": "react",
21
+
22
+ "baseUrl": ".",
23
+ "paths": {
24
+ "commands/*": ["src/commands/*"],
25
+ "lib/*": ["src/lib/*"]
26
+ },
27
+
28
+
29
+
30
+
31
+ },
32
+ "include": [
33
+ "**/*",
34
+ ".eslintrc.cjs",
35
+ ],
36
+ "exclude": [
37
+ ".history/**/*",
38
+ ".idea/**/*",
39
+ "dist/**/*",
40
+ "node_modules/**/*",
41
+ ]
42
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "moduleDetection": "force",
5
+ "resolveJsonModule": true,
6
+ "allowJs": true,
7
+ "esModuleInterop": true,
8
+ "isolatedModules": true,
9
+
10
+ "noEmit": true,
11
+ "strict": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "skipLibCheck": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+
17
+ "target": "ESNext",
18
+ "module": "ESNext",
19
+ "moduleResolution": "node",
20
+ "jsx": "react",
21
+
22
+ "baseUrl": ".",
23
+ "paths": {
24
+ "commands/*": ["src/commands/*"],
25
+ "lib/*": ["src/lib/*"]
26
+ },
27
+ },
28
+ "include": [
29
+ "**/*",
30
+ ".eslintrc.cjs",
31
+ ],
32
+ "exclude": [
33
+ ".history/**/*",
34
+ ".idea/**/*",
35
+ "dist/**/*",
36
+ "node_modules/**/*",
37
+ ]
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "moduleDetection": "force",
5
+ "resolveJsonModule": true,
6
+ "allowJs": true,
7
+ "esModuleInterop": true,
8
+ "isolatedModules": true,
9
+
10
+ "noEmit": true,
11
+ "strict": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "skipLibCheck": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+
17
+ "target": "ESNext",
18
+ "module": "ESNext",
19
+ "moduleResolution": "node",
20
+ "jsx": "react",
21
+
22
+ "baseUrl": ".",
23
+ "paths": {
24
+ "commands/*": ["src/commands/*"],
25
+ "lib/*": ["src/lib/*"]
26
+ },
27
+ },
28
+ "include": [
29
+ "**/*",
30
+ ".eslintrc.cjs",
31
+ ],
32
+ "exclude": [
33
+ ".history",
34
+ ".idea",
35
+ "dist",
36
+ "node_modules",
37
+ ]
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ /* https://aka.ms/tsconfig.json */
3
+ "compilerOptions": {
4
+ "moduleDetection": "force",
5
+ "resolveJsonModule": true,
6
+ "allowJs": true,
7
+ "esModuleInterop": true,
8
+ "isolatedModules": true,
9
+
10
+ "noEmit": true,
11
+ "strict": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "skipLibCheck": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+
17
+ "target": "ESNext",
18
+ "module": "ESNext",
19
+ "moduleResolution": "Bundler",
20
+ "jsx": "react",
21
+
22
+ "baseUrl": ".",
23
+ "paths": {
24
+ "commands/*": ["src/commands/*"],
25
+ "lib/*": ["src/lib/*"]
26
+ },
27
+ },
28
+ "include": [
29
+ "**/*",
30
+ ".eslintrc.cjs",
31
+ ],
32
+ "exclude": [
33
+ ".history",
34
+ ".idea",
35
+ "dist",
36
+ "node_modules",
37
+ ]
38
+ }
@@ -0,0 +1,131 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <code_scheme name="Project" version="173">
3
+ <option name="OTHER_INDENT_OPTIONS">
4
+ <value>
5
+ <option name="INDENT_SIZE" value="2" />
6
+ <option name="TAB_SIZE" value="2" />
7
+ </value>
8
+ </option>
9
+ <HTMLCodeStyleSettings>
10
+ <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
11
+ <option name="HTML_ENFORCE_QUOTES" value="true" />
12
+ </HTMLCodeStyleSettings>
13
+ <JSCodeStyleSettings version="0">
14
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
15
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
16
+ <option name="FORCE_QUOTE_STYlE" value="true" />
17
+ <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
18
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
19
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
20
+ </JSCodeStyleSettings>
21
+ <TypeScriptCodeStyleSettings version="0">
22
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
23
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
24
+ <option name="FORCE_QUOTE_STYlE" value="true" />
25
+ <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
26
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
27
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
28
+ </TypeScriptCodeStyleSettings>
29
+ <VueCodeStyleSettings>
30
+ <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
31
+ <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
32
+ </VueCodeStyleSettings>
33
+ <codeStyleSettings language="CSS">
34
+ <indentOptions>
35
+ <option name="INDENT_SIZE" value="2" />
36
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
37
+ <option name="TAB_SIZE" value="2" />
38
+ </indentOptions>
39
+ </codeStyleSettings>
40
+ <codeStyleSettings language="Dart">
41
+ <indentOptions>
42
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
43
+ </indentOptions>
44
+ </codeStyleSettings>
45
+ <codeStyleSettings language="Gherkin">
46
+ <indentOptions>
47
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
48
+ <option name="TAB_SIZE" value="2" />
49
+ </indentOptions>
50
+ </codeStyleSettings>
51
+ <codeStyleSettings language="HTML">
52
+ <option name="SOFT_MARGINS" value="80" />
53
+ <indentOptions>
54
+ <option name="INDENT_SIZE" value="2" />
55
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
56
+ <option name="TAB_SIZE" value="2" />
57
+ </indentOptions>
58
+ </codeStyleSettings>
59
+ <codeStyleSettings language="Haml">
60
+ <indentOptions>
61
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
62
+ <option name="TAB_SIZE" value="2" />
63
+ </indentOptions>
64
+ </codeStyleSettings>
65
+ <codeStyleSettings language="JSON">
66
+ <indentOptions>
67
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
68
+ <option name="TAB_SIZE" value="2" />
69
+ </indentOptions>
70
+ </codeStyleSettings>
71
+ <codeStyleSettings language="Jade">
72
+ <indentOptions>
73
+ <option name="INDENT_SIZE" value="2" />
74
+ <option name="TAB_SIZE" value="2" />
75
+ </indentOptions>
76
+ </codeStyleSettings>
77
+ <codeStyleSettings language="JavaScript">
78
+ <option name="SOFT_MARGINS" value="80" />
79
+ <indentOptions>
80
+ <option name="INDENT_SIZE" value="2" />
81
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
82
+ <option name="TAB_SIZE" value="2" />
83
+ </indentOptions>
84
+ </codeStyleSettings>
85
+ <codeStyleSettings language="LESS">
86
+ <indentOptions>
87
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
88
+ <option name="TAB_SIZE" value="2" />
89
+ </indentOptions>
90
+ </codeStyleSettings>
91
+ <codeStyleSettings language="SASS">
92
+ <indentOptions>
93
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
94
+ <option name="TAB_SIZE" value="2" />
95
+ </indentOptions>
96
+ </codeStyleSettings>
97
+ <codeStyleSettings language="SCSS">
98
+ <indentOptions>
99
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
100
+ <option name="TAB_SIZE" value="2" />
101
+ </indentOptions>
102
+ </codeStyleSettings>
103
+ <codeStyleSettings language="Stylus">
104
+ <indentOptions>
105
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
106
+ <option name="TAB_SIZE" value="2" />
107
+ </indentOptions>
108
+ </codeStyleSettings>
109
+ <codeStyleSettings language="TypeScript">
110
+ <option name="SOFT_MARGINS" value="80" />
111
+ <indentOptions>
112
+ <option name="INDENT_SIZE" value="2" />
113
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
114
+ <option name="TAB_SIZE" value="2" />
115
+ </indentOptions>
116
+ </codeStyleSettings>
117
+ <codeStyleSettings language="Vue">
118
+ <option name="SOFT_MARGINS" value="80" />
119
+ <indentOptions>
120
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
121
+ </indentOptions>
122
+ </codeStyleSettings>
123
+ <codeStyleSettings language="XML">
124
+ <indentOptions>
125
+ <option name="INDENT_SIZE" value="2" />
126
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
127
+ <option name="TAB_SIZE" value="2" />
128
+ </indentOptions>
129
+ </codeStyleSettings>
130
+ </code_scheme>
131
+ </component>
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="accountSettings">
4
+ <option name="activeProfile" value="profile:default" />
5
+ <option name="activeRegion" value="us-east-1" />
6
+ <option name="recentlyUsedProfiles">
7
+ <list>
8
+ <option value="profile:default" />
9
+ </list>
10
+ </option>
11
+ <option name="recentlyUsedRegions">
12
+ <list>
13
+ <option value="us-east-1" />
14
+ </list>
15
+ </option>
16
+ </component>
17
+ </project>
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="PrettierConfiguration">
4
- <option name="myConfigurationMode" value="AUTOMATIC" />
4
+ <option name="myRunOnSave" value="true" />
5
5
  </component>
6
6
  </project>
package/dist/cli.js CHANGED
@@ -611,7 +611,7 @@ var prepareFlags4 = async (options) => {
611
611
  // package.json
612
612
  var package_default = {
613
613
  name: "@raisenow/tamaro-cli",
614
- version: "1.1.9",
614
+ version: "1.2.0",
615
615
  author: {
616
616
  name: "RaiseNow",
617
617
  email: "development@raisenow.com"
@@ -695,7 +695,9 @@ var package_default = {
695
695
  portfinder: "^1.0.32",
696
696
  postcss: "^8.4.49",
697
697
  "postcss-custom-properties": "^14.0.4",
698
+ "postcss-import": "^16.1.1",
698
699
  "postcss-loader": "^8.1.1",
700
+ "postcss-nested": "^7.0.2",
699
701
  prettier: "^3.3.3",
700
702
  prompts: "^2.4.2",
701
703
  "react-refresh": "^0.14.2",
@@ -83,8 +83,10 @@ var getWebpackConfig = (env) => {
83
83
  logDataTable(envVars.raw);
84
84
  const getCssLoaders = ({
85
85
  styleLoader = true,
86
+ sassLoader = true,
86
87
  ...cssOptions
87
88
  }) => {
89
+ const importLoaders = sassLoader ? 3 : 1;
88
90
  return removeEmpty([
89
91
  styleLoader ? ifMin({ loader: MiniCssExtractPlugin.loader }) : void 0,
90
92
  styleLoader ? ifNotMin({
@@ -99,7 +101,7 @@ var getWebpackConfig = (env) => {
99
101
  loader: require2.resolve("css-loader"),
100
102
  options: {
101
103
  sourceMap: ifNotMin(),
102
- importLoaders: 3,
104
+ importLoaders,
103
105
  ...cssOptions
104
106
  }
105
107
  },
@@ -108,26 +110,28 @@ var getWebpackConfig = (env) => {
108
110
  options: {
109
111
  postcssOptions: {
110
112
  plugins: removeEmpty([
113
+ !sassLoader ? require2.resolve("postcss-import") : void 0,
114
+ !sassLoader ? require2.resolve("postcss-nested") : void 0,
111
115
  useTailwind ? [
112
116
  require2.resolve("tailwindcss", {
113
117
  paths: [paths.appNodeModules]
114
118
  }),
115
119
  paths.appTailwindConfig
116
120
  ] : void 0,
117
- require2.resolve("postcss-custom-properties"),
121
+ // require.resolve('postcss-custom-properties'),
118
122
  require2.resolve("autoprefixer")
119
123
  ])
120
124
  }
121
125
  }
122
126
  },
123
- {
127
+ sassLoader ? {
124
128
  loader: require2.resolve("resolve-url-loader"),
125
129
  options: { sourceMap: ifNotMin() }
126
- },
127
- {
130
+ } : void 0,
131
+ sassLoader ? {
128
132
  loader: require2.resolve("sass-loader"),
129
133
  options: { api: "modern-compiler", sourceMap: true }
130
- }
134
+ } : void 0
131
135
  ]);
132
136
  };
133
137
  const config = {
@@ -206,7 +210,12 @@ var getWebpackConfig = (env) => {
206
210
  allowDeclareFields: true
207
211
  }
208
212
  ],
209
- require2.resolve("@babel/preset-react")
213
+ [
214
+ require2.resolve("@babel/preset-react"),
215
+ {
216
+ runtime: "automatic"
217
+ }
218
+ ]
210
219
  ],
211
220
  plugins: removeEmpty([
212
221
  [
@@ -238,20 +247,42 @@ var getWebpackConfig = (env) => {
238
247
  {
239
248
  test: /\.(js|mjs)$/
240
249
  },
241
- // Styles (extracted)
250
+ // SCSS Styles (extracted)
251
+ {
252
+ test: /\.scss$/,
253
+ resourceQuery: { not: [/inline/] },
254
+ use: getCssLoaders({
255
+ styleLoader: true,
256
+ sassLoader: true
257
+ })
258
+ },
259
+ // CSS Styles (extracted)
242
260
  {
243
- test: /\.s?css$/,
261
+ test: /\.css$/,
244
262
  resourceQuery: { not: [/inline/] },
245
263
  use: getCssLoaders({
246
- styleLoader: true
264
+ styleLoader: true,
265
+ sassLoader: false
266
+ })
267
+ },
268
+ // SCSS Styles (as string)
269
+ {
270
+ test: /\.scss$/,
271
+ resourceQuery: /inline/,
272
+ use: getCssLoaders({
273
+ styleLoader: false,
274
+ sassLoader: true,
275
+ exportType: "string",
276
+ sourceMap: false
247
277
  })
248
278
  },
249
- // Styles (as string)
279
+ // CSS Styles (as string)
250
280
  {
251
- test: /\.s?css$/,
281
+ test: /\.css$/,
252
282
  resourceQuery: /inline/,
253
283
  use: getCssLoaders({
254
284
  styleLoader: false,
285
+ sassLoader: false,
255
286
  exportType: "string",
256
287
  sourceMap: false
257
288
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raisenow/tamaro-cli",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "author": {
5
5
  "name": "RaiseNow",
6
6
  "email": "development@raisenow.com"
@@ -84,7 +84,9 @@
84
84
  "portfinder": "^1.0.32",
85
85
  "postcss": "^8.4.49",
86
86
  "postcss-custom-properties": "^14.0.4",
87
+ "postcss-import": "^16.1.1",
87
88
  "postcss-loader": "^8.1.1",
89
+ "postcss-nested": "^7.0.2",
88
90
  "prettier": "^3.3.3",
89
91
  "prompts": "^2.4.2",
90
92
  "react-refresh": "^0.14.2",
@@ -1,13 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="build:watch" type="js.build_tools.npm" nameIsGenerated="true">
3
- <package-json value="$PROJECT_DIR$/package.json" />
4
- <command value="run" />
5
- <scripts>
6
- <script value="build:watch" />
7
- </scripts>
8
- <node-interpreter value="project" />
9
- <package-manager value="pnpm" />
10
- <envs />
11
- <method v="2" />
12
- </configuration>
13
- </component>
@@ -1,13 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="lint:fix" type="js.build_tools.npm" nameIsGenerated="true">
3
- <package-json value="$PROJECT_DIR$/package.json" />
4
- <command value="run" />
5
- <scripts>
6
- <script value="lint:fix" />
7
- </scripts>
8
- <node-interpreter value="project" />
9
- <package-manager value="pnpm" />
10
- <envs />
11
- <method v="2" />
12
- </configuration>
13
- </component>
@@ -1,12 +0,0 @@
1
- <component name="ProjectRunConfigurationManager">
2
- <configuration default="false" name="tscheck" type="js.build_tools.npm" nameIsGenerated="true">
3
- <package-json value="$PROJECT_DIR$/package.json" />
4
- <command value="run" />
5
- <scripts>
6
- <script value="tscheck" />
7
- </scripts>
8
- <node-interpreter value="project" />
9
- <envs />
10
- <method v="2" />
11
- </configuration>
12
- </component>