Skip to content

Commit f724178

Browse files
author
Stephan Badragan
committed
fixing the files glob to include all files in lib/ except spec ones
After this change, lib/utils files are now included: ``` ❯ npm pack --dry-run npm notice npm notice 📦 [email protected] npm notice === Tarball Contents === npm notice 1.1kB LICENSE npm notice 2.8kB README.md npm notice 31B lib/cli.d.ts npm notice 364B lib/cli.js npm notice 641B lib/CompletionProvider.d.ts npm notice 4.4kB lib/CompletionProvider.js npm notice 111B lib/connection.d.ts npm notice 3.2kB lib/connection.js npm notice 776B lib/DefinitionProvider.d.ts npm notice 5.4kB lib/DefinitionProvider.js npm notice 192B lib/textDocuments.d.ts npm notice 356B lib/textDocuments.js npm notice 2.3kB lib/utils.d.ts npm notice 14.2kB lib/utils.js npm notice 550B lib/utils/resolveAliasedImport.d.ts npm notice 2.7kB lib/utils/resolveAliasedImport.js npm notice 1.6kB package.json npm notice === Tarball Details === npm notice name: cssmodules-language-server npm notice version: 1.2.0 npm notice filename: cssmodules-language-server-1.2.0.tgz npm notice package size: 10.2 kB npm notice unpacked size: 40.7 kB npm notice shasum: b8909a67494fa910bb99b603704ae33dbe151c34 npm notice integrity: sha512-oJu3f1jrmx0D2[...]5XtRzpr3HaXJw== npm notice total files: 17 npm notice cssmodules-language-server-1.2.0.tgz ```
1 parent 3c86754 commit f724178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"license": "MIT",
2323
"main": "lib/connection.js",
2424
"files": [
25-
"lib/*.js",
26-
"lib/*.d.ts"
25+
"lib/*.{js,d.ts}",
26+
"lib/!(spec)/**/*.{js,d.ts}"
2727
],
2828
"devDependencies": {
2929
"@types/jest": "^27.0.2",

0 commit comments

Comments
 (0)