Skip to content

Commit 3db0e05

Browse files
committed
chore: rename c0rejs namespace
1 parent 3fce09b commit 3db0e05

11 files changed

Lines changed: 55 additions & 55 deletions

File tree

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@c0rejs:registry = https://npm.pkg.github.com/
1+
@corejslib:registry = https://npm.pkg.github.com/
22
@softvisio:registry = https://npm.pkg.github.com/
33
@zdm:registry = https://npm.pkg.github.com/
44
@zerocluster:registry = https://npm.pkg.github.com/

bin/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const CLI = {
1818

1919
await Cli.parse( CLI );
2020

21-
externalResources.add( "c0rejs/core/resources/prism-js" );
21+
externalResources.add( "corejslib/core/resources/prism-js" );
2222

2323
const res = await externalResources.install( {
2424
"force": process.cli.options.force,

cli.config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ docs:
55
location: /docs
66

77
externalTypes:
8-
- c0rejs/core
9-
- c0rejs/result
8+
- corejslib/core
9+
- corejslib/result

docs/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Array of links to the external projects config files to load external types:
235235

236236
```yaml
237237
externalTypes:
238-
- https://c0rejs.github.io/core/
238+
- https://corejslib.github.io/core/
239239
```
240240

241241
## FAQ

lib/package/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default class Docs {
196196
cwd = this.#package.root,
197197
appUrl = url.pathToFileURL( cwd + "/lib/app.js" ),
198198
args = {
199-
"componentsUrl": resolve( "@c0rejs/core/app/components", appUrl, { "url": true } ),
199+
"componentsUrl": resolve( "@corejslib/core/app/components", appUrl, { "url": true } ),
200200
appUrl,
201201
"types": options.app,
202202
};

lib/prism-js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import externalResources from "#core/external-resources";
44
const coreLanguages = new Set(),
55
languages = new Map(),
66
resource = await externalResources
7-
.add( "c0rejs/core/resources/prism-js" )
7+
.add( "corejslib/core/resources/prism-js" )
88
.on( "update", () => languages.clear() )
99
.check();
1010

npm-shrinkwrap.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"author": "root <root@softvisio.net>",
2020
"type": "module",
2121
"imports": {
22-
"#core/*": "@c0rejs/core/*",
22+
"#core/*": "@corejslib/core/*",
2323
"#lib/*": "./lib/*.js",
2424
"#resources/*": "./resources/*"
2525
},
@@ -42,8 +42,8 @@
4242
"test": "node --test tests/**/*.test.js"
4343
},
4444
"dependencies": {
45-
"@c0rejs/core": "^7.175.0",
46-
"@c0rejs/eslint-plugin": "^1.0.1",
45+
"@corejslib/core": "^7.175.0",
46+
"@corejslib/eslint-plugin": "^1.0.1",
4747
"@prettier/plugin-oxc": "^0.1.2",
4848
"@prettier/plugin-xml": "^3.4.1",
4949
"@stylistic/eslint-plugin": "^5.0.0",

resources/eslint/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import mixins from "#core/mixins";
2-
import C0rejs from "./c0rejs.js";
32
import Comments from "./comments.js";
3+
import corejslib from "./corejslib.js";
44
import Eslint from "./eslint.js";
55
import Globals from "./globals.js";
66
import Import from "./import.js";
@@ -60,7 +60,7 @@ export default class Config extends mixins(
6060
Stylistic,
6161
Import,
6262
Unicorn,
63-
C0rejs,
63+
corejslib,
6464
Comments,
6565
Eslint,
6666
EslintConfig
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import eslintSoftvisio from "@c0rejs/eslint-plugin";
1+
import eslintSoftvisio from "@corejslib/eslint-plugin";
22

33
const OVERRIDES = [
44

@@ -9,7 +9,7 @@ const OVERRIDES = [
99
{
1010
"name": "@softvisio custom",
1111
"rules": {
12-
"@c0rejs/camel-case": [
12+
"@corejslib/camel-case": [
1313
"error",
1414
{
1515
"properties": "never",

0 commit comments

Comments
 (0)