From 55266628cb2e8f3db2d786ebe64d880be140fa66 Mon Sep 17 00:00:00 2001 From: Erin Millard Date: Wed, 4 Aug 2021 17:21:21 +1000 Subject: [PATCH] Rename from Packula to Snout --- .eslintrc.js | 2 +- README.md | 18 +++++++++--------- jest.config.js | 2 +- package.json | 24 ++++++++++++------------ rollup.config.js | 2 +- src/coercion.ts | 2 +- src/optional.ts | 4 ++-- src/repeating.ts | 4 ++-- src/slash.ts | 2 +- test/unit/any.spec.ts | 2 +- test/unit/int.spec.ts | 2 +- test/unit/optional.spec.ts | 2 +- test/unit/slash.spec.ts | 2 +- test/unit/some.spec.ts | 2 +- tsconfig.json | 2 +- 15 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 41780a4..a231e15 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = { extends: [ - '@packula', + '@snout', ], } diff --git a/README.md b/README.md index 3ba8542..24753d2 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# Packula router path extras +# Snout router path extras [![Current version][badge-version-image]][badge-version-link] [![Bundle size][badge-bundle-image]][badge-bundle-link] [![Build status][badge-build-image]][badge-build-link] [![Test coverage][badge-coverage-image]][badge-coverage-link] -[badge-build-image]: https://img.shields.io/github/workflow/status/packula/router-path-extras/CI?style=for-the-badge -[badge-build-link]: https://github.com/packula/router-path-extras/actions/workflows/ci.yml -[badge-bundle-image]: https://img.shields.io/bundlephobia/minzip/@packula/router-path-extras?style=for-the-badge -[badge-bundle-link]: https://bundlephobia.com/result?p=@packula/router-path-extras -[badge-coverage-image]: https://img.shields.io/codecov/c/gh/packula/router-path-extras?style=for-the-badge -[badge-coverage-link]: https://codecov.io/gh/packula/router-path-extras -[badge-version-image]: https://img.shields.io/npm/v/@packula/router-path-extras?label=%40packula%2Frouter-path-extras&logo=npm&style=for-the-badge -[badge-version-link]: https://npmjs.com/package/@packula/router-path-extras +[badge-build-image]: https://img.shields.io/github/workflow/status/snout-router/router-path-extras/CI?style=for-the-badge +[badge-build-link]: https://github.com/snout-router/router-path-extras/actions/workflows/ci.yml +[badge-bundle-image]: https://img.shields.io/bundlephobia/minzip/@snout/router-path-extras?style=for-the-badge +[badge-bundle-link]: https://bundlephobia.com/result?p=@snout/router-path-extras +[badge-coverage-image]: https://img.shields.io/codecov/c/gh/snout-router/router-path-extras?style=for-the-badge +[badge-coverage-link]: https://codecov.io/gh/snout-router/router-path-extras +[badge-version-image]: https://img.shields.io/npm/v/@snout/router-path-extras?label=%40snout%2Frouter-path-extras&logo=npm&style=for-the-badge +[badge-version-link]: https://npmjs.com/package/@snout/router-path-extras diff --git a/jest.config.js b/jest.config.js index 483384d..6c86bb9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1 +1 @@ -module.exports = require('@packula/jest-config') +module.exports = require('@snout/jest-config') diff --git a/package.json b/package.json index 3c3b8e7..21be2ec 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "@packula/router-path-extras", + "name": "@snout/router-path-extras", "version": "0.0.0", - "description": "Additional parameter types for Packula router path", - "repository": "packula/router-path-extras", - "bugs": "https://github.com/packula/router-path-extras/issues", - "homepage": "https://packula.dev", + "description": "Additional parameter types for Snout router path", + "repository": "snout-router/router-path-extras", + "bugs": "https://github.com/snout-router/router-path-extras/issues", + "homepage": "https://snout.dev", "author": "Erin Millard ", "license": "MIT", "publishConfig": { @@ -24,17 +24,17 @@ "prepare": "rollup --config rollup.config.js" }, "dependencies": { - "@packula/regexp": "^0.2.0" + "@snout/regexp": "^0.2.1" }, "peerDependencies": { - "@packula/router-path": "^0.2.0" + "@snout/router-path": "^0.2.2" }, "devDependencies": { - "@packula/eslint-config": "^1.1.1", - "@packula/jest-config": "^1.0.1", - "@packula/rollup-config": "^1.1.1", - "@packula/router-path": "^0.2.0", - "@packula/tsconfig": "^1.0.2", + "@snout/eslint-config": "^1.1.2", + "@snout/jest-config": "^1.0.2", + "@snout/rollup-config": "^1.1.2", + "@snout/router-path": "^0.2.2", + "@snout/tsconfig": "^1.0.3", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "codecov": "^3.0.2", diff --git a/rollup.config.js b/rollup.config.js index e2cd49c..4fbece9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import {createConfig} from '@packula/rollup-config' +import {createConfig} from '@snout/rollup-config' import packageJson from './package.json' export default createConfig(packageJson) diff --git a/src/coercion.ts b/src/coercion.ts index d80969a..5208c7a 100644 --- a/src/coercion.ts +++ b/src/coercion.ts @@ -1,4 +1,4 @@ -import {Param} from '@packula/router-path' +import {Param} from '@snout/router-path' export function int (name: Name): Param { return { diff --git a/src/optional.ts b/src/optional.ts index 0a2f1cd..870506a 100644 --- a/src/optional.ts +++ b/src/optional.ts @@ -1,5 +1,5 @@ -import {AnyParam, NormalizeParam, Param, param, ParamArg, ParamOrString} from '@packula/router-path' -import {escape} from '@packula/regexp' +import {AnyParam, NormalizeParam, Param, param, ParamArg, ParamOrString} from '@snout/router-path' +import {escape} from '@snout/regexp' export function optional ( literals: TemplateStringsArray, diff --git a/src/repeating.ts b/src/repeating.ts index 637b365..062564f 100644 --- a/src/repeating.ts +++ b/src/repeating.ts @@ -1,5 +1,5 @@ -import {Param} from '@packula/router-path' -import {escape} from '@packula/regexp' +import {Param} from '@snout/router-path' +import {escape} from '@snout/regexp' export function any ( name: Name, diff --git a/src/slash.ts b/src/slash.ts index 337b896..dcebc5c 100644 --- a/src/slash.ts +++ b/src/slash.ts @@ -1,4 +1,4 @@ -import {Param} from '@packula/router-path' +import {Param} from '@snout/router-path' export function createSlash (name: Name): Param { return { diff --git a/test/unit/any.spec.ts b/test/unit/any.spec.ts index 66667e7..c583fb8 100644 --- a/test/unit/any.spec.ts +++ b/test/unit/any.spec.ts @@ -1,4 +1,4 @@ -import {path} from '@packula/router-path' +import {path} from '@snout/router-path' import {any} from '../../src/repeating' diff --git a/test/unit/int.spec.ts b/test/unit/int.spec.ts index a22bd0e..c7e042b 100644 --- a/test/unit/int.spec.ts +++ b/test/unit/int.spec.ts @@ -1,4 +1,4 @@ -import {path} from '@packula/router-path' +import {path} from '@snout/router-path' import {int} from '../../src/coercion' diff --git a/test/unit/optional.spec.ts b/test/unit/optional.spec.ts index d33c385..81d518f 100644 --- a/test/unit/optional.spec.ts +++ b/test/unit/optional.spec.ts @@ -1,4 +1,4 @@ -import {param, path} from '@packula/router-path' +import {param, path} from '@snout/router-path' import {int} from '../../src/coercion' import {optional} from '../../src/optional' diff --git a/test/unit/slash.spec.ts b/test/unit/slash.spec.ts index d3ddef1..c1fc189 100644 --- a/test/unit/slash.spec.ts +++ b/test/unit/slash.spec.ts @@ -1,4 +1,4 @@ -import {path} from '@packula/router-path' +import {path} from '@snout/router-path' import {createSlash, slash} from '../../src/slash' diff --git a/test/unit/some.spec.ts b/test/unit/some.spec.ts index 3024612..b7280d6 100644 --- a/test/unit/some.spec.ts +++ b/test/unit/some.spec.ts @@ -1,4 +1,4 @@ -import {path} from '@packula/router-path' +import {path} from '@snout/router-path' import {some} from '../../src/repeating' diff --git a/tsconfig.json b/tsconfig.json index c5d2a2b..1ce4099 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "@packula/tsconfig" + "extends": "@snout/tsconfig" }