Skip to content

Commit c2e7096

Browse files
authored
Merge pull request #568 from Shopify/housekeeping
Housekeeping
2 parents e6cf325 + bd3cea7 commit c2e7096

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+6951
-5559
lines changed

.circleci/config.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.eslintrc.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
module.exports = {
2-
extends: [
3-
'plugin:shopify/esnext',
4-
'plugin:shopify/jest',
5-
'plugin:shopify/prettier',
6-
],
2+
extends: ['plugin:@shopify/esnext', 'plugin:@shopify/jest', 'plugin:@shopify/prettier'],
73
env: {
84
browser: true,
5+
node: true,
96
},
107
rules: {
118
'import/no-unresolved': 'off',
129
'import/no-extraneous-dependencies': 'off',
1310
'class-methods-use-this': 'off',
1411
'line-comment-position': 0,
1512
'lines-around-comment': 'off',
13+
'jest/valid-title': 'off',
1614
},
1715
};

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
> Thank you for submitting a pull request! Please make sure you have read the [contribution guidelines](https://github.com/Shopify/draggable/blob/master/CONTRIBUTING.md) before proceeding.
1+
<!-- Thank you for submitting a pull request! Please make sure you have read the [contribution guidelines](https://github.com/Shopify/draggable/blob/master/CONTRIBUTING.md) before proceeding. -->
22

3-
### This PR implements or fixes... _(explain your changes)_
3+
### This PR implements or fixes...
44

5-
5+
<!-- Explain your changes -->
66

7-
### This PR closes the following issues... _(if applicable)_
7+
### This PR closes the following issues...
88

9-
9+
<!-- If applicable -->
1010

1111
### Does this PR require the Docs to be updated?
1212

@@ -20,9 +20,9 @@
2020

2121
**Browsers:**
2222

23-
* [ ] Chrome _version_
24-
* [ ] Firefox _version_
25-
* [ ] Safari _version_
26-
* [ ] IE / Edge _version_
27-
* [ ] iOS Browser _version_
28-
* [ ] Android Browser _version_
23+
- [ ] Chrome _version_
24+
- [ ] Firefox _version_
25+
- [ ] Safari _version_
26+
- [ ] IE / Edge _version_
27+
- [ ] iOS Browser _version_
28+
- [ ] Android Browser _version_

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout branch
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 2
17+
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: '18.17.1'
21+
22+
- name: Install dependencies
23+
run: yarn --frozen-lockfile
24+
25+
- name: Lint
26+
run: yarn lint
27+
28+
- name: Test
29+
run: yarn test

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v10.4.0
1+
v18.17.1

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"lib": true
1111
},
1212
"editor.formatOnSave": true,
13-
"prettier.eslintIntegration": true,
13+
"editor.codeActionsOnSave": {
14+
"source.fixAll.eslint": true
15+
},
1416
"javascript.validate.enable": false,
1517
"eslint.validate": ["javascript"]
1618
}

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Shopify
3+
Copyright (c) 2018-present Shopify
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[![CircleCI](https://circleci.com/gh/Shopify/draggable/tree/master.svg?style=shield)](https://circleci.com/gh/Shopify/draggable/tree/master)
21
[![npm version](https://badge.fury.io/js/%40shopify%2Fdraggable.svg)](https://badge.fury.io/js/%40shopify%2Fdraggable)
32
[![codecov](https://codecov.io/gh/Shopify/draggable/branch/master/graph/badge.svg)](https://codecov.io/gh/Shopify/draggable)
43
[![Greenkeeper badge](https://badges.greenkeeper.io/Shopify/draggable.svg)](https://greenkeeper.io/)
@@ -11,7 +10,7 @@
1110

1211
**Draggable is no longer maintained by its original authors.** Maintenance of this repo has been passed on to new collaborators and is no longer worked on by anyone at Shopify.
1312

14-
**We are still looking for more maintainers!** If anyone is interested in answering / triaging issues, reviewing / rejecting / approving PRs, and authoring code for bug fixes / new features — please send an email to `curtis.dulmage (at) shopify (dot) com`. You may be asked a few questions before obtaining collaboration permission, but if everything checks out, we will happily add you as a collaborator.
13+
**We are still looking for more maintainers!** If anyone is interested in answering / triaging issues, reviewing / rejecting / approving PRs, and authoring code for bug fixes / new features — please send an email to `max.hoffmann (at) shopify (dot) com`. You may be asked a few questions before obtaining collaboration permission, but if everything checks out, we will happily add you as a collaborator.
1514

1615
---
1716

config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2+
"testEnvironment": "jsdom",
23
"testMatch": ["<rootDir>/src/**/*.test.js"],
34
"setupFiles": ["<rootDir>/scripts/test/environment.js"],
4-
"setupTestFrameworkScriptFile": "<rootDir>/scripts/test/setup.js",
5+
"setupFilesAfterEnv": ["<rootDir>/scripts/test/setup.js"],
56
"transform": {".*": "<rootDir>/node_modules/babel-jest"},
67
"moduleFileExtensions": ["js"],
78
"collectCoverageFrom": [

examples/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.16.0
1+
v18.17.1

0 commit comments

Comments
 (0)