Normalize package.json files, to prepare publication on NPM#2595
Conversation
edcce14 to
f2da909
Compare
|
Ho yes one thing. Would the LICENCE be published with these settings? Or do we need to duplicate the repository one in the assets directory ? |
|
We already have I'm on it EDIT: it means that we also need a |
|
Files |
|
For the same reasons, installing "@symfony/ux-leaflet-map": "file:vendor/symfony/ux-leaflet-map/assets",
"@symfony/ux-map": "file:vendor/symfony/ux-map/assets",EDIT: see #2611 |
…age.json (Kocal) This PR was merged into the 2.x branch. Discussion ---------- [Map] JavaScript package should not be added in user's package.json | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT See #2595 (comment) Commits ------- 7fe8c35 [Map] JavaScript package should not be added in user's package.json
24305cd to
87bc2b8
Compare
|
Added Next steps:
|
…tallation and recommended alternatives. (Kocal) This PR was squashed before being merged into the 2.x branch. Discussion ---------- Document `src/**/assets/README.md` files about direct installation and recommended alternatives. | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Follow #2595, related to #2575 Commits ------- 9a4acb1 [CI] Do not run `test` workflow if only `src/**/*.md` files have been modified d49923b Document `src/**/assets/README.md` files about direct installation and recommended alternatives.
… packages (Kocal) This PR was merged into the 2.x branch. Discussion ---------- [Map] Add missing README/LICENSE files for Map Bridges JS packages | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Unfortunately I forgot about Map Bridges when working on #2595. It will be shown on npm on the next release. Commits ------- cc111b6 [Map] Add missing README/LICENSE files for Map Bridges JS packages
This is a first iteration for #2575: rework our
package.jsonfiles in order to make them more "friendly" and work on npm.Next steps:
versionfrompackage.jsonfiles, commit, push, and publish to npm)