From eb8cf102cda3af0322ac121b5ce2e4907e622579 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Wed, 8 Nov 2017 17:14:11 -0500 Subject: [PATCH] Update tools/tests/old/app-with-private test app. --- tools/tests/old/app-with-private/.gitignore | 1 + .../.meteor/.finished-upgraders | 17 +++++ tools/tests/old/app-with-private/.meteor/.id | 8 ++- .../old/app-with-private/.meteor/packages | 17 ++++- .../old/app-with-private/.meteor/platforms | 2 + .../old/app-with-private/.meteor/versions | 64 +++++++++++++++++++ tools/tests/old/app-with-private/package.json | 11 ++++ tools/tests/old/test-bundler-assets.js | 2 +- 8 files changed, 117 insertions(+), 5 deletions(-) create mode 100644 tools/tests/old/app-with-private/.gitignore create mode 100644 tools/tests/old/app-with-private/.meteor/.finished-upgraders create mode 100644 tools/tests/old/app-with-private/.meteor/platforms create mode 100644 tools/tests/old/app-with-private/.meteor/versions create mode 100644 tools/tests/old/app-with-private/package.json diff --git a/tools/tests/old/app-with-private/.gitignore b/tools/tests/old/app-with-private/.gitignore new file mode 100644 index 0000000000..40b878db5b --- /dev/null +++ b/tools/tests/old/app-with-private/.gitignore @@ -0,0 +1 @@ +node_modules/ \ No newline at end of file diff --git a/tools/tests/old/app-with-private/.meteor/.finished-upgraders b/tools/tests/old/app-with-private/.meteor/.finished-upgraders new file mode 100644 index 0000000000..910574ce2d --- /dev/null +++ b/tools/tests/old/app-with-private/.meteor/.finished-upgraders @@ -0,0 +1,17 @@ +# This file contains information which helps Meteor properly upgrade your +# app when you run 'meteor update'. You should check it into version control +# with your project. + +notices-for-0.9.0 +notices-for-0.9.1 +0.9.4-platform-file +notices-for-facebook-graph-api-2 +1.2.0-standard-minifiers-package +1.2.0-meteor-platform-split +1.2.0-cordova-changes +1.2.0-breaking-changes +1.3.0-split-minifiers-package +1.4.0-remove-old-dev-bundle-link +1.4.1-add-shell-server-package +1.4.3-split-account-service-packages +1.5-add-dynamic-import-package diff --git a/tools/tests/old/app-with-private/.meteor/.id b/tools/tests/old/app-with-private/.meteor/.id index 5ed06476f1..c0473ce090 100644 --- a/tools/tests/old/app-with-private/.meteor/.id +++ b/tools/tests/old/app-with-private/.meteor/.id @@ -1 +1,7 @@ -1j3g9zflbqmlt1wjoa05 \ No newline at end of file +# This file contains a token that is unique to your project. +# Check it into your repository along with the rest of this directory. +# It can be used for purposes such as: +# - ensuring you don't accidentally deploy one app on top of another +# - providing package authors with aggregated statistics + +lv1sfr4dcirq.amsexeltj5s diff --git a/tools/tests/old/app-with-private/.meteor/packages b/tools/tests/old/app-with-private/.meteor/packages index 6c2f67f893..138f886aeb 100644 --- a/tools/tests/old/app-with-private/.meteor/packages +++ b/tools/tests/old/app-with-private/.meteor/packages @@ -1,9 +1,20 @@ # Meteor packages used by this project, one per line. +# Check this file (and the other files in this directory) into your repository. # # 'meteor add' and 'meteor remove' will edit this file for you, # but you can also edit it by hand. -autopublish -insecure +meteor-base # Packages every Meteor app needs to have +mobile-experience # Packages for a great mobile UX +mongo # The database Meteor supports right now +static-html # Define static page content in .html files +reactive-var # Reactive variable for tracker +tracker # Meteor's client-side reactive programming library + +standard-minifier-css # CSS minifier run for production mode +standard-minifier-js # JS minifier run for production mode +es5-shim # ECMAScript 5 compatibility for older browsers +ecmascript # Enable ECMAScript2015+ syntax in app code +shell-server # Server-side component of the `meteor shell` command + test-package -standard-app-packages diff --git a/tools/tests/old/app-with-private/.meteor/platforms b/tools/tests/old/app-with-private/.meteor/platforms new file mode 100644 index 0000000000..efeba1b50c --- /dev/null +++ b/tools/tests/old/app-with-private/.meteor/platforms @@ -0,0 +1,2 @@ +server +browser diff --git a/tools/tests/old/app-with-private/.meteor/versions b/tools/tests/old/app-with-private/.meteor/versions new file mode 100644 index 0000000000..4a33deb24f --- /dev/null +++ b/tools/tests/old/app-with-private/.meteor/versions @@ -0,0 +1,64 @@ +allow-deny@1.1.0 +autoupdate@1.3.12 +babel-compiler@6.24.7 +babel-runtime@1.1.1 +base64@1.0.10 +binary-heap@1.0.10 +blaze-tools@1.0.10 +boilerplate-generator@1.3.1 +caching-compiler@1.1.9 +caching-html-compiler@1.1.2 +callback-hook@1.0.10 +check@1.2.5 +ddp@1.4.0 +ddp-client@2.2.0 +ddp-common@1.3.0 +ddp-server@2.1.1 +diff-sequence@1.0.7 +dynamic-import@0.2.1 +ecmascript@0.9.0 +ecmascript-runtime@0.5.0 +ecmascript-runtime-client@0.5.0 +ecmascript-runtime-server@0.5.0 +ejson@1.1.0 +es5-shim@4.6.15 +geojson-utils@1.0.10 +hot-code-push@1.0.4 +html-tools@1.0.11 +htmljs@1.0.11 +http@1.3.0 +id-map@1.0.9 +launch-screen@1.1.1 +livedata@1.0.18 +logging@1.1.19 +meteor@1.8.1 +meteor-base@1.2.0 +minifier-css@1.2.16 +minifier-js@2.2.1 +minimongo@1.4.1 +mobile-experience@1.0.5 +mobile-status-bar@1.0.14 +modules@0.11.0 +modules-runtime@0.9.0 +mongo@1.3.0 +mongo-dev-server@1.1.0 +mongo-id@1.0.6 +npm-mongo@2.2.33 +ordered-dict@1.0.9 +promise@0.10.0 +random@1.0.10 +reactive-var@1.0.11 +reload@1.1.11 +retry@1.0.9 +routepolicy@1.0.12 +shell-server@0.3.0 +spacebars-compiler@1.1.3 +standard-minifier-css@1.3.5 +standard-minifier-js@2.2.1 +static-html@1.2.2 +templating-tools@1.1.2 +tracker@1.1.3 +underscore@1.0.10 +url@1.1.0 +webapp@1.4.0 +webapp-hashing@1.0.9 diff --git a/tools/tests/old/app-with-private/package.json b/tools/tests/old/app-with-private/package.json new file mode 100644 index 0000000000..41680834dc --- /dev/null +++ b/tools/tests/old/app-with-private/package.json @@ -0,0 +1,11 @@ +{ + "name": "app-with-private", + "private": true, + "scripts": { + "start": "meteor run" + }, + "dependencies": { + "babel-runtime": "^6.26.0", + "meteor-node-stubs": "^0.3.2" + } +} diff --git a/tools/tests/old/test-bundler-assets.js b/tools/tests/old/test-bundler-assets.js index 5107c00813..54534c5977 100644 --- a/tools/tests/old/test-bundler-assets.js +++ b/tools/tests/old/test-bundler-assets.js @@ -114,7 +114,7 @@ var runTest = function () { unregisteredExtensionPath = files.pathJoin( tmpOutputDir, "programs", "server", item.assets["test.notregistered"]); } - if (item.path === "app/main.js") { + if (item.path === "app/app.js") { testTxtPath = files.pathJoin( tmpOutputDir, "programs", "server", item.assets['test.txt']); nestedTxtPath = files.pathJoin(