@massimo-cassandro/minimo 1.16.1 → 1.16.2
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/README.md +9 -0
- package/dev-tools/README.md +1 -1
- package/dev-tools/starter-kit/webpack.config.mjs +0 -22
- package/package.json +2 -1
- package/src/css/dimensions.css +3 -0
- package/src/css/margin-padding-bootstrap-media.css +1844 -0
- package/src/css/margin-padding-bootstrap.css +464 -0
- package/src/css/margin-padding-media.css +1843 -0
- package/src/css/margin-padding.css +405 -45
- package/src/custom-media.css +12 -0
- package/src/minimo.css +5 -0
package/README.md
CHANGED
|
@@ -20,6 +20,15 @@ For a complete install of all required webpack modules, use the install script a
|
|
|
20
20
|
```bash
|
|
21
21
|
zsh ./node_modules/@massimo-cassandro/minimo/dev-tools/starter-kit/starter-install.sh
|
|
22
22
|
```
|
|
23
|
+
|
|
24
|
+
To bootstrap a project **before** installing the whole package, download only the `starter-kit` folder from the npm tarball and run the script from there:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
curl -sL "$(npm view @massimo-cassandro/minimo dist.tarball)" | tar xz package/dev-tools/starter-kit
|
|
28
|
+
zsh package/dev-tools/starter-kit/starter-install.sh
|
|
29
|
+
rm -rf package
|
|
30
|
+
```
|
|
31
|
+
|
|
23
32
|
---
|
|
24
33
|
|
|
25
34
|
## Dev Tools
|
package/dev-tools/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Since the installation is fully overwrite-safe, the script can also be **re-run
|
|
|
26
26
|
|
|
27
27
|
### Without installing minimo
|
|
28
28
|
|
|
29
|
-
To bootstrap a project **before**
|
|
29
|
+
To bootstrap a project **before** installing the whole package, download only the `starter-kit` folder from the npm tarball and run the script from there:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
curl -sL "$(npm view @massimo-cassandro/minimo dist.tarball)" | tar xz package/dev-tools/starter-kit
|
|
@@ -327,28 +327,6 @@ const config = {
|
|
|
327
327
|
name: 'shared',
|
|
328
328
|
chunks: 'all'
|
|
329
329
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
// separazione @massimo-cassandro da node_modules:
|
|
333
|
-
// mc: {
|
|
334
|
-
// test: /[\\/]node_modules\/@massimo-cassandro[\\/]/,
|
|
335
|
-
// name: 'mc',
|
|
336
|
-
// chunks: 'all'
|
|
337
|
-
// },
|
|
338
|
-
// shared: {
|
|
339
|
-
// // test: /[\\/]node_modules[\\/]/,
|
|
340
|
-
// test(module) {
|
|
341
|
-
// // `module.resource` contains the absolute path of the file on disk.
|
|
342
|
-
// // Note the usage of `path.sep` instead of / or \, for cross-platform compatibility.
|
|
343
|
-
// return (
|
|
344
|
-
// module.resource &&
|
|
345
|
-
// module.resource.includes(`${path.sep}node_modules${path.sep}`) &&
|
|
346
|
-
// !module.resource.includes(`${path.sep}@massimo-cassandro${path.sep}`)
|
|
347
|
-
// );
|
|
348
|
-
// },
|
|
349
|
-
// name: 'shareds',
|
|
350
|
-
// chunks: 'all'
|
|
351
|
-
// },
|
|
352
330
|
}
|
|
353
331
|
},
|
|
354
332
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massimo-cassandro/minimo",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Light css framework & utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"npm-publish": "npm publish",
|
|
37
37
|
"upd@m": "npx upd@m",
|
|
38
38
|
"build-tokens": "node ./design-tokens/utilities/build-tokens.mjs --config ./design-tokens/tokens-config.mjs",
|
|
39
|
+
"build-margin-padding-css": "node ./scripts/build-margin-padding-css.mjs",
|
|
39
40
|
"check unresolved props": "node ./design-tokens/utilities/check-unresolved-custom-props.mjs --config ./design-tokens/tokens-config.mjs",
|
|
40
41
|
"test": "node --test \"test/**/*.test.mjs\"",
|
|
41
42
|
"checkJS": "npx tsc --noEmit -p jsconfig.json",
|