edu-webcomponents 1.7.0 → 1.9.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/.ncurc.js ADDED
@@ -0,0 +1,17 @@
1
+ /** Upgrade major version zero to the next minor version, and everything else to latest.
2
+ @param dependencyName The name of the dependency.
3
+ @param parsedVersion A parsed Semver object of the upgraded version.
4
+ (See: https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring)
5
+ @returns One of the valid target values (specified in the table above).
6
+ */
7
+ module.exports = {
8
+ target: (
9
+ dependencyName,
10
+ [{ semver, version, operator, major, minor, patch, release, build }],
11
+ ) => {
12
+ if (dependencyName === 'lit') {
13
+ return 'minor';
14
+ }
15
+ return 'latest';
16
+ },
17
+ };
package/CHANGELOG.md CHANGED
@@ -22,4 +22,10 @@
22
22
  - Setup GitHub Actions to tag and release after merge into main
23
23
 
24
24
  ## 1.7.0 - 2024-06-02
25
- - Setup GitHub Actions to publish packages in npm registry
25
+ - Setup GitHub Actions to publish packages in npm registry
26
+
27
+ ## 1.8.0 - 2024-06-15
28
+ - Setup [npm-check-updates](https://www.npmjs.com/package/npm-check-updates) to manage updates of dependencies of package.json
29
+
30
+ ## 1.9.0 - 2024-06-16
31
+ - Update dependencies
@@ -0,0 +1,11 @@
1
+ # npm-check-updates
2
+ npm-check-updates is to manage updates of dependencies of package.json.
3
+
4
+ Follow docs in npm registry to install and use: [npm-check-updates](https://www.npmjs.com/package/npm-check-updates).
5
+
6
+ Useful commands:
7
+ - check: ncu
8
+ - check and upgrade: ncu -u
9
+
10
+ Config file .ncurc.js:
11
+ - Hook into npm-check-updates commands to manage, e.g. filtering.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent edu-webcomponents following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "edu-webcomponents",
6
- "version": "1.7.0",
6
+ "version": "1.9.0",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",
@@ -22,29 +22,29 @@
22
22
  "build-storybook": "storybook build"
23
23
  },
24
24
  "dependencies": {
25
- "lit": "^2.0.2"
25
+ "lit": "^2.8.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@chromatic-com/storybook": "^1.4.0",
29
- "@custom-elements-manifest/analyzer": "^0.4.17",
30
- "@open-wc/eslint-config": "^9.2.1",
31
- "@open-wc/testing": "^3.1.6",
32
- "@storybook/addon-essentials": "^8.1.4",
33
- "@storybook/addon-links": "^8.1.4",
34
- "@storybook/addon-webpack5-compiler-swc": "^1.0.2",
35
- "@storybook/blocks": "^8.1.4",
36
- "@storybook/test": "^8.1.4",
37
- "@storybook/web-components": "^8.1.4",
38
- "@storybook/web-components-webpack5": "^8.1.4",
39
- "@web/dev-server": "^0.1.34",
40
- "@web/test-runner": "^0.14.0",
41
- "eslint": "^8.31.0",
42
- "eslint-config-prettier": "^8.3.0",
28
+ "@chromatic-com/storybook": "^1.5.0",
29
+ "@custom-elements-manifest/analyzer": "^0.10.2",
30
+ "@open-wc/eslint-config": "^9.2.2",
31
+ "@open-wc/testing": "^3.2.2",
32
+ "@storybook/addon-essentials": "^8.1.9",
33
+ "@storybook/addon-links": "^8.1.9",
34
+ "@storybook/addon-webpack5-compiler-swc": "^1.0.3",
35
+ "@storybook/blocks": "^8.1.9",
36
+ "@storybook/test": "^8.1.9",
37
+ "@storybook/web-components": "^8.1.9",
38
+ "@storybook/web-components-webpack5": "^8.1.9",
39
+ "@web/dev-server": "^0.4.5",
40
+ "@web/test-runner": "^0.18.2",
41
+ "eslint": "^8.57.0",
42
+ "eslint-config-prettier": "^8.10.0",
43
43
  "eslint-plugin-storybook": "^0.8.0",
44
44
  "husky": "^9.0.11",
45
45
  "lint-staged": "^10.5.4",
46
- "prettier": "^2.4.1",
47
- "storybook": "^8.1.4"
46
+ "prettier": "^2.8.8",
47
+ "storybook": "^8.1.9"
48
48
  },
49
49
  "customElements": "custom-elements.json",
50
50
  "eslintConfig": {