Skip to content

Commit 1169e3e

Browse files
committed
πŸ“¦ v1.1.0
- 🀝 Compatibility with `[email protected]` - πŸ“¦ Internal meteor packages dependencies version bump - πŸ‘¨β€πŸ’» Rewrite using ES modules
1 parent a09155c commit 1169e3e

File tree

3 files changed

+44
-40
lines changed

3 files changed

+44
-40
lines changed

β€Ž.versions

+31-30
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
11
2-
babel-compiler@7.2.4
3-
babel-runtime@1.3.0
4-
2+
babel-compiler@7.6.1
3+
babel-runtime@1.5.0
4+
55
6-
boilerplate-generator@1.6.0
7-
callback-hook@1.1.0
6+
boilerplate-generator@1.7.1
7+
callback-hook@1.3.0
88
99
10-
ddp-client@2.3.3
10+
ddp-client@2.4.0
1111
12-
ddp-server@2.2.0
12+
ddp-server@2.3.2
1313
14-
dynamic-import@0.5.0
15-
ecmascript@0.12.4
14+
dynamic-import@0.6.0
15+
ecmascript@0.15.1
1616
17-
ecmascript-runtime-client@0.8.0
18-
ecmascript-runtime-server@0.7.1
19-
20-
17+
ecmascript-runtime-client@0.11.0
18+
ecmascript-runtime-server@0.10.0
19+
20+
2121
2222
23-
24-
local-test:ostrio:meteor-root@1.0.8
25-
logging@1.1.20
26-
27-
minimongo@1.4.5
28-
29-
modules@0.13.0
30-
modules-runtime@0.10.3
31-
mongo@1.6.0
32-
23+
24+
local-test:ostrio:meteor-root@1.1.0
25+
logging@1.2.0
26+
27+
minimongo@1.6.2
28+
29+
modules@0.16.0
30+
modules-runtime@0.12.0
31+
mongo@1.11.0
32+
3333
3434
35-
npm-mongo@3.1.1
35+
npm-mongo@3.9.0
3636
37-
ostrio:meteor-root@1.0.8
37+
ostrio:meteor-root@1.1.0
3838
39-
40-
39+
40+
41+
4142
4243
43-
socket-stream-client@0.2.2
44+
socket-stream-client@0.3.1
4445
4546
4647
47-
webapp@1.7.1
48-
webapp-hashing@1.0.9
48+
webapp@1.10.1
49+
webapp-hashing@1.1.0

β€Žmeteor-root.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
var path = Npm.require('path');
2-
Meteor.rootPath = path.resolve('.');
3-
Meteor.absolutePath = Meteor.rootPath.split(path.sep + '.meteor')[0];
1+
import { Meteor } from 'meteor/meteor';
2+
import path from 'path';
3+
4+
Meteor.rootPath = path.resolve('.');
5+
Meteor.absolutePath = Meteor.rootPath.split(`${path.sep}.meteor`)[0];

β€Žpackage.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
Package.describe({
22
name: 'ostrio:meteor-root',
3-
version: '1.0.8',
3+
version: '1.1.0',
44
summary: '[Server] Get path on a server where Meteor application is currently running',
5-
git: 'https://github.com/VeliovGroup/Meteor-root',
5+
git: 'https://github.com/veliovgroup/Meteor-root',
66
documentation: 'README.md'
77
});
88

9-
Package.onUse(function(api) {
10-
api.versionsFrom('1.4');
11-
api.addFiles('meteor-root.js', 'server');
9+
Package.onUse((api) => {
10+
api.versionsFrom('2.0');
11+
api.use('ecmascript', 'server');
12+
api.mainModule('meteor-root.js', 'server');
1213
});
1314

14-
Package.onTest(function(api) {
15-
api.use(['ostrio:meteor-root', 'tinytest'], 'server');
15+
Package.onTest((api) => {
16+
api.use(['tinytest', 'ecmascript'], 'server');
1617
api.addFiles('meteor-root-test.js', 'server');
1718
});

0 commit comments

Comments
Β (0)