@atlaspack/transformer-postcss 2.12.1-dev.3365 → 2.12.1-dev.3398

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/lib/loadConfig.js CHANGED
@@ -72,10 +72,10 @@ async function configHydrator(configFile, config, resolveFrom, options, logger)
72
72
  let message;
73
73
  let hints = [];
74
74
  if (!isPackageJson && redundantPlugins.length === pluginArray.length) {
75
- message = (0, _diagnostic().md)`Atlaspack includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains only redundant plugins. Deleting it may significantly improve build performance.`;
75
+ message = (0, _diagnostic().md)`Parcel includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains only redundant plugins. Deleting it may significantly improve build performance.`;
76
76
  hints.push((0, _diagnostic().md)`Delete __${filename}__`);
77
77
  } else {
78
- message = (0, _diagnostic().md)`Atlaspack includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains the following redundant plugins: ${[...redundantPlugins].map(p => _diagnostic().md.underline(p))}. Removing these may improve build performance.`;
78
+ message = (0, _diagnostic().md)`Parcel includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains the following redundant plugins: ${[...redundantPlugins].map(p => _diagnostic().md.underline(p))}. Removing these may improve build performance.`;
79
79
  hints.push((0, _diagnostic().md)`Remove the above plugins from __${filename}__`);
80
80
  }
81
81
  let codeFrames;
@@ -148,7 +148,7 @@ async function load({
148
148
  // We have to invalidate on startup in case the config is non-deterministic,
149
149
  // e.g. using unknown environment variables, reading from the filesystem, etc.
150
150
  logger.warn({
151
- message: 'WARNING: Using a JavaScript PostCSS config file means losing out on caching features of Atlaspack. Use a .postcssrc(.json) file whenever possible.'
151
+ message: 'WARNING: Using a JavaScript PostCSS config file means losing out on caching features of Parcel. Use a .postcssrc(.json) file whenever possible.'
152
152
  });
153
153
  }
154
154
  if (typeof contents !== 'object') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-postcss",
3
- "version": "2.12.1-dev.3365+fc95bf726",
3
+ "version": "2.12.1-dev.3398+81c73b3cd",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,13 +13,13 @@
13
13
  "source": "src/PostCSSTransformer.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "atlaspack": "^2.12.1-dev.3365+fc95bf726"
16
+ "parcel": "^2.12.1-dev.3398+81c73b3cd"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.12.1-dev.3365+fc95bf726",
20
- "@atlaspack/plugin": "2.12.1-dev.3365+fc95bf726",
21
- "@atlaspack/rust": "2.12.1-dev.3365+fc95bf726",
22
- "@atlaspack/utils": "2.12.1-dev.3365+fc95bf726",
19
+ "@atlaspack/diagnostic": "2.12.1-dev.3398+81c73b3cd",
20
+ "@atlaspack/plugin": "2.12.1-dev.3398+81c73b3cd",
21
+ "@atlaspack/rust": "2.12.1-dev.3398+81c73b3cd",
22
+ "@atlaspack/utils": "2.12.1-dev.3398+81c73b3cd",
23
23
  "clone": "^2.1.1",
24
24
  "nullthrows": "^1.1.1",
25
25
  "postcss-value-parser": "^4.2.0",
@@ -29,5 +29,5 @@
29
29
  "postcss": "^8.4.5",
30
30
  "postcss-modules": "^4.3.1"
31
31
  },
32
- "gitHead": "fc95bf7264a7c557592ab9457e8a9539571cc838"
32
+ "gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910"
33
33
  }
package/src/loadConfig.js CHANGED
@@ -82,10 +82,10 @@ async function configHydrator(
82
82
  let message;
83
83
  let hints = [];
84
84
  if (!isPackageJson && redundantPlugins.length === pluginArray.length) {
85
- message = md`Atlaspack includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains only redundant plugins. Deleting it may significantly improve build performance.`;
85
+ message = md`Parcel includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains only redundant plugins. Deleting it may significantly improve build performance.`;
86
86
  hints.push(md`Delete __${filename}__`);
87
87
  } else {
88
- message = md`Atlaspack includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains the following redundant plugins: ${[
88
+ message = md`Parcel includes CSS transpilation and vendor prefixing by default. PostCSS config __${filename}__ contains the following redundant plugins: ${[
89
89
  ...redundantPlugins,
90
90
  ].map(p =>
91
91
  md.underline(p),
@@ -188,7 +188,7 @@ export async function load({
188
188
  // e.g. using unknown environment variables, reading from the filesystem, etc.
189
189
  logger.warn({
190
190
  message:
191
- 'WARNING: Using a JavaScript PostCSS config file means losing out on caching features of Atlaspack. Use a .postcssrc(.json) file whenever possible.',
191
+ 'WARNING: Using a JavaScript PostCSS config file means losing out on caching features of Parcel. Use a .postcssrc(.json) file whenever possible.',
192
192
  });
193
193
  }
194
194