Compare commits

..

23 Commits

Author SHA1 Message Date
semantic-release-bot f2b0e350ae chore(release): 0.2.7 [skip ci]
## [0.2.7](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.6...v0.2.7) (2023-06-29)
2023-06-29 06:18:18 +00:00
Derrick Hammer 8eb91b0937
refactor: move prepare to a dedicated script 2023-06-29 02:17:05 -04:00
semantic-release-bot e73f5f5d10 chore(release): 0.2.6 [skip ci]
## [0.2.6](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.5...v0.2.6) (2023-06-28)

### Bug Fixes

* set moduleResolution to nodenext so package.jsons exports work ([9ddb6a3](9ddb6a36bc))
2023-06-28 04:59:58 +00:00
Derrick Hammer 5a5527edbf
Merge remote-tracking branch 'origin/master' 2023-06-28 00:59:06 -04:00
Derrick Hammer 9ddb6a36bc
fix: set moduleResolution to nodenext so package.jsons exports work 2023-06-28 00:58:48 -04:00
semantic-release-bot 069c65833d chore(release): 0.2.5 [skip ci]
## [0.2.5](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.4...v0.2.5) (2023-06-27)

### Bug Fixes

* add publishConfig ([e5c4f4f](e5c4f4f084))
2023-06-27 04:04:25 +00:00
Derrick Hammer 3f75aa6862
Merge remote-tracking branch 'origin/master' 2023-06-27 00:03:14 -04:00
Derrick Hammer e5c4f4f084
fix: add publishConfig 2023-06-27 00:03:09 -04:00
semantic-release-bot 6cab6ed5a0 chore(release): 0.2.4 [skip ci]
## [0.2.4](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.3...v0.2.4) (2023-06-27)
2023-06-27 03:54:09 +00:00
Derrick Hammer 999064a71a
Merge remote-tracking branch 'origin/master' 2023-06-26 23:53:27 -04:00
Derrick Hammer 2e155732b1
minor: add npm publishing 2023-06-26 23:53:19 -04:00
semantic-release-bot 05b030c9ca chore(release): 0.2.3 [skip ci]
## [0.2.3](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.2...v0.2.3) (2023-06-26)

### Bug Fixes

* update prepare script to conditionally run presetter ([034ea89](034ea89671))
2023-06-26 07:19:31 +00:00
Derrick Hammer 28cbeeebc3
Merge remote-tracking branch 'origin/master' 2023-06-26 03:18:37 -04:00
Derrick Hammer 034ea89671
fix: update prepare script to conditionally run presetter 2023-06-26 03:17:12 -04:00
semantic-release-bot 58eb090522 chore(release): 0.2.2 [skip ci]
## [0.2.2](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.1...v0.2.2) (2023-06-26)

### Bug Fixes

* ensure semantic-release is included on install ([94d90b8](94d90b8acd))
2023-06-26 06:29:29 +00:00
Derrick Hammer b752e40c3d
Merge remote-tracking branch 'origin/master' 2023-06-26 02:28:46 -04:00
Derrick Hammer 94d90b8acd
fix: ensure semantic-release is included on install 2023-06-26 02:28:25 -04:00
semantic-release-bot 69bc906bf6 chore(release): 0.2.1 [skip ci]
## [0.2.1](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.0...v0.2.1) (2023-06-26)

### Bug Fixes

* updated wrong .releaserc.json ([6689cd1](6689cd1fc6))
2023-06-26 05:15:06 +00:00
Derrick Hammer 6689cd1fc6
fix: updated wrong .releaserc.json 2023-06-26 01:14:17 -04:00
semantic-release-bot e01dfae85b chore(release): 0.2.0 [skip ci]
# [0.2.0](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.1...v0.2.0) (2023-06-26)

### Features

* add dep release type for dependency updates ([be51107](be51107728))
2023-06-26 04:55:18 +00:00
Derrick Hammer be51107728
feat: add dep release type for dependency updates 2023-06-26 00:54:24 -04:00
Derrick Hammer 11c5979816
chore: ensure presetter deps get installed 2023-06-25 22:05:55 -04:00
semantic-release-bot 841e005d7c chore(release): 0.1.1 [skip ci]
## [0.1.1](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.0...v0.1.1) (2023-06-25)

### Bug Fixes

* add __dirname compatibility ([60f45cb](60f45cb8d5))
* add .releaserc.json to gitignore ([a892d35](a892d3557e))
* add [@ts-ignore](https://git.lumeweb.com/ts-ignore) to import.meta.url ([bdd2b66](bdd2b66725))
* add dom to ts compiler ([c3c172a](c3c172a5bc))
* add ES2021 to ts compiler ([c15b279](c15b279d63))
* add missing files property ([7a1e88e](7a1e88e8dc))
* add missing type and main ([9f0cdc2](9f0cdc22b6))
* don't let presetter try to parse the file ([7bb0961](7bb0961885))
* dont symlink ci file ([87afb2c](87afb2cc64))
* releaserc missing from templates ([0ba3e5e](0ba3e5e5f5))
* remove peer deps ([23ada98](23ada98337))
* switch to hybrid building ([7a58630](7a58630cda))
* syntax error ([7bba835](7bba8356e0))
2023-06-25 21:57:08 +00:00
9 changed files with 241 additions and 1628 deletions

View File

@ -28,6 +28,10 @@
"type": "refactor", "type": "refactor",
"release": "patch" "release": "patch"
}, },
{
"type": "dep",
"release": "patch"
},
{ {
"type": "minor", "type": "minor",
"release": "patch" "release": "patch"
@ -42,6 +46,7 @@
"changelogFile": "CHANGELOG.md" "changelogFile": "CHANGELOG.md"
} }
], ],
"@semantic-release/npm",
[ [
"@semantic-release/git", "@semantic-release/git",
{ {

View File

@ -1,9 +1,67 @@
## [0.1.1-develop.13](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.1-develop.12...v0.1.1-develop.13) (2023-06-25) ## [0.2.7](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.6...v0.2.7) (2023-06-29)
## [0.2.6](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.5...v0.2.6) (2023-06-28)
### Bug Fixes ### Bug Fixes
* set moduleResolution to nodenext so package.jsons exports work ([9ddb6a3](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/9ddb6a36bcbaf3ae8f2c651db22bd2e9239c1251))
## [0.2.5](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.4...v0.2.5) (2023-06-27)
### Bug Fixes
* add publishConfig ([e5c4f4f](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/e5c4f4f0847aa1100eb516ff3843deec3e4c555c))
## [0.2.4](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.3...v0.2.4) (2023-06-27)
## [0.2.3](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.2...v0.2.3) (2023-06-26)
### Bug Fixes
* update prepare script to conditionally run presetter ([034ea89](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/034ea8967104a197e7911637b2691364b23d1efc))
## [0.2.2](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.1...v0.2.2) (2023-06-26)
### Bug Fixes
* ensure semantic-release is included on install ([94d90b8](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/94d90b8acdc253eafafff3e20986276fbf5c8d79))
## [0.2.1](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.2.0...v0.2.1) (2023-06-26)
### Bug Fixes
* updated wrong .releaserc.json ([6689cd1](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/6689cd1fc69bbcfce5553b594cd4356d4a6abe29))
# [0.2.0](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.1...v0.2.0) (2023-06-26)
### Features
* add dep release type for dependency updates ([be51107](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/be51107728290adebd269484f85dde082421d34e))
## [0.1.1](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.0...v0.1.1) (2023-06-25)
### Bug Fixes
* add __dirname compatibility ([60f45cb](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/60f45cb8d544de3c77be90359bdce9ea98422040))
* add .releaserc.json to gitignore ([a892d35](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/a892d3557ee419725cae6ce9f35293d98b6719e4))
* add [@ts-ignore](https://git.lumeweb.com/ts-ignore) to import.meta.url ([bdd2b66](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/bdd2b667250024e4ddfe028726778dba4633312f)) * add [@ts-ignore](https://git.lumeweb.com/ts-ignore) to import.meta.url ([bdd2b66](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/bdd2b667250024e4ddfe028726778dba4633312f))
* add dom to ts compiler ([c3c172a](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/c3c172a5bcd878fde5b368f7aa4050cced7971af))
* add ES2021 to ts compiler ([c15b279](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/c15b279d637ac5d76b8d42f1ec83403a9dcf721c))
* add missing files property ([7a1e88e](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/7a1e88e8dc483e50a26eb5a85daf7e42413a0ba3))
* add missing type and main ([9f0cdc2](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/9f0cdc22b635475aa025cdac656e0c31db370af3))
* don't let presetter try to parse the file ([7bb0961](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/7bb09618851891d64b320c4651c545e097d8479d))
* dont symlink ci file ([87afb2c](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/87afb2cc64344dba11c06c4c73ab245547a383a6))
* releaserc missing from templates ([0ba3e5e](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/0ba3e5e5f5ef3fc790a75ff9f8fffb431042bcd1))
* remove peer deps ([23ada98](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/23ada9833711bb1beeed435a0d7960b13da8ba92))
* switch to hybrid building ([7a58630](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/7a58630cdaf69e9830a03ca7c2bc6fecd188a2f0))
* syntax error ([7bba835](https://git.lumeweb.com/LumeWeb/node-library-preset/commit/7bba8356e0ecaa426bb3afcc984607bf21a5474f))
## [0.1.1-develop.12](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.1-develop.11...v0.1.1-develop.12) (2023-06-25) ## [0.1.1-develop.12](https://git.lumeweb.com/LumeWeb/node-library-preset/compare/v0.1.1-develop.11...v0.1.1-develop.12) (2023-06-25)

View File

@ -53,10 +53,11 @@ async function default_1() {
tsconfig: { tsconfig: {
compilerOptions: { compilerOptions: {
lib: ["ES2021", "dom"], lib: ["ES2021", "dom"],
moduleRes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ELFVBQVUsRUFBRSxDQUFDLDBCQUEwQixDQUFDO1FBQ3hDLFFBQVEsRUFBRSx3QkFBZ0I7UUFDMUIsbUJBQW1CLEVBQUU7WUFDbkIsUUFBUSxFQUFFO2dCQUNSLFdBQVcsRUFBRSxLQUFLO2FBQ25CO1lBQ0QsU0FBUyxFQUFFLENBQUMsaUJBQWlCLENBQUM7WUFDOUIsUUFBUSxFQUFFO2dCQUNSLGVBQWUsRUFBRTtvQkFDZixHQUFHLEVBQUUsQ0FBQyxRQUFRLEVBQUUsS0FBSyxDQUFDO29CQUN0QixnQkFBZ0IsRUFBRSxVQUFVO2lCQUM3QjthQUNGO1NBQ0Y7S0FDRixDQUFDO0FBQ0osQ0FBQztBQWhDRCw0QkFnQ0MifQ==

View File

@ -27,9 +27,10 @@ export default async function () {
tsconfig: { tsconfig: {
compilerOptions: { compilerOptions: {
lib: ["ES2021", "dom"], lib: ["ES2021", "dom"],
moduleResolution: "nodenext",
}, },
}, },
}, },
}; };
} }
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUtwQyxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRztJQUM5QixNQUFNLEVBQUUsS0FBSztDQUNkLENBQUM7QUFNRixNQUFNLENBQUMsT0FBTyxDQUFDLEtBQUs7SUFDbEIsSUFBSSxHQUFXLENBQUM7SUFFaEIsSUFBSSxPQUFPLFNBQVMsS0FBSyxXQUFXLEVBQUU7UUFDcEMsR0FBRyxHQUFHLENBQUMsTUFBTSxNQUFNLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQztLQUM3QztTQUFNO1FBQ0wsR0FBR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FaEIsSUFBSSxPQUFPLFNBQVMsS0FBSyxXQUFXLEVBQUU7UUFDcEMsR0FBRyxHQUFHLENBQUMsTUFBTSxNQUFNLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQztLQUM3QztTQUFNO1FBQ0wsR0FBRyxHQUFHLFNBQVMsQ0FBQztLQUNqQjtJQUVELE1BQU0sU0FBUyxHQUFHLE9BQU8sQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLFdBQVcsQ0FBQyxDQUFDO0lBRWxELE9BQU87UUFDTCxPQUFPLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQztRQUNwQyxRQUFRLEVBQUU7WUFDUiwwQkFBMEIsRUFBRSxPQUFPLENBQUMsU0FBUyxFQUFFLFlBQVksQ0FBQztZQUM1RCxpQkFBaUIsRUFBRSxPQUFPLENBQUMsU0FBUyxFQUFFLGlCQUFpQixDQUFDO1NBQ3pEO1FBQ0QsVUFBVSxFQUFFLENBQUMsMEJBQTBCLENBQUM7UUFDeEMsUUFBUSxFQUFFLGdCQUFnQjtRQUMxQixtQkFBbUIsRUFBRTtZQUNuQixRQUFRLEVBQUU7Z0JBQ1IsV0FBVyxFQUFFLEtBQUs7YUFDbkI7WUFDRCxTQUFTLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQztZQUM5QixRQUFRLEVBQUU7Z0JBQ1IsZUFBZSxFQUFFO29CQUNmLEdBQUcsRUFBRSxDQUFDLFFBQVEsRUFBRSxLQUFLLENBQUM7b0JBQ3RCLGdCQUFnQixFQUFFLFVBQVU7aUJBQzdCO2FBQ0Y7U0FDRjtLQUNGLENBQUM7QUFDSixDQUFDIn0=

1728
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/node-library-preset", "name": "@lumeweb/node-library-preset",
"version": "0.1.0", "version": "0.2.7",
"main": "lib/index.js", "main": "lib/index.js",
"module": "lib/index.mjs", "module": "lib/index.mjs",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",
@ -16,25 +16,29 @@
"url": "gitea@git.lumeweb.com:LumeWeb/node-library-preset.git" "url": "gitea@git.lumeweb.com:LumeWeb/node-library-preset.git"
}, },
"devDependencies": { "devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"presetter": "^4.0.1", "presetter": "^4.0.1",
"presetter-preset-hybrid": "^4.0.1", "presetter-types": "^4.0.1"
"presetter-preset-strict": "^4.0.1",
"semantic-release": "^21.0.5"
}, },
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"_id": "@lumeweb/node-library-preset@0.1.0",
"scripts": { "scripts": {
"prepare": "presetter bootstrap", "prepare": "bash ./prepare.sh",
"build": "run build", "build": "run build",
"semantic-release": "semantic-release" "semantic-release": "semantic-release"
}, },
"dependencies": { "dependencies": {
"presetter-types": "^4.0.1" "@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"presetter-preset-hybrid": "^4.0.1",
"presetter-preset-strict": "^4.0.1",
"semantic-release": "^21.0.5"
}, },
"files": [ "files": [
"lib/**", "lib/**",
"templates/**" "templates/**",
] "prepare.sh"
],
"publishConfig": {
"access": "public"
}
} }

9
prepare.sh Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if command -v presetter &> /dev/null; then
# shellcheck disable=SC2154
if [ -e "${npm_config_local_prefix}/node_modules/presetter-preset-strict" ]; then
presetter bootstrap
fi
fi

View File

@ -38,6 +38,7 @@ export default async function (): Promise<PresetAsset> {
tsconfig: { tsconfig: {
compilerOptions: { compilerOptions: {
lib: ["ES2021", "dom"], lib: ["ES2021", "dom"],
moduleResolution: "nodenext",
}, },
}, },
}, },

View File

@ -4,12 +4,34 @@
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",
{ {
"releaseRules": [ "releaseRules": [
{ "breaking": true, "release": "major" }, {
{ "revert": true, "release": "patch" }, "breaking": true,
{ "type": "feat", "release": "minor" }, "release": "major"
{ "type": "fix", "release": "patch" }, },
{ "type": "perf", "release": "patch" }, {
{ "type": "refactor", "release": "patch" } "revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "dep",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
}
] ]
} }
], ],