planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
import colors from '../../dist/colors.es2015';
console.log(colors.red['50']);

View File

@@ -0,0 +1,2 @@
import { red } from '../../dist/colors.es2015';
console.log(red['50']);

View File

@@ -0,0 +1,2 @@
import * as colors from '../../dist/colors.es2015';
console.log(colors.red['50']);

1
node_modules/material-colors/test/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
require('./module');

28
node_modules/material-colors/test/module.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
var test = require('tape');
var fs = require('fs');
var path = require('path');
var tmp = require('tmp');
var rollup = require('rollup');
var execSync = require('child_process').execSync;
var node = process.argv[0];
var fixtures = fs.readdirSync(path.join(__dirname, 'fixtures'));
fixtures.forEach(function (fixture) {
test('module: ' + fixture, function (t) {
t.plan(1);
var filename = path.join(__dirname, 'fixtures', fixture);
rollup.rollup({ entry: filename })
.then(function (bundle) {
var js = bundle.generate({ format: 'es' }).code;
var tmpfile = tmp.fileSync().name;
var command = `"${node}" ${tmpfile}`;
fs.writeFileSync(tmpfile, js);
var stdout = execSync(command).toString().trim();
t.equal(stdout, '#ffebee');
});
});
});