Skip to content

Commit c1152b1

Browse files
authored
Feature/meteor 2.13.3 (#154)
* Update project to meteor v2.13.3 * Fix counters * Update packages * Fix akryum:vue-component see meteor-vue/vue-meteor#437 * Update jszip * Add a makefile * Update changelog * Update docker files * Update changelog * Fix counter * Add atomic update, like before * Remove useless file * Update changelg * Add minio * Update changelog
1 parent afeb18b commit c1152b1

20 files changed

+3167
-875
lines changed

.meteor/packages

+16-16
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,41 @@
66

77
[email protected] # Packages every Meteor app needs to have
88
[email protected] # Packages for a great mobile UX
9-
mongo@1.12.0 # The database Meteor supports right now
10-
[email protected].11 # Reactive variable for tracker
11-
tracker@1.2.0 # Meteor's client-side reactive programming library
9+
mongo@1.16.7 # The database Meteor supports right now
10+
[email protected].12 # Reactive variable for tracker
11+
tracker@1.3.2 # Meteor's client-side reactive programming library
1212

13-
standard-minifier-css@1.7.3 # CSS minifier run for production mode
14-
standard-minifier-js@2.6.1 # JS minifier run for production mode
13+
standard-minifier-css@1.9.2 # CSS minifier run for production mode
14+
standard-minifier-js@2.8.1 # JS minifier run for production mode
1515
[email protected] # ECMAScript 5 compatibility for older browsers
16-
ecmascript@0.15.3 # Enable ECMAScript2015+ syntax in app code
16+
ecmascript@0.16.7 # Enable ECMAScript2015+ syntax in app code
1717
[email protected] # Server-side component of the `meteor shell` command
1818

19-
static-html
20-
akryum:vue-component
21-
19+
20+
2221
aldeed:simple-schema
2322
akryum:vue-sass
2423
vuejs:blaze-integration
25-
accounts-password@2.0.1
24+
accounts-password@2.3.4
2625
reywood:publish-composite
27-
26+
2827
konecty:user-presence
29-
ostrio:files
28+
ostrio:files@2.3.3
3029
meteorhacks:inject-initial
3130
alanning:roles
3231
matb33:collection-hooks
33-
email@2.1.1
32+
email@2.2.5
3433
gadicohen:headers
3534
mdg:validated-method
3635
meteortesting:mocha
3736
xolvio:cleaner
3837
practicalmeteor:sinon
39-
msavin:sjobs
38+
msavin:sjobs@4.3.2
4039
aldeed:collection2-core
4140
sakulstra:aggregate
4241
jquery
43-
service-configuration@1.1.0
42+
service-configuration@1.3.1
4443
latelier-oidc
4544
latelier-accounts-oidc
46-
45+
46+
bslocombe:vue-component

.meteor/release

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
METEOR@2.3.6
1+
METEOR@2.13.3

.meteor/versions

+60-59
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
2-
3-
4-
1+
2+
3+
54
65
76
87
98
109
11-
12-
autoupdate@1.7.0
13-
babel-compiler@7.7.0
14-
10+
11+
autoupdate@1.8.0
12+
babel-compiler@7.10.4
13+
1514
1615
1716
1817
1918
19+
2020
2121
22-
callback-hook@1.3.1
23-
22+
callback-hook@1.5.1
23+
2424
25-
26-
ddp-client@2.5.0
25+
26+
ddp-client@2.6.1
2727
28-
ddp-rate-limiter@1.1.0
29-
ddp-server@2.4.1
28+
ddp-rate-limiter@1.2.0
29+
ddp-server@2.6.2
3030
31-
32-
33-
ecmascript@0.15.3
34-
ecmascript-runtime@0.7.0
35-
ecmascript-runtime-client@0.11.1
36-
ecmascript-runtime-server@0.10.1
37-
38-
email@2.1.1
31+
32+
33+
ecmascript@0.16.7
34+
ecmascript-runtime@0.8.1
35+
ecmascript-runtime-client@0.12.1
36+
ecmascript-runtime-server@0.11.0
37+
38+
email@2.2.5
3939
40-
40+
4141
42-
42+
4343
4444
4545
@@ -54,71 +54,72 @@ [email protected]
5454
5555
5656
57-
logging@1.2.0
58-
matb33:collection-hooks@1.1.4
59-
mdg:validated-method@1.2.0
57+
logging@1.3.2
58+
matb33:collection-hooks@1.3.0
59+
mdg:validated-method@1.3.0
6060
61-
meteor@1.9.3
61+
meteor@1.11.3
6262
6363
meteorhacks:[email protected]
6464
meteortesting:[email protected]
6565
meteortesting:[email protected]
6666
meteortesting:[email protected]
67-
minifier-css@1.5.4
68-
minifier-js@2.6.1
69-
minimongo@1.7.0
67+
minifier-css@1.6.4
68+
minifier-js@2.7.5
69+
minimongo@1.9.3
7070
7171
72-
73-
modules@0.16.0
74-
modules-runtime@0.12.0
75-
mongo@1.12.0
76-
72+
73+
modules@0.19.0
74+
modules-runtime@0.13.1
75+
mongo@1.16.7
76+
7777
7878
79-
msavin:sjobs@3.1.1
80-
npm-mongo@3.9.1
81-
oauth@2.0.0
82-
83-
79+
msavin:sjobs@4.3.2
80+
npm-mongo@4.16.0
81+
oauth@2.2.0
82+
83+
8484
8585
86-
ostrio:files@1.14.3
86+
ostrio:files@2.3.3
8787
peerlibrary:[email protected]
8888
peerlibrary:[email protected]
8989
practicalmeteor:[email protected]_1
9090
practicalmeteor:[email protected]_2
91-
91+
9292
93-
94-
rate-limit@1.0.9
95-
react-fast-refresh@0.1.1
96-
97-
93+
94+
rate-limit@1.1.1
95+
react-fast-refresh@0.2.7
96+
97+
9898
9999
100-
reywood:publish-composite@1.7.3
100+
reywood:publish-composite@1.8.3
101101
102-
sakulstra:[email protected].3
103-
service-configuration@1.1.0
104-
102+
sakulstra:[email protected].4
103+
service-configuration@1.3.1
104+
105105
106106
107-
socket-stream-client@0.4.0
107+
socket-stream-client@0.5.1
108108
109109
110-
standard-minifier-css@1.7.3
111-
standard-minifier-js@2.6.1
110+
standard-minifier-css@1.9.2
111+
standard-minifier-js@2.8.1
112112
113113
114114
115115
116116
117117
118-
tracker@1.2.0
119-
118+
tracker@1.3.2
119+
120120
121121
122-
webapp@1.11.1
123-
122+
webapp@1.13.5
123+
124124
125+

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## Unreleased
88

99
### Added
10+
- Makefile: simplify local & docker dev usage
1011

1112
### Changed
13+
- Update to Meteor 2.13.3
14+
- Dockerfiles:
15+
- update meteor version
16+
- use meteor nodejs14 extended support version
17+
- set architecture to linux/amd64 platform in docker compose
18+
- Update meteor packages:
19+
- msavin:sjobs* upgraded from 3.1.1 to 4.3.2
20+
- sakulstra:aggregate upgraded from 1.4.3 to 1.4.4
21+
- ostrio:files* upgraded from 1.14.3 to 2.3.3
22+
- matb33:collection-hooks upgraded from 1.1.4 to 1.3.0
23+
- mdg:validated-method upgraded from 1.2.0 to 1.3.0
24+
- observe-sequence upgraded from 1.0.20 to 1.0.21
25+
- reywood:publish-composite upgraded from 1.7.3 to 1.8.3
26+
- zodern:types added, version 1.0.10
27+
- akryum:vue-component moved to bslocombe:vue-component@0.16.1
28+
- see https://github.com/meteor-vue/vue-meteor/issues/437#issuecomment-1543296641
29+
- Update npm packages:
30+
- jszip upgraded from 3.7.1 to 3.10.1
1231

1332
### Deleted
33+
- Remove useless vador.yml file
1434

1535
## [3.4.9 2022-11-20]
1636

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:2.3.6 as build
2+
FROM geoffreybooth/meteor-base:2.13.3 as build
33
# Copy app package.json and package-lock.json into container
44
COPY ./package*.json $APP_SOURCE_FOLDER/
55

@@ -12,7 +12,7 @@ RUN METEOR_DISABLE_OPTIMISTIC_CACHING=1 bash "$SCRIPTS_FOLDER/build-meteor-bundl
1212

1313

1414
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 1.9
15-
FROM node:14.17.6-alpine
15+
FROM meteor/node:14.21.4-alpine3.17
1616
ENV PANDOC_VERSION 2.10.1
1717
ENV APP_BUNDLE_FOLDER /opt/bundle
1818
ENV SCRIPTS_FOLDER /docker
@@ -21,7 +21,7 @@ ENV SCRIPTS_FOLDER /docker
2121
RUN apk --no-cache --virtual .node-gyp-compilation-dependencies add \
2222
g++ \
2323
make \
24-
python \
24+
python3 \
2525
curl \
2626
# And runtime dependencies, which we keep
2727
&& apk --no-cache add \

Dockerfile.dev

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Adapted from https://github.com/disney/meteor-base/issues/48
22
# Use the specific version of Node expected by your Meteor release, per https://docs.meteor.com/changelog.html; this is expected for Meteor 1.10.2
3-
FROM node:14.17.6-alpine
3+
FROM meteor/node:14.21.4-alpine3.17
44

55
# Setup environment variables that will be available to the instance
6-
ENV METEOR_VERSION 2.3.6
6+
ENV METEOR_VERSION 2.13.3
77
ENV PANDOC_VERSION 2.10.1
88
RUN apk add --update --no-cache bash curl
99
# Here we're running https://github.com/staeke/meteor-alpine/ with a few tweaks
10-
RUN export TEMP_PACKAGES="alpine-sdk libc6-compat python graphicsmagick curl linux-headers" && \
10+
RUN export TEMP_PACKAGES="alpine-sdk libc6-compat python3 graphicsmagick curl linux-headers" && \
1111
apk add --update --no-cache $TEMP_PACKAGES && \
1212
curl https://install.meteor.com/?release=${METEOR_VERSION} | sh && \
1313
cd /root/.meteor/packages/meteor-tool/*/mt-os.linux.x86_64 && \
@@ -21,7 +21,7 @@ RUN export TEMP_PACKAGES="alpine-sdk libc6-compat python graphicsmagick curl lin
2121
ln -s $(which npm) && \
2222
ln -s $(which npx) && \
2323
cd ../mongodb/bin && \
24-
rm mongo mongod && \
24+
rm mongos mongod && \
2525
cd ../../lib && \
2626
npm rebuild && \
2727
cd ~ && \

Makefile

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Define default shell
2+
SHELL := /bin/bash
3+
4+
# Local commands
5+
start:
6+
npm run start
7+
8+
start-dev:
9+
npm run start-dev
10+
11+
test:
12+
npm run test
13+
14+
test-run:
15+
npm run test-run
16+
17+
test-app:
18+
npm run test-app
19+
20+
visualize:
21+
npm run visualize
22+
23+
lint:
24+
npm run lint
25+
26+
pretest:
27+
npm run pretest
28+
29+
# Docker commands
30+
docker-start-dev:
31+
docker-compose --file docker-compose.dev.yml exec app npm run start-dev
32+
33+
docker-test:
34+
docker-compose --file docker-compose.dev.yml exec app npm run test
35+
36+
docker-test-run:
37+
docker-compose --file docker-compose.dev.yml exec app npm run test-run
38+
39+
docker-test-app:
40+
docker-compose --file docker-compose.dev.yml exec app npm run test-app
41+
42+
docker-visualize:
43+
docker-compose --file docker-compose.dev.yml exec app npm run visualize
44+
45+
docker-lint:
46+
docker-compose --file docker-compose.dev.yml exec app npm run lint
47+
48+
docker-pretest:
49+
docker-compose --file docker-compose.dev.yml exec app npm run pretest
50+
51+
docker-up:
52+
docker-compose --file docker-compose.dev.yml up --build
53+
54+
# Add a help command to list available targets
55+
help:
56+
@echo "Available commands:"
57+
@echo " start Run the app locally with development settings and MAIL_URL"
58+
@echo " start-dev Run the app locally for development"
59+
@echo " test Run local tests once"
60+
@echo " test-run Continuously run local tests"
61+
@echo " test-app Run full-app local tests"
62+
@echo " visualize Visualize local production bundle"
63+
@echo " lint Lint the local codebase"
64+
@echo " pretest Run lint as pretest locally"
65+
@echo ""
66+
@echo " docker-start-dev Start the development environment in Docker"
67+
@echo " docker-test Run tests in the Docker container"
68+
@echo " docker-test-run Continuously run tests in the Docker container"
69+
@echo " docker-test-app Run full-app tests in the Docker container"
70+
@echo " docker-visualize Visualize production bundle in Docker"
71+
@echo " docker-lint Lint the codebase in Docker"
72+
@echo " docker-pretest Run lint as pretest in Docker"
73+
@echo " docker-up Start docker dev venv"
74+
75+
.PHONY: start start-dev test test-run test-app visualize lint pretest docker-start-dev docker-test docker-test-run docker-test-app docker-visualize docker-lint docker-pretest docker-up help

0 commit comments

Comments
 (0)