create-nube-app 0.0.2
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/biome.json +12 -0
- package/index.js +3 -0
- package/package.json +27 -0
- package/src/index.ts +81 -0
- package/templates/minimal/README.md +11 -0
- package/templates/minimal/package-lock.json +1860 -0
- package/templates/minimal/package.json +13 -0
- package/templates/minimal/src/main.ts +7 -0
- package/templates/minimal/tsconfig.json +10 -0
- package/templates/minimal/tsup.config.js +14 -0
- package/templates/minimal-ui/README.md +11 -0
- package/templates/minimal-ui/package-lock.json +1042 -0
- package/templates/minimal-ui/package.json +17 -0
- package/templates/minimal-ui/src/main.ts +28 -0
- package/templates/minimal-ui/tsconfig.json +11 -0
- package/templates/minimal-ui/tsup.config.js +18 -0
- package/templates/minimal-ui-jsx/README.md +12 -0
- package/templates/minimal-ui-jsx/package-lock.json +1883 -0
- package/templates/minimal-ui-jsx/package.json +16 -0
- package/templates/minimal-ui-jsx/src/main.tsx +28 -0
- package/templates/minimal-ui-jsx/tsconfig.json +14 -0
- package/templates/minimal-ui-jsx/tsup.config.js +21 -0
- package/tsconfig.json +14 -0
- package/tsup.config.js +13 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineConfig } from "tsup";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: ["./src/main.ts"],
|
|
5
|
+
clean: true,
|
|
6
|
+
format: ["esm"],
|
|
7
|
+
dts: false,
|
|
8
|
+
outDir: "./dist",
|
|
9
|
+
minify: true,
|
|
10
|
+
sourcemap: false,
|
|
11
|
+
outExtension: ({ options }) => ({
|
|
12
|
+
js: options.minify ? ".min.js" : ".js"
|
|
13
|
+
})
|
|
14
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Minimum setup for app development with NubeSDK
|
|
2
|
+
|
|
3
|
+
This project uses the type package in version `0.1.2-alpha` and `tsup` to compile typescript to javascript
|
|
4
|
+
|
|
5
|
+
# How to use
|
|
6
|
+
|
|
7
|
+
- install the development dependencies with the `npm install` command.
|
|
8
|
+
- Then start the development changing the `src/main.ts` file.
|
|
9
|
+
- To compile the project use the `npm run build` command.
|
|
10
|
+
|
|
11
|
+
The final script is created in the `dist` folder.
|