adapt-migrations 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/releases.yml +2 -2
- package/README.md +1 -1
- package/api/where.js +2 -2
- package/package.json +3 -2
|
@@ -14,11 +14,11 @@ jobs:
|
|
|
14
14
|
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
|
|
15
15
|
steps:
|
|
16
16
|
- name: Checkout
|
|
17
|
-
uses: actions/checkout@
|
|
17
|
+
uses: actions/checkout@v6
|
|
18
18
|
with:
|
|
19
19
|
fetch-depth: 0
|
|
20
20
|
- name: Setup Node.js
|
|
21
|
-
uses: actions/setup-node@
|
|
21
|
+
uses: actions/setup-node@v6
|
|
22
22
|
with:
|
|
23
23
|
node-version: 'lts/*'
|
|
24
24
|
registry-url: https://registry.npmjs.org
|
package/README.md
CHANGED
package/api/where.js
CHANGED
|
@@ -20,7 +20,7 @@ export function whereFromPlugin (description, callbackOrConfig) {
|
|
|
20
20
|
const config = callbackOrConfig
|
|
21
21
|
return fromPlugins.some(plugin => {
|
|
22
22
|
if (config.name && plugin.name !== config.name) return false
|
|
23
|
-
if (config.version && !semver.satisfies(plugin.version, config.version)) return false
|
|
23
|
+
if (config.version && !semver.satisfies(plugin.version, config.version, { includePrerelease: true })) return false
|
|
24
24
|
return true
|
|
25
25
|
})
|
|
26
26
|
})
|
|
@@ -38,7 +38,7 @@ export function whereToPlugin (description, callbackOrConfig) {
|
|
|
38
38
|
const config = callbackOrConfig
|
|
39
39
|
return toPlugins.some(plugin => {
|
|
40
40
|
if (config.name && plugin.name !== config.name) return false
|
|
41
|
-
if (config.version && !semver.satisfies(plugin.version, config.version)) return false
|
|
41
|
+
if (config.version && !semver.satisfies(plugin.version, config.version, { includePrerelease: true })) return false
|
|
42
42
|
return true
|
|
43
43
|
})
|
|
44
44
|
})
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "adapt-migrations",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"main": "index.js",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.3",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/adaptlearning/adapt-migrations.git"
|
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
"semver": "^7.5.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
+
"@semantic-release/git": "^10.0.1",
|
|
18
|
+
"conventional-changelog-eslint": "^6.1.0",
|
|
17
19
|
"eslint": "^8.42.0",
|
|
18
20
|
"eslint-config-standard": "^17.1.0",
|
|
19
21
|
"eslint-plugin-import": "^2.27.5",
|
|
20
22
|
"eslint-plugin-node": "^11.1.0",
|
|
21
23
|
"eslint-plugin-promise": "^6.1.1",
|
|
22
|
-
"@semantic-release/git": "^10.0.1",
|
|
23
24
|
"semantic-release": "^25.0.2"
|
|
24
25
|
},
|
|
25
26
|
"release": {
|