@ceed/cds 1.21.0-next.3 → 1.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceed/cds",
3
- "version": "1.21.0-next.3",
3
+ "version": "1.21.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,9 +11,11 @@
11
11
  "storybook": "storybook dev -p 6006",
12
12
  "test-storybook": "vitest --project=storybook",
13
13
  "build-storybook": "storybook build --webpack-stats-json",
14
- "build": "yarn build-for-framer && rm -rf ./dist && tsc --emitDeclarationOnly -p tsconfig.build.json && yarn build:esm && yarn build:cjs && yarn generate:dist-llms",
14
+ "build": "yarn build-for-framer && rm -rf ./dist && tsc --emitDeclarationOnly -p tsconfig.build.json && yarn build:esm && yarn build:cjs && yarn build:browser:prod && yarn generate:dist-llms",
15
15
  "build:esm": "yarn esbuild src/index.ts --bundle --outfile='dist/index.js' --format=esm '--packages=external' --tsconfig=tsconfig.build.json",
16
16
  "build:cjs": "yarn esbuild src/index.ts --bundle --outfile='dist/index.cjs' --format=cjs '--packages=external' --tsconfig=tsconfig.build.json",
17
+ "build:browser": "node esbuild.browser.mjs",
18
+ "build:browser:prod": "NODE_ENV=production node esbuild.browser.mjs",
17
19
  "build-for-framer": "yarn esbuild src/framer-entrypoint.ts --bundle --outfile='framer/index.js' --format=esm '--external:react' '--external:react/jsx-runtime' '--external:react-dom' '--external:framer' '--external:framer-motion' --main-fields=module,main --target=chrome58 --minify",
18
20
  "prepack": "yarn build",
19
21
  "lint": "oxlint && eslint \"./src/**/*.{ts,tsx}\"",
@@ -26,8 +28,12 @@
26
28
  ],
27
29
  "exports": {
28
30
  ".": {
31
+ "browser": "./dist/index.browser.js",
29
32
  "import": "./dist/index.js",
30
33
  "require": "./dist/index.cjs"
34
+ },
35
+ "./browser": {
36
+ "import": "./dist/index.browser.js"
31
37
  }
32
38
  },
33
39
  "author": "Ecube Labs",
@@ -94,6 +100,5 @@
94
100
  "type": "git",
95
101
  "url": "git+ssh://git@github.com/Ecube-Labs/hds.git"
96
102
  },
97
- "packageManager": "yarn@4.1.0",
98
- "stableVersion": "1.0.0"
103
+ "packageManager": "yarn@4.1.0"
99
104
  }