1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-17 16:47:22 +03:00

Update JS impls to ubuntu 24.04, ffi-napi to 4.0.3

This commit is contained in:
Joel Martin 2024-08-05 13:20:22 -05:00
parent c9f7b5a1f8
commit f09e16dd76
12 changed files with 18 additions and 16 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04 FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org> MAINTAINER Joel Martin <github@martintribe.org>
########################################################## ##########################################################
@ -19,6 +19,7 @@ WORKDIR /mal
# Specific implementation requirements # Specific implementation requirements
########################################################## ##########################################################
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install coffeescript g++ libreadline-dev npm RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodejs npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install coffeescript
ENV NPM_CONFIG_CACHE /mal/.npm ENV NPM_CONFIG_CACHE /mal/.npm
RUN touch /.coffee_history && chmod go+w /.coffee_history RUN touch /.coffee_history && chmod go+w /.coffee_history

View File

@ -3,7 +3,7 @@
"version": "0.0.1", "version": "0.0.1",
"description": "Make a Lisp (mal) language implemented in CoffeeScript", "description": "Make a Lisp (mal) language implemented in CoffeeScript",
"dependencies": { "dependencies": {
"ffi-napi": "2.4.x", "ffi-napi": "4.0.3",
"coffeescript": "~1.8" "coffeescript": "~1.8"
} }
} }

View File

@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "bootstrap.js", "main": "bootstrap.js",
"dependencies": { "dependencies": {
"ffi-napi": "2.4.x" "ffi-napi": "4.0.3"
}, },
"devDependencies": { "devDependencies": {
"elm": "^0.18.0" "elm": "^0.18.0"

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04 FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org> MAINTAINER Joel Martin <github@martintribe.org>
########################################################## ##########################################################
@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements # Specific implementation requirements
########################################################## ##########################################################
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y g++ libreadline-dev npm RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodejs npm
ENV NPM_CONFIG_CACHE /mal/.npm ENV NPM_CONFIG_CACHE /mal/.npm

View File

@ -4,7 +4,7 @@
"description": "Make a Lisp (mal) language implemented in ES6 (ECMAScript 6 / ECMAScript 2015)", "description": "Make a Lisp (mal) language implemented in ES6 (ECMAScript 6 / ECMAScript 2015)",
"dependencies": { "dependencies": {
"esm": "3.1.x", "esm": "3.1.x",
"ffi-napi": "2.4.x" "ffi-napi": "4.0.3"
}, },
"esm": { "esm": {
"cjs": true "cjs": true

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04 FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org> MAINTAINER Joel Martin <github@martintribe.org>
########################################################## ##########################################################
@ -20,7 +20,8 @@ WORKDIR /mal
########################################################## ##########################################################
# Haxe # Haxe
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ haxe libreadline-dev npm RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodejs npm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install haxe
ENV NPM_CONFIG_CACHE /mal/.npm ENV NPM_CONFIG_CACHE /mal/.npm
ENV HOME / ENV HOME /

View File

@ -3,6 +3,6 @@
"version": "0.0.1", "version": "0.0.1",
"description": "Make a Lisp (mal) language implemented in Haxe/Javascript", "description": "Make a Lisp (mal) language implemented in Haxe/Javascript",
"dependencies": { "dependencies": {
"ffi-napi": "2.4.x" "ffi-napi": "4.0.3"
} }
} }

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04 FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org> MAINTAINER Joel Martin <github@martintribe.org>
########################################################## ##########################################################

View File

@ -3,6 +3,6 @@
"version": "0.0.1", "version": "0.0.1",
"description": "Make a Lisp (mal) language implemented in Javascript", "description": "Make a Lisp (mal) language implemented in Javascript",
"dependencies": { "dependencies": {
"ffi-napi": "2.4.x" "ffi-napi": "4.0.3"
} }
} }

View File

@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"ffi-napi": "2.4.x", "ffi-napi": "4.0.3",
"prelude-ls": "^1.1.2" "prelude-ls": "^1.1.2"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,4 +1,4 @@
FROM ubuntu:20.04 FROM ubuntu:24.04
MAINTAINER Joel Martin <github@martintribe.org> MAINTAINER Joel Martin <github@martintribe.org>
########################################################## ##########################################################
@ -19,6 +19,6 @@ WORKDIR /mal
# Specific implementation requirements # Specific implementation requirements
########################################################## ##########################################################
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libreadline-dev nodejs npm RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodejs npm
ENV NPM_CONFIG_CACHE /mal/.npm ENV NPM_CONFIG_CACHE /mal/.npm

View File

@ -19,7 +19,7 @@
"test:stepA": "cd .. && make 'test^ts^stepA'" "test:stepA": "cd .. && make 'test^ts^stepA'"
}, },
"dependencies": { "dependencies": {
"ffi-napi": "^2.4.0" "ffi-napi": "^4.0.3"
}, },
"devDependencies": { "devDependencies": {
"@types/ffi-napi": "4.0.4", "@types/ffi-napi": "4.0.4",