Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACKLOG-23366: Migrate to @jahia/javascript-modules-library #15

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"webpack-shell-plugin-next": "^2.3.1"
},
"dependencies": {
"@jahia/js-server-core": "^0.0.17",
"@jahia/javascript-modules-library": "^0.0.4",
"handlebars": "^4.7.6"
},
"maven": {
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = env => {
path: path.resolve(__dirname, 'dist')
},
externals: {
'@jahia/js-server-core': 'jsServerCoreLibraryBuilder.getLibrary()',
handlebars: 'jsServerCoreLibraryBuilder.getSharedLibrary(\'handlebars\')'
'@jahia/javascript-modules-library': 'javascriptModulesLibraryBuilder.getLibrary()',
handlebars: 'javascriptModulesLibraryBuilder.getSharedLibrary(\'handlebars\')'
},
plugins: [
new ExtraWatchWebpackPlugin({
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2648,17 +2648,17 @@ __metadata:
languageName: node
linkType: hard

"@jahia/js-server-core@npm:^0.0.17":
version: 0.0.17
resolution: "@jahia/js-server-core@npm:0.0.17"
"@jahia/javascript-modules-library@npm:^0.0.4":
version: 0.0.4
resolution: "@jahia/javascript-modules-library@npm:0.0.4"
dependencies:
graphql: "npm:^16.0.1"
graphql-tag: "npm:^2.12.6"
i18next: "npm:^23.10.1"
prop-types: "npm:^15.8.1"
react: "npm:^18.2.0"
react-i18next: "npm:^14.1.0"
checksum: 10/92e3b1953595c5dd1c77304766ce08629e4a5f08031223b25795cb587d7c813931fa1e53865c3ed4ea24d9a901fff559e4465e764144f2ad1a877eb90dbcdb9e
checksum: 10/096ce4c204a51ab20f1758babeaf6dd714c2b07113248eb755c13b7b7bf7cff26950f2d614c171d50fc1d2524f3479b04b6168747f5fd08761f2fda69ca1919e
languageName: node
linkType: hard

Expand Down Expand Up @@ -6329,7 +6329,7 @@ __metadata:
"@babel/preset-env": "npm:^7.23.2"
"@babel/preset-react": "npm:^7.22.15"
"@jahia/eslint-config": "npm:^2.1.2"
"@jahia/js-server-core": "npm:^0.0.17"
"@jahia/javascript-modules-library": "npm:^0.0.4"
"@jahia/scripts": "npm:^1.3.3"
eslint: "npm:^8.43.0"
eslint-plugin-jest: "npm:latest"
Expand Down