Skip to content

Commit

Permalink
Rename from Packula to Snout
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Aug 4, 2021
1 parent c86e495 commit 5526662
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: [
'@packula',
'@snout',
],
}
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('@packula/jest-config')
module.exports = require('@snout/jest-config')
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
"publishConfig": {
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion src/coercion.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Param} from '@packula/router-path'
import {Param} from '@snout/router-path'

export function int<Name extends string> (name: Name): Param<Name, number> {
return {
Expand Down
4 changes: 2 additions & 2 deletions src/optional.ts
Original file line number Diff line number Diff line change
@@ -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<InnerParam extends ParamOrString> (
literals: TemplateStringsArray,
Expand Down
4 changes: 2 additions & 2 deletions src/repeating.ts
Original file line number Diff line number Diff line change
@@ -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 extends string> (
name: Name,
Expand Down
2 changes: 1 addition & 1 deletion src/slash.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Param} from '@packula/router-path'
import {Param} from '@snout/router-path'

export function createSlash<Name extends string> (name: Name): Param<Name, boolean> {
return {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/any.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {path} from '@packula/router-path'
import {path} from '@snout/router-path'

import {any} from '../../src/repeating'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/int.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {path} from '@packula/router-path'
import {path} from '@snout/router-path'

import {int} from '../../src/coercion'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/optional.spec.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion test/unit/slash.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {path} from '@packula/router-path'
import {path} from '@snout/router-path'

import {createSlash, slash} from '../../src/slash'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/some.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {path} from '@packula/router-path'
import {path} from '@snout/router-path'

import {some} from '../../src/repeating'

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "@packula/tsconfig"
"extends": "@snout/tsconfig"
}

0 comments on commit 5526662

Please sign in to comment.