Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 2.0.0 #8

Merged
merged 1 commit into from
Jan 2, 2023
Merged

release: 2.0.0 #8

merged 1 commit into from
Jan 2, 2023

Conversation

unicornware
Copy link
Member

Description

  • bumped version to 2.0.0
  • added CHANGELOG entry for 2.0.0

Tests

yarn typecheck

 RUN  v0.26.3

 ✓ src/interfaces/__tests__/dependency-map.spec-d.ts (7)
   ✓ unit:interfaces/DependencyMap (7)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should return Record<string, DependencyMeta>
     ✓ should return Record<string, PeerDependencyMeta>
     ✓ should return Record<string, Record<string, string[]>>
     ✓ should return Record<string, string>
     ✓ should return Record<string, string | false>
 ✓ src/interfaces/__tests__/directories.spec-d.ts (3)
   ✓ unit:interfaces/Directories (3)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should only have string values
 ✓ src/interfaces/__tests__/package-json.spec-d.ts (56)
   ✓ unit:interfaces/PackageJson (56)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [_id?: string]
     ✓ should have property [author?: Person | string]
     ✓ should have property [bin?: Bin]
     ✓ should have property [browser?: Browser]
     ✓ should have property [bugs?: Bugs | string]
     ✓ should have property [bundleDependencies?: string[]]
     ✓ should have property [bundledDependencies?: string[]]
     ✓ should have property [config?: JsonObject]
     ✓ should have property [contributors?: (Person | string)[]]
     ✓ should have property [cpu?: CPU[]]
     ✓ should have property [dependencies?: DependencyMap<string>]
     ✓ should have property [dependenciesMeta?: DependencyMap<DependencyMeta>]
     ✓ should have property [devDependencies?: DependencyMap<string>]
     ✓ should have property [description?: string]
     ✓ should have property [directories?: Directories]
     ✓ should have property [engineStrict?: boolean]
     ✓ should have property [engines?: Engines]
     ✓ should have property [exports?: Exports]
     ✓ should have property [files?: string[]]
     ✓ should have property [funding?: OneOrMany<FundingInfo> | string]
     ✓ should have property [homepage?: LiteralUnion<".", string>]
     ✓ should have property [imports?: Imports]
     ✓ should have property [installConfig?: InstallConfig]
     ✓ should have property [jspm?: PackageJson]
     ✓ should have property [keywords?: string[]]
     ✓ should have property [languageName?: LiteralUnion<"node", string>]
     ✓ should have property [libc?: string[]]
     ✓ should have property [license?: string]
     ✓ should have property [licenses?: LicenseObject[]]
     ✓ should have property [main?: string]
     ✓ should have property [maintainers?: (Person | string)[]]
     ✓ should have property [man?: OneOrMany<string>]
     ✓ should have property [module?: string]
     ✓ should have property [name?: string]
     ✓ should have property [optionalDependencies?: DependencyMap<string>]
     ✓ should have property [os?: OS[]]
     ✓ should have property [packageManager?: string]
     ✓ should have property [peerDependencies?: DependencyMap<string>]
     ✓ should have property [peerDependenciesMeta?: DependencyMap<PeerDependencyMeta>]
     ✓ should have property [preferGlobal?: boolean]
     ✓ should have property [preferUnplugged?: boolean]
     ✓ should have property [private?: boolean]
     ✓ should have property [publishConfig?: PublishConfig]
     ✓ should have property [readme?: string]
     ✓ should have property [repository?: Repository | string]
     ✓ should have property [resolutions?: DependencyMap<string>]
     ✓ should have property [scripts?: Scripts]
     ✓ should have property [sideEffects?: string[] | boolean]
     ✓ should have property [type?: Type]
     ✓ should have property [types?: string]
     ✓ should have property [typesVersions?: TypesVersions]
     ✓ should have property [typings?: string]
     ✓ should have property [version?: LiteralUnion<SemanticVersion, string>]
     ✓ should have property [workspaces?: string[] | WorkspacesConfig]
 ✓ src/interfaces/__tests__/publish-config.spec-d.ts (10)
   ✓ unit:interfaces/PublishConfig (10)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [access?: Access]
     ✓ should have property [bin?: Bin]
     ✓ should have property [browser?: Browser]
     ✓ should have property [executableFiles?: string[]]
     ✓ should have property [main?: string]
     ✓ should have property [module?: string]
     ✓ should have property [registry?: Registry]
     ✓ should have property [tag?: string]
 ✓ src/interfaces/__tests__/scripts.spec-d.ts (3)
   ✓ unit:interfaces/Scripts (3)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should only have string values
 ✓ src/types/__tests__/access.spec-d.ts (3)
   ✓ unit:types/Access (3)
     ✓ should be json value
     ✓ should extract "public"
     ✓ should extract "restricted"
 ✓ src/types/__tests__/bin.spec-d.ts (3)
   ✓ unit:types/Bin (3)
     ✓ should be json value
     ✓ should extract DependencyMap<string>
     ✓ should extract string
 ✓ src/types/__tests__/browser.spec-d.ts (3)
   ✓ unit:types/Browser (3)
     ✓ should be json value
     ✓ should extract DependencyMap<string | false>
     ✓ should extract string
 ✓ src/types/__tests__/bugs.spec-d.ts (4)
   ✓ unit:types/Bugs (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [email?: string]
     ✓ should have property [url?: string]
 ✓ src/types/__tests__/cpu.spec-d.ts (23)
   ✓ unit:types/CPU (23)
     ✓ should be json value
     ✓ should extract "arm"
     ✓ should extract "arm64"
     ✓ should extract "ia32"
     ✓ should extract "mips"
     ✓ should extract "mipsel"
     ✓ should extract "ppc"
     ✓ should extract "ppc64"
     ✓ should extract "s390"
     ✓ should extract "s390x"
     ✓ should extract "x32"
     ✓ should extract "x64"
     ✓ should extract "!arm"
     ✓ should extract "!arm64"
     ✓ should extract "!ia32"
     ✓ should extract "!mips"
     ✓ should extract "!mipsel"
     ✓ should extract "!ppc"
     ✓ should extract "!ppc64"
     ✓ should extract "!s390"
     ✓ should extract "!s390x"
     ✓ should extract "!x32"
     ✓ should extract "!x64"
 ✓ src/types/__tests__/dependency-meta.spec-d.ts (5)
   ✓ unit:types/DependencyMeta (5)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [built?: boolean]
     ✓ should have property [optional?: boolean]
     ✓ should have property [unplugged?: boolean]
 ✓ src/types/__tests__/engine.spec-d.ts (4)
   ✓ unit:types/Engine (4)
     ✓ should be json value
     ✓ should extract "node"
     ✓ should extract "npm"
     ✓ should extract "yarn"
 ✓ src/types/__tests__/engines.spec-d.ts (5)
   ✓ unit:types/Engines (5)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [node?: string]
     ✓ should have property [npm?: string]
     ✓ should have property [yarn?: string]
 ✓ src/types/__tests__/export-condition.spec-d.ts (13)
   ✓ unit:types/ExportCondition (13)
     ✓ should be json value
     ✓ should extract "browser"
     ✓ should extract "default"
     ✓ should extract "deno"
     ✓ should extract "development"
     ✓ should extract "electron"
     ✓ should extract "import"
     ✓ should extract "node-addons"
     ✓ should extract "node"
     ✓ should extract "production"
     ✓ should extract "react-native"
     ✓ should extract "require"
     ✓ should extract "types"
 ✓ src/types/__tests__/export-conditions.spec-d.ts (4)
   ✓ unit:types/ExportConditions (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should iterate over ExportCondition
     ✓ should map Exports
 ✓ src/types/__tests__/exports.spec-d.ts (5)
   ✓ unit:types/Exports (5)
     ✓ should be json value
     ✓ should extract (ExportConditions | string)[]
     ✓ should extract ExportConditions
     ✓ should extract null
     ✓ should extract string
 ✓ src/types/__tests__/funding-info.spec-d.ts (3)
   ✓ unit:types/FundingInfo (3)
     ✓ should be json object
     ✓ should have property [type?: FundingType]
     ✓ should have property [url: string]
 ✓ src/types/__tests__/funding-type.spec-d.ts (7)
   ✓ unit:types/FundingType (7)
     ✓ should be json value
     ✓ should extract "corporation"
     ✓ should extract "foundation"
     ✓ should extract "github"
     ✓ should extract "individual"
     ✓ should extract "opencollective"
     ✓ should extract "patreon"
 ✓ src/types/__tests__/hoisiting-limits.spec-d.ts (4)
   ✓ unit:types/HoistingLimits (4)
     ✓ should be json value
     ✓ should extract "dependencies"
     ✓ should extract "none"
     ✓ should extract "workspaces"
 ✓ src/types/__tests__/imports-key.spec-d.ts (1)
   ✓ unit:types/ImportsKey (1)
     ✓ should allow "#src"
 ✓ src/types/__tests__/imports.spec-d.ts (4)
   ✓ unit:types/Imports (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should iterate over ImportsKey
     ✓ should map ExportConditions | string
 ✓ src/types/__tests__/install-config.spec-d.ts (4)
   ✓ unit:types/InstallConfig (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [hoistingLimits?: HoisitingLimits]
     ✓ should have property [selfReferences?: boolean]
 ✓ src/types/__tests__/license-object.spec-d.ts (4)
   ✓ unit:types/LicenseObject (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [type?: string]
     ✓ should have property [url?: string]
 ✓ src/types/__tests__/os.spec-d.ts (15)
   ✓ unit:types/OS (15)
     ✓ should be json value
     ✓ should extract "aix"
     ✓ should extract "darwin"
     ✓ should extract "freebsd"
     ✓ should extract "linux"
     ✓ should extract "openbsd"
     ✓ should extract "sunos"
     ✓ should extract "win32"
     ✓ should extract "!aix"
     ✓ should extract "!darwin"
     ✓ should extract "!freebsd"
     ✓ should extract "!linux"
     ✓ should extract "!openbsd"
     ✓ should extract "!sunos"
     ✓ should extract "!win32"
 ✓ src/types/__tests__/peer-dependency-meta.spec-d.ts (3)
   ✓ unit:types/PeerDependencyMeta (3)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [optional?: boolean]
 ✓ src/types/__tests__/person.spec-d.ts (4)
   ✓ unit:types/Person (4)
     ✓ should be json object
     ✓ should have property [email?: string]
     ✓ should have property [name: string]
     ✓ should have property [url?: string]
 ✓ src/types/__tests__/registry.spec-d.ts (3)
   ✓ unit:types/Registry (3)
     ✓ should allow "http://npm.pkg.github.com"
     ✓ should allow "https://npm.pkg.github.com"
     ✓ should be json value
 ✓ src/types/__tests__/repository.spec-d.ts (4)
   ✓ unit:types/Repository (4)
     ✓ should be json object
     ✓ should have property [directory?: string]
     ✓ should have property [type: string]
     ✓ should have property [url: string]
 ✓ src/types/__tests__/semantic-version.spec-d.ts (22)
   ✓ unit:types/SemanticVersion (22)
     ✓ should allow "1.0.0"
     ✓ should allow "1.0.0+0.build.1-rc.10000aaa-kk-0.1"
     ✓ should allow "1.0.0-0A.is.legal"
     ✓ should allow "1.0.0-alpha"
     ✓ should allow "1.0.0-alpha+beta"
     ✓ should allow "1.0.0-alpha-a.b-c-long+build.1-aef.1-its-okay"
     ✓ should allow "1.0.0-alpha.0valid"
     ✓ should allow "1.0.0-alpha.1"
     ✓ should allow "1.0.0-alpha.beta"
     ✓ should allow "1.0.0-alpha.beta.1"
     ✓ should allow "1.0.0-alpha0.valid"
     ✓ should allow "1.0.0-rc.1+build.1"
     ✓ should allow "1.1.2+meta"
     ✓ should allow "1.1.2+meta-valid"
     ✓ should allow "1.1.2-prerelease+meta"
     ✓ should allow "1.2.3----R-S.12.9.1--.12+meta"
     ✓ should allow "1.2.3----RC-SNAPSHOT.12.9.1--.12"
     ✓ should allow "1.2.3----RC-SNAPSHOT.12.9.1--.12+788"
     ✓ should allow "1.2.3-SNAPSHOT-123"
     ✓ should allow "2.0.0+build.1848"
     ✓ should allow "2.0.0-rc.1+build.123"
     ✓ should allow "10.2.3-DEV-SNAPSHOT"
 ✓ src/types/__tests__/type.spec-d.ts (3)
   ✓ unit:types/Type (3)
     ✓ should be json value
     ✓ should extract "commonjs"
     ✓ should extract "module"
 ✓ src/types/__tests__/types-versions.spec-d.ts (3)
   ✓ unit:types/TypesVersions (3)
     ✓ should allow empty object
     ✓ should allow object with version mappings
     ✓ should be json object
 ✓ src/types/__tests__/workspaces-config.spec-d.ts (4)
   ✓ unit:types/WorkspacesConfig (4)
     ✓ should allow empty object
     ✓ should be json object
     ✓ should have property [nohoist?: string[]]
     ✓ should have property [packages?: string[]]

 Test Files  32 passed (32)
      Tests  239 passed (239)
Type Errors  no errors
   Start at  02:38:59
   Duration  1.97s

yarn pack -o %s-%v.tgz

➤ YN0036: Calling the "prepack" lifecycle script
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT ℹ Building @flex-development/pkg-types
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT ✔ Build succeeded for @flex-development/pkg-types
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   dist (total size: 32.5 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/index.d.mts (113 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/dependency-map.d.mts (587 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/directories.d.mts (1.23 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/index.d.mts (382 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/package-json.d.mts (11.5 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/publish-config.d.mts (2.04 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/interfaces/scripts.d.mts (1.18 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/access.d.mts (260 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/bin.d.mts (381 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/browser.d.mts (480 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/bugs.d.mts (477 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/cpu.d.mts (703 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/dependency-meta.d.mts (1.05 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/engine.d.mts (351 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/engines.d.mts (493 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/export-condition.d.mts (536 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/export-conditions.d.mts (562 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/exports.d.mts (443 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/funding-info.d.mts (505 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/funding-type.d.mts (440 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/hoisiting-limits.d.mts (337 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/imports-key.d.mts (263 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/imports.d.mts (444 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/index.d.mts (1.66 kB)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/install-config.d.mts (870 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/license-object.d.mts (451 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/os.d.mts (603 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/peer-dependency-meta.d.mts (470 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/person.d.mts (388 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/registry.d.mts (345 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/repository.d.mts (845 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/semantic-version.d.mts (493 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/type.d.mts (383 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/types-versions.d.mts (432 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT   └─ dist/types/workspaces-config.d.mts (811 B)
➤ YN0000: @flex-development/pkg-types@workspace:. STDOUT Σ Total build size: 32.5 kB
➤ YN0000: CHANGELOG.md
➤ YN0000: LICENSE.md
➤ YN0000: README.md
➤ YN0000: changelog.config.cts
➤ YN0000: dist/index.d.mts
➤ YN0000: dist/interfaces/dependency-map.d.mts
➤ YN0000: dist/interfaces/directories.d.mts
➤ YN0000: dist/interfaces/index.d.mts
➤ YN0000: dist/interfaces/package-json.d.mts
➤ YN0000: dist/interfaces/publish-config.d.mts
➤ YN0000: dist/interfaces/scripts.d.mts
➤ YN0000: dist/types/access.d.mts
➤ YN0000: dist/types/bin.d.mts
➤ YN0000: dist/types/browser.d.mts
➤ YN0000: dist/types/bugs.d.mts
➤ YN0000: dist/types/cpu.d.mts
➤ YN0000: dist/types/dependency-meta.d.mts
➤ YN0000: dist/types/engine.d.mts
➤ YN0000: dist/types/engines.d.mts
➤ YN0000: dist/types/export-condition.d.mts
➤ YN0000: dist/types/export-conditions.d.mts
➤ YN0000: dist/types/exports.d.mts
➤ YN0000: dist/types/funding-info.d.mts
➤ YN0000: dist/types/funding-type.d.mts
➤ YN0000: dist/types/hoisiting-limits.d.mts
➤ YN0000: dist/types/imports-key.d.mts
➤ YN0000: dist/types/imports.d.mts
➤ YN0000: dist/types/index.d.mts
➤ YN0000: dist/types/install-config.d.mts
➤ YN0000: dist/types/license-object.d.mts
➤ YN0000: dist/types/os.d.mts
➤ YN0000: dist/types/peer-dependency-meta.d.mts
➤ YN0000: dist/types/person.d.mts
➤ YN0000: dist/types/registry.d.mts
➤ YN0000: dist/types/repository.d.mts
➤ YN0000: dist/types/semantic-version.d.mts
➤ YN0000: dist/types/type.d.mts
➤ YN0000: dist/types/types-versions.d.mts
➤ YN0000: dist/types/workspaces-config.d.mts
➤ YN0000: package.json
➤ YN0036: Calling the "postpack" lifecycle script
➤ YN0000: Package archive generated in ./@flex-development-pkg-types-2.0.0.tgz
➤ YN0000: Done in 4s 119ms

Additional context

N/A

Linked issues

N/A

Submission checklist

  • self-review performed
  • tests added and/or updated
  • documentation added or updated
  • new, tolerable vulnerabilities and/or warnings documented, if any
  • pr naming conventions

Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
@unicornware unicornware added the scope:install package install label Jan 2, 2023
@unicornware unicornware self-assigned this Jan 2, 2023
@unicornware unicornware enabled auto-merge (squash) January 2, 2023 07:41
Copy link
Contributor

@flexdevelopment flexdevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏾

@unicornware unicornware merged commit 7d28e2d into main Jan 2, 2023
@unicornware unicornware temporarily deployed to production January 2, 2023 07:43 — with GitHub Actions Inactive
@github-actions github-actions bot deleted the release/2.0.0 branch January 2, 2023 07:45
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent
activity after it was closed. Please open a new issue for related bugs or features. Be
sure to reference this issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope:install package install
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants