multi-db-orm 3.0.11 → 3.0.12

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.
@@ -1,24 +1,27 @@
1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
-
4
- name: NPM Publish
5
-
6
- on:
7
- release:
8
- types: [created]
9
- push:
10
- branches:
11
- - "master"
12
-
13
- jobs:
14
- publish:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v1
18
- - uses: actions/setup-node@v1
19
- with:
20
- node-version: 14
21
- - run: npm install
22
- - uses: JS-DevTools/npm-publish@v1
23
- with:
24
- token: ${{ secrets.NPM_TOKEN }}
1
+ name: NPM Publish
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ npm_token:
7
+ description: "NPM access token"
8
+ required: true
9
+ type: string
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 18
21
+ registry-url: https://registry.npmjs.org/
22
+
23
+ - run: npm install
24
+
25
+ - run: npm publish
26
+ env:
27
+ NODE_AUTH_TOKEN: ${{ inputs.npm_token }}
@@ -1,30 +1,30 @@
1
- {
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
- {
8
- "name": "Launch via NPM",
9
- "request": "launch",
10
- "runtimeArgs": [
11
- "run-script",
12
- "test"
13
- ],
14
- "runtimeExecutable": "npm",
15
- "skipFiles": [
16
- "<node_internals>/**"
17
- ],
18
- "type": "node"
19
- },
20
- {
21
- "type": "node",
22
- "request": "launch",
23
- "name": "Launch Program",
24
- "skipFiles": [
25
- "<node_internals>/**"
26
- ],
27
- "program": "${workspaceFolder}/test/test.js"
28
- }
29
- ]
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "name": "Launch via NPM",
9
+ "request": "launch",
10
+ "runtimeArgs": [
11
+ "run-script",
12
+ "test"
13
+ ],
14
+ "runtimeExecutable": "npm",
15
+ "skipFiles": [
16
+ "<node_internals>/**"
17
+ ],
18
+ "type": "node"
19
+ },
20
+ {
21
+ "type": "node",
22
+ "request": "launch",
23
+ "name": "Launch Program",
24
+ "skipFiles": [
25
+ "<node_internals>/**"
26
+ ],
27
+ "program": "${workspaceFolder}/test/test.js"
28
+ }
29
+ ]
30
30
  }
@@ -1,11 +1,11 @@
1
- {
2
- "sqltools.connections": [
3
- {
4
- "previewLimit": 50,
5
- "driver": "SQLite",
6
- "name": "test",
7
- "database": "${workspaceFolder:multi-db-safe}/test.db"
8
- }
9
- ],
10
- "sqltools.useNodeRuntime": true
1
+ {
2
+ "sqltools.connections": [
3
+ {
4
+ "previewLimit": 50,
5
+ "driver": "SQLite",
6
+ "name": "test",
7
+ "database": "${workspaceFolder:multi-db-safe}/test.db"
8
+ }
9
+ ],
10
+ "sqltools.useNodeRuntime": true
11
11
  }
package/Dockerfile CHANGED
@@ -1,17 +1,17 @@
1
- # The base image
2
- FROM node:10
3
-
4
- # The working directory inside the image
5
- WORKDIR /multi-db-safe
6
-
7
- # Copy everything from folder with the docker file to /app
8
- COPY . .
9
-
10
- # Run a commandline when docker build
11
- RUN npm install
12
-
13
- # Upon start of image this command will run , This is taken as a startup command and can be overriden from cmd line when 'docker run'
14
- CMD ["echo","Starting Migration..."]
15
-
16
- # Upon start of image this command will run , This is taken as a stable command and cannot be overriden from cmd line when 'docker run'
17
- ENTRYPOINT ["/multi-db-safe/migrate.sh"]
1
+ # The base image
2
+ FROM node:10
3
+
4
+ # The working directory inside the image
5
+ WORKDIR /multi-db-safe
6
+
7
+ # Copy everything from folder with the docker file to /app
8
+ COPY . .
9
+
10
+ # Run a commandline when docker build
11
+ RUN npm install
12
+
13
+ # Upon start of image this command will run , This is taken as a startup command and can be overriden from cmd line when 'docker run'
14
+ CMD ["echo","Starting Migration..."]
15
+
16
+ # Upon start of image this command will run , This is taken as a stable command and cannot be overriden from cmd line when 'docker run'
17
+ ENTRYPOINT ["/multi-db-safe/migrate.sh"]