@vygruppen/spor-react 12.6.4 → 12.7.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.
- package/.turbo/turbo-build.log +14 -13
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/icons/{index.js → index.cjs} +1 -1
- package/dist/{index.js → index.cjs} +1 -1
- package/package.json +7 -6
- package/tsup.config.ts +9 -3
- /package/dist/icons/{index.js.map → index.cjs.map} +0 -0
- /package/dist/icons/{index.d.mts → index.d.cts} +0 -0
- /package/dist/{index.js.map → index.cjs.map} +0 -0
- /package/dist/{index.d.mts → index.d.cts} +0 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.
|
2
|
+
> @vygruppen/spor-react@12.7.0 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -7,21 +7,22 @@ CLI Using tsconfig: tsconfig.json
|
|
7
7
|
CLI tsup v7.3.0
|
8
8
|
CLI Using tsup config: /home/runner/work/spor/spor/packages/spor-react/tsup.config.ts
|
9
9
|
CLI Target: node16
|
10
|
-
|
10
|
+
CLI Cleaning output folder
|
11
11
|
ESM Build start
|
12
|
+
CJS Build start
|
12
13
|
DTS Build start
|
13
|
-
|
14
|
+
CJS dist/icons/index.cjs 381.00 B
|
15
|
+
CJS dist/icons/index.cjs.map 157.00 B
|
16
|
+
CJS dist/index.cjs 311.49 KB
|
17
|
+
CJS dist/index.cjs.map 623.43 KB
|
18
|
+
CJS ⚡️ Build success in 3080ms
|
14
19
|
ESM dist/icons/index.mjs 110.00 B
|
15
|
-
ESM dist/index.mjs.map 623.43 KB
|
16
20
|
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
CJS dist/icons/index.js.map 157.00 B
|
22
|
-
CJS ⚡️ Build success in 2737ms
|
23
|
-
DTS ⚡️ Build success in 29941ms
|
21
|
+
ESM dist/index.mjs 290.84 KB
|
22
|
+
ESM dist/index.mjs.map 623.43 KB
|
23
|
+
ESM ⚡️ Build success in 3081ms
|
24
|
+
DTS ⚡️ Build success in 33114ms
|
24
25
|
DTS dist/icons/index.d.ts 44.00 B
|
25
26
|
DTS dist/index.d.ts 153.52 KB
|
26
|
-
DTS dist/icons/index.d.
|
27
|
-
DTS dist/index.d.
|
27
|
+
DTS dist/icons/index.d.cts 44.00 B
|
28
|
+
DTS dist/index.d.cts 153.52 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.7.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- ac8f61d: Add type module to all packages, update entries and outputs for ESM/CJS compatibility.
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- Updated dependencies [ac8f61d]
|
12
|
+
- @vygruppen/spor-loader@0.7.0
|
13
|
+
- @vygruppen/spor-icon-react@4.2.1
|
14
|
+
- @vygruppen/spor-design-tokens@4.0.7
|
15
|
+
|
3
16
|
## 12.6.4
|
4
17
|
|
5
18
|
### Patch Changes
|
@@ -10943,4 +10943,4 @@ exports.useColorMode = useColorMode;
|
|
10943
10943
|
exports.useColorModeValue = useColorModeValue;
|
10944
10944
|
exports.useTranslation = useTranslation;
|
10945
10945
|
//# sourceMappingURL=out.js.map
|
10946
|
-
//# sourceMappingURL=index.
|
10946
|
+
//# sourceMappingURL=index.cjs.map
|
package/package.json
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vygruppen/spor-react",
|
3
|
-
"
|
3
|
+
"type": "module",
|
4
|
+
"version": "12.7.0",
|
4
5
|
"exports": {
|
5
6
|
".": {
|
6
7
|
"types": "./dist/index.d.ts",
|
7
8
|
"import": "./dist/index.mjs",
|
8
|
-
"require": "./dist/index.
|
9
|
+
"require": "./dist/index.cjs"
|
9
10
|
},
|
10
11
|
"./icons": {
|
11
12
|
"types": "./dist/icons/index.d.ts",
|
12
13
|
"import": "./dist/icons/index.mjs",
|
13
|
-
"require": "./dist/icons/index.
|
14
|
+
"require": "./dist/icons/index.cjs"
|
14
15
|
}
|
15
16
|
},
|
16
17
|
"license": "MIT",
|
@@ -18,7 +19,7 @@
|
|
18
19
|
"homepage": "https://github.com/nsbno/spor/tree/main/packages/spor-react",
|
19
20
|
"repository": {
|
20
21
|
"type": "git",
|
21
|
-
"url": "https://github.com/nsbno/spor.git",
|
22
|
+
"url": "git+https://github.com/nsbno/spor.git",
|
22
23
|
"directory": "packages/spor-react"
|
23
24
|
},
|
24
25
|
"dependencies": {
|
@@ -47,7 +48,7 @@
|
|
47
48
|
"usehooks-ts": "^3.1.0",
|
48
49
|
"@vygruppen/spor-design-tokens": "4.0.7",
|
49
50
|
"@vygruppen/spor-icon-react": "4.2.1",
|
50
|
-
"@vygruppen/spor-loader": "0.
|
51
|
+
"@vygruppen/spor-loader": "0.7.0"
|
51
52
|
},
|
52
53
|
"devDependencies": {
|
53
54
|
"@react-types/datepicker": "^3.10.0",
|
@@ -67,7 +68,7 @@
|
|
67
68
|
"vitest-axe": "^0.1.0",
|
68
69
|
"vitest-canvas-mock": "^0.2.2",
|
69
70
|
"@vygruppen/eslint-config": "1.1.1",
|
70
|
-
"@vygruppen/tsconfig": "0.1.
|
71
|
+
"@vygruppen/tsconfig": "0.1.1"
|
71
72
|
},
|
72
73
|
"peerDependencies": {
|
73
74
|
"react": ">=18.0.0 <19.0.0",
|
package/tsup.config.ts
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
import { defineConfig } from "tsup";
|
2
2
|
|
3
|
-
export default defineConfig({
|
3
|
+
export default defineConfig(({ watch }) => ({
|
4
4
|
entry: ["src/index.tsx", "src/icons/index.tsx"],
|
5
|
-
format: ["
|
5
|
+
format: ["esm", "cjs"],
|
6
6
|
dts: true,
|
7
7
|
treeshake: true,
|
8
8
|
sourcemap: true,
|
9
|
-
|
9
|
+
splitting: false,
|
10
|
+
clean: !watch, // avoid deleting ./dist when dev/watch starts
|
11
|
+
outDir: "dist",
|
12
|
+
outExtension: ({ format }) => ({
|
13
|
+
js: format === "esm" ? ".mjs" : ".cjs",
|
14
|
+
}),
|
15
|
+
}));
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|