@prosopo/client-bundle-example 1.0.2 → 2.0.0
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/README.md +1 -1
- package/package.json +21 -26
- package/typedoc.config.js +11 -5
- package/vite.config.ts +8 -8
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ docker compose --file ./docker/docker-compose.development.yml up -d && \
|
|
|
15
15
|
npm i && \
|
|
16
16
|
npm run build:all && \
|
|
17
17
|
npm run setup:all && \
|
|
18
|
-
npm -w @prosopo/procaptcha-bundle run bundle
|
|
18
|
+
NODE_ENV=production npm -w @prosopo/procaptcha-bundle run bundle && \
|
|
19
19
|
npm run start:all
|
|
20
20
|
```
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"version": "1.0.2",
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"tslib": "2.6.2",
|
|
26
|
-
"typescript": "5.1.6"
|
|
27
|
-
}
|
|
2
|
+
"name": "@prosopo/client-bundle-example",
|
|
3
|
+
"main": "index.js",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=20",
|
|
6
|
+
"npm": ">=9"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "echo \"No test specified\"",
|
|
10
|
+
"build": "echo \"No build specified\"",
|
|
11
|
+
"start": "vite serve ./src --port 9232 --config vite.config.ts",
|
|
12
|
+
"clean": "echo 'nothing to clean'"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"dotenv": "^16.0.1",
|
|
16
|
+
"vite": "^5.1.7"
|
|
17
|
+
},
|
|
18
|
+
"version": "2.0.0",
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"tslib": "2.6.2",
|
|
21
|
+
"typescript": "5.1.6"
|
|
22
|
+
}
|
|
28
23
|
}
|
package/typedoc.config.js
CHANGED
|
@@ -12,8 +12,14 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
module.exports = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
entryPoints: [
|
|
16
|
+
"src/**/*.ts",
|
|
17
|
+
"src/**/*.tsx",
|
|
18
|
+
"src/**/*.js",
|
|
19
|
+
"src/**/*.jsx",
|
|
20
|
+
"src/**/*.json",
|
|
21
|
+
],
|
|
22
|
+
includes: "src",
|
|
23
|
+
extends: "../../typedoc.base.config.js",
|
|
24
|
+
readme: "README.md",
|
|
25
|
+
};
|
package/vite.config.ts
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
export default {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
15
|
+
watch: false,
|
|
16
|
+
mode: "development",
|
|
17
|
+
server: {
|
|
18
|
+
https: false,
|
|
19
|
+
host: true,
|
|
20
|
+
cors: true,
|
|
21
|
+
},
|
|
22
|
+
};
|