Skip to content
Open
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
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{json,yml}]
indent_style = space
indent_size = 2
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
* text=auto

# JS files must always use LF for tools to work
# JS files may have mjs or cjs extensions now as well
*.js eol=lf
*.cjs eol=lf
*.mjs eol=lf
75 changes: 75 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Node

on:
pull_request:
push:
branches-ignore: "dependabot/**"
# Once a week every Tuesday
schedule:
- cron: "42 1 * * 2"

permissions:
contents: read

env:
NODE_VERSION: 24.x

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: Install npm dependencies
run: npm ci

- name: Test
run: npm run test:browser

edge:
runs-on: windows-latest
name: edge
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test:edge

safari:
runs-on: macos-latest
name: safari
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test:safari
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.sizecache.json
/bower_components
.eslintcache
/dist
/external
/node_modules
/package-lock.json
/*.log
/*.err
14 changes: 0 additions & 14 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
35 changes: 35 additions & 0 deletions .release-it.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"use strict";

module.exports = {
preReleaseBase: 1,
hooks: {
"before:init": "./build/release/pre-release.sh",
"after:version:bump":
"sed -i '' -e 's|main/AUTHORS.txt|${version}/AUTHORS.txt|' package.json",
"after:bump": "cross-env VERSION=${version} npm run build",
"before:git:release": "git add -f dist/",
"after:release": "echo 'Run the following to complete the release:' && " +
"echo './build/release/post-release.sh ${version}'"
},
git: {
commitMessage: "Release: ${version}",
getLatestTagFromAllRefs: true,
pushRepo: "git@github.com:jquery/jquery-simulate.git",
requireBranch: "main",
requireCleanWorkingDir: true,
commit: true,
commitArgs: [ "-S" ],
tag: true,
tagName: "${version}",
tagAnnotation: "Release: ${version}",
tagArgs: [ "-s" ]
},
github: {
pushRepo: "git@github.com:jquery/jquery-simulate.git",
release: true,
tokenRef: "JQUERY_GITHUB_TOKEN"
},
npm: {
publish: true
}
};
4 changes: 2 additions & 2 deletions AUTHORS.TXT → AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Authors ordered by first contribution
Authors ordered by first contribution.

Richard D. Worth <rdworth@gmail.com>
Eduardo Lundgren <eduardolundgren@gmail.com>
Expand All @@ -10,5 +10,5 @@ Lars Laade <lars.laade@googlemail.com>
Anne-Gaelle Colom <coloma@westminster.ac.uk>
Jörn Zaefferer <joern.zaefferer@gmail.com>
Kai Cataldo <kaicataldo@gmail.com>
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
Alexander Schmitz <arschmitz@gmail.com>
Michał Gołębiowski-Owczarek <m.goleb@gmail.com>
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Welcome! Thanks for your interest in contributing to the jQuery Simulate plugin.

You may also want to take a look at our [commit & pull request guide](http://contribute.jquery.org/commits-and-pull-requests/) and [style guides](http://contribute.jquery.org/style-guide/) for instructions on how to maintain your fork and submit your code. Before we can merge any pull request, we'll also need you to sign our [contributor license agreement](http://contribute.jquery.org/cla).

You can find us on [IRC](http://irc.jquery.org), specifically in #jquery-dev should you have any questions. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](http://contribute.jquery.org/open-source/).
You can find us in the [#jquery/dev](https://matrix.to/#/#jquery_dev:gitter.im) Matrix channel on gitter.im. If you've never contributed to open source before, we've put together [a short guide with tips, tricks, and ideas on getting started](http://contribute.jquery.org/open-source/).
190 changes: 0 additions & 190 deletions Gruntfile.js

This file was deleted.

22 changes: 0 additions & 22 deletions bower.json

This file was deleted.

3 changes: 3 additions & 0 deletions build/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
Loading