Skip to content

Commit 5aedba5

Browse files
committed
Update dependencies & project name
1 parent 0ca0963 commit 5aedba5

File tree

5 files changed

+25
-24
lines changed

5 files changed

+25
-24
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/target
33
^target/
44
target
5-
swc_plugin_import_glob_array.wasm
5+
swc_import_glob_array_plugin.wasm

Cargo.lock

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "swc-plugin-import-glob-array"
2+
name = "swc-import-glob-array-plugin"
33
version = "1.0.0"
44
edition = "2021"
55

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SWC Plugin Import Glob Array
1+
# SWC Import Glob Array Plugin
22

33
This plugin is a port of [babel-plugin-import-glob-array](https://github.com/jescalan/babel-plugin-import-glob-array)
44
from JavaScript to Rust for [Speedy Web Compiler (SWC)](https://swc.rs/).
@@ -14,13 +14,13 @@ Installation can be done via npm:
1414

1515
```shell
1616
# npm
17-
$ npm install --save-dev swc-plugin-import-glob-array
17+
$ npm install --save-dev swc-import-glob-array-plugin
1818

1919
# yarn
20-
$ yarn add -D swc-plugin-import-glob-array
20+
$ yarn add -D swc-import-glob-array-plugin
2121

2222
# pnpm
23-
$ pnpm add -D swc-plugin-import-glob-array
23+
$ pnpm add -D swc-import-glob-array-plugin
2424
```
2525

2626
Then you'll add the plugin under `jsc.experimental.plugins`:
@@ -31,7 +31,7 @@ Then you'll add the plugin under `jsc.experimental.plugins`:
3131
"experimental": {
3232
"plugins": [
3333
[
34-
"swc-plugin-import-glob-array",
34+
"swc-import-glob-array-plugin",
3535
{}
3636
]
3737
]
@@ -105,6 +105,6 @@ const metadata = [
105105

106106
## Compatibility
107107

108-
| swc-plugin-import-glob-array | @swc/core | next |
109-
|------------------------------|---------------|--------|
110-
| 1.0.0 | 1.3.44-1.3.47 | 13.3.1 |
108+
| swc-import-glob-array-plugin | @swc/core |
109+
|------------------------------|---------------|
110+
| 1.0.0 | 1.3.44-1.3.47 |

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "swc-plugin-import-glob-array",
2+
"name": "swc-import-glob-array-plugin",
33
"version": "1.0.0",
44
"description": "SWC plugin that expands glob patterns and imports them as an array",
5-
"main": "swc_plugin_import_glob_array.wasm",
5+
"main": "swc_import_glob_array_plugin.wasm",
66
"author": "James Coon <james@jcoon.dev> (https://jcoon.dev)",
77
"license": "MIT",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/jcoon97/swc-plugin-import-glob-array"
10+
"url": "https://github.com/jcoon97/swc-import-glob-array-plugin"
1111
},
1212
"bugs": {
13-
"url": "https://github.com/jcoon97/swc-plugin-import-glob-array/issues"
13+
"url": "https://github.com/jcoon97/swc-import-glob-array-plugin/issues"
1414
},
1515
"keywords": [
1616
"import",
@@ -21,11 +21,11 @@
2121
],
2222
"scripts": {
2323
"cargo:build": "cargo +nightly build-wasi --release",
24-
"prepack": "npm run cargo:build && cp target/wasm32-wasi/release/swc_plugin_import_glob_array.wasm .",
25-
"postpublish": "rm swc_plugin_import_glob_array.wasm"
24+
"prepack": "npm run cargo:build && cp target/wasm32-wasi/release/swc_import_glob_array_plugin.wasm .",
25+
"postpublish": "rm swc_import_glob_array_plugin.wasm"
2626
},
2727
"files": [
28-
"swc_plugin_import_glob_array.wasm"
28+
"swc_import_glob_array_plugin.wasm"
2929
],
3030
"preferUnplugged": true
3131
}

0 commit comments

Comments
 (0)