microsoft / vsts-extension-multivalue-control

A work item form control which allows selection of multiple values.
MIT License
47 stars 45 forks source link

How do i generate the dist folder? #100

Closed dariusneo closed 1 year ago

dariusneo commented 5 years ago

Hi after i have clone this project, how do i generate the dist folder? as i seen in the vss-extension.json there's a path pointing to dist "files": [ { "path": "dist", "addressable": true },

mmanela commented 5 years ago

Did you already run

npm install

and then run one of the run commands

"scripts": {
    "clean": "rimraf dist *.vsix vss-extension-release.json src/*js libs",
    "dev": "webpack-dev-server --hot --progress --colors --content-base ./src --https --port 8888",
    "dev:http": "webpack-dev-server --hot --progress --colors --content-base ./src --http --port 8888",
    "package:dev": "node ./scripts/packageDev",
    "package:dev:http": "node ./scripts/packageDevHttp",
    "package:release": "node ./scripts/packageRelease",
    "package:beta": "node ./scripts/packageBeta",
    "publish:dev": "npm run package:dev && node ./scripts/publishDev",
    "build:styles": " node ./node_modules/sass/sass.js ./src/multi-selection.scss ./dist/multi-selection.css",
    "build:dev": "npm run clean && mkdir dist && npm run build:styles && webpack --progress --colors --output-path ./dist",
    "build:release": "npm run clean && mkdir dist && npm run build:styles && webpack --progress --colors --output-path ./dist -p",
    "publish:release": "npm run build:release && node ./scripts/publishRelease",
    "test": "karma start --single-run",
    "postinstall": "typings install"
},
dariusneo commented 5 years ago

hi is there a way to import the inputs value from vss-extension.json from multivalue.html without using typescript but using javascript?

mmanela commented 5 years ago

What do you mean? Can you elaborate?

madkoo commented 1 year ago

The way this extension is packaged has changed with the new release due do that this issue is no longer valid. Closing this issue, feel free to create a new issue if you have problems