potatejs 0.12.0 → 0.12.1

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.
@@ -13485,7 +13485,7 @@ function transformCode(source) {
13485
13485
  ecmaVersion: "latest",
13486
13486
  sourceType: "module"
13487
13487
  });
13488
- const LIBRARY_NAME = "potate";
13488
+ const LIBRARY_NAME = "potatejs";
13489
13489
  const IMPORT_NAME = "html";
13490
13490
  let isHtmlImported = false;
13491
13491
  for (const node of ast.body) {
@@ -13520,7 +13520,7 @@ function transformCode(source) {
13520
13520
 
13521
13521
  // src/plugin/index-esbuild.js
13522
13522
  var index_esbuild_default = (options = {}) => ({
13523
- name: "potate",
13523
+ name: "potatejs",
13524
13524
  setup(build) {
13525
13525
  build.onLoad({ filter: /\.(jsx|tsx)$/ }, async (args) => {
13526
13526
  if (args.path.includes("node_modules")) return null;
@@ -13482,7 +13482,7 @@ function transformCode(source) {
13482
13482
  ecmaVersion: "latest",
13483
13483
  sourceType: "module"
13484
13484
  });
13485
- const LIBRARY_NAME = "potate";
13485
+ const LIBRARY_NAME = "potatejs";
13486
13486
  const IMPORT_NAME = "html";
13487
13487
  let isHtmlImported = false;
13488
13488
  for (const node of ast.body) {
@@ -13518,7 +13518,7 @@ function transformCode(source) {
13518
13518
  // src/plugin/index-vite.js
13519
13519
  function teli() {
13520
13520
  return {
13521
- name: "potate",
13521
+ name: "potatejs",
13522
13522
  enforce: "pre",
13523
13523
  transform(code, id) {
13524
13524
  if (!/\.(jsx|tsx)$/.test(id)) return null;
package/dist/type.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type Potatejs from 'potatejs';
2
+ declare function potatejs(): Potatejs;
3
+ export default potatejs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "potatejs",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Super charged UI library with modern React API and native templates.",
5
5
  "author": "uniho",
6
6
  "license": "MIT",