mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
I recently noticed a bug whereby modules transferred from the application bundle to the modules bundle would lose their application-specific import extensions, since all modules installed in the modules bundle have only .js and .json as import extensions, matching default Node behavior. This commit fixes that bug by emitting one meteorInstall call per distinct meteorInstallOptions object. This logic would work if every module had a different meteorInstallOptions object, but in practice the modules bundle should end up with exactly two meteorInstall calls, because a single options object is shared among all modules from the same source batch.
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "modules-test-app",
|
|
"author": "Ben Newman <ben@meteor.com>",
|
|
"description": "Test app exercising many aspects of the Meteor module system.",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "^7.0.0-beta.49",
|
|
"@babel/plugin-proposal-do-expressions": "^7.0.0-beta.49",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.49",
|
|
"@babel/runtime": "^7.0.0-beta.49",
|
|
"acorn": "file:imports/links/acorn",
|
|
"aws-sdk": "^2.2.41",
|
|
"cli-color": "^0.2.3",
|
|
"github": "^0.2.4",
|
|
"idle-gc": "^1.0.1",
|
|
"immutable-tuple": "^0.4.4",
|
|
"jsx-import-test": "file:imports/links/jsx-import-test",
|
|
"lodash-es": "^4.17.7",
|
|
"meteor-node-stubs": "^0.4.1",
|
|
"moment": "2.11.1",
|
|
"mssql": "^3.1.1",
|
|
"mysql": "^2.15.0",
|
|
"regenerator-runtime": "^0.11.1",
|
|
"stripe": "^4.4.0",
|
|
"uuid": "^3.1.0",
|
|
"winston": "^2.3.1"
|
|
},
|
|
"scripts": {
|
|
"test": "METEOR_PROFILE=100 ../../../../meteor test --full-app --driver-package dispatch:mocha-phantomjs",
|
|
"browser": "METEOR_PROFILE=100 ../../../../meteor test --full-app --driver-package dispatch:mocha-browser",
|
|
"test-packages": "../../../../meteor test-packages --driver-package dispatch:mocha-phantomjs packages/modules-test-package"
|
|
},
|
|
"meteor": {
|
|
"testModule": "tests.js"
|
|
}
|
|
}
|