@thednp/dommatrix 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +0 -0
- package/.lgtm.yml +0 -0
- package/.prettierrc.json +0 -0
- package/LICENSE +0 -0
- package/README.md +4 -4
- package/dist/dommatrix.cjs +2 -1
- package/dist/dommatrix.cjs.map +1 -1
- package/dist/dommatrix.d.ts +5 -5
- package/dist/dommatrix.js +2 -1
- package/dist/dommatrix.js.map +1 -1
- package/dist/dommatrix.mjs +3 -3
- package/dist/dommatrix.mjs.map +1 -1
- package/dts.config.ts +0 -0
- package/package.json +79 -74
- package/src/index.ts +1 -0
- package/src/types.ts +0 -0
- package/{cypress/e2e/dommatrix.spec.ts → test/dommatrix.test.ts} +131 -131
- package/{cypress/test.html → test/fixtures/getExampleDom.ts} +38 -35
- package/{cypress → test}/fixtures/testSamples.ts +0 -0
- package/tsconfig.json +3 -3
- package/vite.config.ts +0 -0
- package/vitest.config-ui.ts +21 -0
- package/vitest.config.ts +19 -0
- package/cypress/plugins/esbuild-istanbul.ts +0 -50
- package/cypress/plugins/tsCompile.ts +0 -34
- package/cypress/support/commands.ts +0 -37
- package/cypress/support/e2e.ts +0 -21
- package/cypress.config.ts +0 -29
package/cypress.config.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "cypress";
|
|
2
|
-
import createBundler from "@bahmutov/cypress-esbuild-preprocessor";
|
|
3
|
-
import createEsbuildIstanbulPlugin from "./cypress/plugins/esbuild-istanbul";
|
|
4
|
-
|
|
5
|
-
async function setupNodeEvents(
|
|
6
|
-
on: Cypress.PluginEvents,
|
|
7
|
-
config: Cypress.PluginConfigOptions
|
|
8
|
-
): Promise<Cypress.PluginConfigOptions> {
|
|
9
|
-
await require("@cypress/code-coverage/task")(on, config);
|
|
10
|
-
|
|
11
|
-
on(
|
|
12
|
-
"file:preprocessor",
|
|
13
|
-
createBundler({
|
|
14
|
-
plugins: [createEsbuildIstanbulPlugin()],
|
|
15
|
-
})
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
// Make sure to return the config object as it might have been modified by the plugin.
|
|
19
|
-
return config;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export default defineConfig({
|
|
23
|
-
e2e: {
|
|
24
|
-
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
|
|
25
|
-
supportFile: "cypress/support/e2e.ts",
|
|
26
|
-
video: false,
|
|
27
|
-
setupNodeEvents,
|
|
28
|
-
},
|
|
29
|
-
});
|