Skip to content

JSR source maps not ignored in .npmignore #486

@felipecrs

Description

@felipecrs

The dependency sources are being ignored, but not their source maps.

$ ❯ npm pack
npm notice
npm notice 📦  jsonc-weaver@0.2.1
npm notice Tarball Contents
npm notice 1.1kB LICENSE
npm notice 1.6kB README.md
npm notice 1.0kB esm/_dnt.test_polyfills.d.ts.map
npm notice 241B esm/_dnt.test_shims.d.ts.map
npm notice 6.2kB esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/dist/proper-tags.d.ts
npm notice 874B esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/dist/proper-tags.d.ts.map
npm notice 320B esm/deps/jsr.io/@std/assert/1.0.18/almost_equals.d.ts.map
npm notice 428B esm/deps/jsr.io/@std/assert/1.0.18/array_includes.d.ts.map
npm notice 252B esm/deps/jsr.io/@std/assert/1.0.18/assert.d.ts.map
npm notice 287B esm/deps/jsr.io/@std/assert/1.0.18/assertion_error.d.ts.map
npm notice 247B esm/deps/jsr.io/@std/assert/1.0.18/equal.d.ts.map
npm notice 292B esm/deps/jsr.io/@std/assert/1.0.18/equals.d.ts.map
npm notice 299B esm/deps/jsr.io/@std/assert/1.0.18/exists.d.ts.map
npm notice 226B esm/deps/jsr.io/@std/assert/1.0.18/fail.d.ts.map
npm notice 359B esm/deps/jsr.io/@std/assert/1.0.18/false.d.ts.map
npm notice 298B esm/deps/jsr.io/@std/assert/1.0.18/greater_or_equal.d.ts.map
npm notice 278B esm/deps/jsr.io/@std/assert/1.0.18/greater.d.ts.map
npm notice 545B esm/deps/jsr.io/@std/assert/1.0.18/instance_of.d.ts.map
npm notice 419B esm/deps/jsr.io/@std/assert/1.0.18/is_error.d.ts.map
npm notice 292B esm/deps/jsr.io/@std/assert/1.0.18/less_or_equal.d.ts.map
npm notice 271B esm/deps/jsr.io/@std/assert/1.0.18/less.d.ts.map
npm notice 262B esm/deps/jsr.io/@std/assert/1.0.18/match.d.ts.map
npm notice 765B esm/deps/jsr.io/@std/assert/1.0.18/mod.d.ts.map
npm notice 285B esm/deps/jsr.io/@std/assert/1.0.18/not_equals.d.ts.map
npm notice 403B esm/deps/jsr.io/@std/assert/1.0.18/not_instance_of.d.ts.map
npm notice 270B esm/deps/jsr.io/@std/assert/1.0.18/not_match.d.ts.map
npm notice 303B esm/deps/jsr.io/@std/assert/1.0.18/not_strict_equals.d.ts.map
npm notice 351B esm/deps/jsr.io/@std/assert/1.0.18/object_match.d.ts.map
npm notice 556B esm/deps/jsr.io/@std/assert/1.0.18/rejects.d.ts.map
npm notice 328B esm/deps/jsr.io/@std/assert/1.0.18/strict_equals.d.ts.map
npm notice 284B esm/deps/jsr.io/@std/assert/1.0.18/string_includes.d.ts.map
npm notice 496B esm/deps/jsr.io/@std/assert/1.0.18/throws.d.ts.map
npm notice 244B esm/deps/jsr.io/@std/assert/1.0.18/unimplemented.d.ts.map
npm notice 240B esm/deps/jsr.io/@std/assert/1.0.18/unreachable.d.ts.map
npm notice 703B esm/deps/jsr.io/@std/internal/1.0.12/assertion_state.d.ts.map
npm notice 839B esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map
npm notice 684B esm/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map
npm notice 1.2kB esm/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map
npm notice 498B esm/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map
npm notice 912B esm/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map
npm notice 625B esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map
npm notice 3.1kB esm/deps/jsr.io/@std/testing/1.0.17/_test_suite.d.ts.map
npm notice 7.0kB esm/deps/jsr.io/@std/testing/1.0.17/bdd.d.ts.map
npm notice 608B esm/fixtures/array/expected.jsonc
npm notice 1.0kB esm/fixtures/array/original.jsonc
npm notice 1.0kB esm/fixtures/object/expected.jsonc
npm notice 1.4kB esm/fixtures/object/original.jsonc
npm notice 133B esm/main_test.d.ts.map
npm notice 1.3kB esm/main.d.ts
npm notice 459B esm/main.d.ts.map
npm notice 8.4kB esm/main.js
npm notice 23B esm/package.json
npm notice 705B package.json
npm notice Tarball Details
npm notice name: jsonc-weaver
npm notice version: 0.2.1
npm notice filename: jsonc-weaver-0.2.1.tgz
npm notice package size: 12.4 kB
npm notice unpacked size: 51.3 kB
npm notice shasum: 026e6d81318cb87e727a858061c54b2e8dc7478d
npm notice integrity: sha512-AaGwlbNzD2jIr[...]ZmFIDALvPIoBw==
npm notice total files: 53
npm notice
jsonc-weaver-0.2.1.tgz

There's also:

npm notice 1.0kB esm/_dnt.test_polyfills.d.ts.map
npm notice 241B esm/_dnt.test_shims.d.ts.map

npm notice 6.2kB esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/dist/proper-tags.d.ts

Which is a dev-dependency and were not supposed to be included either.

The .npmignore content:

/src/
/esm/main_test.js
/esm/main_test.d.ts
/esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/dist/proper-tags.js
/esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/dist/proper-tags.js
/esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/types/proper-tags.d.js
/esm/deps/jsr.io/@hexagon/proper-tags/2.0.3-alpha.0/types/proper-tags.d.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/almost_equals.js
/esm/deps/jsr.io/@std/assert/1.0.18/almost_equals.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/array_includes.js
/esm/deps/jsr.io/@std/assert/1.0.18/array_includes.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/assert.js
/esm/deps/jsr.io/@std/assert/1.0.18/assert.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/assertion_error.js
/esm/deps/jsr.io/@std/assert/1.0.18/assertion_error.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/equal.js
/esm/deps/jsr.io/@std/assert/1.0.18/equal.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/equals.js
/esm/deps/jsr.io/@std/assert/1.0.18/equals.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/exists.js
/esm/deps/jsr.io/@std/assert/1.0.18/exists.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/fail.js
/esm/deps/jsr.io/@std/assert/1.0.18/fail.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/false.js
/esm/deps/jsr.io/@std/assert/1.0.18/false.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/greater.js
/esm/deps/jsr.io/@std/assert/1.0.18/greater.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/greater_or_equal.js
/esm/deps/jsr.io/@std/assert/1.0.18/greater_or_equal.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/instance_of.js
/esm/deps/jsr.io/@std/assert/1.0.18/instance_of.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/is_error.js
/esm/deps/jsr.io/@std/assert/1.0.18/is_error.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/less.js
/esm/deps/jsr.io/@std/assert/1.0.18/less.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/less_or_equal.js
/esm/deps/jsr.io/@std/assert/1.0.18/less_or_equal.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/match.js
/esm/deps/jsr.io/@std/assert/1.0.18/match.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/mod.js
/esm/deps/jsr.io/@std/assert/1.0.18/mod.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/not_equals.js
/esm/deps/jsr.io/@std/assert/1.0.18/not_equals.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/not_instance_of.js
/esm/deps/jsr.io/@std/assert/1.0.18/not_instance_of.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/not_match.js
/esm/deps/jsr.io/@std/assert/1.0.18/not_match.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/not_strict_equals.js
/esm/deps/jsr.io/@std/assert/1.0.18/not_strict_equals.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/object_match.js
/esm/deps/jsr.io/@std/assert/1.0.18/object_match.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/rejects.js
/esm/deps/jsr.io/@std/assert/1.0.18/rejects.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/strict_equals.js
/esm/deps/jsr.io/@std/assert/1.0.18/strict_equals.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/string_includes.js
/esm/deps/jsr.io/@std/assert/1.0.18/string_includes.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/throws.js
/esm/deps/jsr.io/@std/assert/1.0.18/throws.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/unimplemented.js
/esm/deps/jsr.io/@std/assert/1.0.18/unimplemented.d.ts
/esm/deps/jsr.io/@std/assert/1.0.18/unreachable.js
/esm/deps/jsr.io/@std/assert/1.0.18/unreachable.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/assertion_state.js
/esm/deps/jsr.io/@std/internal/1.0.12/assertion_state.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/build_message.js
/esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/diff.js
/esm/deps/jsr.io/@std/internal/1.0.12/diff.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.js
/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/format.js
/esm/deps/jsr.io/@std/internal/1.0.12/format.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/styles.js
/esm/deps/jsr.io/@std/internal/1.0.12/styles.d.ts
/esm/deps/jsr.io/@std/internal/1.0.12/types.js
/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts
/esm/deps/jsr.io/@std/testing/1.0.17/_test_suite.js
/esm/deps/jsr.io/@std/testing/1.0.17/_test_suite.d.ts
/esm/deps/jsr.io/@std/testing/1.0.17/bdd.js
/esm/deps/jsr.io/@std/testing/1.0.17/bdd.d.ts
/esm/_dnt.test_polyfills.js
/esm/_dnt.test_polyfills.d.ts
/esm/_dnt.test_shims.js
/esm/_dnt.test_shims.d.ts
/test_runner.js
yarn.lock
pnpm-lock.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions