@brightspace-ui/core 1.209.1 → 1.210.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -125,23 +125,23 @@ If you'd like to run the tests locally to help troubleshoot or develop new tests
125
125
 
126
126
  ```shell
127
127
  # Install dependencies locally
128
- npm install esm mocha puppeteer @brightspace-ui/visual-diff --no-save
128
+ npm install mocha puppeteer @brightspace-ui/visual-diff --no-save
129
129
 
130
130
  # run visual-diff tests
131
- npx mocha './**/*.visual-diff.js' -t 10000 --require esm
131
+ npx mocha './**/*.visual-diff.js' -t 10000
132
132
 
133
133
  # subset of visual-diff tests:
134
- npx mocha './**/*.visual-diff.js' -t 10000 --require esm -g some-pattern
134
+ npx mocha './**/*.visual-diff.js' -t 10000 -g some-pattern
135
135
 
136
136
  # update visual-diff goldens
137
- npx mocha './**/*.visual-diff.js' -t 10000 --require esm --golden
137
+ npx mocha './**/*.visual-diff.js' -t 10000 --golden
138
138
  ```
139
139
 
140
140
  ## Versioning & Releasing
141
141
 
142
142
  > TL;DR: Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `main`. Read on for more details...
143
143
 
144
- The [semantic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/master/semantic-release) is called from the `release.yml` GitHub Action workflow to handle version changes and releasing.
144
+ The [semantic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/main/semantic-release) is called from the `release.yml` GitHub Action workflow to handle version changes and releasing.
145
145
 
146
146
  ### Version Changes
147
147
 
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "1.209.1",
3
+ "version": "1.210.0",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
+ "type": "module",
5
6
  "repository": "https://github.com/BrightspaceUI/core.git",
6
7
  "publishConfig": {
7
8
  "access": "public"
8
9
  },
9
10
  "scripts": {
10
- "build:clean": "node ./cli/clean.mjs",
11
- "build:icons": "node ./cli/icon-generator.mjs",
11
+ "build:clean": "node ./cli/clean.js",
12
+ "build:icons": "node ./cli/icon-generator.js",
12
13
  "build:sass": "node-sass --output-style expanded ./test/sass.scss > ./test/sass.output.css",
13
14
  "build": "npm run build:clean && npm run build:icons && npm run build:sass",
14
15
  "lint": "npm run lint:eslint && npm run lint:style && npm run lint:lit",
15
- "lint:eslint": "eslint . --ext .js,.mjs,.html",
16
+ "lint:eslint": "eslint . --ext .js,.html",
16
17
  "lint:lit": "lit-analyzer \"{components,directives,helpers,mixins,templates,test,tools}/**/*.js\" --strict",
17
18
  "lint:style": "stylelint \"**/*.{js,html}\"",
18
19
  "start": "web-dev-server --node-resolve --watch --open",