Skip to content

Commit bcfea25

Browse files
authored
Merge pull request #24 from Patternslib/fix-dist
Fix dist
2 parents 1dd1c3a + e8483fd commit bcfea25

File tree

4 files changed

+472
-265
lines changed

4 files changed

+472
-265
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ bundle-pre:
5656

5757
# Compile the bundle.
5858
.PHONY: bundle
59-
bundle: bundle-pre stamp-yarn
59+
bundle: clean-dist bundle-pre stamp-yarn
6060
ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
6161
@# Do not build a bundle for @patternslib/dev
6262
$(YARN) run build
6363
endif
6464

6565

6666
# Create a ZIP file from the bundle which is uploaded to the GitHub release tag.
67-
release-zip: clean-dist bundle
67+
release-zip:
6868
ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
6969
@# Do not create a zip release for @patternslib/dev
7070
$(eval PACKAGE_VERSION := $(shell node -p "require('./package.json').version"))
@@ -128,7 +128,7 @@ release-github: prepare-release release-zip
128128
-rm $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip
129129

130130

131-
release: clean install check release-npm release-github
131+
release: clean install check bundle release-npm release-github
132132
@# Note: If you want to include the compiled bundle in your npm package you
133133
@# have to allow it in a .npmignore file.
134134

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (env) => {
2626
},
2727
],
2828
],
29-
plugins: ["@babel/plugin-proposal-optional-chaining"],
29+
plugins: ["@babel/plugin-transform-optional-chaining"],
3030
};
3131
}
3232

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"description": "Development base files for working with Patternslib and add-ons.",
55
"license": "MIT",
66
"dependencies": {
7-
"@babel/core": "^7.21.8",
7+
"@babel/core": "^7.22.1",
88
"@babel/eslint-parser": "^7.21.8",
9-
"@babel/preset-env": "^7.21.5",
9+
"@babel/preset-env": "^7.22.2",
1010
"@commitlint/cli": "^17.6.3",
1111
"@commitlint/config-conventional": "^17.6.3",
1212
"@release-it/conventional-changelog": "^5.1.1",
1313
"babel-loader": "^9.1.2",
14-
"css-loader": "^6.7.3",
15-
"eslint": "^8.40.0",
14+
"css-loader": "^6.8.1",
15+
"eslint": "^8.41.0",
1616
"eslint-config-prettier": "^8.8.0",
1717
"husky": "^8.0.3",
1818
"identity-obj-proxy": "^3.0.0",
@@ -23,11 +23,11 @@
2323
"regenerator-runtime": "^0.13.11",
2424
"release-it": "^15.10.3",
2525
"sass": "^1.62.1",
26-
"sass-loader": "^13.2.2",
27-
"style-loader": "^3.3.2",
28-
"terser-webpack-plugin": "^5.3.8",
26+
"sass-loader": "^13.3.1",
27+
"style-loader": "^3.3.3",
28+
"terser-webpack-plugin": "^5.3.9",
2929
"timezone-mock": "^1.3.6",
30-
"webpack": "^5.82.1",
30+
"webpack": "^5.84.1",
3131
"webpack-bundle-analyzer": "^4.8.0",
3232
"webpack-cli": "^5.1.1",
3333
"webpack-dev-server": "^4.15.0",

0 commit comments

Comments
 (0)