@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.
- package/.turbo/turbo-build.log +22 -22
- package/CHANGELOG.md +8 -0
- package/cutting-svg-4.39.1.tgz +0 -0
- package/package.json +18 -18
- package/.turbo/turbo-lint.log +0 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cutting/svg",
|
|
3
|
-
"version": "4.39.
|
|
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": "
|
|
19
|
-
"@cutting/util": "
|
|
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": "
|
|
26
|
-
"@cutting/devtools": "
|
|
27
|
-
"@cutting/eslint-config": "
|
|
28
|
-
"@cutting/tsconfig": "
|
|
29
|
-
"@cutting/useful-types": "
|
|
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
|
-
|
|
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[](https://www.npmjs.com/package/@cutting/svg)\n[](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\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
|
+
}
|
package/.turbo/turbo-lint.log
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
[36m@cutting/svg:lint: [0mcache hit, replaying output [2ma335d9f8908b2800[0m
|
|
2
|
-
[36m@cutting/svg:lint: [0m
|
|
3
|
-
[36m@cutting/svg:lint: [0m> @cutting/svg@4.38.0 lint /Users/paulcowan/projects/cuttingedge/packages/svg
|
|
4
|
-
[36m@cutting/svg:lint: [0m> eslint ./src/**/*.{ts,tsx} --fix
|
|
5
|
-
[36m@cutting/svg:lint: [0m
|