Skip to content

Commit

Permalink
use jquery 4.0.0-beta release instead of git checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Apr 22, 2024
1 parent 28dd629 commit f1d21cd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ NPM_PACKAGES?=

# Packages which get installed with `--save-dev` option.
# No default value.
NPM_DEV_PACKAGES?=\
qunit \
web-test-runner-qunit \
git://github.com/jquery/jquery.git\#2b6b5e0a3ba3029ec3ad1525a178920765e3adf1
NPM_DEV_PACKAGES?=

# Packages which get installed with `--save-prod` option.
# No default value.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@web/dev-server-import-maps": "^0.2.0",
"@web/test-runner": "^0.18.0",
"@web/test-runner": "^0.18.1",
"install": "^0.13.0",
"jquery": "github:jquery/jquery#2b6b5e0a3ba3029ec3ad1525a178920765e3adf1",
"jquery": "^4.0.0-beta",
"jsdoc": "^3.6.11",
"qunit": "^2.20.1",
"rollup": "^2.79.1",
Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import $ from 'jquery';
import {
create_cookie,
create_svg_elem,
Expand Down
1 change: 1 addition & 0 deletions tests/test_widget.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import $ from 'jquery';
import {
Button,
HTMLWidget,
Expand Down
2 changes: 1 addition & 1 deletion wtr.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
inject: {
importMap: {
imports: {
'jquery': './node_modules/jquery/src/jquery.js'
'jquery': './node_modules/jquery/dist-module/jquery.module.js'
},
},
},
Expand Down

0 comments on commit f1d21cd

Please sign in to comment.