@cutting/svg 4.39.0 → 4.39.1

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.
@@ -1,22 +1,22 @@
1
- @cutting/svg:build: cache hit, replaying output 725c948e594b6123
2
- @cutting/svg:build: 
3
- @cutting/svg:build: > @cutting/svg@4.38.0 build /Users/paulcowan/projects/cuttingedge/packages/svg
4
- @cutting/svg:build: > NODE_ENV=production devtools rollup
5
- @cutting/svg:build: 
6
- @cutting/svg:build:  DEBUG using tsconfig.dist.json
7
- @cutting/svg:build:  WARNING emptying dist /Users/paulcowan/projects/cuttingedge/packages/svg/dist
8
- @cutting/svg:build:  START using input file index.ts for @cutting/svg
9
- @cutting/svg:build: 
10
- @cutting/svg:build:  INFO Generating @cutting/svg bundle.
11
- @cutting/svg:build:  INFO writing svg.cjs.development.js for @cutting/svg
12
- @cutting/svg:build:  INFO writing svg.cjs.production.min.js for @cutting/svg
13
- @cutting/svg:build:  INFO writing index.js for @cutting/svg
14
- @cutting/svg:build:  INFO writing index.js for @cutting/svg
15
- @cutting/svg:build: No name was provided for external module 'react/jsx-runtime' in output.globals – guessing 'jsxRuntime'
16
- @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/slicedToArray' in output.globals – guessing '_slicedToArray'
17
- @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectSpread2' in output.globals – guessing '_objectSpread'
18
- @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectWithoutProperties' in output.globals – guessing '_objectWithoutProperties'
19
- @cutting/svg:build: No name was provided for external module '@cutting/use-get-parent-size' in output.globals – guessing 'useGetParentSize'
20
- @cutting/svg:build: No name was provided for external module 'classnames' in output.globals – guessing 'cx'
21
- @cutting/svg:build:  DONE finished building
22
- @cutting/svg:build: 
1
+ @cutting/svg:build: cache hit, replaying output 19e8529a174bc943
2
+ @cutting/svg:build:
3
+ @cutting/svg:build: > @cutting/svg@4.39.1 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
4
+ @cutting/svg:build: > NODE_ENV=production devtools rollup
5
+ @cutting/svg:build:
6
+ @cutting/svg:build: DEBUG using tsconfig.dist.json
7
+ @cutting/svg:build: WARNING emptying dist /home/runner/work/cuttingedge/cuttingedge/packages/svg/dist
8
+ @cutting/svg:build: START using input file index.ts for @cutting/svg
9
+ @cutting/svg:build:
10
+ @cutting/svg:build: INFO Generating @cutting/svg bundle.
11
+ @cutting/svg:build: INFO writing svg.cjs.development.js for @cutting/svg
12
+ @cutting/svg:build: INFO writing svg.cjs.production.min.js for @cutting/svg
13
+ @cutting/svg:build: INFO writing index.js for @cutting/svg
14
+ @cutting/svg:build: INFO writing index.js for @cutting/svg
15
+ @cutting/svg:build: No name was provided for external module 'react/jsx-runtime' in output.globals – guessing 'jsxRuntime'
16
+ @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/slicedToArray' in output.globals – guessing '_slicedToArray'
17
+ @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectSpread2' in output.globals – guessing '_objectSpread'
18
+ @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectWithoutProperties' in output.globals – guessing '_objectWithoutProperties'
19
+ @cutting/svg:build: No name was provided for external module '@cutting/use-get-parent-size' in output.globals – guessing 'useGetParentSize'
20
+ @cutting/svg:build: No name was provided for external module 'classnames' in output.globals – guessing 'cx'
21
+ @cutting/svg:build: DONE finished building
22
+ @cutting/svg:build:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @cutting/svg
2
2
 
3
+ ## 4.39.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [92d64693]
8
+ - @cutting/util@4.38.1
9
+ - @cutting/use-get-parent-size@1.13.1
10
+
3
11
  ## 4.39.0
4
12
 
5
13
  ### Minor Changes
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/svg",
3
- "version": "4.39.0",
3
+ "version": "4.39.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dagda1/cuttingedge.git"
@@ -15,18 +15,18 @@
15
15
  "types": "dist/esm/index.d.ts",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@cutting/use-get-parent-size": "1.13.0",
19
- "@cutting/util": "4.38.0",
18
+ "@cutting/use-get-parent-size": "workspace:*",
19
+ "@cutting/util": "workspace:*",
20
20
  "classnames": "^2.3.1",
21
21
  "resize-observer-polyfill": "^1.5.1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@babel/runtime": "7.17.9",
25
- "@cutting/component-library": "5.12.0",
26
- "@cutting/devtools": "4.40.0",
27
- "@cutting/eslint-config": "4.34.0",
28
- "@cutting/tsconfig": "4.31.0",
29
- "@cutting/useful-types": "4.30.0",
25
+ "@cutting/component-library": "workspace:*",
26
+ "@cutting/devtools": "workspace:*",
27
+ "@cutting/eslint-config": "workspace:*",
28
+ "@cutting/tsconfig": "workspace:*",
29
+ "@cutting/useful-types": "workspace:*",
30
30
  "@jest/globals": "27.5.1",
31
31
  "@testing-library/jest-dom": "5.16.4",
32
32
  "@testing-library/react": "^13.0.1",
@@ -42,6 +42,14 @@
42
42
  "react": ">= 18.x.x",
43
43
  "react-dom": ">= 18.x.x"
44
44
  },
45
+ "scripts": {
46
+ "build": "NODE_ENV=production devtools rollup",
47
+ "lint": "eslint ./src/**/*.{ts,tsx} --fix",
48
+ "start": "PORT=8888 NODE_ENV=development devtools devserver-start",
49
+ "test": "NODE_ENV=test devtools test",
50
+ "test:ci": "CI=true pnpm test",
51
+ "prepack": "pnpm build"
52
+ },
45
53
  "volta": {
46
54
  "extends": "../../package.json"
47
55
  },
@@ -56,13 +64,5 @@
56
64
  "dist/esm/index.d.ts"
57
65
  ]
58
66
  }
59
- },
60
- "scripts": {
61
- "build": "NODE_ENV=production devtools rollup",
62
- "lint": "eslint ./src/**/*.{ts,tsx} --fix",
63
- "start": "PORT=8888 NODE_ENV=development devtools devserver-start",
64
- "test": "NODE_ENV=test devtools test",
65
- "test:ci": "CI=true pnpm test"
66
- },
67
- "readme": "# @cutting/svg - reusable svg components for SVG documents\n[![npm version](https://img.shields.io/npm/v/@cutting/svg.svg)](https://www.npmjs.com/package/@cutting/svg)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\n## install \n\n```sh\npnpm add @cutting/svg\n\n# or\n\nnpm install @cutting/svg\n```\n\n## ParentsizeSVG\n\nA react component that will resize and scale to the dimensions of the supplied react [ref object](https://reactjs.org/docs/refs-and-the-dom.html).\n\n![svg document resizing to scale when using the ParentsizeSVG component](./img/sizer.gif)\n\nThe `ParentsizeSVG` component takes an `parentRef` prop that should point to a valid HTML DOM element.\n\n## usage\n\n```ts\nimport { useRef } from 'react';\nimport { ParentsizeSVG } from '@cutting/svg';\n\nexport function App(): JSX.Element {\n const ref = useRef<HTMLDivElement>(null);\n\n return (\n <div className={styles.container} ref={ref}>\n <ParentsizeSVG ref={ref}>\n <rect\n x=\"20%\"\n y=\"20%\"\n width={'50%'}\n height={'50%'}\n rx=\"20\"\n style={{ fill: '#ff0000', stroke: '#000000', strokeWidth: '2px' }}\n />\n </ParentsizeSVG>\n </div>\n );\n};\n```"
68
- }
67
+ }
68
+ }
@@ -1,5 +0,0 @@
1
- @cutting/svg:lint: cache hit, replaying output a335d9f8908b2800
2
- @cutting/svg:lint: 
3
- @cutting/svg:lint: > @cutting/svg@4.38.0 lint /Users/paulcowan/projects/cuttingedge/packages/svg
4
- @cutting/svg:lint: > eslint ./src/**/*.{ts,tsx} --fix
5
- @cutting/svg:lint: