mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add core-runtime package
This commit is contained in:
12
packages/core-runtime/package.js
Normal file
12
packages/core-runtime/package.js
Normal file
@@ -0,0 +1,12 @@
|
||||
Package.describe({
|
||||
summary: "Core runtime to load packages and the app",
|
||||
version: '1.0.0'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
// This package is linked differently since it sets up the runtime
|
||||
// the linker expects to exist.
|
||||
// Currently this package can not use any exports or ordered dependencies
|
||||
|
||||
api.addFiles('package-registry.js');
|
||||
});
|
||||
@@ -16,6 +16,7 @@ Npm.depends({
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.use('isobuild:compiler-plugin@1.0.0');
|
||||
api.use('core-runtime');
|
||||
|
||||
api.export('Meteor');
|
||||
|
||||
@@ -28,7 +29,6 @@ Package.onUse(function (api) {
|
||||
api.export("meteorEnv");
|
||||
|
||||
api.addFiles('cordova_environment.js', 'web.cordova');
|
||||
api.addFiles('define-package.js', ['client', 'server']);
|
||||
api.addFiles('helpers.js', ['client', 'server']);
|
||||
api.addFiles('setimmediate.js', ['client', 'server']);
|
||||
api.addFiles('timers.js', ['client', 'server']);
|
||||
|
||||
@@ -170,7 +170,7 @@ var release = require('../packaging/release.js');
|
||||
import { loadIsopackage } from '../tool-env/isopackets.js';
|
||||
import { CORDOVA_PLATFORM_VERSIONS } from '../cordova';
|
||||
import { gzipSync } from "zlib";
|
||||
import { PackageRegistry } from "../../packages/meteor/define-package.js";
|
||||
import { PackageRegistry } from "../../packages/core-runtime/package-registry.js";
|
||||
import { optimisticLStatOrNull } from '../fs/optimistic';
|
||||
|
||||
const SOURCE_URL_PREFIX = "meteor://\u{1f4bb}app";
|
||||
|
||||
@@ -1399,7 +1399,7 @@ Object.assign(Isopack.prototype, {
|
||||
'tools', 'examples', 'LICENSE.txt', 'LICENSES',
|
||||
'meteor', 'meteor.bat', 'scripts/admin/launch-meteor',
|
||||
'packages/package-version-parser/package-version-parser.js',
|
||||
'packages/meteor/define-package.js',
|
||||
'packages/core-runtime/package-registry.js',
|
||||
'packages/meteor/flush-buffers-on-exit-in-windows.js',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user