@jspsych/config 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gulp.js +9 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @jspsych/config
|
|
2
2
|
|
|
3
|
+
## 3.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3615](https://github.com/jspsych/jsPsych/pull/3615) [`2ee865dbe93d8d81d41d1287e3eed6dd106ec970`](https://github.com/jspsych/jsPsych/commit/2ee865dbe93d8d81d41d1287e3eed6dd106ec970) Thanks [@Jolg42](https://github.com/Jolg42)! - fix images encoding in dist zip
|
|
8
|
+
|
|
9
|
+
- [#3624](https://github.com/jspsych/jsPsych/pull/3624) [`5241a2335b8fc9038f9c23c8152bec548ef43cb7`](https://github.com/jspsych/jsPsych/commit/5241a2335b8fc9038f9c23c8152bec548ef43cb7) Thanks [@becky-gilbert](https://github.com/becky-gilbert)! - Fix `updatePluginVersions` task so that plugin versions are automatically updated on the plugin documentation pages.
|
|
10
|
+
|
|
3
11
|
## 3.3.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/gulp.js
CHANGED
|
@@ -86,8 +86,8 @@ export const createCoreDistArchive = () =>
|
|
|
86
86
|
src("packages/plugin-survey/css/survey.css").pipe(rename("/dist/survey.css")),
|
|
87
87
|
src("packages/plugin-survey/css/survey.min.css").pipe(rename("/dist/survey.min.css")),
|
|
88
88
|
|
|
89
|
-
// Examples
|
|
90
|
-
src("examples
|
|
89
|
+
// Examples HTML files
|
|
90
|
+
src(["examples/**/*.html"], { base: "." })
|
|
91
91
|
// Rewrite script source paths
|
|
92
92
|
.pipe(
|
|
93
93
|
replace(
|
|
@@ -103,6 +103,12 @@ export const createCoreDistArchive = () =>
|
|
|
103
103
|
)
|
|
104
104
|
),
|
|
105
105
|
|
|
106
|
+
// Examples files other than HTML (e.g. media files)
|
|
107
|
+
// Note: `encoding: false` means that the files contents are treated as binary.
|
|
108
|
+
// This prevents Gulp from corrupting binary files such as images when it reads them.
|
|
109
|
+
// Needed since Gulp v5.
|
|
110
|
+
src(["examples/**/*", "!examples/**/*.html"], { base: ".", encoding: false }),
|
|
111
|
+
|
|
106
112
|
// VERSION.md
|
|
107
113
|
file("VERSION.md", getVersionFileContents(), { src: true }),
|
|
108
114
|
|
|
@@ -141,7 +147,7 @@ export const updateUnpkgLinks = () => {
|
|
|
141
147
|
export const updatePluginVersions = () => {
|
|
142
148
|
const packageVersions = new Map(getAllPackages().map(({ name, version }) => [name, version]));
|
|
143
149
|
|
|
144
|
-
return src(["
|
|
150
|
+
return src(["docs/plugins/*.md"])
|
|
145
151
|
.pipe(
|
|
146
152
|
replace(
|
|
147
153
|
/\# (.+?)(?: plugin)?[\s]*?[\n]*Current version: (\d+.\d+.\d+|current-plugin-version)\./gi,
|