Skip to content

Commit 245e824

Browse files
committed
feat: Improved the way of library bundling
1 parent 6e331bf commit 245e824

File tree

13 files changed

+37
-19
lines changed

13 files changed

+37
-19
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
## [1.0.0](https://github.com/MilosPaunovic/questionnaire/compare/develop...1.0.0)
1+
## [1.0.3](https://github.com/MilosPaunovic/questionnaire/commits/1.0.3)
22

3-
* Initial release.
3+
* Trimmed down list of questions following the [advice](https://www.linkedin.com/feed/update/urn:li:activity:6980753295447330816?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A6980753295447330816%2C6980847167380803586%29) of the initial answers creator.
4+
* Improved the way of library bundling
5+
6+
## [1.0.2](https://github.com/MilosPaunovic/questionnaire/commits/1.0.2)
7+
8+
* Initial release with two variations of questions in serbian (latin and cyrillic) and two methods, question and questions.

dist/questionnaire.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
{
22
"name": "@paunovic/questionnaire",
3-
"version": "1.0.2",
4-
"type": "module",
3+
"version": "1.0.3",
54
"description": "Serving random questions in multiple languages has never been this easy.",
65
"author": "Milos Paunovic <paun992@hotmail.com>",
76
"license": "MIT",
87
"repository": {
98
"type": "git",
109
"url": "git://github.com/MilosPaunovic/questionnaire.git"
1110
},
12-
"main": "./lib/index.js",
11+
"type": "module",
12+
"main": "./src/index.js",
13+
"files": [
14+
"src/*"
15+
],
1316
"engines": {
1417
"node": ">=12"
1518
},
1619
"scripts": {
1720
"lint": "eslint ./ --fix",
18-
"test": "mocha test/*.js"
21+
"test": "mocha test/*.js",
22+
"build": "webpack --mode production"
1923
},
2024
"devDependencies": {
2125
"chai": "^4.3.6",
@@ -31,9 +35,5 @@
3135
"bugs": {
3236
"url": "https://github.com/MilosPaunovic/questionnaire/issues"
3337
},
34-
"homepage": "https://github.com/MilosPaunovic/questionnaire#readme",
35-
"directories": {
36-
"lib": "lib",
37-
"test": "test"
38-
}
39-
}
38+
"homepage": "https://github.com/MilosPaunovic/questionnaire#readme"
39+
}

questions/countries/rs/sr-Cyrl.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

questions/countries/rs/sr.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

test/general.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, assert } from 'chai';
2-
import { initialize } from '../lib/index.js';
2+
import { initialize } from '../src/index.js';
33

44
describe('Testing basic functionalities of the entire library', () => {
55

0 commit comments

Comments
 (0)