Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/4.0.0' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welch committed Sep 16, 2022
2 parents 854a9e7 + 770d3df commit 972da13
Show file tree
Hide file tree
Showing 42 changed files with 3,754 additions and 2,444 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Instant Analytics Changelog

## 4.0.0 - 2022.09.16
### Added
* Initial Craft CMS 4 release

### Changed
* Updated how the Instant Analytics are registered, to allow for overriding via plugin config ([#1989](https://github.com/craftcms/cms/issues/1989)) ([#11039](https://github.com/craftcms/cms/pull/11039))
* Update the buildchain to use Vite `^3.1.0` for building frontend assets
* Move to using `ServicesTrait` and add getter methods for services

## 4.0.0-beta.2 - 2022.03.04

### Fixed
Expand Down
6 changes: 6 additions & 0 deletions buildchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,30 @@ DOCKERRUN=docker container run \

.PHONY: build dev docker install clean npm

# Build the production assets
build: docker install
${DOCKERRUN} \
run build
# Start up the dev server
dev: docker install
${DOCKERRUN} \
run dev
# Start the Docker container
docker:
docker build \
. \
-t ${CONTAINER}:${TAG} \
--build-arg TAG=${TAG} \
--no-cache
# Run an npm install
install: docker
${DOCKERRUN} \
install
# Remove node_modules/* & package-lock.json
clean:
rm -rf node_modules/
rm -f package-lock.json
# Run the passed in npm command
npm: docker
${DOCKERRUN} \
$(filter-out $@,$(MAKECMDGOALS))
Expand Down
Loading

0 comments on commit 972da13

Please sign in to comment.