forked from modularscale/modularscale-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
npm-debug.log
103 lines (103 loc) · 15 KB
/
npm-debug.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/Users/scottkellum/.nvm/v0.10.38/bin/npm', 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose publish [ '.' ]
5 silly cache add args [ '.', null ]
6 verbose cache add spec .
7 silly cache add parsed spec { raw: '.',
7 silly cache add scope: null,
7 silly cache add name: null,
7 silly cache add rawSpec: '.',
7 silly cache add spec: '/Users/scottkellum/Sites/modularscale-sass',
7 silly cache add type: 'directory' }
8 verbose addLocalDirectory /Users/scottkellum/.npm/modularscale-sass/3.0.2/package.tgz not in flight; packing
9 info lifecycle [email protected]~prepublish: [email protected]
10 silly lifecycle [email protected]~prepublish: no script for prepublish, continuing
11 verbose tar pack [ '/Users/scottkellum/.npm/modularscale-sass/3.0.2/package.tgz',
11 verbose tar pack '/Users/scottkellum/Sites/modularscale-sass' ]
12 verbose tarball /Users/scottkellum/.npm/modularscale-sass/3.0.2/package.tgz
13 verbose folder /Users/scottkellum/Sites/modularscale-sass
14 verbose addLocalTarball adding from inside cache /Users/scottkellum/.npm/modularscale-sass/3.0.2/package.tgz
15 silly cache afterAdd [email protected]
16 verbose afterAdd /Users/scottkellum/.npm/modularscale-sass/3.0.2/package/package.json not in flight; writing
17 verbose afterAdd /Users/scottkellum/.npm/modularscale-sass/3.0.2/package/package.json written
18 silly publish { name: 'modularscale-sass',
18 silly publish version: '3.0.2',
18 silly publish description: 'A tool to help web designers size their type in a more meaningful way.',
18 silly publish main: 'stylesheets/_modular-scale.scss',
18 silly publish scripts: { test: 'echo "Error: no test specified" && exit 1' },
18 silly publish eyeglass:
18 silly publish { exports: 'eyeglass-exports.js',
18 silly publish name: 'modular-scale',
18 silly publish needs: '^0.6.2' },
18 silly publish repository:
18 silly publish { type: 'git',
18 silly publish url: 'git+https://github.com/modularscale/modularscale-sass.git' },
18 silly publish keywords:
18 silly publish [ 'sass',
18 silly publish 'design',
18 silly publish 'typography',
18 silly publish 'eyeglass-module',
18 silly publish 'modular-scale' ],
18 silly publish author: '',
18 silly publish license: 'MIT',
18 silly publish bugs: { url: 'https://github.com/modularscale/modularscale-sass/issues' },
18 silly publish homepage: 'https://github.com/modularscale/modularscale-sass',
18 silly publish readme: '# Modular Scale\n\nA modular scale is a list of values that share the same relationship. These values are often used to size type and create a sense of harmony in a design. Proportions within modular scales are all around us from the spacing of the joints on our fingers to branches on trees. These natural proportions have been used since the time of the ancient Greeks in architecture and design and can be a tremendously helpful tool to leverage for web designers.\n\nEms work especially well with modular scales as their recursive properties mimic modular scales making them more predictable and easier to manage. Pixels and other units work just fine and breakpoints in responsive web design can naturally fall on your scale to create better relevance to your text as all the values in your layout harmonize with each other.\n\nTo get started, you need to select a ratio and a base value. The base value is usually your text font size or 1em. Optionally you can add another value to create a double stranded modular scale which might be useful to create more options for in-between values. This base size paired with a ratio such as the golden ratio or any musical proportion will create your scale of values which all share this proportion.\n\n## Install\n\n### Compass\n\n* Terminal: `gem install modular-scale --pre`\n* Compass config: `require \'modular-scale\'`\n* SCSS: `@import \'modularscale\';`\n\n### Eyeglass\n\n* Terminal: `npm install modularscale-sass --save-dev`\n* SCSS: `@import \'modularscale\'`\n\n### Webpack with sass-loader\n\n* Terminal: `npm install modularscale-sass --save-dev`\n* Webpack config: install and use [sass-loader](https://github.com/jtangelder/sass-loader#apply-via-webpack-config)\n* SCSS: `@import \'~modularscale-sass/stylesheets/modularscale\';`\n\n### Bower\n\n* Terminal: `bower install modular-scale --save-dev`\n* SCSS: `@import \'../link_to_component_dir/modularscale\';`\n\n### Vanilla Sass\n\n* [Download the latest zip](https://github.com/modularscale/modularscale-sass/releases/latest)\n* Extract into your project\n* SCSS: `@import \'modularscale\';`\n\n## Using modular scale\n\n#### Initial setup and usage:\n\nThe first thing you’ll want to do when you start using modular scale is configure it to meet your needs. This is done in the `$modularscale` map.\n\n```scss\n$modularscale: (\n base: 1em,\n ratio: 1.5\n);\n```\n\nYou can use any unit you wish as your base and any ratio. Multiple bases can be defined for creating multi stranded scales. There is no limit here to the number of strands you use.\n\n```scss\n$modularscale: (\n base: 1em 1.2em 1.6em,\n ratio: 1.5\n);\n```\n\nNow that we have defined your scale, we can start using it anywhere. Simply call the `ms(n)` function where `n` is the point on the scale.\n\n```scss\nh4 {\n font-size: ms(3);\n}\n```\n\nOccasionally you may wind up with conflicts. All critical components are name-spaced to avoid conflicts with other libraries. If you do run into a conflict, `ms-function()` is the no-conflict function.\n\n#### Multiple scale threads\n\nModular scale now supports different settings threads, so you can set up various threads to configure different ratios or breakpoints.\n\n```scss\n$modularscale: (\n base: 1em,\n ratio: 1.5,\n a: (\n ratio: 1.3\n )\n);\n```\n\nTo call the thread named `a`, call it in your function like so:\n\n```scss\nh5 {\n font-size: ms(2, $thread: a);\n}\n```\n\nYour settings will cascade into the threads so no need to redefine a base or ratio if you want to re-use it from the main config.\n\nIf you wish to put breakpoints into your settings for use with responsive typography then there are helpers in place for this. Simply organize your config with breakpoint values from smallest to largest:\n\n```scss\n$modularscale: (\n base: 12px,\n ratio: 1.5,\n 400px: (\n ratio: 1.2,\n ),\n 900px: (\n base: 16px,\n ratio: 1.3,\n ),\n 1200px: (\n base: 16px,\n ratio: 1.6,\n ),\n);\n```\n\n_Note that you must use the same units for both your type and your breakpoints for this to work_\n\nThis technique is based on [Mike Riethmuller’s](https://twitter.com/MikeRiethmuller) [_Precise control over responsive typography_](http://madebymike.com.au/writing/precise-control-responsive-typography/). A fantastic technique for fluidly scaling typography.\n\nThen, call the mixin `@include ms-respond();` and a fully fluid and responsive scale will be generated.\n\n```scss\nh2 {\n @include ms-respond(font-size,5);\n}\n```\n\nIf you do happen to have any values that are just named without numbers they will be ignored by the responsive mixin, it’s smart enough to just pull values that look like breakpoints.\n\nHere is an [example page](http://skscratch.bitballoon.com/ms-demo) and the [corrisponding Sass](https://github.com/modularscale/modularscale-sass/blob/3.x/test-compass/sass/style.scss).\n\n#### Note on non-integer values\n\nUnfortunately [Sass doesn’t natively support exponents](https://github.com/sass/sass/issues/684#issuecomment-196852515). This isn’t all bad news, you can use either use [Compass](http://compass-style.org/), [mathsass](https://github.com/terkel/mathsass), or another library that has a `pow()` function that supports non-integer values and this plugin will pick up on that function and use it. You will then be able to write values like `ms(2.5)`. This is also a prerequisite for _target sizes_ below.\n\n#### Target sizes\n\n_NOTE: Please see above section on non-integer values before using this feature_\n\nOne of the more difficult parts of setting up your scales is finding a ratio that works for you. In many cases you know what size you want your text to be and what size you want larger headings to be. The `at` helper allows you to plug in a target size into the ratio value and it will generate your ratio.\n\n```scss\n$modularscale: (\n base: 16px,\n ratio: 42at5\n);\n```\n\nNow your base is `16px` and when you call `ms(5)` it will be `42px`. Everything in-between falls neatly on a scale created with these two values.\n\n## Ratios\n\nModular scale includes functions for a number of classic design and musical scale ratios. You can add your own ratios as well.\n\nBy default ratio is set to `$fifth`.\n\n<table>\n <tr><th>Function </th><th>Ratio </th><th>Decimal value</th></tr>\n <tr><td>$phi </td><td>1:1.618</td><td>1.618 </td></tr>\n <tr><td>$golden </td><td>1:1.618</td><td>1.618 </td></tr>\n <tr><td>$double-octave </td><td>1:4 </td><td>4 </td></tr>\n <tr><td>$major-twelfth </td><td>1:3 </td><td>3 </td></tr>\n <tr><td>$major-eleventh </td><td>3:8 </td><td>2.667 </td></tr>\n <tr><td>$major-tenth </td><td>2:5 </td><td>2.5 </td></tr>\n <tr><td>$octave </td><td>1:2 </td><td>2 </td></tr>\n <tr><td>$major-seventh </td><td>8:15 </td><td>1.875 </td></tr>\n <tr><td>$minor-seventh </td><td>9:16 </td><td>1.778 </td></tr>\n <tr><td>$major-sixth </td><td>3:5 </td><td>1.667 </td></tr>\n <tr><td>$minor-sixth </td><td>5:8 </td><td>1.6 </td></tr>\n <tr><td>$fifth </td><td>2:3 </td><td>1.5 </td></tr>\n <tr><td>$augmented-fourth</td><td>1:√2 </td><td>1.414 </td></tr>\n <tr><td>$fourth </td><td>3:4 </td><td>1.333 </td></tr>\n <tr><td>$major-third </td><td>4:5 </td><td>1.25 </td></tr>\n <tr><td>$minor-third </td><td>5:6 </td><td>1.2 </td></tr>\n <tr><td>$major-second </td><td>8:9 </td><td>1.125 </td></tr>\n <tr><td>$minor-second </td><td>15:16 </td><td>1.067 </td></tr>\n</table>\n\n## [Changelog](https://github.com/Team-Sass/modular-scale/releases)\n\n### License\n\nThe MIT License (MIT)\n\nCopyright © 2015 [Scott Kellum](http://www.scottkellum.com/) ([@scottkellum](http://twitter.com/scottkellum)), [Adam Stacoviak](http://adamstacoviak.com/) ([@adamstac](http://twitter.com/adamstac)) and [Mason Wendell](http://thecodingdesigner.com/) ([@codingdesigner](http://twitter.com/codingdesigner))\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\n**The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.**\n',
18 silly publish readmeFilename: 'readme.md',
18 silly publish gitHead: '0e5dafd0794ee514a8b3418fb126cee3603581e2',
18 silly publish _id: '[email protected]',
18 silly publish _shasum: 'ca6cfbfa686ce21a542484e45018b8c7b1f809e7',
18 silly publish _from: '.' }
19 verbose getPublishConfig undefined
20 silly mapToRegistry name modularscale-sass
21 silly mapToRegistry using default registry
22 silly mapToRegistry registry https://registry.npmjs.org/
23 silly mapToRegistry uri https://registry.npmjs.org/modularscale-sass
24 verbose publish registryBase https://registry.npmjs.org/
25 silly publish uploading /Users/scottkellum/.npm/modularscale-sass/3.0.2/package.tgz
26 verbose request uri https://registry.npmjs.org/modularscale-sass
27 verbose request sending authorization for write operation
28 info attempt registry request try #1 at 10:09:50
29 verbose request using bearer token for auth
30 verbose request id 8998d6ed1cce2de4
31 http request PUT https://registry.npmjs.org/modularscale-sass
32 http 403 https://registry.npmjs.org/modularscale-sass
33 verbose headers { 'content-type': 'application/json',
33 verbose headers 'cache-control': 'max-age=300',
33 verbose headers 'content-length': '95',
33 verbose headers 'accept-ranges': 'bytes',
33 verbose headers date: 'Tue, 04 Apr 2017 14:09:51 GMT',
33 verbose headers via: '1.1 varnish',
33 verbose headers connection: 'keep-alive',
33 verbose headers 'x-served-by': 'cache-iad2629-IAD',
33 verbose headers 'x-cache': 'MISS',
33 verbose headers 'x-cache-hits': '0',
33 verbose headers 'x-timer': 'S1491314990.898481,VS0,VE586',
33 verbose headers vary: 'Accept-Encoding' }
34 verbose request invalidating /Users/scottkellum/.npm/registry.npmjs.org/modularscale-sass on PUT
35 error publish Failed PUT 403
36 verbose stack Error: "You cannot publish over the previously published version 3.0.2." : modularscale-sass
36 verbose stack at makeError (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
36 verbose stack at CachingRegistryClient.<anonymous> (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
36 verbose stack at Request._callback (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
36 verbose stack at Request.self.callback (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/request/request.js:198:22)
36 verbose stack at Request.emit (events.js:98:17)
36 verbose stack at Request.<anonymous> (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/request/request.js:1063:14)
36 verbose stack at Request.emit (events.js:117:20)
36 verbose stack at IncomingMessage.<anonymous> (/Users/scottkellum/.nvm/v0.10.38/lib/node_modules/npm/node_modules/request/request.js:1009:12)
36 verbose stack at IncomingMessage.emit (events.js:117:20)
36 verbose stack at _stream_readable.js:944:16
37 verbose statusCode 403
38 verbose pkgid modularscale-sass
39 verbose cwd /Users/scottkellum/Sites/modularscale-sass
40 error Darwin 16.4.0
41 error argv "node" "/Users/scottkellum/.nvm/v0.10.38/bin/npm" "publish"
42 error node v0.10.38
43 error npm v3.3.5
44 error code E403
45 error "You cannot publish over the previously published version 3.0.2." : modularscale-sass
46 error If you need help, you may report this error at:
46 error <https://github.com/npm/npm/issues>
47 verbose exit [ 1, true ]