@markuplint/svelte-spec 3.2.0 → 4.0.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/.eslintrc ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "rules": {
3
+ "import/no-default-export": 0
4
+ }
5
+ }
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2019 Yusuke Hirao
3
+ Copyright (c) 2017-2024 Yusuke Hirao
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/lib/index.js CHANGED
@@ -1,5 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
1
  const spec = {
4
2
  specs: [
5
3
  {
@@ -12,4 +10,4 @@ const spec = {
12
10
  },
13
11
  ],
14
12
  };
15
- exports.default = spec;
13
+ export default spec;
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "@markuplint/svelte-spec",
3
- "version": "3.2.0",
3
+ "version": "4.0.0",
4
4
  "description": "Extended specification for tags and attributes in Svelte",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
7
7
  "license": "MIT",
8
8
  "private": false,
9
- "main": "lib/index.js",
9
+ "type": "module",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./lib/index.js"
13
+ }
14
+ },
10
15
  "types": "lib/index.d.ts",
11
16
  "publishConfig": {
12
17
  "access": "public"
@@ -16,10 +21,7 @@
16
21
  "clean": "tsc --build --clean"
17
22
  },
18
23
  "dependencies": {
19
- "@markuplint/ml-spec": "3.14.0"
20
- },
21
- "peerDependencies": {
22
- "@markuplint/ml-core": "3.x"
24
+ "@markuplint/ml-spec": "4.0.0"
23
25
  },
24
- "gitHead": "b37b749d7ac0f9e6cbd022ee7031bc020c6677d3"
26
+ "gitHead": "be4aabe189dc53a717b2fbd58583a03017646251"
25
27
  }