mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
adding versions files to example apps; making sure we don't create example apps with example identifiers by accident
This commit is contained in:
1
examples/clock/.meteor/.gitignore
vendored
1
examples/clock/.meteor/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
local
|
||||
identifier
|
||||
|
||||
1
examples/leaderboard/.meteor/.gitignore
vendored
1
examples/leaderboard/.meteor/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
local
|
||||
identifier
|
||||
|
||||
41
examples/leaderboard/.meteor/versions
Normal file
41
examples/leaderboard/.meteor/versions
Normal file
@@ -0,0 +1,41 @@
|
||||
application-configuration@1.0.0
|
||||
autopublish@1.0.0
|
||||
autoupdate@1.0.1
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@1.0.1
|
||||
callback-hook@1.0.0
|
||||
check@1.0.0
|
||||
ctl-helper@1.0.0
|
||||
ctl@1.0.0
|
||||
deps@1.0.0
|
||||
ejson@1.0.0
|
||||
follower-livedata@1.0.0
|
||||
geojson-utils@1.0.0
|
||||
html-tools@1.0.0
|
||||
htmljs@1.0.0
|
||||
id-map@1.0.0
|
||||
insecure@1.0.0
|
||||
jquery@1.0.0
|
||||
json@1.0.0
|
||||
livedata@1.0.1
|
||||
logging@1.0.0
|
||||
meteor@1.0.2
|
||||
minifiers@1.0.0
|
||||
minimongo@1.0.1
|
||||
mongo-livedata@1.0.0
|
||||
observe-sequence@1.0.1
|
||||
ordered-dict@1.0.0
|
||||
random@1.0.0
|
||||
reactive-dict@1.0.0
|
||||
reload@1.0.0
|
||||
retry@1.0.0
|
||||
routepolicy@1.0.0
|
||||
session@1.0.0
|
||||
spacebars-compiler@1.0.1
|
||||
spacebars@1.0.0
|
||||
standard-app-packages@1.0.0
|
||||
templating@1.0.2
|
||||
ui@1.0.0
|
||||
underscore@1.0.0
|
||||
webapp@1.0.0
|
||||
1
examples/parties/.meteor/.gitignore
vendored
1
examples/parties/.meteor/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
local
|
||||
identifier
|
||||
|
||||
62
examples/parties/.meteor/versions
Normal file
62
examples/parties/.meteor/versions
Normal file
@@ -0,0 +1,62 @@
|
||||
accounts-base@1.0.0
|
||||
accounts-facebook@1.0.0
|
||||
accounts-oauth@1.0.0
|
||||
accounts-password@1.0.0
|
||||
accounts-twitter@1.0.0
|
||||
accounts-ui-unstyled@1.0.0
|
||||
accounts-ui@1.0.0
|
||||
application-configuration@1.0.0
|
||||
audit-argument-checks@1.0.0
|
||||
autoupdate@1.0.1
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@1.0.1
|
||||
bootstrap@1.0.0
|
||||
callback-hook@1.0.0
|
||||
check@1.0.0
|
||||
ctl-helper@1.0.0
|
||||
ctl@1.0.0
|
||||
d3@1.0.0
|
||||
deps@1.0.0
|
||||
ejson@1.0.0
|
||||
email@1.0.0
|
||||
facebook@1.0.0
|
||||
follower-livedata@1.0.0
|
||||
geojson-utils@1.0.0
|
||||
html-tools@1.0.0
|
||||
htmljs@1.0.0
|
||||
http@1.0.0
|
||||
id-map@1.0.0
|
||||
jquery@1.0.0
|
||||
json@1.0.0
|
||||
less@1.0.2
|
||||
livedata@1.0.1
|
||||
localstorage@1.0.0
|
||||
logging@1.0.0
|
||||
meteor@1.0.2
|
||||
minifiers@1.0.0
|
||||
minimongo@1.0.1
|
||||
mongo-livedata@1.0.0
|
||||
npm-bcrypt@0.7.7
|
||||
oauth1@1.0.0
|
||||
oauth2@1.0.0
|
||||
oauth@1.0.0
|
||||
observe-sequence@1.0.1
|
||||
ordered-dict@1.0.0
|
||||
random@1.0.0
|
||||
reactive-dict@1.0.0
|
||||
reload@1.0.0
|
||||
retry@1.0.0
|
||||
routepolicy@1.0.0
|
||||
service-configuration@1.0.0
|
||||
session@1.0.0
|
||||
sha@1.0.0
|
||||
spacebars-compiler@1.0.1
|
||||
spacebars@1.0.0
|
||||
srp@1.0.0
|
||||
standard-app-packages@1.0.0
|
||||
templating@1.0.2
|
||||
twitter@1.0.0
|
||||
ui@1.0.0
|
||||
underscore@1.0.0
|
||||
webapp@1.0.0
|
||||
1
examples/todos/.meteor/.gitignore
vendored
1
examples/todos/.meteor/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
local
|
||||
identifier
|
||||
|
||||
42
examples/todos/.meteor/versions
Normal file
42
examples/todos/.meteor/versions
Normal file
@@ -0,0 +1,42 @@
|
||||
application-configuration@1.0.0
|
||||
autoupdate@1.0.1
|
||||
backbone@1.0.0
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@1.0.1
|
||||
callback-hook@1.0.0
|
||||
check@1.0.0
|
||||
ctl-helper@1.0.0
|
||||
ctl@1.0.0
|
||||
deps@1.0.0
|
||||
ejson@1.0.0
|
||||
follower-livedata@1.0.0
|
||||
geojson-utils@1.0.0
|
||||
html-tools@1.0.0
|
||||
htmljs@1.0.0
|
||||
id-map@1.0.0
|
||||
insecure@1.0.0
|
||||
jquery@1.0.0
|
||||
json@1.0.0
|
||||
livedata@1.0.1
|
||||
logging@1.0.0
|
||||
meteor@1.0.2
|
||||
minifiers@1.0.0
|
||||
minimongo@1.0.1
|
||||
mongo-livedata@1.0.0
|
||||
observe-sequence@1.0.1
|
||||
ordered-dict@1.0.0
|
||||
random@1.0.0
|
||||
reactive-dict@1.0.0
|
||||
reload@1.0.0
|
||||
retry@1.0.0
|
||||
routepolicy@1.0.0
|
||||
session@1.0.0
|
||||
spacebars-compiler@1.0.1
|
||||
spacebars@1.0.0
|
||||
spiderable@1.0.1
|
||||
standard-app-packages@1.0.0
|
||||
templating@1.0.2
|
||||
ui@1.0.0
|
||||
underscore@1.0.0
|
||||
webapp@1.0.0
|
||||
1
examples/wordplay/.meteor/.gitignore
vendored
1
examples/wordplay/.meteor/.gitignore
vendored
@@ -1 +1,2 @@
|
||||
local
|
||||
identifier
|
||||
|
||||
40
examples/wordplay/.meteor/versions
Normal file
40
examples/wordplay/.meteor/versions
Normal file
@@ -0,0 +1,40 @@
|
||||
application-configuration@1.0.0
|
||||
autoupdate@1.0.1
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@1.0.1
|
||||
callback-hook@1.0.0
|
||||
check@1.0.0
|
||||
ctl-helper@1.0.0
|
||||
ctl@1.0.0
|
||||
deps@1.0.0
|
||||
ejson@1.0.0
|
||||
follower-livedata@1.0.0
|
||||
geojson-utils@1.0.0
|
||||
html-tools@1.0.0
|
||||
htmljs@1.0.0
|
||||
id-map@1.0.0
|
||||
insecure@1.0.0
|
||||
jquery@1.0.0
|
||||
json@1.0.0
|
||||
livedata@1.0.1
|
||||
logging@1.0.0
|
||||
meteor@1.0.2
|
||||
minifiers@1.0.0
|
||||
minimongo@1.0.1
|
||||
mongo-livedata@1.0.0
|
||||
observe-sequence@1.0.1
|
||||
ordered-dict@1.0.0
|
||||
random@1.0.0
|
||||
reactive-dict@1.0.0
|
||||
reload@1.0.0
|
||||
retry@1.0.0
|
||||
routepolicy@1.0.0
|
||||
session@1.0.0
|
||||
spacebars-compiler@1.0.1
|
||||
spacebars@1.0.0
|
||||
standard-app-packages@1.0.0
|
||||
templating@1.0.2
|
||||
ui@1.0.0
|
||||
underscore@1.0.0
|
||||
webapp@1.0.0
|
||||
@@ -371,6 +371,14 @@ main.registerCommand({
|
||||
files.cp_r(path.join(exampleDir, options.example), appPath, {
|
||||
ignore: [/^local$/]
|
||||
});
|
||||
// We try not to check the identifier into git, but it might still
|
||||
// accidentally exist and get added (if running from checkout, for
|
||||
// example). To be on the safe side, explicitly remove the identifier from
|
||||
// example apps.
|
||||
var idf = path.join(appPath, '.meteor', 'identifier');
|
||||
if (fs.existsSync(idf)) {
|
||||
fs.unlinkSync(idf);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
files.cp_r(path.join(__dirname, 'skel'), appPath, {
|
||||
@@ -394,6 +402,7 @@ main.registerCommand({
|
||||
project.setMuted(true);
|
||||
project.writeMeteorReleaseVersion(
|
||||
release.current.isCheckout() ? "none" : release.current.name);
|
||||
|
||||
var messages = buildmessage.capture(function () {
|
||||
project._ensureDepsUpToDate();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user