Fix code quality violations and exclude Manifest from checks
Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
14
node_modules/postcss-minify-params/package.json
generated
vendored
14
node_modules/postcss-minify-params/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "postcss-minify-params",
|
||||
"version": "5.1.4",
|
||||
"version": "7.0.5",
|
||||
"description": "Minify at-rule params with PostCSS",
|
||||
"keywords": [
|
||||
"postcss",
|
||||
@@ -25,17 +25,17 @@
|
||||
},
|
||||
"homepage": "https://github.com/cssnano/cssnano",
|
||||
"dependencies": {
|
||||
"browserslist": "^4.21.4",
|
||||
"cssnano-utils": "^3.1.0",
|
||||
"postcss-value-parser": "^4.2.0"
|
||||
"browserslist": "^4.27.0",
|
||||
"postcss-value-parser": "^4.2.0",
|
||||
"cssnano-utils": "^5.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^10 || ^12 || >=14.0"
|
||||
"node": "^18.12.0 || ^20.9.0 || >=22.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"postcss": "^8.2.15"
|
||||
"postcss": "^8.5.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"postcss": "^8.2.15"
|
||||
"postcss": "^8.4.32"
|
||||
}
|
||||
}
|
||||
38
node_modules/postcss-minify-params/src/index.js
generated
vendored
38
node_modules/postcss-minify-params/src/index.js
generated
vendored
@@ -1,4 +1,5 @@
|
||||
'use strict';
|
||||
const { dirname } = require('path');
|
||||
const browserslist = require('browserslist');
|
||||
const valueParser = require('postcss-value-parser');
|
||||
const { getArguments } = require('cssnano-utils');
|
||||
@@ -133,23 +134,38 @@ function transform(legacy, rule) {
|
||||
const allBugBrowers = new Set(['ie 10', 'ie 11']);
|
||||
|
||||
/**
|
||||
* @type {import('postcss').PluginCreator<browserslist.Options>}
|
||||
* @param {browserslist.Options} options
|
||||
* @typedef {{ overrideBrowserslist?: string | string[] }} AutoprefixerOptions
|
||||
* @typedef {Pick<browserslist.Options, 'stats' | 'path' | 'env'>} BrowserslistOptions
|
||||
* @typedef {AutoprefixerOptions & BrowserslistOptions} Options
|
||||
*/
|
||||
|
||||
/**
|
||||
* @type {import('postcss').PluginCreator<Options>}
|
||||
* @param {Options} options
|
||||
* @return {import('postcss').Plugin}
|
||||
*/
|
||||
function pluginCreator(options = {}) {
|
||||
const browsers = browserslist(null, {
|
||||
stats: options.stats,
|
||||
path: __dirname,
|
||||
env: options.env,
|
||||
});
|
||||
|
||||
const hasAllBug = browsers.some((browser) => allBugBrowers.has(browser));
|
||||
return {
|
||||
postcssPlugin: 'postcss-minify-params',
|
||||
|
||||
OnceExit(css) {
|
||||
css.walkAtRules((rule) => transform(hasAllBug, rule));
|
||||
/**
|
||||
* @param {import('postcss').Result & {opts: BrowserslistOptions & {file?: string}}} result
|
||||
*/
|
||||
prepare(result) {
|
||||
const { stats, env, from, file } = result.opts || {};
|
||||
const browsers = browserslist(options.overrideBrowserslist, {
|
||||
stats: options.stats || stats,
|
||||
path: options.path || dirname(from || file || __filename),
|
||||
env: options.env || env,
|
||||
});
|
||||
|
||||
const hasAllBug = browsers.some((browser) => allBugBrowers.has(browser));
|
||||
|
||||
return {
|
||||
OnceExit(css) {
|
||||
css.walkAtRules((rule) => transform(hasAllBug, rule));
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
20
node_modules/postcss-minify-params/types/index.d.ts
generated
vendored
20
node_modules/postcss-minify-params/types/index.d.ts
generated
vendored
@@ -1,11 +1,23 @@
|
||||
export = pluginCreator;
|
||||
/**
|
||||
* @type {import('postcss').PluginCreator<browserslist.Options>}
|
||||
* @param {browserslist.Options} options
|
||||
* @typedef {{ overrideBrowserslist?: string | string[] }} AutoprefixerOptions
|
||||
* @typedef {Pick<browserslist.Options, 'stats' | 'path' | 'env'>} BrowserslistOptions
|
||||
* @typedef {AutoprefixerOptions & BrowserslistOptions} Options
|
||||
*/
|
||||
/**
|
||||
* @type {import('postcss').PluginCreator<Options>}
|
||||
* @param {Options} options
|
||||
* @return {import('postcss').Plugin}
|
||||
*/
|
||||
declare function pluginCreator(options?: browserslist.Options): import('postcss').Plugin;
|
||||
declare function pluginCreator(options?: Options): import("postcss").Plugin;
|
||||
declare namespace pluginCreator {
|
||||
const postcss: true;
|
||||
export { postcss, AutoprefixerOptions, BrowserslistOptions, Options };
|
||||
}
|
||||
declare var postcss: true;
|
||||
type AutoprefixerOptions = {
|
||||
overrideBrowserslist?: string | string[];
|
||||
};
|
||||
type BrowserslistOptions = Pick<browserslist.Options, "stats" | "path" | "env">;
|
||||
type Options = AutoprefixerOptions & BrowserslistOptions;
|
||||
import browserslist = require("browserslist");
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
1
node_modules/postcss-minify-params/types/index.d.ts.map
generated
vendored
Executable file
1
node_modules/postcss-minify-params/types/index.d.ts.map
generated
vendored
Executable file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";AAuIA;;;;GAIG;AAEH;;;;GAIG;AACH,yCAHW,OAAO,GACN,OAAO,SAAS,EAAE,MAAM,CA0BnC;;;;;2BAlCY;IAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE;2BAC5C,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;eACpD,mBAAmB,GAAG,mBAAmB"}
|
||||
Reference in New Issue
Block a user