@modern-js/plugin-tailwindcss 0.0.0-next-1692780687355 → 0.0.0-next-1692799619901

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/CHANGELOG.md CHANGED
@@ -1,21 +1,25 @@
1
1
  # @modern-js/plugin-tailwindcss
2
2
 
3
- ## 0.0.0-next-1692780687355
3
+ ## 0.0.0-next-1692799619901
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 6076166600: fix: packaging errors found by publint
7
+ - 607616660: fix: packaging errors found by publint
8
8
 
9
9
  fix: 修复 publint 检测到的 packaging 问题
10
10
 
11
- - Updated dependencies [e5a3fb4caf]
12
- - Updated dependencies [6076166600]
13
- - Updated dependencies [a030aff285]
14
- - Updated dependencies [92591c6a0d]
15
- - Updated dependencies [3c911009aa]
16
- - Updated dependencies [5255eba1ff]
17
- - @modern-js/runtime@0.0.0-next-1692780687355
18
- - @modern-js/utils@0.0.0-next-1692780687355
11
+ - b31e9dd8e: chore(plugin-tailwindcss): use glob shorthand in the default config
12
+
13
+ chore(plugin-tailwindcss): 在默认配置中使用 glob 缩写
14
+
15
+ - Updated dependencies [e5a3fb4ca]
16
+ - Updated dependencies [607616660]
17
+ - Updated dependencies [a030aff28]
18
+ - Updated dependencies [92591c6a0]
19
+ - Updated dependencies [3c911009a]
20
+ - Updated dependencies [5255eba1f]
21
+ - @modern-js/runtime@0.0.0-next-1692799619901
22
+ - @modern-js/utils@0.0.0-next-1692799619901
19
23
 
20
24
  ## 2.31.2
21
25
 
package/dist/cjs/cli.js CHANGED
@@ -32,16 +32,13 @@ const getRandomTwConfigFileName = (internalDirectory) => {
32
32
  };
33
33
  function getDefaultContent(appDirectory) {
34
34
  const defaultContent = [
35
- "./src/**/*.js",
36
- "./src/**/*.jsx",
37
- "./src/**/*.ts",
38
- "./src/**/*.tsx"
35
+ "./src/**/*.{js,jsx,ts,tsx}"
39
36
  ];
40
37
  if (_utils.fs.existsSync(_path.default.join(appDirectory, "storybook"))) {
41
38
  defaultContent.push("./storybook/**/*");
42
39
  }
43
40
  if (_utils.fs.existsSync(_path.default.join(appDirectory, "config/html"))) {
44
- defaultContent.push("./config/html/**/*.html", "./config/html/**/*.ejs", "./config/html/**/*.hbs");
41
+ defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
45
42
  }
46
43
  return defaultContent;
47
44
  }
package/dist/esm/cli.js CHANGED
@@ -11,16 +11,13 @@ export var getRandomTwConfigFileName = function(internalDirectory) {
11
11
  };
12
12
  function getDefaultContent(appDirectory) {
13
13
  var defaultContent = [
14
- "./src/**/*.js",
15
- "./src/**/*.jsx",
16
- "./src/**/*.ts",
17
- "./src/**/*.tsx"
14
+ "./src/**/*.{js,jsx,ts,tsx}"
18
15
  ];
19
16
  if (fs.existsSync(path.join(appDirectory, "storybook"))) {
20
17
  defaultContent.push("./storybook/**/*");
21
18
  }
22
19
  if (fs.existsSync(path.join(appDirectory, "config/html"))) {
23
- defaultContent.push("./config/html/**/*.html", "./config/html/**/*.ejs", "./config/html/**/*.hbs");
20
+ defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
24
21
  }
25
22
  return defaultContent;
26
23
  }
@@ -9,16 +9,13 @@ export const getRandomTwConfigFileName = (internalDirectory) => {
9
9
  };
10
10
  function getDefaultContent(appDirectory) {
11
11
  const defaultContent = [
12
- "./src/**/*.js",
13
- "./src/**/*.jsx",
14
- "./src/**/*.ts",
15
- "./src/**/*.tsx"
12
+ "./src/**/*.{js,jsx,ts,tsx}"
16
13
  ];
17
14
  if (fs.existsSync(path.join(appDirectory, "storybook"))) {
18
15
  defaultContent.push("./storybook/**/*");
19
16
  }
20
17
  if (fs.existsSync(path.join(appDirectory, "config/html"))) {
21
- defaultContent.push("./config/html/**/*.html", "./config/html/**/*.ejs", "./config/html/**/*.hbs");
18
+ defaultContent.push("./config/html/**/*.{html,ejs,hbs}");
22
19
  }
23
20
  return defaultContent;
24
21
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1692780687355",
18
+ "version": "0.0.0-next-1692799619901",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -49,7 +49,7 @@
49
49
  "babel-plugin-macros": "3.1.0",
50
50
  "hoist-non-react-statics": "^3.3.2",
51
51
  "@swc/helpers": "0.5.1",
52
- "@modern-js/utils": "0.0.0-next-1692780687355"
52
+ "@modern-js/utils": "0.0.0-next-1692799619901"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/jest": "^29",
@@ -59,17 +59,17 @@
59
59
  "jest": "^29",
60
60
  "react": "^18",
61
61
  "postcss": "8.4.27",
62
- "@modern-js/core": "0.0.0-next-1692780687355",
63
- "@modern-js/module-tools": "0.0.0-next-1692780687355",
64
- "@modern-js/runtime": "0.0.0-next-1692780687355",
65
- "@modern-js/types": "0.0.0-next-1692780687355",
66
- "@scripts/build": "0.0.0-next-1692780687355",
67
- "@modern-js/app-tools": "0.0.0-next-1692780687355",
68
- "@scripts/jest-config": "0.0.0-next-1692780687355"
62
+ "@modern-js/core": "0.0.0-next-1692799619901",
63
+ "@modern-js/module-tools": "0.0.0-next-1692799619901",
64
+ "@modern-js/runtime": "0.0.0-next-1692799619901",
65
+ "@scripts/build": "0.0.0-next-1692799619901",
66
+ "@modern-js/types": "0.0.0-next-1692799619901",
67
+ "@modern-js/app-tools": "0.0.0-next-1692799619901",
68
+ "@scripts/jest-config": "0.0.0-next-1692799619901"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "tailwindcss": ">= 2.0.0 || >= 3.0.0",
72
- "@modern-js/runtime": "0.0.0-next-1692780687355"
72
+ "@modern-js/runtime": "0.0.0-next-1692799619901"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@modern-js/runtime": {