-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from palerdot/d3-micro-modules
Core update / d3 micro modules
- Loading branch information
Showing
24 changed files
with
10,087 additions
and
12,708 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
// ref: https://www.npmjs.com/package/@storybook/vue3 | ||
import { app } from "@storybook/vue3" | ||
// ref: https://github.com/storybookjs/storybook/issues/19295 | ||
import { setup } from "@storybook/vue3" | ||
|
||
// DEVELOPMENT: 'src/index.js' | ||
import VueSpeedometer from "../src/index" | ||
import VueSpeedometer from "../src/index.vue" | ||
// PRODUCTION build testing | ||
// import VueSpeedometer from "../dist/index" | ||
|
||
app.component("vue-speedometer", VueSpeedometer) | ||
app.mixin({ | ||
/* My mixin */ | ||
// | ||
setup(app => { | ||
app.component("vue-speedometer", VueSpeedometer) | ||
app.mixin({ | ||
/* My mixin */ | ||
}) | ||
}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule d3-speedometer
updated
46 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
"name": "palerdot", | ||
"email": "[email protected]" | ||
}, | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
|
@@ -14,23 +15,27 @@ | |
"module": "./dist/vue-speedometer.es.js", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/vue-speedometer.es.js", | ||
"require": "./dist/vue-speedometer.umd.js" | ||
}, | ||
"./slim": { | ||
"import": "./dist/slim/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"lint": "prettier -l src/index.js src/props.js src/__tests__/**/**.js", | ||
"build-storybook": "build-storybook -o .out", | ||
"build-storybook": "storybook build -o .out", | ||
"init-submodule": "git submodule update --init", | ||
"lintfix": "prettier --write src/index.js src/props.js src/__tests__/**/**.js", | ||
"publish-storybook": "bash .scripts/publish_storybook.sh", | ||
"pull-submodules": "git submodule foreach git pull origin master", | ||
"storybook": "start-storybook -p 6006", | ||
"storybook": "storybook dev -p 6006", | ||
"test": "vitest", | ||
"pretest": "rm -rf .nyc_output || true", | ||
"full-test": "vitest run && yarn instrument-code && yarn cy:run && yarn clean:instrumented-code", | ||
"clean:instrumented-code": "rm -rf instrumented", | ||
"instrument-code": "yarn clean:instrumented-code && npx nyc instrument --compact=false src instrumented && cp -R src/core instrumented/", | ||
"instrument-code": "npm run clean:instrumented-code && npx nyc instrument --compact=false src instrumented && cp -R src/core instrumented/", | ||
"mkdir:reports": "mkdir reports || true", | ||
"precopy:reports": "npm run mkdir:reports", | ||
"copy:reports": "cp cypress-coverage/coverage-final.json reports/from-cypress.json || true", | ||
|
@@ -43,51 +48,63 @@ | |
"cy:open": "cypress open", | ||
"build": "npm run build:main && npm run build:slim && npm run copy:types", | ||
"build:main": "NODE_ENV=production vite build", | ||
"build:slim": "echo 'porumai ... slim build coming soon'", | ||
"build:slim": "NODE_ENV=production vite build -c slim.config.js", | ||
"copy:types": "cp ./src/index.d.ts ./dist/", | ||
"prepublishOnly": "npm run build", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"d3": "^5.9.2", | ||
"d3-array": "^3.1.4", | ||
"d3-color": "^3.1.0", | ||
"d3-ease": "^3.0.1", | ||
"d3-format": "^3.1.0", | ||
"d3-interpolate": "^3.0.1", | ||
"d3-scale": "^4.0.2", | ||
"d3-selection": "^3.0.0", | ||
"d3-shape": "^3.1.0", | ||
"d3-transition": "^3.0.1", | ||
"lodash-es": "^4.17.15", | ||
"memoize-one": "^5.0.5" | ||
"memoize-one": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@cypress/code-coverage": "^3.10.0", | ||
"@cypress/vue": "^3.1.0", | ||
"@cypress/code-coverage": "^3.12.26", | ||
"@cypress/vue": "^6.0.0", | ||
"@istanbuljs/nyc-config-babel": "^3.0.0", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@storybook/addon-essentials": "^6.5.9", | ||
"@storybook/addon-links": "^6.5.9", | ||
"@storybook/builder-vite": "^0.1.38", | ||
"@storybook/theming": "^6.5.9", | ||
"@storybook/vue3": "^6.5.9", | ||
"@vitejs/plugin-vue": "^2.3.3", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@storybook/addon-essentials": "^7.6.17", | ||
"@storybook/addon-links": "^7.6.17", | ||
"@storybook/manager-api": "^7.6.17", | ||
"@storybook/theming": "^7.6.17", | ||
"@storybook/vue3": "^7.6.17", | ||
"@storybook/vue3-vite": "^7.6.17", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vue/compiler-sfc": "^3.2.37", | ||
"@vue/server-test-utils": "^1.3.0", | ||
"@vue/test-utils": "^2.0.0", | ||
"cypress": "^10.3.0", | ||
"@vue/test-utils": "^2.4.4", | ||
"cypress": "^13.6.6", | ||
"cypress-vite": "^1.5.0", | ||
"git-url-parse": "^11.1.2", | ||
"jsdom": "^14.0.0", | ||
"happy-dom": "^13.6.2", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.1.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rollup-plugin-analyzer": "^4.0.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"sprintf-js": "^1.1.2", | ||
"vite": "^2.9.13", | ||
"vitest": "^0.16.0", | ||
"vue": "^3.2.37" | ||
"storybook": "^7.6.17", | ||
"vite": "^5.1.4", | ||
"vitest": "^1.3.1", | ||
"vue": "^3.4.20" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^3.0.0" | ||
"vue": "^3.3.0" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/palerdot/vue-speedometer/issues" | ||
}, | ||
"engines": { | ||
"node": ">=8.0", | ||
"npm": ">=3.0.0" | ||
"node": ">=18.0", | ||
"npm": ">=10.0.0" | ||
}, | ||
"homepage": "https://github.com/palerdot/vue-speedometer#readme", | ||
"keywords": [ | ||
|
Oops, something went wrong.