Skip to content

Commit 093d369

Browse files
authored
Merge pull request #1025 from Patternslib/patternslib-dev-update
Patternslib dev update
2 parents 6e3b6dd + f4fa27c commit 093d369

File tree

4 files changed

+250
-215
lines changed

4 files changed

+250
-215
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ const path = require("path");
22
const config = require("@patternslib/dev/jest.config.js");
33

44
config.setupFilesAfterEnv.push(path.resolve(__dirname, "./src/setup-tests.js"));
5+
config.moduleNameMapper["@patternslib/patternslib/(.*)"] = "<rootDir>/$1";
56

67
module.exports = config;

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@stomp/stompjs": "^6.1.2",
1717
"google-code-prettify": "^1.0.5",
1818
"imagesloaded": "^4.1.4",
19-
"intersection-observer": "^0.12.0",
19+
"intersection-observer": "^0.12.2",
2020
"jquery": "^3.6.0",
2121
"jquery-jcrop": "^0.9.13",
2222
"luxon": "^2.3.2",
@@ -26,7 +26,7 @@
2626
"photoswipe": "^4.1.3",
2727
"pikaday": "^1.8.0",
2828
"promise-polyfill": "^8.2.3",
29-
"screenfull": "^6.0.1",
29+
"screenfull": "^6.0.2",
3030
"select2": "^3.5.1",
3131
"showdown": "^2.1.0",
3232
"showdown-prettify": "^1.3.0",
@@ -38,13 +38,13 @@
3838
"whatwg-fetch": "^3.4.0"
3939
},
4040
"devDependencies": {
41-
"@patternslib/dev": "^2.0.0",
42-
"@patternslib/pat-content-mirror": "^3.0.0-alpha.0",
43-
"@patternslib/pat-doclock": "^3.0.0-alpha.0",
44-
"@patternslib/pat-shopping-cart": "^3.0.0-alpha.0",
45-
"@patternslib/pat-sortable-table": "^3.0.0-alpha.0",
46-
"@patternslib/pat-tiptap": "^4.0.0-alpha.1",
47-
"@patternslib/pat-upload": "^3.0.0-alpha.0",
41+
"@patternslib/dev": "^2.2.0",
42+
"@patternslib/pat-content-mirror": "^3.0.0",
43+
"@patternslib/pat-doclock": "^3.0.0",
44+
"@patternslib/pat-shopping-cart": "^3.0.0",
45+
"@patternslib/pat-sortable-table": "^3.0.0",
46+
"@patternslib/pat-tiptap": "^4.1.0",
47+
"@patternslib/pat-upload": "^3.0.0",
4848
"copy-webpack-plugin": "^11.0.0",
4949
"webpack-modernizr-loader": "^5.0.0"
5050
},

webpack/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ module.exports = (env, argv) => {
3030
config.plugins.push(
3131
mf_config({
3232
name: "patternslib",
33-
package_json: package_json,
3433
remote_entry: config.entry["bundle.min"],
34+
dependencies: package_json.dependencies,
3535
})
3636
);
3737

@@ -59,6 +59,6 @@ module.exports = (env, argv) => {
5959
}
6060

6161
//console.log(JSON.stringify(config, null, 4));
62-
//
62+
6363
return config;
6464
};

0 commit comments

Comments
 (0)