@shopify/draggable
Advanced tools
Comparing version 0.0.0-snapshot-release-20230928004141 to 0.0.0-snapshot-release-20230928012257
@@ -1,2 +0,2 @@ | ||
import AbstractEvent from 'shared/AbstractEvent'; | ||
import AbstractEvent from '../../shared/AbstractEvent'; | ||
/** | ||
@@ -3,0 +3,0 @@ * DragEventData |
@@ -1,2 +0,2 @@ | ||
import AbstractPlugin from 'shared/AbstractPlugin'; | ||
import AbstractPlugin from '../../shared/AbstractPlugin'; | ||
/** | ||
@@ -3,0 +3,0 @@ * ResizeMirror default options |
@@ -1,2 +0,2 @@ | ||
import AbstractPlugin from 'shared/AbstractPlugin'; | ||
import AbstractPlugin from '../../shared/AbstractPlugin'; | ||
interface Options { | ||
@@ -3,0 +3,0 @@ duration: number; |
{ | ||
"name": "@shopify/draggable", | ||
"version": "0.0.0-snapshot-release-20230928004141", | ||
"version": "0.0.0-snapshot-release-20230928012257", | ||
"private": false, | ||
@@ -25,5 +25,5 @@ "license": "MIT", | ||
], | ||
"main": "build/cjs/index.js", | ||
"module": "build/esm/index.js", | ||
"esnext": "build/esnext/index.esnext", | ||
"main": "build/cjs/index.cjs", | ||
"module": "build/esm/index.mjs", | ||
"esnext": "build/esnext/index.mjs", | ||
"umd": "build/umd/index.js", | ||
@@ -41,3 +41,3 @@ "types": "./index.d.ts", | ||
"build:development": "yarn rollup --config rollup.development.config.ts --configPlugin @rollup/plugin-typescript", | ||
"build:production": "tsc && yarn rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && yarn uglifyjs --compress --mangle -- build/umd/index.js -o build/umd/index.min.js", | ||
"build:production": "tsc && tsc-alias && yarn rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && yarn uglifyjs --compress --mangle -- build/umd/index.js -o build/umd/index.min.js", | ||
"verify": "yarn lint && yarn type-check && yarn build && yarn test" | ||
@@ -47,2 +47,5 @@ }, | ||
"build/**/*", | ||
"!build/ts/**/*.tsbuildinfo", | ||
"!build/ts/**/tests/", | ||
"!build/ts/**/test/", | ||
"index.d.ts" | ||
@@ -74,5 +77,7 @@ ], | ||
"rollup": "^3.29.3", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-includepaths": "^0.2.4", | ||
"rollup-plugin-node-externals": "^6.1.1", | ||
"timers": "^0.1.1", | ||
"tsc-alias": "^1.8.8", | ||
"typescript": "^5.2.2", | ||
@@ -79,0 +84,0 @@ "uglify-js": "^3.17.4" |
@@ -63,23 +63,23 @@ [![npm version](https://img.shields.io/npm/v/@shopify/draggable.svg?label=@shopify/draggable)](https://www.npmjs.com/package/@shopify/draggable) [![CI](https://github.com/shopify/draggable/workflows/CI/badge.svg)](https://github.com/Shopify/draggable/actions?query=branch%3Amain) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Shopify/draggable/blob/main/CONTRIBUTING.md) ![Bundle size](https://img.shields.io/badge/Bundle%20size-16.2kB-red.svg) | ||
Swappable, | ||
} from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/index.js'; | ||
} from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/index.mjs'; | ||
</script> | ||
<!-- Draggable only --> | ||
<script type="module"> | ||
import Draggable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Draggable/Draggable.js'; | ||
import Draggable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Draggable/Draggable.mjs'; | ||
</script> | ||
<!-- Sortable only --> | ||
<script type="module"> | ||
import Sortable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Sortable/Sortable.js'; | ||
import Sortable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Sortable/Sortable.mjs'; | ||
</script> | ||
<!-- Droppable only --> | ||
<script type="module"> | ||
import Droppable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Droppable/Droppable.js'; | ||
import Droppable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Droppable/Droppable.mjs'; | ||
</script> | ||
<!-- Swappable only --> | ||
<script type="module"> | ||
import Swappable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Swappable/Swappable.js'; | ||
import Swappable from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Swappable/Swappable.mjs'; | ||
</script> | ||
<!-- Plugins only --> | ||
<script type="module"> | ||
import * as Plugins from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Plugins/index.js'; | ||
import * as Plugins from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/Plugins/index.mjs'; | ||
</script> | ||
@@ -86,0 +86,0 @@ <!-- UMD browser --> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
578345
30
226
14596
1