@cutting/svg 4.34.0 → 4.36.0

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,7 +1,7 @@
1
- @cutting/svg:build: cache hit, replaying output efba4b9a1e9ae7ea
1
+ @cutting/svg:build: cache hit, replaying output 0f69babcfbe6036c
2
2
  @cutting/svg:build:
3
- @cutting/svg:build: > @cutting/svg@4.34.0 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
4
- @cutting/svg:build: > NODE_ENV=production cutting rollup
3
+ @cutting/svg:build: > @cutting/svg@4.36.0 build /home/runner/work/cuttingedge/cuttingedge/packages/svg
4
+ @cutting/svg:build: > NODE_ENV=production devtools rollup
5
5
  @cutting/svg:build:
6
6
  @cutting/svg:build: DEBUG using tsconfig.dist.json
7
7
  @cutting/svg:build: WARNING emptying dist /home/runner/work/cuttingedge/cuttingedge/packages/svg/dist
@@ -11,12 +11,12 @@
11
11
  @cutting/svg:build: INFO writing svg.cjs.development.js for @cutting/svg
12
12
  @cutting/svg:build: INFO writing svg.cjs.production.min.js for @cutting/svg
13
13
  @cutting/svg:build: INFO writing index.js for @cutting/svg
14
+ @cutting/svg:build: INFO writing index.js for @cutting/svg
14
15
  @cutting/svg:build: No name was provided for external module 'react/jsx-runtime' in output.globals – guessing 'jsxRuntime'
15
16
  @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/slicedToArray' in output.globals – guessing '_slicedToArray'
16
17
  @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectSpread2' in output.globals – guessing '_objectSpread'
17
18
  @cutting/svg:build: No name was provided for external module '@babel/runtime/helpers/objectWithoutProperties' in output.globals – guessing '_objectWithoutProperties'
18
19
  @cutting/svg:build: No name was provided for external module '@cutting/use-get-parent-size' in output.globals – guessing 'useGetParentSize'
19
20
  @cutting/svg:build: No name was provided for external module 'classnames' in output.globals – guessing 'cx'
20
- @cutting/svg:build: INFO writing index.js for @cutting/svg
21
21
  @cutting/svg:build: DONE finished building
22
22
  @cutting/svg:build:
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @cutting/svg
2
2
 
3
+ ## 4.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 11095849: component-library fixes
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [11095849]
12
+ - @cutting/use-get-parent-size@1.10.0
13
+ - @cutting/util@4.33.0
14
+
15
+ ## 4.35.0
16
+
17
+ ### Minor Changes
18
+
19
+ - fe4c8c00: run pnpm -r update
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [fe4c8c00]
24
+ - @cutting/use-get-parent-size@1.9.0
25
+ - @cutting/util@4.32.0
26
+
27
+ ## 4.34.1
28
+
29
+ ### Patch Changes
30
+
31
+ - e0188472: run changesets
32
+ - Updated dependencies [e0188472]
33
+ - @cutting/use-get-parent-size@1.8.1
34
+ - @cutting/util@4.31.2
35
+
3
36
  ## 4.34.0
4
37
 
5
38
  ### Minor Changes
package/demo/index.tsx CHANGED
@@ -1,10 +1,12 @@
1
- import ReactDOM from 'react-dom';
1
+ import { createRoot } from 'react-dom/client';
2
2
  import { App } from './App';
3
3
 
4
- export const root = document.getElementById('root');
4
+ export const container = document.getElementById('root');
5
+
6
+ const root = createRoot(container);
5
7
 
6
8
  const render = (Component: typeof App) => {
7
- ReactDOM.render(<Component />, root);
9
+ root.render(<Component />);
8
10
  };
9
11
 
10
12
  render(App);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cutting/svg",
3
- "version": "4.34.0",
3
+ "version": "4.36.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dagda1/cuttingedge.git"
@@ -21,32 +21,32 @@
21
21
  "resize-observer-polyfill": "^1.5.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@babel/runtime": "7.17.8",
24
+ "@babel/runtime": "7.17.9",
25
25
  "@cutting/component-library": "workspace:*",
26
26
  "@cutting/devtools": "workspace:*",
27
27
  "@cutting/eslint-config": "workspace:*",
28
28
  "@cutting/tsconfig": "workspace:*",
29
29
  "@cutting/useful-types": "workspace:*",
30
30
  "@jest/globals": "27.5.1",
31
- "@testing-library/jest-dom": "5.16.2",
32
- "@testing-library/react": "^12.1.4",
31
+ "@testing-library/jest-dom": "5.16.4",
32
+ "@testing-library/react": "^13.0.0",
33
33
  "@vanilla-extract/babel-plugin": "1.1.5",
34
34
  "@vanilla-extract/css": "1.6.8",
35
35
  "@vanilla-extract/sprinkles": "1.4.0",
36
- "eslint": "8.11.0",
37
- "react": "17.0.2",
38
- "react-dom": "17.0.2",
39
- "typescript": "4.6.2"
36
+ "eslint": "8.13.0",
37
+ "react": "18.0.0",
38
+ "react-dom": "18.0.0",
39
+ "typescript": "4.6.3"
40
40
  },
41
41
  "peerDependencies": {
42
- "react": ">= 17.x.x",
43
- "react-dom": ">= 17.x.x"
42
+ "react": ">= 18.x.x",
43
+ "react-dom": ">= 18.x.x"
44
44
  },
45
45
  "scripts": {
46
- "build": "NODE_ENV=production cutting rollup",
46
+ "build": "NODE_ENV=production devtools rollup",
47
47
  "lint": "eslint ./src/**/*.{ts,tsx} --fix",
48
- "start": "PORT=8888 NODE_ENV=development cutting devserver-start",
49
- "test": "NODE_ENV=test cutting test",
48
+ "start": "PORT=8888 NODE_ENV=development devtools devserver-start",
49
+ "test": "NODE_ENV=test devtools test",
50
50
  "test:ci": "CI=true pnpm test",
51
51
  "prepack": "pnpm build"
52
52
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
- "baseUrl": "./",
4
+ "baseUrl": "./src",
5
5
  "outDir": "./dist/esm",
6
6
  "rootDir": "./src",
7
7
  "noEmit": false
@@ -12,5 +12,5 @@
12
12
  { "path": "../component-library/tsconfig.dist.json" },
13
13
  { "path": "../use-get-parent-size/tsconfig.dist.json" }
14
14
  ],
15
- "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
15
+ "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx", "demo"]
16
16
  }
package/tsconfig.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "extends": "../../tsconfig-base.json",
3
3
  "compilerOptions": {
4
4
  "baseUrl": "./",
5
+ "rootDirs": ["src", "demo"],
5
6
  "noEmit": true
6
7
  },
7
8
  "references": [
@@ -10,5 +11,5 @@
10
11
  { "path": "../component-library/tsconfig.dist.json" },
11
12
  { "path": "../use-get-parent-size/tsconfig.dist.json" }
12
13
  ],
13
- "include": ["src/**/*.ts", "src/**/*.tsx"]
14
+ "include": ["src/**/*.ts", "src/**/*.tsx", "demo"]
14
15
  }