Add node modules and vendor directory to .gitignore

Signed-off-by: Joe Dolson <design@joedolson.com>
This commit is contained in:
Joe Dolson 2025-06-27 09:59:21 -05:00
parent c154cf5ff9
commit 9f19705d4c
10 changed files with 23656 additions and 35 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
vendor

23540
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

67
package.json Normal file
View file

@ -0,0 +1,67 @@
{
"name": "PROJECTNAME",
"version": "2.6.1",
"description": "PROJECTNAME powered by dudestack + devpackages",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@hint/hint-axe": "^4.4.17",
"@hint/hint-button-type": "^3.0.19",
"@hint/hint-compat-api": "^4.5.3",
"@ronilaukkarinen/gulp-stylelint": "^14.1.1",
"@ronilaukkarinen/stylelint-a11y": "^1.2.7",
"@ronilaukkarinen/stylelint-declaration-strict-value": "^1.9.2",
"@ronilaukkarinen/stylelint-value-no-unknown-custom-properties": "^4.0.1",
"autoprefixer": "^10.4.13",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"babel-preset-airbnb": "^5.0.0",
"browser-sync": "^2.27.11",
"caniuse-lite": "^1.0.30001452",
"cssnano": "^5.1.14",
"cssnano-preset-advanced": "^5.3.9",
"eslint": "^8.34.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gulp": "4.0.2",
"gulp-eslint-new": "^1.7.2",
"gulp-exec": "^5.0.0",
"gulp-notify": "^4.0.0",
"gulp-phpcs": "^3.1.0",
"gulp-postcss": "^9.0.1",
"gulp-sass": "^5.1.0",
"gulp-size": "^4.0.1",
"gulp-sourcemaps": "^3.0.0",
"hint": "^7.1.3",
"npm-check-updates": "^16.7.4",
"postcss": "^8.4.21",
"postcss-calc": "^8.2.4",
"postcss-colormin": "^5.3.0",
"postcss-discard-empty": "^5.1.1",
"postcss-merge-longhand": "^5.1.7",
"postcss-merge-rules": "^5.1.3",
"postcss-minify-gradients": "^5.1.1",
"postcss-normalize-positions": "^5.1.1",
"postcss-normalize-url": "^5.1.0",
"postcss-scss": "^4.0.6",
"postcss-unique-selectors": "^5.1.1",
"postcss-zindex": "^5.1.0",
"sass": "^1.58.1",
"stylelint": "^15.6.2",
"stylelint-config-recommended": "^10.0.1",
"stylelint-config-recommended-scss": "^9.0.1",
"stylelint-config-standard": "^30.0.1",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-order": "^6.0.2",
"stylelint-rem-over-px": "^1.0.2",
"stylelint-scss": "^4.4.0",
"terser-webpack-plugin": "^5.3.6",
"vinyl-named": "^1.1.0",
"webpack": "^5.75.0",
"webpack-stream": "^7.0.0"
}
}

5
vendor/autoload.php vendored
View file

@ -2,11 +2,6 @@
// autoload.php @generated by Composer
if (PHP_VERSION_ID < 50600) {
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
exit(1);
}
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit004edd38cf77626a2aae36e8c30d3592::getLoader();

View file

@ -21,14 +21,12 @@ use Composer\Semver\VersionParser;
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require its presence, you can require `composer-runtime-api ^2.0`
*
* @final
*/
class InstalledVersions
{
/**
* @var mixed[]|null
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
*/
private static $installed;
@ -39,7 +37,7 @@ class InstalledVersions
/**
* @var array[]
* @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
private static $installedByVendor = array();
@ -243,7 +241,7 @@ class InstalledVersions
/**
* @return array
* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
*/
public static function getRootPackage()
{
@ -257,7 +255,7 @@ class InstalledVersions
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
* @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
*/
public static function getRawData()
{
@ -280,7 +278,7 @@ class InstalledVersions
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
public static function getAllRawData()
{
@ -303,7 +301,7 @@ class InstalledVersions
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
* @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
*/
public static function reload($data)
{
@ -313,7 +311,7 @@ class InstalledVersions
/**
* @return array[]
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
private static function getInstalled()
{

View file

@ -2,7 +2,7 @@
// autoload_classmap.php @generated by Composer
$vendorDir = dirname(__DIR__);
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(

View file

@ -2,7 +2,7 @@
// autoload_namespaces.php @generated by Composer
$vendorDir = dirname(__DIR__);
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(

View file

@ -2,7 +2,7 @@
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(__DIR__);
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(

View file

@ -23,11 +23,30 @@ class ComposerAutoloaderInit004edd38cf77626a2aae36e8c30d3592
}
spl_autoload_register(array('ComposerAutoloaderInit004edd38cf77626a2aae36e8c30d3592', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit004edd38cf77626a2aae36e8c30d3592', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit004edd38cf77626a2aae36e8c30d3592::getInitializer($loader));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit004edd38cf77626a2aae36e8c30d3592::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
$loader->register(true);

View file

@ -1,88 +1,88 @@
<?php return array(
'root' => array(
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '9f331bf77bf2a7bc7b90a6413a2a18a7a0793621',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'c154cf5ff988aa67d86d4e4dc16dd7b4f7255618',
'name' => '__root__',
'dev' => true,
),
'versions' => array(
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '9f331bf77bf2a7bc7b90a6413a2a18a7a0793621',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => 'c154cf5ff988aa67d86d4e4dc16dd7b4f7255618',
'dev_requirement' => false,
),
'dealerdirect/phpcodesniffer-composer-installer' => array(
'pretty_version' => 'v0.7.2',
'version' => '0.7.2.0',
'reference' => '1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',
'type' => 'composer-plugin',
'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
'aliases' => array(),
'reference' => '1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',
'dev_requirement' => true,
),
'phpcompatibility/php-compatibility' => array(
'pretty_version' => 'dev-develop',
'version' => 'dev-develop',
'reference' => 'e5cd2e244097fb62c5ac8f1153a26a73c3a50438',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcompatibility/php-compatibility',
'aliases' => array(
0 => '10.x-dev',
1 => '9.3.5',
),
'reference' => 'e5cd2e244097fb62c5ac8f1153a26a73c3a50438',
'dev_requirement' => true,
),
'phpcompatibility/phpcompatibility-paragonie' => array(
'pretty_version' => '1.3.2',
'version' => '1.3.2.0',
'reference' => 'bba5a9dfec7fcfbd679cfaf611d86b4d3759da26',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcompatibility/phpcompatibility-paragonie',
'aliases' => array(),
'reference' => 'bba5a9dfec7fcfbd679cfaf611d86b4d3759da26',
'dev_requirement' => true,
),
'phpcompatibility/phpcompatibility-wp' => array(
'pretty_version' => '2.1.4',
'version' => '2.1.4.0',
'reference' => 'b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcompatibility/phpcompatibility-wp',
'aliases' => array(),
'reference' => 'b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5',
'dev_requirement' => true,
),
'phpcsstandards/phpcsextra' => array(
'pretty_version' => '1.2.1',
'version' => '1.2.1.0',
'reference' => '11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
'aliases' => array(),
'reference' => '11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',
'dev_requirement' => true,
),
'phpcsstandards/phpcsutils' => array(
'pretty_version' => '1.0.9',
'version' => '1.0.9.0',
'reference' => '908247bc65010c7b7541a9551e002db12e9dae70',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
'aliases' => array(),
'reference' => '908247bc65010c7b7541a9551e002db12e9dae70',
'dev_requirement' => true,
),
'squizlabs/php_codesniffer' => array(
'pretty_version' => '3.9.0',
'version' => '3.9.0.0',
'reference' => 'd63cee4890a8afaf86a22e51ad4d97c91dd4579b',
'type' => 'library',
'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
'aliases' => array(),
'reference' => 'd63cee4890a8afaf86a22e51ad4d97c91dd4579b',
'dev_requirement' => true,
),
'wimg/php-compatibility' => array(
@ -94,10 +94,10 @@
'wp-coding-standards/wpcs' => array(
'pretty_version' => '3.0.1',
'version' => '3.0.1.0',
'reference' => 'b4caf9689f1a0e4a4c632679a44e638c1c67aff1',
'type' => 'phpcodesniffer-standard',
'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
'aliases' => array(),
'reference' => 'b4caf9689f1a0e4a4c632679a44e638c1c67aff1',
'dev_requirement' => true,
),
),