@modular-css/vite 28.2.0 → 29.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.
Files changed (4) hide show
  1. package/CHANGELOG.md +22 -30
  2. package/package.json +5 -6
  3. package/vite.js +2 -0
  4. package/LICENSE +0 -21
package/CHANGELOG.md CHANGED
@@ -1,71 +1,63 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 29.0.0
5
4
 
6
- # [28.2.0](https://github.com/tivac/modular-css/compare/v28.1.4...v28.2.0) (2022-06-20)
5
+ ### Major Changes
7
6
 
8
- **Note:** Version bump only for package @modular-css/vite
7
+ - [#874](https://github.com/tivac/modular-css/pull/874) [`65cc277`](https://github.com/tivac/modular-css/commit/65cc2775976570ad50c483abef664483f2b7edf9) Thanks [@Morklympious](https://github.com/Morklympious)! - Updated to support `vite@3`, but now no longer supports `vite@2` due to an API incompatibility between the versions.
9
8
 
9
+ If you want to use `@modular-css/vite` with `vite@2` you'll need to stay on `@modular-css/vite@28.2.2`.
10
10
 
11
+ ## 28.2.2
11
12
 
13
+ ### Patch Changes
12
14
 
15
+ - Updated dependencies [[`2a20cd5`](https://github.com/tivac/modular-css/commit/2a20cd528d3a1dd34d2f034400ce334aeffa09ec)]:
16
+ - @modular-css/css-to-js@28.2.2
13
17
 
14
- ## [28.1.4](https://github.com/tivac/modular-css/compare/v28.1.3...v28.1.4) (2022-06-16)
15
-
16
- **Note:** Version bump only for package @modular-css/vite
17
-
18
+ ## 28.2.1
18
19
 
20
+ ### Patch Changes
19
21
 
22
+ - Updated dependencies [[`c19671f`](https://github.com/tivac/modular-css/commit/c19671fb8c4798d98a79e6f1d09cfc26e8a12eb7), [`c19671f`](https://github.com/tivac/modular-css/commit/c19671fb8c4798d98a79e6f1d09cfc26e8a12eb7), [`c19671f`](https://github.com/tivac/modular-css/commit/c19671fb8c4798d98a79e6f1d09cfc26e8a12eb7)]:
23
+ - @modular-css/css-to-js@28.2.1
20
24
 
25
+ All notable changes to this project will be documented in this file.
26
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
21
27
 
22
- ## [28.1.3](https://github.com/tivac/modular-css/compare/v28.1.2...v28.1.3) (2022-06-15)
28
+ # [28.2.0](https://github.com/tivac/modular-css/compare/v28.1.4...v28.2.0) (2022-06-20)
23
29
 
24
30
  **Note:** Version bump only for package @modular-css/vite
25
31
 
32
+ ## [28.1.4](https://github.com/tivac/modular-css/compare/v28.1.3...v28.1.4) (2022-06-16)
26
33
 
34
+ **Note:** Version bump only for package @modular-css/vite
27
35
 
36
+ ## [28.1.3](https://github.com/tivac/modular-css/compare/v28.1.2...v28.1.3) (2022-06-15)
28
37
 
38
+ **Note:** Version bump only for package @modular-css/vite
29
39
 
30
40
  ## [28.1.2](https://github.com/tivac/modular-css/compare/v28.1.1...v28.1.2) (2022-05-25)
31
41
 
32
42
  **Note:** Version bump only for package @modular-css/vite
33
43
 
34
-
35
-
36
-
37
-
38
44
  ## [28.1.1](https://github.com/tivac/modular-css/compare/v28.1.0...v28.1.1) (2022-04-08)
39
45
 
40
46
  **Note:** Version bump only for package @modular-css/vite
41
47
 
42
-
43
-
44
-
45
-
46
48
  # [28.0.0](https://github.com/tivac/modular-css/compare/v27.2.0...v28.0.0) (2022-02-25)
47
49
 
48
50
  **Note:** Version bump only for package @modular-css/vite
49
51
 
50
-
51
-
52
-
53
-
54
52
  ## [27.1.1](https://github.com/tivac/modular-css/compare/v27.1.0...v27.1.1) (2022-02-09)
55
53
 
56
-
57
54
  ### Bug Fixes
58
55
 
59
- * **vite:** non-win32 file resolution ([#809](https://github.com/tivac/modular-css/issues/809)) ([115c517](https://github.com/tivac/modular-css/commit/115c517ca5f4586619db2207d1d37675981237c6))
60
-
61
-
62
-
63
-
56
+ - **vite:** non-win32 file resolution ([#809](https://github.com/tivac/modular-css/issues/809)) ([115c517](https://github.com/tivac/modular-css/commit/115c517ca5f4586619db2207d1d37675981237c6))
64
57
 
65
58
  # [27.1.0](https://github.com/tivac/modular-css/compare/v27.0.3...v27.1.0) (2022-02-03)
66
59
 
67
-
68
60
  ### Features
69
61
 
70
- * **vite:** vite plugin ([46c80da](https://github.com/tivac/modular-css/commit/46c80dab3c552b5ddf2c43683984d6c9112ecd39))
71
- * **www:** m-css.com on sveltekit ([d434f92](https://github.com/tivac/modular-css/commit/d434f927a4201df8d66cd7ed5ea2be63daa42b7a))
62
+ - **vite:** vite plugin ([46c80da](https://github.com/tivac/modular-css/commit/46c80dab3c552b5ddf2c43683984d6c9112ecd39))
63
+ - **www:** m-css.com on sveltekit ([d434f92](https://github.com/tivac/modular-css/commit/d434f927a4201df8d66cd7ed5ea2be63daa42b7a))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modular-css/vite",
3
- "version": "28.2.0",
3
+ "version": "29.0.0",
4
4
  "description": "vite support for modular-css",
5
5
  "main": "./vite.js",
6
6
  "repository": {
@@ -26,12 +26,11 @@
26
26
  "postcss"
27
27
  ],
28
28
  "dependencies": {
29
- "@modular-css/css-to-js": "^28.2.0",
30
- "@modular-css/processor": "^28.1.3",
29
+ "@modular-css/css-to-js": "^28.2.2",
30
+ "@modular-css/processor": "^28.0.0",
31
31
  "@rollup/pluginutils": "^4.1.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "vite": "^2.7.3"
35
- },
36
- "gitHead": "6347eeba6834bf5763559d81449b6e052dcbc78b"
34
+ "vite": "^3.0.3"
35
+ }
37
36
  }
package/vite.js CHANGED
@@ -145,7 +145,9 @@ module.exports = (
145
145
  await viteServer.moduleGraph.updateModuleInfo(
146
146
  node,
147
147
  new Set(imported),
148
+ null,
148
149
  new Set(hmrDeps),
150
+ null,
149
151
  true,
150
152
  Boolean(opts.ssr),
151
153
  );
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Pat Cavit
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.