Skip to content

Commit b1567a8

Browse files
authored
feat: add 3.1 (#172)
1 parent 151fc5d commit b1567a8

11 files changed

+46
-42
lines changed

.github/workflows/continuous-integration-workflow.yml

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
- '3.0.2'
7171
- '3.0.3'
7272
- '3.0.4'
73+
- '3.1'
7374

7475
steps:
7576
- name: Checkout

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Copy `example/default.dockerfile` (or `example/app-with-native-dependencies.dock
1616

1717
Edit the `Dockerfile` you copied into your project, changing the first line so that the numbers at the end match the version of Meteor of your project. You can find your project’s Meteor version in your app’s `.meteor/release` file.
1818

19-
For example, if your project is running under Meteor 3.0.4:
19+
For example, if your project is running under Meteor 3.1:
2020

2121
```Dockerfile
22-
FROM geoffreybooth/meteor-base:3.0.4
22+
FROM geoffreybooth/meteor-base:3.1
2323
```
2424

2525
This version must match an available tag from [geoffreybooth/meteor-base](https://hub.docker.com/r/geoffreybooth/meteor-base/tags).

example/app-with-native-dependencies.dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The tag here should match the Meteor version of your app, per .meteor/release
2-
FROM geoffreybooth/meteor-base:3.0.4
2+
FROM geoffreybooth/meteor-base:3.1
33

44
# Copy app package.json and package-lock.json into container
55
COPY ./app/package*.json $APP_SOURCE_FOLDER/
@@ -12,8 +12,8 @@ COPY ./app $APP_SOURCE_FOLDER/
1212
RUN bash $SCRIPTS_FOLDER/build-meteor-bundle.sh
1313

1414

15-
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 3.0.4
16-
FROM node:20.18.0-alpine
15+
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 3.1
16+
FROM node:22.11.0-alpine
1717

1818
ENV APP_BUNDLE_FOLDER=/opt/bundle
1919
ENV SCRIPTS_FOLDER=/docker
@@ -36,7 +36,7 @@ RUN bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh --build-from-source
3636

3737
# Start another Docker stage, so that the final image doesn’t contain the layer with the build dependencies
3838
# See previous FROM line; this must match
39-
FROM node:20.18.0-alpine
39+
FROM node:22.11.0-alpine
4040

4141
ENV APP_BUNDLE_FOLDER=/opt/bundle
4242
ENV SCRIPTS_FOLDER=/docker

example/app/.meteor/packages

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
[email protected] # Packages every Meteor app needs to have
88
[email protected] # Packages for a great mobile UX
9-
[email protected].2 # The database Meteor supports right now
9+
[email protected].3 # The database Meteor supports right now
1010
[email protected] # Reactive variable for tracker
1111

1212
[email protected] # CSS minifier run for production mode
1313
[email protected] # JS minifier run for production mode
1414
[email protected] # ECMAScript 5 compatibility for older browsers
15-
[email protected].9 # Enable ECMAScript2015+ syntax in app code
16-
typescript@5.4.3 # Enable TypeScript syntax in .ts and .tsx modules
17-
[email protected].0 # Server-side component of the `meteor shell` command
15+
[email protected].10 # Enable ECMAScript2015+ syntax in app code
16+
typescript@5.6.3 # Enable TypeScript syntax in .ts and .tsx modules
17+
[email protected].1 # Server-side component of the `meteor shell` command
1818
[email protected] # Update client in development without reloading the page
1919

2020
[email protected] # Publish all data to the clients (for prototyping)

example/app/.meteor/release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
METEOR@3.0.4
1+
METEOR@3.1

example/app/.meteor/versions

+14-15
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
22
33
4-
4+
55
66
77
@@ -11,12 +11,12 @@ [email protected]
1111
1212
1313
14-
14+
1515
16-
16+
1717
1818
19-
19+
2020
2121
2222
@@ -32,22 +32,22 @@ [email protected]
3232
3333
3434
35-
35+
3636
3737
38-
39-
38+
39+
4040
4141
4242
43-
43+
4444
4545
46-
47-
mongo-decimal@0.1.4-beta300.7
46+
47+
mongo-decimal@0.2.0
4848
4949
50-
npm-mongo@4.17.4
50+
npm-mongo@6.10.0
5151
5252
5353
@@ -57,14 +57,13 @@ [email protected]
5757
5858
5959
60-
60+
6161
6262
6363
6464
6565
6666
67-
68-
69-
67+
68+
7069

example/app/package-lock.json

+12-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/app/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"visualize": "meteor --production --extra-packages bundle-visualizer"
99
},
1010
"dependencies": {
11-
"@babel/runtime": "^7.25.7",
12-
"meteor-node-stubs": "^1.2.10",
11+
"@babel/runtime": "^7.26.0",
12+
"meteor-node-stubs": "^1.2.12",
1313
"react": "^18.3.1",
1414
"react-dom": "^18.3.1"
1515
},

example/default.dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# The tag here should match the Meteor version of your app, per .meteor/release
2-
FROM geoffreybooth/meteor-base:3.0.4
2+
FROM geoffreybooth/meteor-base:3.1
33

44
# Copy app package.json and package-lock.json into container
55
COPY ./app/package*.json $APP_SOURCE_FOLDER/
@@ -12,8 +12,8 @@ COPY ./app $APP_SOURCE_FOLDER/
1212
RUN bash $SCRIPTS_FOLDER/build-meteor-bundle.sh
1313

1414

15-
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 3.0.4
16-
FROM node:20.18.0-alpine
15+
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 3.1
16+
FROM node:22.11.0-alpine
1717

1818
ENV APP_BUNDLE_FOLDER=/opt/bundle
1919
ENV SCRIPTS_FOLDER=/docker

support.sh

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ set_node_version() {
8989
elif [[ "$1" == 3.0.2 ]]; then node_version='20.15.1'
9090
elif [[ "$1" == 3.0.3 ]]; then node_version='20.17.0'
9191
elif [[ "$1" == 3.0.4 ]]; then node_version='20.18.0'
92+
elif [[ "$1" == 3.1 ]]; then node_version='22.11.0'
9293
fi # End of versions
9394
}
9495

versions.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,6 @@ meteor_versions=( \
5959
'3.0.1' \
6060
'3.0.2' \
6161
'3.0.3' \
62-
'3.0.4'
62+
'3.0.4' \
63+
'3.1'
6364
)

0 commit comments

Comments
 (0)