• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sebnitu / vrembem / 9821233590
94%
main: 100%

Build:
Build:
LAST BUILD BRANCH: next-utility
DEFAULT BRANCH: main
Ran 06 Jul 2024 06:20PM UTC
Jobs 1
Files 52
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2024 06:18PM UTC coverage: 100.0%. Remained the same
9821233590

push

github

web-flow
Improve package exports for better entry paths (#1918)

This PR improves the entry packs by creating better values in `package.exports`. There are two primary ways to consume a Vrembem component and two unique exceptions. A component that only offers CSS and SCSS modules, exports are now set as follows:

```js
"exports": {
  ".": {
    "sass": "./index.scss",
    "style": "./dist/index.css"
  },
  "./dev/*": "./dev/*",
  "./dist/*": "./dist/*",
  "./*": "./src/*"
},
```

Modules that also include JavaScript entries such as `drawer`, `modal` and `popover` now look like this:

```js
"exports": {
  ".": {
    "import": "./index.js",
    "require": "./dist/index.umd.cjs",
    "sass": "./index.scss",
    "style": "./dist/index.css"
  },
  "./dev/*": "./dev/*",
  "./dist/*": "./dist/*",
  "./*": "./src/*"
},
```

The only two exceptions to these patterns are `core` and the `vrembem` package. In `vrembem`, we also include a `root` export to include all custom properties output. In `core`, we also include entires to all available core SCSS modules as well as a root import:

```js
"exports": {
    ".": {
      "import": "./index.js",
      "require": "./dist/index.umd.cjs",
      "sass": "./index.scss",
      "style": "./dist/index.css"
    },
    "./dev/*": "./dev/*",
    "./dist/*": "./dist/*",
    "./root": "./root.scss",
    "./config": "./src/scss/modules/config.scss",
    "./usage": "./src/scss/modules/usage.scss",
    "./css": "./src/scss/modules/css.scss",
    "./palette": "./src/scss/modules/palette.scss",
    "./theme": "./src/scss/modules/theme.scss",
    "./*": "./src/*"
  },
```

Because of these changes, the following package properties have been removed as they are either not standard or are superseded by the exports property:

- `"main"`: Replaced with `"." > "import"` and `"." > "require"`
- `"sass"`: Replaced with `"." > "sass"`
- `"style"`: Replaced with `"." > "style"`

508 of 508 branches covered (100.0%)

Branch coverage included in aggregate %.

2293 of 2293 relevant lines covered (100.0%)

43.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9821233590.1 06 Jul 2024 06:20PM UTC 0
100.0
GitHub Action Run
Source Files on build 9821233590
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9821233590
  • 999ea570 on github
  • Prev Build on next (#9811607706)
  • Next Build on next (#9821236234)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc