-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9565 from meteor/undelete-deprecated-stylus-packa…
…ge-to-fix-caching-bug Bring back deprecated stylus package in order to fix a caching bug.
- Loading branch information
Showing
12 changed files
with
509 additions
and
11 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/deprecated/stylus/.npm/plugin/compileStylusBatch/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
7 changes: 7 additions & 0 deletions
7
packages/deprecated/stylus/.npm/plugin/compileStylusBatch/README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This directory and the files immediately inside it are automatically generated | ||
when you change this package's NPM dependencies. Commit the files in this | ||
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control | ||
so that others run the same versions of sub-dependencies. | ||
|
||
You should NOT check in the node_modules directory that Meteor automatically | ||
creates; if you are using git, the .gitignore file tells git to ignore it. |
176 changes: 176 additions & 0 deletions
176
packages/deprecated/stylus/.npm/plugin/compileStylusBatch/npm-shrinkwrap.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
babel-compiler@5.8.24_1 | ||
babel-runtime@0.1.4 | ||
base64@1.0.9 | ||
binary-heap@1.0.9 | ||
blaze@1.0.3 | ||
caching-compiler@1.0.0 | ||
callback-hook@1.0.9 | ||
check@1.0.6 | ||
ddp@1.1.0 | ||
deps@1.0.12 | ||
ecmascript@0.1.4 | ||
ecmascript-collections@0.1.6 | ||
ejson@1.0.12 | ||
geojson-utils@1.0.4 | ||
htmljs@1.0.11 | ||
id-map@1.0.8 | ||
jquery@1.0.2 | ||
json@1.0.3 | ||
local-test:stylus@2.513.5 | ||
logging@1.0.12 | ||
meteor@1.1.16 | ||
minimongo@1.0.8 | ||
mongo@1.1.0 | ||
observe-sequence@1.0.6 | ||
ordered-dict@1.0.8 | ||
promise@0.4.8 | ||
random@1.0.4 | ||
retry@1.0.4 | ||
stylus@2.513.5 | ||
templating@1.0.4 | ||
test-helpers@1.0.3 | ||
tinytest@1.0.5 | ||
tracker@1.0.15 | ||
ui@1.0.0 | ||
underscore@1.0.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
console.warn( | ||
"The `stylus` package has been deprecated.\n" + | ||
"\n" + | ||
"To continue using the last supported version \n" + | ||
"of this package, pin your package version to \n" + | ||
"2.513.13 (`meteor add stylus@=2.513.13`)." | ||
); | ||
console.warn([ | ||
"The `stylus` package has been deprecated.", | ||
"", | ||
"To continue using the last supported version", | ||
"of this package, pin your package version to", | ||
"2.513.14 (`meteor add stylus@=2.513.14`).", | ||
].join("\n")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,32 @@ | ||
Package.describe({ | ||
summary: 'DEPRECATED - Expressive, dynamic, robust CSS', | ||
version: "2.999.0" | ||
summary: 'Expressive, dynamic, robust CSS', | ||
version: "2.513.14" | ||
}); | ||
|
||
Package.registerBuildPlugin({ | ||
name: 'compileStylusBatch', | ||
use: ['ecmascript', 'caching-compiler'], | ||
sources: [ | ||
'plugin/compile-stylus.js' | ||
], | ||
npmDependencies: { | ||
stylus: "https://github.com/meteor/stylus/tarball/bb47a357d132ca843718c63998eb37b90013a449", // fork of 0.54.5 | ||
nib: "1.1.2", | ||
"autoprefixer-stylus": "0.9.4" | ||
} | ||
}); | ||
|
||
Package.onUse(function (api) { | ||
api.addFiles('deprecation_notice.js'); | ||
api.use('isobuild:compiler-plugin@1.0.0'); | ||
api.addFiles("deprecation_notice.js"); | ||
}); | ||
|
||
Package.onTest(function (api) { | ||
api.use(['tinytest', 'stylus', 'test-helpers', 'templating']); | ||
api.addFiles([ | ||
'stylus_tests.html', | ||
'stylus_tests.styl', | ||
'stylus_tests.import.styl', | ||
'stylus_tests.js' | ||
],'client'); | ||
}); |
Oops, something went wrong.